SAP ME_PO_SIMULATION_DATA_DISLPAY Function Module for NOTRANSL: Anzeige der Daten der Bestellpreissimulation (Preisauskunft)









ME_PO_SIMULATION_DATA_DISLPAY is a standard me po simulation data dislpay 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: Anzeige der Daten der Bestellpreissimulation (Preisauskunft) 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 me po simulation data dislpay FM, simply by entering the name ME_PO_SIMULATION_DATA_DISLPAY into the relevant SAP transaction such as SE37 or SE38.

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



Function ME_PO_SIMULATION_DATA_DISLPAY 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 'ME_PO_SIMULATION_DATA_DISLPAY'"NOTRANSL: Anzeige der Daten der Bestellpreissimulation (Preisauskunft)
EXPORTING
I_EKKO = "Purchasing Document Header
I_SIMUL_PO = "Structure for PO Price Simulation (FM)

TABLES
TKOMV = "Pricing Communications-Condition Record
TKOMK = "Communication Header for Pricing
TKOMP = "Communication Item for Pricing
TBEKPO = "Transfer Structure Items for Purchasing Documents
TBEKET = "Tfr. Structure Sch. Lines for Ord. Acceptance Confirmations

EXCEPTIONS
BACK_TO_SELECTION_SCREEN = 1 FUNCTION_YET_FINISHED = 2
.



IMPORTING Parameters details for ME_PO_SIMULATION_DATA_DISLPAY

I_EKKO - Purchasing Document Header

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

I_SIMUL_PO - Structure for PO Price Simulation (FM)

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

TABLES Parameters details for ME_PO_SIMULATION_DATA_DISLPAY

TKOMV - Pricing Communications-Condition Record

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

TKOMK - Communication Header for Pricing

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

TKOMP - Communication Item for Pricing

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

TBEKPO - Transfer Structure Items for Purchasing Documents

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

TBEKET - Tfr. Structure Sch. Lines for Ord. Acceptance Confirmations

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

EXCEPTIONS details

BACK_TO_SELECTION_SCREEN -

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

FUNCTION_YET_FINISHED -

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

Copy and paste ABAP code example for ME_PO_SIMULATION_DATA_DISLPAY 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:
lt_tkomv  TYPE STANDARD TABLE OF KOMV, "   
lv_i_ekko  TYPE EKKO, "   
lv_back_to_selection_screen  TYPE EKKO, "   
lt_tkomk  TYPE STANDARD TABLE OF KOMK, "   
lv_i_simul_po  TYPE SIMUL_PO, "   
lv_function_yet_finished  TYPE SIMUL_PO, "   
lt_tkomp  TYPE STANDARD TABLE OF KOMP, "   
lt_tbekpo  TYPE STANDARD TABLE OF BEKPO, "   
lt_tbeket  TYPE STANDARD TABLE OF BEKET. "   

  CALL FUNCTION 'ME_PO_SIMULATION_DATA_DISLPAY'  "NOTRANSL: Anzeige der Daten der Bestellpreissimulation (Preisauskunft)
    EXPORTING
         I_EKKO = lv_i_ekko
         I_SIMUL_PO = lv_i_simul_po
    TABLES
         TKOMV = lt_tkomv
         TKOMK = lt_tkomk
         TKOMP = lt_tkomp
         TBEKPO = lt_tbekpo
         TBEKET = lt_tbeket
    EXCEPTIONS
        BACK_TO_SELECTION_SCREEN = 1
        FUNCTION_YET_FINISHED = 2
. " ME_PO_SIMULATION_DATA_DISLPAY




ABAP code using 7.40 inline data declarations to call FM ME_PO_SIMULATION_DATA_DISLPAY

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!