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

SD_LORD_RFC_CREATE_ORDER_MULTI SAP ABAP Report - Creation of several documents with item data







SD_LORD_RFC_CREATE_ORDER_MULTI 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 SD_LORD_RFC_CREATE_ORDER_MULTI 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 SD_LORD_RFC_CREATE_ORDER_MULTI. "Basic submit
SUBMIT SD_LORD_RFC_CREATE_ORDER_MULTI AND RETURN. "Return to original report after report execution complete
SUBMIT SD_LORD_RFC_CREATE_ORDER_MULTI 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: S_MABNR = Material Number
Selection Text: P_WERKS = Plant
Selection Text: P_VTWEG = Distribution Channel
Selection Text: P_VRKME = Sales Unit
Selection Text: P_VLDAT = Requested Delivery Date
Selection Text: P_VKORG = Sales Organization
Selection Text: P_VBELN = Document Number
Selection Text: P_TRVOG = Transaction Activity
Selection Text: P_SYNC = Synchronous Update
Selection Text: P_SPART = Division
Selection Text: P_PSTYV = Item Category
Selection Text: P_POSNR = Item Number
Selection Text: P_NOVERB = No Update
Selection Text: P_KWMENG = Order Quantity
Selection Text: P_KUNWE = Goods Recipient
Selection Text: P_KUNAG = Sold-To Party
Selection Text: P_ITEMAN = Number of Item Recurrences
Selection Text: P_EDATU = Requested Delivery Date
Selection Text: P_DOCANZ = Number of Documents
Selection Text: P_BSTKD = Purchase Order Number
Selection Text: P_BSTDK = Purchase Order Date
Selection Text: P_AUART = Sales Document Type
Selection Text: P_ASYNC = Asynchronous Posting
Title: Creation of several documents with item data
Text Symbol: 004 = Activity executed successfully
Text Symbol: 003 = Control Parameters
Text Symbol: 002 = Item Data
Text Symbol: 001 = Header Data


INCLUDES used within this REPORT SD_LORD_RFC_CREATE_ORDER_MULTI

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:

ERP_LORD_LOAD CALL FUNCTION 'ERP_LORD_LOAD' EXPORTING iv_trtyp = 'H' iv_auart = p_auart iv_vkorg = p_vkorg iv_vtweg = p_vtweg iv_spart = p_spart iv_kunag = p_kunag IMPORTING ef_loaded = lv_loaded es_error = ls_error.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = lv_handle_item.

ERP_LORD_LOAD CALL FUNCTION 'ERP_LORD_LOAD' EXPORTING iv_trtyp = 'V' iv_vbeln = p_vbeln iv_kunag = p_kunag IMPORTING es_head_comv = ls_head_comv es_head_comi = ls_head_comi es_head_comr = ls_head_comr ef_loaded = lv_loaded es_error = ls_error.

ERP_LORD_GET_ITEM_MULTI CALL FUNCTION 'ERP_LORD_GET_ITEM_MULTI' IMPORTING et_item_comv = lt_item_comv_h et_item_comi = lt_item_comi et_item_comr = lt_item_comr et_messages = lt_messages es_error = ls_error.

ERP_LORD_SET CALL FUNCTION 'ERP_LORD_SET' EXPORTING it_objinst = lt_objinst is_head_comv = ls_head_comv is_head_comx = ls_head_comx it_item_comv = lt_item_comv it_item_comx = lt_item_comx IMPORTING es_error = ls_error EXCEPTIONS exc_lord_not_loaded = 1 OTHERS = 2 .

ERP_LORD_SAVE CALL FUNCTION 'ERP_LORD_SAVE' EXPORTING if_no_commit = p_noverb if_synchron = p_sync * IF_INIT_MSGLOG = IMPORTING ef_saved = lv_saved ev_vbeln_saved = lv_vbeln es_error = ls_error et_messages = lt_messages EXCEPTIONS exc_lord_not_loaded = 1 OTHERS = 2 .

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = repid dynumb = dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS.

SLS_LORD_GET_VALUES_AUART CALL FUNCTION 'SLS_LORD_GET_VALUES_AUART' EXPORTING iv_trvog = lv_trvog iv_auth_act = '01' if_not_blocked = 'X' iv_vkorg = lv_vkorg iv_vtweg = lv_vtweg iv_spart = lv_spart IMPORTING et_helpvalue = lt_auart_help_value.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEY' dynpprog = repid dynpnr = dynnr dynprofield = 'p_auart' value_org = 'S' display = ' ' TABLES value_tab = lt_auart_help_value EXCEPTIONS OTHERS.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS.

SLS_LORD_GET_VALUES_SAREA CALL FUNCTION 'SLS_LORD_GET_VALUES_SAREA' EXPORTING iv_vkorg = lv_vkorg iv_vtweg = lv_vtweg iv_spart = lv_spart iv_auart = lv_auart iv_kunnr = lv_kunag iv_auth_act = '01' IMPORTING et_salesarea = lt_sales_area_help_value EXCEPTIONS OTHERS.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = key_value dynpprog = repid dynpnr = dynnr dynprofield = field_name value_org = 'S' display = ' ' TABLES value_tab = lt_sales_area_help_value EXCEPTIONS OTHERS.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = repid dynumb = dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS.

SLS_LORD_GET_VALUES_PSTYV CALL FUNCTION 'SLS_LORD_GET_VALUES_PSTYV' EXPORTING iv_auart = lv_auart IMPORTING et_helpvalue = lt_pstyv_help_value.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'KEY' dynpprog = repid dynpnr = dynnr dynprofield = 'p_pstyv' value_org = 'S' display = ' ' TABLES value_tab = lt_pstyv_help_value EXCEPTIONS OTHERS.



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