Сделал через функциональный модуль по совету admin . Метод пишущий в файл, по совету vga теперь норм вызывается, а вот с параметрами таки проблема. Даже с одним.
DATA: id(7) TYPE c.
CALL METHOD olelib->DeInitCredA
EXPORTING id = 'I00001'.
И контейнер и объект создаются нормально. А прога валится в дамп по call method error. Подскажите плз, где я напутал... то ли с импорт-экспорт... то ли еще где...
Age: 70 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Wed Nov 28, 2007 11:05 pm Post subject:
Вы молодец, сами разобрались.
Ваш класс наследуется от глобального класса
CL_GUI_CONTROL, методы и параметры которого можно посмотреть, провалившись в него по двойному щелчку мыши, прямо из редактора.
В me->call_method
ипортируемый параметр обязательный (не стоит галка в колонке optional). Поэтому в реализации вашего метода нужно
All times are GMT + 4 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.