SAP Reports / Programs

J_1AINFW SAP ABAP Report - Inflation Adjustment of Open Items in Foreign Currency







J_1AINFW is a standard Executable ABAP Report 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_1AINFW 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 J_1AINFW. "Basic submit
SUBMIT J_1AINFW AND RETURN. "Return to original report after report execution complete
SUBMIT J_1AINFW 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: CURR = D Currency
Selection Text: DATE = D Inflation Adjustment Date
Selection Text: DKONTO = D Customer
Selection Text: KKONTO = D Vendor
Selection Text: MODE_ALL = D Valuation and Adjustment
Selection Text: MODE_ONE = D Valuation
Selection Text: MODE_TWO = D Adjustment
Selection Text: UPDPOST = D Update run
Selection Text: VALUID_N = D Valuation Run No.
Selection Text: VALUID_O = D Valuation Run No.
Selection Text: X_AP = D Vendors
Selection Text: X_AR = D Customers
Selection Text: BWMET = D Valuation Method
Selection Text: BUDAT = D Posting Date
Selection Text: BUKRS = D Company Code
Selection Text: BUPER = D Posting Period
Title: Inflation Adjustment of Open Items in Foreign Currency
Text Symbol: E02 = No inflation key assigned to reconciliation account
Text Symbol: E01 = Could not post inflation adjustments (see error log)
Text Symbol: 115 = Amounts are posted in local currency
Text Symbol: 114 = is valuated by this line item
Text Symbol: 113 = (Amounts in local currency)
Text Symbol: 112 = No relevant open items in foreign currency were found
Text Symbol: 111 = Items in Foreign Currency Inflation in Local Currency
Text Symbol: 110 = Inflation Adjustments
Text Symbol: E03 = Error calculating inflation. See error log
Text Symbol: E04 = Error determining account. See error log
Text Symbol: E05 = Error
Text Symbol: H01 = Vendor/Customer
Text Symbol: 109 = Error List
Text Symbol: 000 = Customers and Vendors
Text Symbol: 001 = Inflation Calculation
Text Symbol: 002 = Posting Parameters
Text Symbol: 003 = Open Items
Text Symbol: 100 = Posting Information
Text Symbol: 101 = CC
Text Symbol: 102 = Doc.No.
Text Symbol: 103 = Fiscal Yr





Text Symbol: 104 = Inflation Adjustment
Text Symbol: 106 = Could not post any inflation adjustments
Text Symbol: 107 = Exception List
Text Symbol: 108 = Could not post inflation for the following items:
Text Symbol: H02 = Ven./Cust.
Text Symbol: H03 = Bus. Partner (Vendor/Customer)
Text Symbol: H04 = Bus. Partner
Text Symbol: PA0 = Valuation and Adjustment
Text Symbol: PA1 = Valuation
Text Symbol: PA2 = Adjustment
Text Symbol: PA3 = Valuation Run to Be Created
Text Symbol: PA4 = Valuation Run to Be Imported
Text Symbol: T09 = Integrated valuation run (test mode) - no inflation valuation


INCLUDES used within this REPORT J_1AINFW

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:

ENQUEUE_EJ_1AT10 CALL FUNCTION 'ENQUEUE_EJ_1AT10' EXPORTING mode_j_1ainft10 = 'E' mandt = sy-mandt j_1aapplkp = con_appl EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = func i_group = space i_user = sy-uname.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FBB1' IMPORTING e_msgid = sy-msgid e_msgno = sy-msgno e_msgty = sy-msgty e_msgv1 = sy-msgv1 e_msgv2 = sy-msgv2 e_msgv3 = sy-msgv3 e_msgv4 = sy-msgv4 e_subrc = x_subrc TABLES t_blntab = xblntab t_ftpost = xftpost t_fttax = xfttax EXCEPTIONS OTHERS = 4.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.

DEQUEUE_EJ_1AT10 CALL FUNCTION 'DEQUEUE_EJ_1AT10' EXPORTING mode_j_1ainft10 = 'E' mandt = sy-mandt j_1aapplkp = con_appl EXCEPTIONS OTHERS = 1.

J_1A_SET_LOCK_DATE CALL FUNCTION 'J_1A_SET_LOCK_DATE' EXPORTING application_call = con_appl.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' TABLES listobject = list EXCEPTIONS not_found = 1.

DISPLAY_LIST CALL FUNCTION 'DISPLAY_LIST' EXPORTING fullscreen = 'X' TABLES listobject = list EXCEPTIONS empty_list = 1.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.

J_1A_INFLATION_CALCULATION_FI





CALL FUNCTION 'J_1A_INFLATION_CALCULATION_FI' EXPORTING amount = i_documents-dmshb origin_tbep = x_tbe origin_date = i_documents-startdate final_tbep = x_tbe final_date = i_documents-enddate specific_index = i_t001i-j_1aipmng IMPORTING adjustment = o_amount EXCEPTIONS time_base_data_not_found = 1 exposure_date_not_found = 2 index_definition_not_found = 3 index_values_not_found = 4 definitive_values_not_found = 5 OTHERS = 8.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = x_fimsg.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = 'J_1AINFW' * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = CHANGING PHYSICAL_FILENAME = x_file EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'J_1AINFW' IMPORTING file_name = file_one EXCEPTIONS file_not_found = 1.

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = x_fimsg_tab EXCEPTIONS OTHERS = 1.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_user_command = g_formname is_layout = gs_layout it_fieldcat = gt_fieldcat[] i_save = g_save is_variant = g_variant it_events = gt_events[] i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = i_alvhdr t_outtab_item = i_alvitm EXCEPTIONS program_error = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'J_1AINALVHDR' CHANGING ct_fieldcat = i_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'J_1AINALVITM' CHANGING ct_fieldcat = i_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_lt_events.



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