SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

ERCOMF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

SO_NEW_DOCUMENT_SEND_API1 call function 'SO_NEW_DOCUMENT_SEND_API1' exporting document_data = pe_document_type * DOCUMENT_TYPE = 'RAW' * PUT_IN_OUTBOX = ' ' * IMPORTING * SENT_TO_ALL = * NEW_OBJECT_ID = tables * OBJECT_HEADER = object_content = p_t_content * CONTENTS_HEX = * OBJECT_PARA = * OBJECT_PARB = receivers = p_t_receiver exceptions too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error = 7 others = 8.

WSOH_READ_LAYOUT_MOD_VER call function 'WSOH_READ_LAYOUT_MOD_VER' exporting pi_kzrfb = true * PI_SPERRMODUS = ' ' pi_laygr = p_wlmv-laygr pi_laymod_ver = p_wlmv-laymod_ver pi_only_active = true * IMPORTING * PE_WSOH = exceptions key_uncomplete = 1 rec_enqueued = 2 rec_not_active = 3 no_rec_found = 4 others = 5.

WRF_GET_ASSORTMENT_FOR_LM CALL FUNCTION 'WRF_GET_ASSORTMENT_FOR_LM' EXPORTING * PI_KZRFB = '' PI_LAYMOD = pi_wlmv-laygr * PI_ASGMT = 'A' * PI_CHECK_WRFST_TYP = '' TABLES ASORT = pi_t_wrs1 EXCEPTIONS LAYMOD_NOT_FOUND = 1 NO_ASGMT_FOUND = 2 OTHERS = 3.

ASSORTMENT_GET_USERS_OF_1ASORT CALL FUNCTION 'ASSORTMENT_GET_USERS_OF_1ASORT' EXPORTING * VALID_PER_DATE = SY-DATUM * SELECT_INVALID_ASORT = ' ' ASORT = p_wrs1-asort * NO_BUFFER = ' ' * SOTYP = ' ' * STATUS = 'E' TABLES ASSORTMENT_USERS = pi_t_wrsz EXCEPTIONS NO_ASORT_TO_SELECT = 1 NO_USER_FOUND = 2 OTHERS = 3.

CHECK_MULTIPLE_ASSIGNMENT CALL FUNCTION 'CHECK_MULTIPLE_ASSIGNMENT' IMPORTING multiple_assignment = p_mult.

WLVA_SINGLE_READ CALL FUNCTION 'WLVA_SINGLE_READ' EXPORTING pi_laygr = pi_changes-laygr pi_lmver = pi_changes-laymod_ver pi_asort = pi_asort * PI_BUF_REFRSH = ' ' IMPORTING pe_wlva = pi_wlva EXCEPTIONS layoutmodule_not_found = 1 version_not_found = 2 asortment_not_found = 3 layoutmodule_not_assigned = 4 no_variant_assigned = 5 customer_not_found = 6 OTHERS = 7.

ASSORTMENT_GET_ASORT_OF_USER CALL FUNCTION 'ASSORTMENT_GET_ASORT_OF_USER' EXPORTING * VALID_PER_DATE = SY-DATUM * SELECT_INVALID_ASORT = ' ' user = pi_changes-locnr user_type = 'A' * VKORG = ' ' * VTWEG = ' ' * NO_BUFFER = ' ' * IMPORTING * ASORT_DEFAULT = TABLES assortment_data = p_t_wrs1 * ASSORTMENT_CONNECTS = EXCEPTIONS no_asort_found = 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 ERCOMF01 or its description.