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

RM06ERVE SAP ABAP Report - Currency Conversion for Outline Agreements (Euro and Other Currencies)







RM06ERVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for RM06ERVE This program enables you to convert the document currency of scheduling agreements and contracts to the euro or another currency...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 RM06ERVE 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 RM06ERVE. "Basic submit
SUBMIT RM06ERVE AND RETURN. "Return to original report after report execution complete
SUBMIT RM06ERVE 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: SO_OCURR = D .
Selection Text: SO_LIFNR = D .
Selection Text: SO_EKORG = D .
Selection Text: SO_EBELN = D .
Selection Text: SO_BSTYP = D .
Selection Text: SO_BSART = D .
Selection Text: PWAERS = D .
Selection Text: PTSTVEND = D .
Selection Text: PKURST = D .
Selection Text: PEUROFLG = D .
Selection Text: PDATUM = D .
Selection Text: PTESTFLG = Test Run
Title: Currency Conversion for Outline Agreements (Euro and Other Currencies)
Text Symbol: 017 = Conversion Data
Text Symbol: 016 = Selection of Contracts
Text Symbol: 015 = Outline agreement conversion error
Text Symbol: 014 = Check Vendor Currency:
Text Symbol: 013 = Test Run:
Text Symbol: 012 = Determ. Euro Rate Automatically:
Text Symbol: 011 = ExRType:
Text Symbol: 010 = Current Date f. Exch. Rate:
Text Symbol: 009 = To Curr.:
Text Symbol: 008 = From Curr.:
Text Symbol: 007 = Purch. Doc. Type:
Text Symbol: 006 = Purch. Doc. Cat.:
Text Symbol: 005 = Purch. Doc.:
Text Symbol: 004 = Purch. Organisation:
Text Symbol: 003 = Vendor :
Text Symbol: 002 = Conv. Parameters:
Text Symbol: 001 = Selection Criteria:


INCLUDES used within this REPORT RM06ERVE

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:

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' " note 173950 EXPORTING " note 173950 msgid = '06' " note 173950 msgnr = '158' " note 173950 * MSGV1 = ' ' * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' IMPORTING " note 173950 message_text_output = l_inf_text. " note 173950

MMPUR_CHG_CURR_OUTLINE_AGREEMN CALL FUNCTION 'MMPUR_CHG_CURR_OUTLINE_AGREEMN' EXPORTING i_ebeln = lt_ekko-ebeln i_new_currency = pwaers i_date = pdatum i_kurst = pkurst i_use_euro = peuroflg i_test = ptestflg i_check_vend_curr = ptstvend EXCEPTIONS general_error = 1 error_message = 2 OTHERS = 3.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' " note 173950 EXPORTING " note 173950 msgid = sy-msgid " note 173950 msgnr = sy-msgno " note 173950 msgv1 = sy-msgv1 " note 173950 msgv2 = sy-msgv2 " note 173950 msgv3 = sy-msgv3 " note 173950 msgv4 = sy-msgv4 " note 173950 IMPORTING " note 173950 message_text_output = l_inf_text. " note 173950



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 RM06ERVE or its description.