J_1ARCVA is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter J_1ARCVA 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: P_BTCI = ?...(P_BTCI)
Selection Text: P_BUKRS = ?...(P_BUKRS)
Selection Text: P_HANDEL = ?...(P_HANDEL)
Selection Text: P_STEUER = ?...(P_STEUER)
Selection Text: S_AEDAT = ?...(S_AEDAT)
Title: Replacement cost valuation: Price for purchase orders
Text Symbol: 116 = Company code
Text Symbol: 117 = Fiscal year variant
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
J_1A_GET_DEL_COSTS_FOR_CONTRAC CALL FUNCTION 'J_1A_GET_DEL_COSTS_FOR_CONTRAC' EXPORTING i_ekko = ekko i_ekpo = ekpo i_t001 = t001 i_datefrom = von_datum i_dateto = bis_datum IMPORTING e_del_costs = del_costs EXCEPTIONS internal_error = 1 OTHERS = 2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = f_preis foreign_currency = f_waers local_currency = h_waers rate = ex_rate IMPORTING local_amount = preis1.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = f_preis foreign_currency = f_waers local_currency = h_waers IMPORTING local_amount = preis1.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = bis_dat foreign_amount = f_preis foreign_currency = f_waers local_currency = h_waers IMPORTING local_amount = preis2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = bis_dat * foreign_amount = f_preis "note 407103 FOREIGN_AMOUNT = F_PREIS_C "note 407103 foreign_currency = f_waers local_currency = h_waers IMPORTING local_amount = preis2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = bis_dat * foreign_amount = f_preis "note 407103 FOREIGN_AMOUNT = F_PREIS_C "note 407103 foreign_currency = f_waers local_currency = h_waers type_of_rate = 'B' IMPORTING local_amount = preis3.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = bis_dat * foreign_amount = f_preis "note 407103 FOREIGN_AMOUNT = F_PREIS_C "note 407103 foreign_currency = f_waers local_currency = h_waers type_of_rate = 'G' IMPORTING local_amount = preis4.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = doc_dat foreign_amount = f_preis foreign_currency = f_waers local_currency = h_waers IMPORTING local_amount = h_preis.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' " note 538763 EXPORTING " note 538763 DATE = BIS_DAT " note 538763 FOREIGN_AMOUNT = F_PREIS " note 538763 FOREIGN_CURRENCY = F_WAERS " note 538763 LOCAL_CURRENCY = H_WAERS " note 538763 IMPORTING " note 538763 LOCAL_AMOUNT = H_PREIS. " note 538763
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = tj_1ainfinv-menge matnr = mara-matnr meinh = tj_1ainfinv-meins meins = mara-meins kzmeinh = 'X' IMPORTING output = tj_1ainfinv-menge EXCEPTIONS conversion_not_found = 01 input_invalid = 02 material_not_found = 03 meinh_not_found = 04 meins_missing = 05 output_invalid = 06 overflow = 07 no_meinh = 08.
J_1A_GET_DEL_COSTS_FOR_INFOREC CALL FUNCTION 'J_1A_GET_DEL_COSTS_FOR_INFOREC' EXPORTING i_t001 = t001 i_eina = eina i_eine = eine i_datefrom = stichtag i_dateto = bis_datum IMPORTING e_del_costs = del_costs EXCEPTIONS internal_error = 1 OTHERS = 2.
WRITE_MESSAGE CALL FUNCTION 'WRITE_MESSAGE' EXPORTING msgid = msg-msgid msgty = msg-msgty msgno = msgno msgv1 = msg-msgv1 msgv2 = msg-msgv2 msgv3 = msg-msgv3 msgv4 = msg-msgv4 msgv5 = msg-msgv5 IMPORTING error = rc messg = message msgln = msgln EXCEPTIONS OTHERS = 1.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_periv = t001-periv IMPORTING e_buper = lfd_buper e_gjahr = lfd_gjahr.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING foreign_currency = hj_1ainfinv-pswsl local_currency = tj_1ainfinv-pswsl foreign_amount = hj_1ainfinv-pswbt date = date_high IMPORTING local_amount = hj_1ainfinv-pswbt.
ME_READ_INFORECORD CALL FUNCTION 'ME_READ_INFORECORD' EXPORTING incom = l_meico inpreissim = l_meprck IMPORTING expreissim = l_mepro EXCEPTIONS bad_comin = 1 bad_material = 2 bad_materialclass = 3 bad_supplier = 4 not_found = 5 OTHERS = 6.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = P_BUDAT I_PERIV = 'K4' " must for Chile IMPORTING E_BUPER = P_PERIOD.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = P_EKTAB_EBELN EBELP = P_EKTAB_EBELP WEBRE = I_WEBRE * I_BYPASSING_BUFFER = * I_REFRESH_BUFFER = TABLES XEKBE = XEKBE.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = P_BUDAT I_PERIV = 'K4' " must for Chile IMPORTING E_BUPER = P_PERIOD.
CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = TJ_1AINFINV-EBELN EBELP = TJ_1AINFINV-EBELP WEBRE = IT_EKPO-WEBRE " note 687779 * WEBRE = I_WEBRE " note 687779 * I_BYPASSING_BUFFER = * I_REFRESH_BUFFER = TABLES XEKBE = XEKBE XEKBES = XEKBES * XEKBEZ = XEKBNK = XEKBNK * XEKBZ = .
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING INPUT = TJ_1AINFINV-MENGE MATNR = MARA-MATNR MEINH = TJ_1AINFINV-MEINS MEINS = MARA-MEINS KZMEINH = 'X' IMPORTING OUTPUT = TJ_1AINFINV-MENGE EXCEPTIONS CONVERSION_NOT_FOUND = 01 INPUT_INVALID = 02 MATERIAL_NOT_FOUND = 03 MEINH_NOT_FOUND = 04 MEINS_MISSING = 05 OUTPUT_INVALID = 06 OVERFLOW = 07 NO_MEINH = 08.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = P_BUDAT I_PERIV = 'K4' " must for Chile IMPORTING E_BUPER = P_PERIOD.
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 J_1ARCVA or its description.