SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

RM06ENP1 SAP ABAP Report - Price Determination for Scheduling Agreements







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RM06ENP1. "Basic submit
SUBMIT RM06ENP1 AND RETURN. "Return to original report after report execution complete
SUBMIT RM06ENP1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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 --------------------------------------------------------------


INCLUDES used within this REPORT RM06ENP1

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RM06ENP1 or its description.