SAP ERP_LORD_SET Function Module for NOTRANSL: Funktionsbaustein LORD-RFC SET









ERP_LORD_SET is a standard erp lord set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Funktionsbaustein LORD-RFC SET processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for erp lord set FM, simply by entering the name ERP_LORD_SET into the relevant SAP transaction such as SE37 or SE38.

Function Group: ERP_LORD
Program Name: SAPLERP_LORD
Main Program: SAPLERP_LORD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ERP_LORD_SET pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'ERP_LORD_SET'"NOTRANSL: Funktionsbaustein LORD-RFC SET
EXPORTING
* IT_OBJINST = "Table Type for Structure TDS_OBJINST
* IT_COND_COMX = "Table Type for Structure TDS_RFC_COND_COMC
* IT_SLINE_COMV = "Table Type for Structure TDS_RFC_SLINE_COMV
* IT_SLINE_COMX = "Table Type for Structure TDS_RFC_SLINE_COMC
* IT_TEXT_COMV = "Table Type for Structure TDS_RFC_TEXT_COMV
* IT_TEXT_COMX = "Table Type for Structure TDS_RFC_TEXT_COMC
* IT_CCARD_COMV = "Table Type for Structure TDS_RFC_CCARD_COMV
* IT_CCARD_COMX = "Table Type for Structure: TDS_RFC_CCARD_COMC
* IT_CAUTH_COMV = "Table Type for Structure TDS_RFC_CAUTH_COMV
* IT_CAUTH_COMX = "Table Type for Structure TDS_RFC_CAUTH_COMC
* IT_ESTAT_COMV = "Table Type for Structure TDS_RFC_ESTAT_COMV
* IF_INIT_MSGLOG = "General Indicator
* IT_ESTAT_COMX = "Table Type for Structure TDS_RFC_ESTAT_COMC
* IT_VEDA_COMV = "Table Type for Structure TDS_RFC_VEDA_COMV
* IT_VEDA_COMX = "Table Type for Structure TDS_RFC_VEDA_COMC
* IT_FPLA_COMV = "Table Type for Structure TDS_RFC_FPLA_COMV
* IT_FPLA_COMX = "Table Type for Structure TDS_RFC_FPLA_COMC
* IT_FPLT_COMV = "Table Type for Structure TDS_RFC_FPLT_COMV
* IT_FPLT_COMX = "Table Type for Structure TDS_RFC_FPLT_COMC
* IT_REPAIRI_COMV = "Table Type for Structure TDS_RFC_REPAIRI_COMV
* IT_REPAIRI_COMX = "Table Type for Structure TDS_RFC_REPAIRI_COMC
* IS_LPAYSP_COMV = "Lean Order - RFC - Payment Service Provider (Values)
* IS_HEAD_COMV = "Lean Order - RFC - Header Data (Values)
* IS_LPAYSP_COMX = "Lean Order - RFC - Payment Service Provider (CHAR)
* IT_MSR_COMV = "
* IT_MSR_COMX = "
* IT_OBJECT_CONTENT_COMV = "Lean Order - OBJECT_ID - HANDLE - Field Name and Values
* IS_HEAD_COMX = "Lean Order - RFC - Header Data (CHAR)
* IT_ITEM_COMV = "Table Type for Structure TDS_RFC_ITEM_COMV
* IT_ITEM_COMX = "Table Type for Structure TDS_RFC_ITEM_COMC
* IT_PARTY_COMV = "Table Type for Structure TDS_RFC_PARTY_COMV
* IT_PARTY_COMX = "Table Type for Structure TDS_RFC_PARTY_COMC
* IT_COND_COMV = "Table Type for Structure TDS_RFC_COND_COMV

IMPORTING
ES_ERROR = "Lean Order: Error Information
ET_MESSAGES = "Table Type for Structure BAL_S_SHOW
ET_OBJECT_CONTENT_UNPROCESSED = "Lean Order - OBJECT_ID - HANDLE - Field Name and Values

EXCEPTIONS
EXC_LORD_NOT_LOADED = 1
.



IMPORTING Parameters details for ERP_LORD_SET

IT_OBJINST - Table Type for Structure TDS_OBJINST

Data type: TDT_OBJINST
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COND_COMX - Table Type for Structure TDS_RFC_COND_COMC

Data type: TDT_RFC_COND_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SLINE_COMV - Table Type for Structure TDS_RFC_SLINE_COMV

Data type: TDT_RFC_SLINE_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SLINE_COMX - Table Type for Structure TDS_RFC_SLINE_COMC

Data type: TDT_RFC_SLINE_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TEXT_COMV - Table Type for Structure TDS_RFC_TEXT_COMV

Data type: TDT_RFC_TEXT_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TEXT_COMX - Table Type for Structure TDS_RFC_TEXT_COMC

Data type: TDT_RFC_TEXT_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CCARD_COMV - Table Type for Structure TDS_RFC_CCARD_COMV

