ALE_EXP_VATRMD_ALL_IDOC_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ALE_EXP_VATRMD_ALL_IDOC_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JBD_VATR_BAPI
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ALE_EXP_VATRMD_ALL_IDOC_CREATE' "BAPI -> IDoc: ALE_JBD_VATR_ALL_GET_MULT
EXPORTING
* valuemaintenanceatdate = " bapi_jbd_str_vt_vm_at_date
* processextension = " bapiflag Einstelliges Kennzeichen
* serial_id = '0' " serial-chnum
msg_type = " edi_mestyp Nachrichtentyp
TABLES
transactionkeys = " bapi_jbd_str_vt_key
* attributes = " bapi_jbd_str_vt_at Attribute
* valuemaintenances = " bapi_jbd_str_vt_vm
* conditionheaders = " bapi_jbd_str_vt_ch
* conditionpositions = " bapi_jbd_str_vt_cp
* ledgers = " bapi_jbd_str_vt_ld Variables Geschäft: Ledger Zuordnung
* ledgerpositions = " bapi_jbd_str_vt_lp
* selectiondimensions = " bapi_jbd_str_vt_sd
* selectioncharacteristics = " bapi_jbd_str_vt_sc
* headerattributes = " bapi_jbd_str_vt_fo_header
* profitanalyscharacteristics = " bapi_jbd_str_vt_fo_pa_chars
* profitanalysattributes = " bapi_jbd_str_vt_fo_pa_attr
* profitanalysattraddit = " bapi_jbd_str_vt_fo_pa_addit
* profitanalysoppcondhdr = " bapi_jbd_str_vt_fo_pa_och
* profitanalysoppcondpos = " bapi_jbd_str_vt_fo_pa_ocp
* marketriskcharacteristics = " bapi_jbd_str_vt_fo_mr_cha
* marketriskattributes = " bapi_jbd_str_vt_fo_mr_at
* creditlimitattributes = " bapi_jbd_str_vt_fo_cl
* extkeyfigures = " bapi_jbd_str_vt_fo_ext
* extensionin = " bapiparex Bezugsstruktur für BAPI-Parameter ExtensionIn / ExtensionOut
receivers = " bdi_logsys
* communication_documents = " swotobjid
* application_objects = " swotobjid
EXCEPTIONS
ERROR_CREATING_IDOCS = 1 "
. " ALE_EXP_VATRMD_ALL_IDOC_CREATE
The ABAP code below is a full code listing to execute function module ALE_EXP_VATRMD_ALL_IDOC_CREATE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_transactionkeys | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_KEY,"TABLES PARAM |
| wa_transactionkeys | LIKE LINE OF it_transactionkeys , |
| it_attributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_AT,"TABLES PARAM |
| wa_attributes | LIKE LINE OF it_attributes , |
| it_valuemaintenances | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_VM,"TABLES PARAM |
| wa_valuemaintenances | LIKE LINE OF it_valuemaintenances , |
| it_conditionheaders | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_CH,"TABLES PARAM |
| wa_conditionheaders | LIKE LINE OF it_conditionheaders , |
| it_conditionpositions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_CP,"TABLES PARAM |
| wa_conditionpositions | LIKE LINE OF it_conditionpositions , |
| it_ledgers | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_LD,"TABLES PARAM |
| wa_ledgers | LIKE LINE OF it_ledgers , |
| it_ledgerpositions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_LP,"TABLES PARAM |
| wa_ledgerpositions | LIKE LINE OF it_ledgerpositions , |
| it_selectiondimensions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_SD,"TABLES PARAM |
| wa_selectiondimensions | LIKE LINE OF it_selectiondimensions , |
| it_selectioncharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_SC,"TABLES PARAM |
| wa_selectioncharacteristics | LIKE LINE OF it_selectioncharacteristics , |
| it_headerattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_HEADER,"TABLES PARAM |
| wa_headerattributes | LIKE LINE OF it_headerattributes , |
| it_profitanalyscharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_CHARS,"TABLES PARAM |
| wa_profitanalyscharacteristics | LIKE LINE OF it_profitanalyscharacteristics , |
| it_profitanalysattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_ATTR,"TABLES PARAM |
| wa_profitanalysattributes | LIKE LINE OF it_profitanalysattributes , |
| it_profitanalysattraddit | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_ADDIT,"TABLES PARAM |
| wa_profitanalysattraddit | LIKE LINE OF it_profitanalysattraddit , |
| it_profitanalysoppcondhdr | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_OCH,"TABLES PARAM |
| wa_profitanalysoppcondhdr | LIKE LINE OF it_profitanalysoppcondhdr , |
| it_profitanalysoppcondpos | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_OCP,"TABLES PARAM |
| wa_profitanalysoppcondpos | LIKE LINE OF it_profitanalysoppcondpos , |
| it_marketriskcharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_MR_CHA,"TABLES PARAM |
| wa_marketriskcharacteristics | LIKE LINE OF it_marketriskcharacteristics , |
| it_marketriskattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_MR_AT,"TABLES PARAM |
| wa_marketriskattributes | LIKE LINE OF it_marketriskattributes , |
| it_creditlimitattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_CL,"TABLES PARAM |
| wa_creditlimitattributes | LIKE LINE OF it_creditlimitattributes , |
| it_extkeyfigures | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_EXT,"TABLES PARAM |
| wa_extkeyfigures | LIKE LINE OF it_extkeyfigures , |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionin | LIKE LINE OF it_extensionin , |
| it_receivers | TYPE STANDARD TABLE OF BDI_LOGSYS,"TABLES PARAM |
| wa_receivers | LIKE LINE OF it_receivers , |
| it_communication_documents | TYPE STANDARD TABLE OF SWOTOBJID,"TABLES PARAM |
| wa_communication_documents | LIKE LINE OF it_communication_documents , |
| it_application_objects | TYPE STANDARD TABLE OF SWOTOBJID,"TABLES PARAM |
| wa_application_objects | LIKE LINE OF it_application_objects . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_valuemaintenanceatdate | TYPE BAPI_JBD_STR_VT_VM_AT_DATE , |
| it_transactionkeys | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_KEY , |
| wa_transactionkeys | LIKE LINE OF it_transactionkeys, |
| ld_processextension | TYPE BAPIFLAG , |
| it_attributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_AT , |
| wa_attributes | LIKE LINE OF it_attributes, |
| ld_serial_id | TYPE SERIAL-CHNUM , |
| it_valuemaintenances | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_VM , |
| wa_valuemaintenances | LIKE LINE OF it_valuemaintenances, |
| ld_msg_type | TYPE EDI_MESTYP , |
| it_conditionheaders | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_CH , |
| wa_conditionheaders | LIKE LINE OF it_conditionheaders, |
| it_conditionpositions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_CP , |
| wa_conditionpositions | LIKE LINE OF it_conditionpositions, |
| it_ledgers | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_LD , |
| wa_ledgers | LIKE LINE OF it_ledgers, |
| it_ledgerpositions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_LP , |
| wa_ledgerpositions | LIKE LINE OF it_ledgerpositions, |
| it_selectiondimensions | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_SD , |
| wa_selectiondimensions | LIKE LINE OF it_selectiondimensions, |
| it_selectioncharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_SC , |
| wa_selectioncharacteristics | LIKE LINE OF it_selectioncharacteristics, |
| it_headerattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_HEADER , |
| wa_headerattributes | LIKE LINE OF it_headerattributes, |
| it_profitanalyscharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_CHARS , |
| wa_profitanalyscharacteristics | LIKE LINE OF it_profitanalyscharacteristics, |
| it_profitanalysattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_ATTR , |
| wa_profitanalysattributes | LIKE LINE OF it_profitanalysattributes, |
| it_profitanalysattraddit | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_ADDIT , |
| wa_profitanalysattraddit | LIKE LINE OF it_profitanalysattraddit, |
| it_profitanalysoppcondhdr | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_OCH , |
| wa_profitanalysoppcondhdr | LIKE LINE OF it_profitanalysoppcondhdr, |
| it_profitanalysoppcondpos | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_PA_OCP , |
| wa_profitanalysoppcondpos | LIKE LINE OF it_profitanalysoppcondpos, |
| it_marketriskcharacteristics | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_MR_CHA , |
| wa_marketriskcharacteristics | LIKE LINE OF it_marketriskcharacteristics, |
| it_marketriskattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_MR_AT , |
| wa_marketriskattributes | LIKE LINE OF it_marketriskattributes, |
| it_creditlimitattributes | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_CL , |
| wa_creditlimitattributes | LIKE LINE OF it_creditlimitattributes, |
| it_extkeyfigures | TYPE STANDARD TABLE OF BAPI_JBD_STR_VT_FO_EXT , |
| wa_extkeyfigures | LIKE LINE OF it_extkeyfigures, |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin, |
| it_receivers | TYPE STANDARD TABLE OF BDI_LOGSYS , |
| wa_receivers | LIKE LINE OF it_receivers, |
| it_communication_documents | TYPE STANDARD TABLE OF SWOTOBJID , |
| wa_communication_documents | LIKE LINE OF it_communication_documents, |
| it_application_objects | TYPE STANDARD TABLE OF SWOTOBJID , |
| wa_application_objects | LIKE LINE OF it_application_objects. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ALE_EXP_VATRMD_ALL_IDOC_CREATE or its description.
ALE_EXP_VATRMD_ALL_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_VATR_ALL_GET_MULT ALE_EXP_VATRFD_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_VATR_FD_GET_DET_MULT ALE_EXP_SWAP_ALL_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_SWAP_ALL_GET_MULT ALE_EXP_SETR_ALL_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_SETR_ALL_GET_MULT ALE_EXP_POS_ALL_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_POS_ALL_GET_MULT ALE_EXP_POSVAL_IDOC_CREATE - BAPI -> IDoc: ALE_JBD_POS_V_GET_DET_MULT