SAP PPEDBSTATUS_GETLIST Function Module for NOTRANSL: Selektion von Status nach Attributen









PPEDBSTATUS_GETLIST is a standard ppedbstatus getlist 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: Selektion von Status nach Attributen 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 ppedbstatus getlist FM, simply by entering the name PPEDBSTATUS_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: PPEDBSTATUS
Program Name: SAPLPPEDBSTATUS
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function PPEDBSTATUS_GETLIST 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 'PPEDBSTATUS_GETLIST'"NOTRANSL: Selektion von Status nach Attributen
EXPORTING
* IM_STATUSGUID_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_CSID_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_VALUE_TAB = "List of Values
* IM_RESPONSIBLE_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IM_TARGETDATE_LO = '19000101' "Target Date of iPPE Status Object
* IM_TARGETDATE_HIGH = '99991231' "Target Date of iPPE Status Object
* IM_TARGETDATEINIT_FLAG = ' ' "Checkbox

IMPORTING
EX_STATUS_TAB = "Selected status

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for PPEDBSTATUS_GETLIST

IM_STATUSGUID_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IM_CSID_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IM_VALUE_TAB - List of Values

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

IM_RESPONSIBLE_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPEST_RESPONSIBLE_TAB
Optional: Yes
Call by Reference: Yes

IM_TARGETDATE_LO - Target Date of iPPE Status Object

Data type: PPEST_PPESSTATUS-TARGETDATE
Default: '19000101'
Optional: Yes
Call by Reference: Yes

IM_TARGETDATE_HIGH - Target Date of iPPE Status Object

Data type: PPEST_PPESSTATUS-TARGETDATE
Default: '99991231'
Optional: Yes
Call by Reference: Yes

IM_TARGETDATEINIT_FLAG - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PPEDBSTATUS_GETLIST

EX_STATUS_TAB - Selected status

Data type: PPEST_STATUS_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPEDBSTATUS_GETLIST 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_error  TYPE STRING, "   
lv_ex_status_tab  TYPE PPEST_STATUS_TAB, "   
lv_im_statusguid_tab  TYPE PPEST_STATUSGUID_TAB, "   
lv_im_csid_tab  TYPE PPEST_CSID_TAB, "   
lv_im_value_tab  TYPE PPEST_VALUE_TAB, "   
lv_im_responsible_tab  TYPE PPEST_RESPONSIBLE_TAB, "   
lv_im_targetdate_lo  TYPE PPEST_PPESSTATUS-TARGETDATE, "   '19000101'
lv_im_targetdate_high  TYPE PPEST_PPESSTATUS-TARGETDATE, "   '99991231'
lv_im_targetdateinit_flag  TYPE XFELD. "   SPACE

  CALL FUNCTION 'PPEDBSTATUS_GETLIST'  "NOTRANSL: Selektion von Status nach Attributen
    EXPORTING
         IM_STATUSGUID_TAB = lv_im_statusguid_tab
         IM_CSID_TAB = lv_im_csid_tab
         IM_VALUE_TAB = lv_im_value_tab
         IM_RESPONSIBLE_TAB = lv_im_responsible_tab
         IM_TARGETDATE_LO = lv_im_targetdate_lo
         IM_TARGETDATE_HIGH = lv_im_targetdate_high
         IM_TARGETDATEINIT_FLAG = lv_im_targetdateinit_flag
    IMPORTING
         EX_STATUS_TAB = lv_ex_status_tab
    EXCEPTIONS
        ERROR = 1
. " PPEDBSTATUS_GETLIST




ABAP code using 7.40 inline data declarations to call FM PPEDBSTATUS_GETLIST

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.

 
 
 
 
 
 
"SELECT single TARGETDATE FROM PPEST_PPESSTATUS INTO @DATA(ld_im_targetdate_lo).
DATA(ld_im_targetdate_lo) = '19000101'.
 
"SELECT single TARGETDATE FROM PPEST_PPESSTATUS INTO @DATA(ld_im_targetdate_high).
DATA(ld_im_targetdate_high) = '99991231'.
 
DATA(ld_im_targetdateinit_flag) = ' '.
 


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!