SAP Reports / Programs

RE_TEST_UPLOAD SAP ABAP Report - Test program for BAPI_UPLOAD







RE_TEST_UPLOAD is a standard Executable ABAP Report 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 RE_TEST_UPLOAD 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 RE_TEST_UPLOAD. "Basic submit
SUBMIT RE_TEST_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT RE_TEST_UPLOAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Test program for BAPI_UPLOAD


INCLUDES used within this REPORT RE_TEST_UPLOAD

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:

CALL FUNCTION BAPI_WASTEORDER_UPLOAD MESSAGE i208(00) WITH 'CALL FUNCTION BAPI_WASTEORDER_UPLOAD'.

BAPI_WASTEORDER_UPLOAD CALL FUNCTION 'BAPI_WASTEORDER_UPLOAD' EXPORTING x_cont_inst = 'X' TABLES wasteorderheadconfirmations = gt_outtab_head wasteorderobjectconfirmations = gt_outtab_obj return = bapi_return extensionin = gt_outtab_ext.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = bapi_return-id msgty = bapi_return-type msgv1 = bapi_return-message_v1 msgv2 = bapi_return-message_v2 msgv3 = bapi_return-message_v3 msgv4 = bapi_return-message_v4 txtnr = bapi_return-number * zeile = bapi_return-row EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING * send_if_one = ' ' * batch_list_type = 'N' show_linno = '' show_linno_text_len = '8' i_use_grid = 'X' EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * WAIT = IMPORTING return = bapi_return2.

CALL FUNCTION BAPI_WASTEORDERWEIGH_UPLOAD MESSAGE i208(00) WITH 'CALL FUNCTION BAPI_WASTEORDERWEIGH_UPLOAD'.

BAPI_WASTEORDERWEIGH_UPLOAD CALL FUNCTION 'BAPI_WASTEORDERWEIGH_UPLOAD' TABLES wasteorderweighingdataupl = gt_outtab_wgh return = bapi_return extensionin = gt_outtab_ext.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * WAIT = IMPORTING return = bapi_return2.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = p_tabname i_bypassing_buffer = 'X' CHANGING ct_fieldcat = pt_fcat[].



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