SAP Reports / Programs

FICIPI00 SAP ABAP Report - Elimination of IU Profit/Loss in Transferred Inventory







FICIPI00 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 FICIPI00 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

CX5U0 - Elim. of IU Profit/Loss in Inventory


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 FICIPI00. "Basic submit
SUBMIT FICIPI00 AND RETURN. "Return to original report after report execution complete
SUBMIT FICIPI00 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_CACTI = Task
Selection Text: P_CONGR = Consolidation group
Selection Text: P_DIMEN = Dimension
Selection Text: P_ITCLG = Cons chart of accounts
Selection Text: P_LORIG = D Original list
Selection Text: P_PERID = Period
Selection Text: P_PROT = Log
Selection Text: P_RVERS = Consolidation version
Selection Text: P_RYEAR = Fiscal year
Selection Text: P_TEST = Test run
Selection Text: SO_BUNIT = Inventory managing cons unit
Selection Text: SO_BUPTR = Supplying cons unit
Title: Elimination of IU Profit/Loss in Transferred Inventory
Text Symbol: F01 = Organizational units
Text Symbol: 105 = No
Text Symbol: 104 = Yes
Text Symbol: 103 = Do you want to continue?
Text Symbol: 102 = Status Management
Text Symbol: 101 = Posting is not possible
Text Symbol: 100 = The following consolidation groups are currently locked:
Text Symbol: L05 = Book value
Text Symbol: L06 = Group prod.cost
Text Symbol: L07 = Transl. diff.
Text Symbol: L08 = Distrib. costs
Text Symbol: L09 = Debit
Text Symbol: L10 = Credit
Text Symbol: L11 = Inventory mgng unit
Text Symbol: L12 = Suppling unit
Text Symbol: L13 = VA (loss allwd)
Text Symbol: L14 = VA (no loss)
Text Symbol: L15 = Incid. costs
Text Symbol: L16 = Sales revenue
Text Symbol: L04 = Prior prd prof.
Text Symbol: L21 = Inv.mgng CU txt
Text Symbol: F02 = Version/Time period
Text Symbol: F03 = Further settings
Text Symbol: F04 = Technical settings
Text Symbol: L01 = Group currency





Text Symbol: L02 = IU profit/loss
Text Symbol: L03 = Prior prd diff.
Text Symbol: L22 = PP IU profit
Text Symbol: RSI = Report assignment...
Text Symbol: L23 = Prior prd diff.
Text Symbol: L24 = PP book value
Text Symbol: L25 = PP prod. cost
Text Symbol: L26 = PP VA (loss)
Text Symbol: L27 = PP VA (no loss)
Text Symbol: L28 = PP Incid. costs
Text Symbol: L29 = PP sales
Text Symbol: L30 = Supp. CU text
Text Symbol: L31 = Item text
Text Symbol: L32 = ProdGrp. text
Text Symbol: L33 = InvManaging CU
Text Symbol: L34 = Supplying CU
Text Symbol: P01 = Elimination of IU Profit/Loss in Inventory


INCLUDES used within this REPORT FICIPI00

INCLUDE: FICIITOP, "TABLES, TYPES, CONSTANTS
FICIPI0S, "SELECTION SCREEN
FICIIFDT, "READ/CHECK/PREPARE DATA
FICIIFIP, "CALCULATE GPRODCOSTS + IU PROFIT
FICIIFLO, "LOGIC FOR ELIMINATIONS + POSTING
FICLPD00, "DATA DEFINITION FOR LP
FICLPF00, "FORM ROUTINES LIST PROCESSOR
FICALV00, "FORM ROUTINES FOR ALV PROCESSOR


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:

FC_AUTHORITY_CHECK call function 'FC_AUTHORITY_CHECK' exporting e_id = 'CACTT' e_dimen = p_dimen e_congr = p_congr e_rvers = p_rvers e_cacti = p_cacti e_cactt = '20' " IPI e_actvt = ld_actvt. " execute

FC_AUTHORITY_CHECK call function 'FC_AUTHORITY_CHECK' exporting e_id = 'ITCLG' e_itclg = p_itclg.

ENQUEUE_E_TABLEE call function 'ENQUEUE_E_TABLEE' exporting tabname = ld_table varkey = ld_varkey _scope = '1' exceptions foreign_lock = 1.

FC_HEADER_LIST call function 'FC_HEADER_LIST' exporting e_length = 80 e_title = sy-title e_dimen = id_dimen e_itclg = id_itclg e_rvers = id_rvers e_ryear = id_ryear e_perid = id_perid.

DEQUEUE_E_TABLEE call function 'DEQUEUE_E_TABLEE' exporting tabname = ld_table varkey = ld_varkey.

DEQUEUE_E_TABLEE call function 'DEQUEUE_E_TABLEE' exporting tabname = ld_table varkey = ld_varkey _scope = '1'. "xog181186






FLUSH_ENQUEUE call function 'FLUSH_ENQUEUE'.

