SAP Reports / Programs

/SAPPO/TEST_CREATE_ORDERS SAP ABAP Report - Create PPO Orders for Testing







/SAPPO/TEST_CREATE_ORDERS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates test orders for the Post Processing Office (PPO)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /SAPPO/TEST_CREATE_ORDERS 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 /SAPPO/TEST_CREATE_ORDERS. "Basic submit
SUBMIT /SAPPO/TEST_CREATE_ORDERS AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPPO/TEST_CREATE_ORDERS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_CMP = D .
Selection Text: P_MASCOM = Mass Commit
Selection Text: P_MASPRT = Create Mass Run Protocoll
Selection Text: P_OBBASE = Base Object Type
Selection Text: P_OBMAIN = Main Object Type
Selection Text: P_ORDNUM = Numbers of Orders
Selection Text: P_PRC = D .
Title: Create PPO Orders for Testing
Text Symbol: 001 = The following PPO Orders were created:
Text Symbol: 002 = Choose a valid Order


INCLUDES used within this REPORT /SAPPO/TEST_CREATE_ORDERS

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:

/SAPPO/API_DETAIL_PROCESS call function '/SAPPO/API_DETAIL_PROCESS' exporting i_str_order_key = is_order_key i_component = p_cmp i_logsys = space i_flg_no_getnext = abap_true.

/SAPPO/MAPI_ORDER_CREATE call function '/SAPPO/MAPI_ORDER_CREATE' exporting i_flg_create = abap_true i_main_object = is_mainobject i_basic_object = is_basicobject i_main_message = ls_message i_crtble_order_attr = is_order_attr i_postdate = lv_postdate i_creationdate = lv_creationdate i_data = lr_string importing e_str_order_key = ls_order_key tables c_tab_messages = lt_message exceptions others = 99.

/SAPPO/MAPI_ORDER_SAVE call function '/SAPPO/MAPI_ORDER_SAVE'.

/SAPPO/MAPI_ORDER_SAVE call function '/SAPPO/MAPI_ORDER_SAVE'.

/SAPPO/MAPI_ORDER_SET_CONTEXT call function '/SAPPO/MAPI_ORDER_SET_CONTEXT' exporting i_component = iv_component i_business_process = iv_business_process i_business_process_id = lv_busines_proc_id i_flg_in_update_task = abap_false exceptions initial_context_data invalid_context_data.

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = ls_log importing e_log_handle = rv_log_handle exceptions log_header_inconsistent = 1 others = 2.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = rv_log_handle i_s_msg = is_message exceptions log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 others = 4.

BAL_DB_SAVE call function 'BAL_DB_SAVE' exporting i_in_update_task = ' ' i_t_log_handle = lt_log_handle exceptions log_not_found = 1 save_not_allowed = 2 numbering_error = 3 others = 4.



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 /SAPPO/TEST_CREATE_ORDERS or its description.