Data type: TDT_RFC_CCARD_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CCARD_COMX - Table Type for Structure: TDS_RFC_CCARD_COMC

Data type: TDT_RFC_CCARD_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CAUTH_COMV - Table Type for Structure TDS_RFC_CAUTH_COMV

Data type: TDT_RFC_CAUTH_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_CAUTH_COMX - Table Type for Structure TDS_RFC_CAUTH_COMC

Data type: TDT_RFC_CAUTH_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ESTAT_COMV - Table Type for Structure TDS_RFC_ESTAT_COMV

Data type: TDT_RFC_ESTAT_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IF_INIT_MSGLOG - General Indicator

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ESTAT_COMX - Table Type for Structure TDS_RFC_ESTAT_COMC

Data type: TDT_RFC_ESTAT_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_VEDA_COMV - Table Type for Structure TDS_RFC_VEDA_COMV

Data type: TDT_RFC_VEDA_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_VEDA_COMX - Table Type for Structure TDS_RFC_VEDA_COMC

Data type: TDT_RFC_VEDA_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FPLA_COMV - Table Type for Structure TDS_RFC_FPLA_COMV

Data type: TDT_RFC_FPLA_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FPLA_COMX - Table Type for Structure TDS_RFC_FPLA_COMC

Data type: TDT_RFC_FPLA_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FPLT_COMV - Table Type for Structure TDS_RFC_FPLT_COMV

Data type: TDT_RFC_FPLT_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_FPLT_COMX - Table Type for Structure TDS_RFC_FPLT_COMC

Data type: TDT_RFC_FPLT_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REPAIRI_COMV - Table Type for Structure TDS_RFC_REPAIRI_COMV

Data type: TDT_RFC_REPAIRI_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_REPAIRI_COMX - Table Type for Structure TDS_RFC_REPAIRI_COMC

Data type: TDT_RFC_REPAIRI_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_LPAYSP_COMV - Lean Order - RFC - Payment Service Provider (Values)

Data type: TDS_RFC_LPAYSP_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_HEAD_COMV - Lean Order - RFC - Header Data (Values)

Data type: TDS_RFC_HEAD_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_LPAYSP_COMX - Lean Order - RFC - Payment Service Provider (CHAR)

Data type: TDS_RFC_LPAYSP_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_MSR_COMV -

Data type: TDT_RFC_MSR_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_MSR_COMX -

Data type: TDT_RFC_MSR_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_OBJECT_CONTENT_COMV - Lean Order - OBJECT_ID - HANDLE - Field Name and Values

Data type: TDT_OBJECT_FIELD_CONTENT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_HEAD_COMX - Lean Order - RFC - Header Data (CHAR)

Data type: TDS_RFC_HEAD_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ITEM_COMV - Table Type for Structure TDS_RFC_ITEM_COMV

Data type: TDT_RFC_ITEM_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_ITEM_COMX - Table Type for Structure TDS_RFC_ITEM_COMC

Data type: TDT_RFC_ITEM_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PARTY_COMV - Table Type for Structure TDS_RFC_PARTY_COMV

Data type: TDT_RFC_PARTY_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PARTY_COMX - Table Type for Structure TDS_RFC_PARTY_COMC

Data type: TDT_RFC_PARTY_COMC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_COND_COMV - Table Type for Structure TDS_RFC_COND_COMV

Data type: TDT_RFC_COND_COMV
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ERP_LORD_SET

ES_ERROR - Lean Order: Error Information

Data type: TDS_ERROR
Optional: No
Call by Reference: No ( called with pass by value option)

ET_MESSAGES - Table Type for Structure BAL_S_SHOW

Data type: TDT_MESSAGES
Optional: No
Call by Reference: No ( called with pass by value option)

ET_OBJECT_CONTENT_UNPROCESSED - Lean Order - OBJECT_ID - HANDLE - Field Name and Values

Data type: TDT_OBJECT_FIELD_CONTENT
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

