SAP PLANOGRAM_DATA_READ_AND_DISP Function Module for NOTRANSL: Regaloptimierung: Listdarstellung der Planogrammdaten









PLANOGRAM_DATA_READ_AND_DISP is a standard planogram data read and disp 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: Regaloptimierung: Listdarstellung der Planogrammdaten 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 planogram data read and disp FM, simply by entering the name PLANOGRAM_DATA_READ_AND_DISP into the relevant SAP transaction such as SE37 or SE38.

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



Function PLANOGRAM_DATA_READ_AND_DISP 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 'PLANOGRAM_DATA_READ_AND_DISP'"NOTRANSL: Regaloptimierung: Listdarstellung der Planogrammdaten
EXPORTING
PI_LOCNR = "Customer (Store)
* PI_LAYOUT_CHECK = ' ' "Check layout
* PI_ALL_STORES = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_NO_STORE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_VERSION_CHECK = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
PI_LAYGR = "Layout Module
* PI_VERS = "Layout Module Version
* PI_VAR = ' ' "Layout Module Variant
* PI_DATE = SY-DATUM "Key Date for Pricing/Listing Check
* PI_LIST_CHECK = ' ' "Listing Check
* PI_MESSAGES = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* PI_CLASS = ' ' "Class
* PI_TYPE = ' ' "Class Type
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLWPLG_001 Modification of Eport Data for External Space Management
EXIT_SAPLWPLG_002 Modification of the Import Data for External Space Management

IMPORTING Parameters details for PLANOGRAM_DATA_READ_AND_DISP

PI_LOCNR - Customer (Store)

Data type: WPLGRH-LOCNR
Optional: No
Call by Reference: No ( called with pass by value option)

PI_LAYOUT_CHECK - Check layout

Data type: WDL_FLAG-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_ALL_STORES - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: WDL_FLAG-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_NO_STORE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: WDL_FLAG-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_VERSION_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: WDL_FLAG-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_LAYGR - Layout Module

Data type: WPLGRH-LAYGR
Optional: No
Call by Reference: No ( called with pass by value option)

PI_VERS - Layout Module Version

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

PI_VAR - Layout Module Variant

Data type: BAPISHELFHD-LAYMOD_VAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_DATE - Key Date for Pricing/Listing Check

Data type: WPLGRH-PRICE_DATE
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_LIST_CHECK - Listing Check

Data type: BAPISHELFHDIMP-LIST_CHECK
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_MESSAGES - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: WDL_FLAG-XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_CLASS - Class

Data type: CUVT-CLASS_CUVT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_TYPE - Class Type

Data type: CUVT-KLART_CUVT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for PLANOGRAM_DATA_READ_AND_DISP 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_pi_locnr  TYPE WPLGRH-LOCNR, "   
lv_pi_layout_check  TYPE WDL_FLAG-XFELD, "   SPACE
lv_pi_all_stores  TYPE WDL_FLAG-XFELD, "   SPACE
lv_pi_no_store  TYPE WDL_FLAG-XFELD, "   SPACE
lv_pi_version_check  TYPE WDL_FLAG-XFELD, "   SPACE
lv_pi_laygr  TYPE WPLGRH-LAYGR, "   
lv_pi_vers  TYPE WPLGRH-LAYMOD_VER, "   
lv_pi_var  TYPE BAPISHELFHD-LAYMOD_VAR, "   SPACE
lv_pi_date  TYPE WPLGRH-PRICE_DATE, "   SY-DATUM
lv_pi_list_check  TYPE BAPISHELFHDIMP-LIST_CHECK, "   SPACE
lv_pi_messages  TYPE WDL_FLAG-XFELD, "   SPACE
lv_pi_class  TYPE CUVT-CLASS_CUVT, "   SPACE
lv_pi_type  TYPE CUVT-KLART_CUVT. "   SPACE

  CALL FUNCTION 'PLANOGRAM_DATA_READ_AND_DISP'  "NOTRANSL: Regaloptimierung: Listdarstellung der Planogrammdaten
    EXPORTING
         PI_LOCNR = lv_pi_locnr
         PI_LAYOUT_CHECK = lv_pi_layout_check
         PI_ALL_STORES = lv_pi_all_stores
         PI_NO_STORE = lv_pi_no_store
         PI_VERSION_CHECK = lv_pi_version_check
         PI_LAYGR = lv_pi_laygr
         PI_VERS = lv_pi_vers
         PI_VAR = lv_pi_var
         PI_DATE = lv_pi_date
         PI_LIST_CHECK = lv_pi_list_check
         PI_MESSAGES = lv_pi_messages
         PI_CLASS = lv_pi_class
         PI_TYPE = lv_pi_type
. " PLANOGRAM_DATA_READ_AND_DISP




ABAP code using 7.40 inline data declarations to call FM PLANOGRAM_DATA_READ_AND_DISP

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 LOCNR FROM WPLGRH INTO @DATA(ld_pi_locnr).
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_layout_check).
DATA(ld_pi_layout_check) = ' '.
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_all_stores).
DATA(ld_pi_all_stores) = ' '.
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_no_store).
DATA(ld_pi_no_store) = ' '.
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_version_check).
DATA(ld_pi_version_check) = ' '.
 
"SELECT single LAYGR FROM WPLGRH INTO @DATA(ld_pi_laygr).
 
"SELECT single LAYMOD_VER FROM WPLGRH INTO @DATA(ld_pi_vers).
 
"SELECT single LAYMOD_VAR FROM BAPISHELFHD INTO @DATA(ld_pi_var).
DATA(ld_pi_var) = ' '.
 
"SELECT single PRICE_DATE FROM WPLGRH INTO @DATA(ld_pi_date).
DATA(ld_pi_date) = SY-DATUM.
 
"SELECT single LIST_CHECK FROM BAPISHELFHDIMP INTO @DATA(ld_pi_list_check).
DATA(ld_pi_list_check) = ' '.
 
"SELECT single XFELD FROM WDL_FLAG INTO @DATA(ld_pi_messages).
DATA(ld_pi_messages) = ' '.
 
"SELECT single CLASS_CUVT FROM CUVT INTO @DATA(ld_pi_class).
DATA(ld_pi_class) = ' '.
 
"SELECT single KLART_CUVT FROM CUVT INTO @DATA(ld_pi_type).
DATA(ld_pi_type) = ' '.
 


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!