SAP Reports / Programs

RVEXAK47 SAP ABAP Report - Documentary Payments: Simulate Assignment of Financial Documents







RVEXAK47 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report simulates the assignment of a financial document to an export transaction to ensure that the terms of the associated 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 RVEXAK47 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VXA7 - Documentary Payments: Simulation
VXA4 - Financial Documents: Simulation


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 RVEXAK47. "Basic submit
SUBMIT RVEXAK47 AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXAK47 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: P_INCO1 = D Incoterms
Selection Text: P_INCO2 = D Incoterms (part 2)
Selection Text: P_KUNNR = D Sold-to party
Selection Text: P_KZTLF = D Partial deliv./item
Selection Text: P_LCNUM = D Financial doc. no.
Selection Text: P_MATNR = D Material
Selection Text: P_VKORGB = D Sales organization
Selection Text: P_WAERS1 = D Document currency
Selection Text: P_WEMPF = Ship-to party
Selection Text: P_WERKS = D Plant
Selection Text: P_WERT1 = Value
Selection Text: P_ZTERM = D Terms of payment
Selection Text: P_DATUM1 = D Req. deliv. date
Selection Text: P_CECKI = D Item check
Selection Text: P_BELART = D Sales document type
Selection Text: P_AUTLF = D Complete delivery
Selection Text: P_AKPRZ = D Depreciation %
Selection Text: P_ABSSC = D Payment guarantee procedure
Title: Documentary Payments: Simulate Assignment of Financial Documents
Text Symbol: E13 = The material
Text Symbol: E14 = The 'partial delivery/item' field can
Text Symbol: E15 = only be filled if the field
Text Symbol: E16 = 'complete delivery' is blank or 0!
Text Symbol: E17 = The sales document type
Text Symbol: E18 = For this data proposal, the
Text Symbol: E19 = sold-to party is a prerequisite!
Text Symbol: E20 = The sales organization
Text Symbol: E21 = The distribution channel
Text Symbol: E22 = The division
Text Symbol: E23 = has not been defined
Text Symbol: E24 = for this sales area.
Text Symbol: E12 = results in problems!
Text Symbol: B01 = Data proposal
Text Symbol: E01 = Partners
Text Symbol: E02 = Enter a currency!
Text Symbol: E03 = This term of payment
Text Symbol: E04 = does not exist
Text Symbol: E05 = The Incoterms





Text Symbol: E06 = do not exist!
Text Symbol: E07 = This paym.guar.procedure
Text Symbol: E08 = has no forms of payment guarantee!
Text Symbol: E09 = This payment guarantee procedure has no
Text Symbol: E10 = forms of payment guarantee with fin.doc.
Text Symbol: E11 = Accessing the financial document
Text Symbol: E25 = /
Text Symbol: S01 = Partners involved
Text Symbol: S02 = Contract data
Text Symbol: S03 = Dispatch data
Text Symbol: S04 = Risk management
Text Symbol: S05 = Financial document to be assigned
Text Symbol: S06 = Credit Management: Automatic Credit Control: Document Control


INCLUDES used within this REPORT RVEXAK47

INCLUDE RVEXF0ST.


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:

RV_HELP CALL FUNCTION 'RV_HELP' EXPORTING FIELD_IN = P_ZTERM NUMBER = '012' IMPORTING FIELD = P_ZTERM.

RV_LOC_DATA_READ CALL FUNCTION 'RV_LOC_DATA_READ' EXPORTING I_FIN_DOC_NUMBER = P_LCNUM I_ENQUEUE_NECESSARY = ' ' I_PROTOCOL_ADD = 'X' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 FIN_DOC_DOES_NOT_EXIST = 3 OTHERS = 4.

RV_FOR_TRADE_PROTOCOL_INIT CALL FUNCTION 'RV_FOR_TRADE_PROTOCOL_INIT' EXPORTING I_PROT = 'D'.

RV_LOC_INSURE_ORDER_LINE_ITEM CALL FUNCTION 'RV_LOC_INSURE_ORDER_LINE_ITEM' EXPORTING I_VBAK = US_VBAK I_XVBAP = US_VBAP I_XVBKD = US_VBKD I_PARTNER = US_PARTNER I_ENQUEUE_NECESSARY = ' ' I_SIMULATION = 'X' I_PROTOCOL_ADD = 'X' I_CM_LINE_CHECK_ACTIVE = P_CECKI I_ISSUE_MESSAGE = ' ' TABLES I_T_S132 = US_S132 I_T_T691K = US_T691K CHANGING C_INSURANCE = CH_ABSICHERUNG C_T691K = CH_T691K EXCEPTIONS OTHERS = 1.

RV_LOC_CHECK_ORDER_LINE_ITEM CALL FUNCTION 'RV_LOC_CHECK_ORDER_LINE_ITEM' EXPORTING I_VBAK = US_VBAK I_XVBAP = US_VBAP I_XVBKD = US_VBKD I_PARTNER = US_PARTNER I_T691K = CH_T691K I_ENQUEUE_NECESSARY = ' ' I_SIMULATION = 'X' I_PROTOCOL_ADD = 'X' I_DELIVERY_CALL = ' ' I_ISSUE_MESSAGE = ' ' I_INSURE_UNCONDITIONALLY = ' ' TABLES I_T_S131 = US_S131 I_T_S132 = US_S132 CHANGING C_LOC_CREDIT_STATUS = CH_STATUS.

RV_FOR_TRADE_PROTOCOL_DISPLAY CALL FUNCTION 'RV_FOR_TRADE_PROTOCOL_DISPLAY' EXPORTING I_PROT = 'D'.

RV_LOC_DATA_READ CALL FUNCTION 'RV_LOC_DATA_READ' EXPORTING I_FIN_DOC_NUMBER = H_LCNUM I_ENQUEUE_NECESSARY = ' ' I_PROTOCOL_ADD = ' ' IMPORTING E_FIN_DOC_CURRENCY = H_AKWAE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 FIN_DOC_DOES_NOT_EXIST = 3 OTHERS = 4.

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' " JFT * EXPORTING " JFT * DATE = SY-DATLO " JFT * FOREIGN_AMOUNT = H_WERT1 " JFT * FOREIGN_CURRENCY = H_WAERS1 " JFT * LOCAL_CURRENCY = H_AKWAE " JFT * RATE = H_AKKUR " JFT * TYPE_OF_RATE = 'M' " JFT * IMPORTING " JFT * EXCHANGE_RATE = H_AKKUR " JFT * LOCAL_AMOUNT = H_LOCAL_AMOUNT " JFT * EXCEPTIONS " JFT * NO_RATE_FOUND = 4. " JFT

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' " JFT EXPORTING " JFT DATE = SY-DATLO " JFT FOREIGN_CURRENCY = H_AKWAE" JFT LOCAL_AMOUNT = H_WERT1" JFT LOCAL_CURRENCY = H_WAERS1 " JFT TYPE_OF_RATE = 'M' " JFT IMPORTING " JFT EXCHANGE_RATE = H_AKKUR" JFT FOREIGN_AMOUNT = H_LOCAL_AMOUNT " JFT EXCEPTIONS " JFT NO_RATE_FOUND = 4 " JFT OTHERS = 8 . " JFT

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = H_WAERS1 IMPORTING ISO_CODE = H_WAERS_ISO EXCEPTIONS NOT_FOUND = 4.



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