EXC_LORD_NOT_LOADED - Lean Order Application Not Loaded

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ERP_LORD_SET Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_es_error  TYPE TDS_ERROR, "   
lv_it_objinst  TYPE TDT_OBJINST, "   
lv_exc_lord_not_loaded  TYPE TDT_OBJINST, "   
lv_it_cond_comx  TYPE TDT_RFC_COND_COMC, "   
lv_it_sline_comv  TYPE TDT_RFC_SLINE_COMV, "   
lv_it_sline_comx  TYPE TDT_RFC_SLINE_COMC, "   
lv_it_text_comv  TYPE TDT_RFC_TEXT_COMV, "   
lv_it_text_comx  TYPE TDT_RFC_TEXT_COMC, "   
lv_it_ccard_comv  TYPE TDT_RFC_CCARD_COMV, "   
lv_it_ccard_comx  TYPE TDT_RFC_CCARD_COMC, "   
lv_it_cauth_comv  TYPE TDT_RFC_CAUTH_COMV, "   
lv_it_cauth_comx  TYPE TDT_RFC_CAUTH_COMC, "   
lv_it_estat_comv  TYPE TDT_RFC_ESTAT_COMV, "   
lv_et_messages  TYPE TDT_MESSAGES, "   
lv_if_init_msglog  TYPE FLAG, "   
lv_it_estat_comx  TYPE TDT_RFC_ESTAT_COMC, "   
lv_it_veda_comv  TYPE TDT_RFC_VEDA_COMV, "   
lv_it_veda_comx  TYPE TDT_RFC_VEDA_COMC, "   
lv_it_fpla_comv  TYPE TDT_RFC_FPLA_COMV, "   
lv_it_fpla_comx  TYPE TDT_RFC_FPLA_COMC, "   
lv_it_fplt_comv  TYPE TDT_RFC_FPLT_COMV, "   
lv_it_fplt_comx  TYPE TDT_RFC_FPLT_COMC, "   
lv_it_repairi_comv  TYPE TDT_RFC_REPAIRI_COMV, "   
lv_it_repairi_comx  TYPE TDT_RFC_REPAIRI_COMC, "   
lv_is_lpaysp_comv  TYPE TDS_RFC_LPAYSP_COMV, "   
lv_is_head_comv  TYPE TDS_RFC_HEAD_COMV, "   
lv_et_object_content_unprocessed  TYPE TDT_OBJECT_FIELD_CONTENT, "   
lv_is_lpaysp_comx  TYPE TDS_RFC_LPAYSP_COMC, "   
lv_it_msr_comv  TYPE TDT_RFC_MSR_COMV, "   
lv_it_msr_comx  TYPE TDT_RFC_MSR_COMC, "   
lv_it_object_content_comv  TYPE TDT_OBJECT_FIELD_CONTENT, "   
lv_is_head_comx  TYPE TDS_RFC_HEAD_COMC, "   
lv_it_item_comv  TYPE TDT_RFC_ITEM_COMV, "   
lv_it_item_comx  TYPE TDT_RFC_ITEM_COMC, "   
lv_it_party_comv  TYPE TDT_RFC_PARTY_COMV, "   
lv_it_party_comx  TYPE TDT_RFC_PARTY_COMC, "   
lv_it_cond_comv  TYPE TDT_RFC_COND_COMV. "   

  CALL FUNCTION 'ERP_LORD_SET'  "NOTRANSL: Funktionsbaustein LORD-RFC SET
    EXPORTING
         IT_OBJINST = lv_it_objinst
         IT_COND_COMX = lv_it_cond_comx
         IT_SLINE_COMV = lv_it_sline_comv
         IT_SLINE_COMX = lv_it_sline_comx
         IT_TEXT_COMV = lv_it_text_comv
         IT_TEXT_COMX = lv_it_text_comx
         IT_CCARD_COMV = lv_it_ccard_comv
         IT_CCARD_COMX = lv_it_ccard_comx
         IT_CAUTH_COMV = lv_it_cauth_comv
         IT_CAUTH_COMX = lv_it_cauth_comx
         IT_ESTAT_COMV = lv_it_estat_comv
         IF_INIT_MSGLOG = lv_if_init_msglog
         IT_ESTAT_COMX = lv_it_estat_comx
         IT_VEDA_COMV = lv_it_veda_comv
         IT_VEDA_COMX = lv_it_veda_comx
         IT_FPLA_COMV = lv_it_fpla_comv
         IT_FPLA_COMX = lv_it_fpla_comx
         IT_FPLT_COMV = lv_it_fplt_comv
         IT_FPLT_COMX = lv_it_fplt_comx
         IT_REPAIRI_COMV = lv_it_repairi_comv
         IT_REPAIRI_COMX = lv_it_repairi_comx
         IS_LPAYSP_COMV = lv_is_lpaysp_comv
         IS_HEAD_COMV = lv_is_head_comv
         IS_LPAYSP_COMX = lv_is_lpaysp_comx
         IT_MSR_COMV = lv_it_msr_comv
         IT_MSR_COMX = lv_it_msr_comx
         IT_OBJECT_CONTENT_COMV = lv_it_object_content_comv
         IS_HEAD_COMX = lv_is_head_comx
         IT_ITEM_COMV = lv_it_item_comv
         IT_ITEM_COMX = lv_it_item_comx
         IT_PARTY_COMV = lv_it_party_comv
         IT_PARTY_COMX = lv_it_party_comx
         IT_COND_COMV = lv_it_cond_comv
    IMPORTING
         ES_ERROR = lv_es_error
         ET_MESSAGES = lv_et_messages
         ET_OBJECT_CONTENT_UNPROCESSED = lv_et_object_content_unprocessed
    EXCEPTIONS
        EXC_LORD_NOT_LOADED = 1
. " ERP_LORD_SET




ABAP code using 7.40 inline data declarations to call FM ERP_LORD_SET

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!