SAP Reports / Programs | Logistics - General | Global Trade | Trading Contract(LO-GT-TC) SAP LO

MATPOSF01 SAP ABAP INCLUDE - Include MATPOSF01







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


Text pool values


Title: Include MATPOSF01


INCLUDES used within this REPORT MATPOSF01

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:

GET_DOMAENENTEXT call function 'GET_DOMAENENTEXT' exporting dname = 'WB2_DOC_TYPE' dvalue = dvalue importing dtext = dtext exceptions no_domain_found = 1 others = 2.

WB2_N2M_ERR_MSG_AP_LOG_INIT call function 'WB2_N2M_ERR_MSG_AP_LOG_INIT' exporting i_extnumber = con_appl_log i_uname = sy-uname i_repid = l_repid exceptions appl_log_still_active = 1 appl_log_initialization_error = 2.

WB2_N2M_ERR_MSG call function 'WB2_N2M_ERR_MSG' exporting i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 tables t_emsg = t_emsg.

WB2_READ_WBHK_MULTIPLE call function 'WB2_READ_WBHK_MULTIPLE' exporting i_dynsel = g_selopt_dyn_sel i_maxlines = s_maxl i_authority_check = abap_true tables t_wbhk = g_komwbhk t_wbhi = g_komwbhi t_wbhd = g_komwbhd t_requested_tables = g_requested_tables exceptions limit_ds = 1 others = 2.

WB2_N2M_ERR_MSG call function 'WB2_N2M_ERR_MSG' exporting i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 tables t_emsg = t_emsg. "#EC ENHOK

WB2_READ_MATERIAL_POS_MGMT call function 'WB2_READ_MATERIAL_POS_MGMT' exporting i_tew_type = tew_type i_side = p_side tables t_komwbhk = g_komwbhk t_komwbhi = g_komwbhi t_komwbhd = g_komwbhd t_wb2_mat_pos_mgmt = gt_wb2_mat_pos_mgmt t_emsg = t_emsg exceptions others = 1. "#EC ENHOK

WB2_N2M_ERR_MSG call function 'WB2_N2M_ERR_MSG' exporting i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4 tables t_emsg = t_emsg. "#EC ENHOK

WB2_N2M_ERR_MSG_AP_LOG_DISPLAY call function 'WB2_N2M_ERR_MSG_AP_LOG_DISPLAY' exporting i_use_popup = ' ' "NO i_amodal = 'X' "L_AMODAL exceptions appl_log_not_active = 1 appl_log_no_display_possible = 2.

WB2_DETERMINE_PORTFO_IN call function 'WB2_DETERMINE_PORTFO_IN' tables t_portfo_ex = s_portex t_portfolio = t_portfolio t_emsg = t_emsg. "#EC ENHOK

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting i_structure_name = 'WB2_MAT_POS_MGMT' changing ct_fieldcat = gt_fieldcatalog.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = ls_disvariant i_save = 'A' importing es_variant = ls_disvariant exceptions not_found = 1 program_error = 2 others = 3.

WB2_DISPLAY_DOC call function 'WB2_DISPLAY_DOC' exporting i_doc_key = doc_key i_tew_type_val = wa_selected_line-tew_type exceptions internal_error = 1 others = 2.

WB2_DISPLAY_DOC call function 'WB2_DISPLAY_DOC' exporting i_doc_key = doc_key i_tew_type_val = wa_selected_line-tew_type exceptions internal_error = 1 others = 2.

WB2_DISPLAY_DOC call function 'WB2_DISPLAY_DOC' exporting i_doc_key = doc_key i_tew_type_val = wa_selected_line-tew_type exceptions internal_error = 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 MATPOSF01 or its description.