RM06ENP1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report computes the new net and effective prices from the currently valid conditions for each contract that satisfies the criteria of the selection screen...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RM06ENP1 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: I_BSART = Scheduling Agreement Type
Selection Text: I_EBELN = Scheduling Agreement
Selection Text: I_EKGRP = Purchasing Group
Selection Text: I_EKORG = Purchasing Organization
Selection Text: UPDALL = Do Not Check Validity
Selection Text: WQ_SIMUL = Test Run
Title: Price Determination for Scheduling Agreements
Text Symbol: 001 = Sch. Agmt Type Vendor Name PGp Agmt Dt
Text Symbol: 002 = Item Material Short Text Mat.Grp
Text Symbol: 010 = Old Price
Text Symbol: 011 = New Price
Text Symbol: 012 = Not Found
Text Symbol: 013 = Not Usable (Negative)
Text Symbol: 020 = There were
Text Symbol: 021 = sched. agreement items changed
Text Symbol: 022 = schd. agmts. processed
Text Symbol: 030 = Restrictions --------------------------------------------------------------
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = ekko-ebeln EXCEPTIONS foreign_lock = 2 system_failure = 3.
DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = ekko-ebeln.
DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = ekko-ebeln.
MM_REFRESH_PARTNERS CALL FUNCTION 'MM_REFRESH_PARTNERS'. "365038
ENQUEUE_EMEKKOE *CALL FUNCTION 'ENQUEUE_EMEKKOE' * EXPORTING * EBELN = EKKO-EBELN * EXCEPTIONS * FOREIGN_LOCK = 2 * SYSTEM_ERROR = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ME_PRICING_CONTRACT CALL FUNCTION 'ME_PRICING_CONTRACT' EXPORTING dialog = space kopf = ekko position = ekpo simulation = space skonto = space bezugs = space effektiv = space only_contract = 'X' IMPORTING preisp = komp preisk = komk.
MM_CURRENT_PRICE_DOCUMENT CALL FUNCTION 'MM_CURRENT_PRICE_DOCUMENT' EXPORTING i_ekko = ekko CHANGING c_ekpo = *ekpo EXCEPTIONS OTHERS = 1.
MM_ADDRESS_GET CALL FUNCTION 'MM_ADDRESS_GET' EXPORTING i_ekko = ekko IMPORTING e_name1 = name1 EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM06ENP1 - Price Determination for Scheduling Agreements RM06ENP1 - Price Determination for Scheduling Agreements RM06ENP0_UNIT - Include RM06ENP0_UNIT RM06ENP0 - Price Determination for Contracts RM06ENP0 - Price Determination for Contracts RM06ENMW - Convert Value-Added Tax Code in Purchasing Documents