SAP SLS_LORD_GET_VALUES_AUART Function Module for NOTRANSL: Wertehilfe für Auftragsart
SLS_LORD_GET_VALUES_AUART is a standard sls lord get values auart 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: Wertehilfe für Auftragsart 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 sls lord get values auart FM, simply by entering the name SLS_LORD_GET_VALUES_AUART into the relevant SAP transaction such as SE37 or SE38.
Function Group: SLS_LORD_SHLP
Program Name: SAPLSLS_LORD_SHLP
Main Program: SAPLSLS_LORD_SHLP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function SLS_LORD_GET_VALUES_AUART 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 'SLS_LORD_GET_VALUES_AUART'"NOTRANSL: Wertehilfe für Auftragsart.
EXPORTING
* IV_MAX_ENTRIES = GC_IMAX "
* IT_TRVOG = "Transaction Activities
* IT_VBTYP = "List of SD Document Categories
* IV_TRVOG = "Transaction Group
* IV_VBTYP = "Sales Document Category
* IV_AUARV = "Sales Document Type
* IV_AUTH_ACT = "Component of Version Number
* IF_NOT_BLOCKED = 'X' "Checkbox
* IV_VKORG = "Sales Organization
* IV_VTWEG = "Distribution Channel
* IV_SPART = "Division
IMPORTING
ET_HELPVALUE = "Business Server Pages (BSP) Value List Search Help
ET_AUART_VBTYP = "Business Server Pages (BSP) Value List Search Help
EF_MORE_ENTRIES = "Checkbox
IMPORTING Parameters details for SLS_LORD_GET_VALUES_AUART
IV_MAX_ENTRIES -
Data type: IDefault: GC_IMAX
Optional: Yes
Call by Reference: No ( called with pass by value option)
IT_TRVOG - Transaction Activities
Data type: TDT_TRVOG_VAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VBTYP - List of SD Document Categories
Data type: TDT_SLS_VBTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TRVOG - Transaction Group
Data type: TRVOG_VAOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VBTYP - Sales Document Category
Data type: VBTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_AUARV - Sales Document Type
Data type: AUARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_AUTH_ACT - Component of Version Number
Data type: CHAR2Optional: Yes
Call by Reference: No ( called with pass by value option)
IF_NOT_BLOCKED - Checkbox
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_VKORG - Sales Organization
Data type: VKORGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VTWEG - Distribution Channel
Data type: VTWEGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SPART - Division
Data type: SPARTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SLS_LORD_GET_VALUES_AUART
ET_HELPVALUE - Business Server Pages (BSP) Value List Search Help
Data type: SHSVALTABOptional: No
Call by Reference: No ( called with pass by value option)
ET_AUART_VBTYP - Business Server Pages (BSP) Value List Search Help
Data type: SHSVALTABOptional: No
Call by Reference: No ( called with pass by value option)
EF_MORE_ENTRIES - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SLS_LORD_GET_VALUES_AUART 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_et_helpvalue | TYPE SHSVALTAB, " | |||
lv_iv_max_entries | TYPE I, " GC_IMAX | |||
lv_it_trvog | TYPE TDT_TRVOG_VA, " | |||
lv_it_vbtyp | TYPE TDT_SLS_VBTYP, " | |||
lv_iv_trvog | TYPE TRVOG_VA, " | |||
lv_et_auart_vbtyp | TYPE SHSVALTAB, " | |||
lv_iv_vbtyp | TYPE VBTYP, " | |||
lv_ef_more_entries | TYPE XFELD, " | |||
lv_iv_auarv | TYPE AUART, " | |||
lv_iv_auth_act | TYPE CHAR2, " | |||
lv_if_not_blocked | TYPE XFELD, " 'X' | |||
lv_iv_vkorg | TYPE VKORG, " | |||
lv_iv_vtweg | TYPE VTWEG, " | |||
lv_iv_spart | TYPE SPART. " |
  CALL FUNCTION 'SLS_LORD_GET_VALUES_AUART' "NOTRANSL: Wertehilfe für Auftragsart |
EXPORTING | ||
IV_MAX_ENTRIES | = lv_iv_max_entries | |
IT_TRVOG | = lv_it_trvog | |
IT_VBTYP | = lv_it_vbtyp | |
IV_TRVOG | = lv_iv_trvog | |
IV_VBTYP | = lv_iv_vbtyp | |
IV_AUARV | = lv_iv_auarv | |
IV_AUTH_ACT | = lv_iv_auth_act | |
IF_NOT_BLOCKED | = lv_if_not_blocked | |
IV_VKORG | = lv_iv_vkorg | |
IV_VTWEG | = lv_iv_vtweg | |
IV_SPART | = lv_iv_spart | |
IMPORTING | ||
ET_HELPVALUE | = lv_et_helpvalue | |
ET_AUART_VBTYP | = lv_et_auart_vbtyp | |
EF_MORE_ENTRIES | = lv_ef_more_entries | |
. " SLS_LORD_GET_VALUES_AUART |
ABAP code using 7.40 inline data declarations to call FM SLS_LORD_GET_VALUES_AUART
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.DATA(ld_iv_max_entries) | = GC_IMAX. | |||
DATA(ld_if_not_blocked) | = 'X'. | |||
Search for further information about these or an SAP related objects