RM06ENP0 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 RM06ENP0 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 = Contract Type
Selection Text: I_EBELN = Contract
Selection Text: I_EKGRP = Purchasing Group
Selection Text: I_EKORG = Purchasing Organization
Selection Text: UPDALL = No Date Check
Selection Text: WQ_SIMUL = Test Run
Title: Price Determination for Contracts
Text Symbol: 001 = Contract Type Vendor Name PGp Agmt Dt
Text Symbol: 002 = Item Material Short Text Mat.Grp
Text Symbol: 003 = Price Old
Text Symbol: 004 = Price New
Text Symbol: 005 = Remarks
Text Symbol: 010 = Old Price
Text Symbol: 011 = New Price
Text Symbol: 012 = Not Found
Text Symbol: 013 = Not Usable (Negative)
Text Symbol: 020 = Result:
Text Symbol: 021 = contract items changed
Text Symbol: 022 = contracts 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.
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.
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 i_forced = updall 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.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_default = 'X' i_save = 'A' is_variant = ls_variant it_events = lt_events IMPORTING e_exit_caused_by_caller = l_exit_caused_by_caller es_exit_caused_by_user = ls_exit_caused_by_user TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = g_struc_name CHANGING ct_fieldcat = cht_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM06ENP0 - Price Determination for Contracts RM06ENP0 - Price Determination for Contracts RM06ENMW - Convert Value-Added Tax Code in Purchasing Documents RM06ENMW - Convert Value-Added Tax Code in Purchasing Documents RM06ENMA_ALT - Purchasing Documents: Reminders and Expediters RM06ENMA_ALT - Purchasing Documents: Reminders and Expediters