SAP Reports / Programs | Sales and Distribution | POS Interface(SD-POS) SAP SD

MWPEDF05 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING textline1 = text-m10 textline2 = text-m11 textline3 = text-m12 titel = text-m07 IMPORTING answer = l_answer_1 TABLES t_spopli = l_t_spopli EXCEPTIONS OTHERS = 4.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING textline1 = text-m01 textline2 = text-m02 titel = text-m07 IMPORTING answer = l_answer TABLES t_spopli = l_t_spopli EXCEPTIONS OTHERS = 4.

POSED_UPDATE_TR_DATA_WPUBON CALL FUNCTION 'POSED_UPDATE_TR_DATA_WPUBON' EXPORTING i_assignment = g_t_overview-assignment TABLES i_e1wpb02 = g_t_e1wpb02 i_discounts = g_t_discounts.

POSED_READ_TR_DATA_WPUBON CALL FUNCTION 'POSED_READ_TR_DATA_WPUBON' EXPORTING i_assignment = g_t_overview-assignment IMPORTING o_bonheader = l_bonheader TABLES o_e1wpb02 = g_t_e1wpb02 o_line_item_value = l_t_li_value o_discounts = g_t_discounts.

POSED_UPDATE_TR_DATA_WPUBON CALL FUNCTION 'POSED_UPDATE_TR_DATA_WPUBON' EXPORTING i_assignment = g_t_overview-assignment TABLES i_e1wpb02 = g_t_e1wpb02 i_discounts = g_t_discounts.

POSED_READ_TR_DATA_WPUBON CALL FUNCTION 'POSED_READ_TR_DATA_WPUBON' EXPORTING i_assignment = g_t_overview-assignment IMPORTING o_bonheader = l_bonheader TABLES o_e1wpb02 = g_t_e1wpb02 o_line_item_value = l_t_li_value o_discounts = g_t_discounts.

POSED_UPDATE_TR_DATA_WPUBON CALL FUNCTION 'POSED_UPDATE_TR_DATA_WPUBON' EXPORTING i_assignment = g_t_overview-assignment TABLES i_e1wpb02 = g_t_e1wpb02 i_discounts = g_t_discounts.

POS_SA_GET_DOCUMENT_STATUS CALL FUNCTION 'POS_SA_GET_DOCUMENT_STATUS' EXPORTING docnum = posedolist-docnum mestyp = g_t_overview-idoc-mestyp sndprn = posedolist-site history_flag = 'X' IMPORTING verarbend = l_verarbend TABLES doc_status = lt_status doc_reason = lt_reason t_wptst = lt_wptst t_wplst = lt_wplst EXCEPTIONS idoc_not_exist = 1 foreign_lock = 2 unknown_exception = 3 range_not_exist = 4 error_message = 5 OTHERS = 6.

POSED_READ_DATA_FROM_DB CALL FUNCTION 'POSED_READ_DATA_FROM_DB' EXPORTING i_docnum = g_t_idocs-docnum IMPORTING o_edidc = ls_edidc TABLES o_edidd = lt_edidd.

POS_CUST_BZ_RULES_CONTROL_READ CALL FUNCTION 'POS_CUST_BZ_RULES_CONTROL_READ' EXPORTING i_locnr = posedolist-site IMPORTING o_twpbr = ls_twpbr EXCEPTIONS no_entry_found = 1 branch_not_known = 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 MWPEDF05 or its description.