SAP SLS_LORD_GET_VALUES_PSTYV Function Module for NOTRANSL: Wertehilfe für Positionstyp
SLS_LORD_GET_VALUES_PSTYV is a standard sls lord get values pstyv 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 Positionstyp 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 pstyv FM, simply by entering the name SLS_LORD_GET_VALUES_PSTYV 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_PSTYV 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_PSTYV'"NOTRANSL: Wertehilfe für Positionstyp.
EXPORTING
* IV_MAX_ENTRIES = GC_IMAX "
* IV_AUART = "Sales Document Type
* IV_MTPOS = "Item category group from material master
* IV_VWPOS = "Item usage
* IV_UEPST = "Item category of the higher-level item
IMPORTING
ET_HELPVALUE = "Business Server Pages (BSP) Value List Search Help
EF_MORE_ENTRIES = "Checkbox
IMPORTING Parameters details for SLS_LORD_GET_VALUES_PSTYV
IV_MAX_ENTRIES -
Data type: IDefault: GC_IMAX
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_AUART - Sales Document Type
Data type: AUARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MTPOS - Item category group from material master
Data type: MTPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VWPOS - Item usage
Data type: VWPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_UEPST - Item category of the higher-level item
Data type: UEPSTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SLS_LORD_GET_VALUES_PSTYV
ET_HELPVALUE - 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_PSTYV 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_iv_auart | TYPE AUART, " | |||
lv_ef_more_entries | TYPE XFELD, " | |||
lv_iv_mtpos | TYPE MTPOS, " | |||
lv_iv_vwpos | TYPE VWPOS, " | |||
lv_iv_uepst | TYPE UEPST. " |
  CALL FUNCTION 'SLS_LORD_GET_VALUES_PSTYV' "NOTRANSL: Wertehilfe für Positionstyp |
EXPORTING | ||
IV_MAX_ENTRIES | = lv_iv_max_entries | |
IV_AUART | = lv_iv_auart | |
IV_MTPOS | = lv_iv_mtpos | |
IV_VWPOS | = lv_iv_vwpos | |
IV_UEPST | = lv_iv_uepst | |
IMPORTING | ||
ET_HELPVALUE | = lv_et_helpvalue | |
EF_MORE_ENTRIES | = lv_ef_more_entries | |
. " SLS_LORD_GET_VALUES_PSTYV |
ABAP code using 7.40 inline data declarations to call FM SLS_LORD_GET_VALUES_PSTYV
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. | |||
Search for further information about these or an SAP related objects