SAP Reports / Programs | Logistics - General | Additionals Management(LO-ADM) SAP LO

BAPI_IDOC_REQUEST SAP ABAP INCLUDE - BAPIIDOCREQUEST







BAPI_IDOC_REQUEST is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BAPI_IDOC_REQUEST into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT BAPI_IDOC_REQUEST. "Basic submit
SUBMIT BAPI_IDOC_REQUEST AND RETURN. "Return to original report after report execution complete
SUBMIT BAPI_IDOC_REQUEST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT BAPI_IDOC_REQUEST

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = pi_type cl = pi_class number = pi_number par1 = pi_par1 par2 = pi_par2 par3 = pi_par3 par4 = pi_par4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' * ROW = 0 * FIELD = ' ' importing return = pe_return.

WTAD_WTADAB_READ call function 'WTAD_WTADAB_READ' exporting addiposnr = pi_doc_item_no addistunr = pi_doc_schedule_line lfdnr = pi_addi_running_no addiappl = pi_application addirdid = pi_doc_head_id tables iwtadab = pet_wtadab iwtadabt = pet_wtadabt exceptions db_error = 1 no_additionals_selected = 2 no_extra_text_selected = 3 others = 4.

WTAD_WTADAB_POST call function 'WTAD_WTADAB_POST' in update task tables fit_wtadab = pxt_wtadab fit_wtadab_old = iwtadab_old exceptions db_error_wtadab_ins_failed = 1 db_error_wtadab_upd_failed = 2 db_error_wtadab_del_failed = 3 db_error_wtadabt_ins_failed = 4 db_error_wtadabt_upd_failed = 5 db_error_wtadabt_del_failed = 6 others = 7.

WTAD_COMPILE_IDOC_KEY_ENTRIES call function 'WTAD_COMPILE_IDOC_KEY_ENTRIES' tables fit_wtadab = pit_wtadab fit_wtadabt = pit_wtadabt fet_addi_info = iaddi_info fet_addi_idoc_keys = iaddi_keys fxt_ekko = iekko fxt_uekpo = iekpo fxt_ueket = ieket fxt_mkpf = imkpf fxt_mseg = imseg fxt_likp = ilikp fxt_lips = ilips fxt_vbuk = ivbuk fxt_vbup = ivbup.

MASTERIDOC_CREATE_WTADDI call function 'MASTERIDOC_CREATE_WTADDI' exporting application = '99' tables pit_addi_idoc_keys = iaddi_keys pit_addi_info = iaddi_info.

MASTERIDOC_CREATE_WTADDI call function idoc_create_fb "'MASTERIDOC_CREATE_WTADDI' exporting application = addi_appl_idoc_by_bapi * EVENT = '1' * VERBOSITY_LEVEL = 1 destination_locnr = pi_plant destination_supplier = pi_addi_supplier * CREATE_IDOC_IN_UPDATE_TASK = 'X' tables pit_addi_idoc_keys = iaddi_keys pit_addi_info = iaddi_info pit_mkpf = imkpf pit_mseg = imseg pit_ekko = iekko pit_ekpo = iekpo pit_eket = ieket pit_likp = ilikp pit_lips = ilips pit_vbuk = ivbuk pit_vbup = ivbup exceptions no_key_data_provided = 1 no_additionals_provided = 2 others = 3.

KNA1_SINGLE_READ call function 'KNA1_SINGLE_READ' exporting * KZRFB = ' ' kna1_kunnr = pi_customer importing wkna1 = skna1 exceptions not_found = 1 others = 2.

WTAD_TWT_ACTION_READ call function 'WTAD_TWT_ACTION_READ' tables fet_twt_action = itwt_action exceptions not_found = 1 others = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BAPI_IDOC_REQUEST or its description.