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

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







SD_LORD_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_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_CREATE_ORDER_MULTI. "Basic submit
SUBMIT SD_LORD_CREATE_ORDER_MULTI AND RETURN. "Return to original report after report execution complete
SUBMIT SD_LORD_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: 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_TRVOG = Transaction Activity
Selection Text: P_SYNC = Synchronous Update
Selection Text: P_SPART = Division
Selection Text: P_PSTYV = Item Category
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_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:

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = lv_handle_item.

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