Joined: 01 Nov 2007 Posts: 49 Location: Germany, Norden
Posted: Tue Jun 03, 2008 1:10 pm Post subject: фм?
Добрый день!
такой вопрос: я положил фм и надо в этом модуле sap фм модуль вызвать с теми же import, export параметрами. как это можно сделать?
спасибо!
Age: 170 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Tue Jun 03, 2008 3:00 pm Post subject: Re: фм?
agatos wrote:
Добрый день!
такой вопрос: я положил фм и надо в этом модуле sap фм модуль вызвать с теми же import, export параметрами. как это можно сделать?
спасибо!
Не совсем понятно, что нужно.
Вы создали свой ФМ, совпадающий по параметрам с SAP ФМ и хотите из своего запустить оригинал?
Code:
FUNCTION ZE_ADDR_GET.
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(ADDRESS_SELECTION) LIKE ADDR1_SEL STRUCTURE ADDR1_SEL
*" VALUE(ADDRESS_GROUP) LIKE ADRG-ADDR_GROUP OPTIONAL
*" VALUE(READ_SADR_ONLY) LIKE SZAD_FIELD-FLAG DEFAULT SPACE
*" VALUE(READ_TEXTS) LIKE SZAD_FIELD-FLAG DEFAULT SPACE
*" EXPORTING
*" VALUE(ADDRESS_VALUE) LIKE ADDR1_VAL STRUCTURE ADDR1_VAL
*" VALUE(ADDRESS_ADDITIONAL_INFO) LIKE AD1_FLAGS STRUCTURE
*" AD1_FLAGS
*" VALUE(RETURNCODE) LIKE SZAD_FIELD-RETURNCODE
*" VALUE(ADDRESS_TEXT) LIKE ADDR1_TEXT STRUCTURE ADDR1_TEXT
*" VALUE(SADR) LIKE SADR STRUCTURE SADR
*" TABLES
*" ADDRESS_GROUPS STRUCTURE ADAGROUPS OPTIONAL
*" ERROR_TABLE STRUCTURE ADDR_ERROR OPTIONAL
*" VERSIONS STRUCTURE ADDR_VERS OPTIONAL
*" EXCEPTIONS
*" PARAMETER_ERROR
*" ADDRESS_NOT_EXIST
*" VERSION_NOT_EXIST
*" INTERNAL_ERROR
*"----------------------------------------------------------------------
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.