FC_TREE_DISPLAY call function 'FC_TREE_DISPLAY' exporting e_title = sy-title e_tab_struct = 'FC05IPILIST' e_hlp_struct = 'FC05IPILISTFX' e_prot = id_prot "xog020027 et_data = it_data[] et_list = it_list[] et_fdisp = it_fdisp[] et_kdisp = it_kdisp[] * ET_KCORR = et_blist = it_blist[] et_mdata = it_mdata[] * ET_RCALL = e_callback_user_command = 'USER_COMMAND' e_callback_recurse = 'X' e_callback_status = 'SET_PF_STATUS' changing c_mcdxsave = gs_lp_mcdxsave "LPMCDX-STO ct_work = it_work[] ct_ffix = it_ffix[] ct_fused = it_fused[].

FC_STATUS_CHECK * CALL FUNCTION 'FC_STATUS_CHECK' * EXPORTING * e_dimen = id_dimen * e_itclg = id_itclg * e_rvers = id_rvers * e_bunit = id_congr * e_ryear = id_ryear * e_perid = id_perid * e_rldnr = gd_rldnr "xog014146 * e_cacti = id_cacti * e_cactt = '20' * e_monitor_flag = 'X' * EXCEPTIONS "xog244907 * cacti_already_locked = 1. "xog244907

FC_STATUS_CHECK call function 'FC_STATUS_CHECK' exporting e_dimen = id_dimen e_itclg = id_itclg e_rvers = id_rvers e_ryear = id_ryear e_perid = id_perid e_rldnr = gd_rldnr e_cacti = id_cacti e_topcg = id_congr e_monitor_flag = 'X' importing it_message = lt_message_status tables t_status_check = lt_status_check exceptions stop = 1.

FC_IPI_STATUS_CHECK * CALL FUNCTION 'FC_IPI_STATUS_CHECK' * EXPORTING * e_dimen = id_dimen * e_rvers = id_rvers * e_itclg = id_itclg * e_ryear = id_ryear * e_perid = id_perid * e_congr = id_congr * e_cacti = id_cacti * et_cu_mhry = it_cu_mhry * IMPORTING * it_status = et_status * CHANGING * ct_cg = ct_cg * ct_cu = ct_cu.

FC_STATUS_PAIR_CHECK_PREPARE * call function 'FC_STATUS_PAIR_CHECK_PREPARE' "xog181184 * exporting "xog181184 * et_cg_locked = lt_cg_locked "xog181184 * et_cg_mhry = it_cg_mhry "xog181184 * et_cu_mhry = it_cu_mhry "xog181184 * importing "xog181184 * it_lock_cu_cg = et_lock_cu_cg. "xog181184

FC_STATUS_PAIR_CHECK_INIT call function 'FC_STATUS_PAIR_CHECK_INIT' "xog181185 exporting "xog181185 e_dimen = id_dimen "xog181185 e_itclg = id_itclg "xog181185 e_rvers = id_rvers "xog181185 e_ryear = id_ryear "xog181185 e_perid = id_perid "xog181185 e_cacti = id_cacti "xog181185 e_congr = id_congr "xog181185 importing "xog181185 is_pair_lock = es_pair_lock "xog181185 it_cg_enqueue = et_cg_enqueue "xog181185 exceptions "xog181185 cg_does_not_exist_or_is_empty = 1 "xog181185 cg_is_locked = 2. "xog181185

FC_STATUS_INAKTIV call function 'FC_STATUS_INAKTIV' importing i_inaktiv = ld_inactive.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-102 diagnose_object = 'ECCS_IPI00' text_question = text-103 text_button_1 = text-104 text_button_2 = text-105 default_button = '1' display_cancel_button = 'X' importing answer = ld_answer.

FCLP_LIST_BUFFER_STATUS_GET call function 'FCLP_LIST_BUFFER_STATUS_GET' exporting e_testrun = id_test e_dimen = id_dimen e_itclg = id_itclg e_rldnr = id_rldnr e_rvers = id_rvers e_ryear = id_ryear e_perid = id_perid e_cacti = id_cacti e_congr = id_congr e_cactt = fc00_c_cactt-ipi * E_DOCTY = ls_rcl-doctyp-docty e_monflg = 'X' e_use_et_status = ' ' " nur im Kons-Monitor et_status = it_status * ET_RA_BUNIT = so_bunit[] importing cs_lp_mcdx = gs_lp_mcdxsave exceptions exc_failure = 1 others = 2.

FC_IPI_STATUS_TRANSFER call function 'FC_IPI_STATUS_TRANSFER' exporting e_dimen = id_dimen e_rvers = id_rvers e_itclg = id_itclg e_ryear = id_ryear e_perid = id_perid e_cacti = id_cacti et_status = it_status.

FC_CUSTOMIZING_CHECK_IPI call function 'FC_CUSTOMIZING_CHECK_IPI' exporting e_dimen = id_dimen e_itclg = id_itclg e_rvers = id_rvers e_perid = id_perid e_ryear = id_ryear e_congr = id_congr et_task = lt_task et_prgrp = it_prgrp et_item = it_item et_inv = it_inv et_sup = it_sup importing i_abort = ed_abort changing ct_message = ct_message.

FC_FIELD_PROPERTIES call function 'FC_FIELD_PROPERTIES' importing it_fprop = es_field_prop-it_fprop.



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