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

BAPI_STATUS_UPDATE SAP ABAP INCLUDE - BAPISTATUSUPDATE







BAPI_STATUS_UPDATE 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_STATUS_UPDATE 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_STATUS_UPDATE. "Basic submit
SUBMIT BAPI_STATUS_UPDATE AND RETURN. "Return to original report after report execution complete
SUBMIT BAPI_STATUS_UPDATE 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_STATUS_UPDATE

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:

EDI_DOCUMENT_OPEN_FOR_PROCESS call function 'EDI_DOCUMENT_OPEN_FOR_PROCESS' exporting db_read_option = 'N' document_number = i_idoc_numbers-addiidoc enqueue_option = 'S' importing idoc_control = idoc_control exceptions document_foreign_lock = 01 document_not_exist = 02 document_number_invalid = 03 error_message = 04 others = 05.

IDOC_STATUS_WRITE_TO_DATABASE call function 'IDOC_STATUS_WRITE_TO_DATABASE' exporting idoc_number = i_idoc_numbers-addiidoc idoc_opened_flag = 'X' * NO_DEQUEUE_FLAG = 'X' importing idoc_control = idoc_control tables idoc_status = i_idoc_status exceptions idoc_foreign_lock = 1 idoc_not_found = 2 idoc_status_records_empty = 3 idoc_status_invalid = 4 db_error = 5 others = 6.

EDI_DOCUMENT_CLOSE_PROCESS call function 'EDI_DOCUMENT_CLOSE_PROCESS' exporting document_number = i_idoc_numbers-addiidoc no_dequeue = ' '"?? importing idoc_control = idoc_control exceptions document_not_open = 01 failure_in_db_write = 02 parameter_error = 03 status_set_missing = 04.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = pi_type cl = pi_id number = pi_number par1 = pi_message_v1 par2 = pi_message_v2 par3 = pi_message_v3 par4 = pi_message_v4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' row = pi_row * FIELD = ' ' importing return = return.

BALW_BAPIRETURN_GET2 call function 'BALW_BAPIRETURN_GET2' exporting type = addi_message_type_error cl = addi_message_class number = 268 * PAR1 = ' ' * PAR2 = ' ' * PAR3 = ' ' * PAR4 = ' ' * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' * ROW = 0 * FIELD = ' ' importing return = pxt_return.



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_STATUS_UPDATE or its description.