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
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
Below is a list of transaction codes which are relevant to this SAP report
VXA7 - Documentary Payments: Simulation
VXA4 - Financial Documents: Simulation
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: 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
INCLUDE RVEXF0ST.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RVEXAK47 - Documentary Payments: Simulate Assignment of Financial Documents RVEXAK47 - Documentary Payments: Simulate Assignment of Financial Documents RVEXAK30 - Monitoring Financial Documents: Available Financial Documents RVEXAK30 - Monitoring Financial Documents: Available Financial Documents RVEXAK10 - Monitoring Financial Docs: List of Assigned Sales Documents RVEXAK10 - Monitoring Financial Docs: List of Assigned Sales Documents