Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
Introduction:

In the first blog I have discussed on creating sender structure for CCA Retraction and in this blog I would explain how to configure CCA Retractor in planning function for retracting Primary Costs and Quantity

Pre-requisite:Steps
  1. Use already created RFC Destination or Create a RFC Destination to R/3 System -
    1. Go to SM59 and create a system of type 3, specify RFC destination name, target host
    2. In Login/Security tab, Specify the client, User, Password
    3. Test connection



  2. Create a Planning Level - Create a Planning under the planning area



    Select Characteristics and Key Figures as required as shown below.



  3. Create a Package - Create a Package (0-ADHOC)
  4. Create a Planning Function - Create a Planning function as an Exit function by specifying the planning function name and description.



    1. Specify the 'UPR_COST_PLAN_EXEC' in Function Module and 'UPR_COST_PLAN_INIT' in FM initialization
    2. Move reqd fields into 'Fields to be changed' from 'Field list'.
    3. In Parameter Exit Functions specify the following parameters.
    Parameter
    Data Element
    BUSI
    CASE
    DELTA
    MAPP
    RFC_DEST
    TEST
    VERSR3
    WAIT
    ZARE
    ZELM
    ZTYP
    I_BUSI
    I_CASE
    DEL_BOOK
    KCD_REPID
    RFCDEST
    TST_X
    I_VERS
    I_WAIT
    I_COAR
    I_CELM
    I_CTYP




  5. Create a Parameter Group - Create a Parameter Group, Specify the name and description and maintain parameter values as shown below



    Fields
    Single Value
    Retr. R/3 Comp.
    Retractor Control
    Delta Update
    Sender str.
    Destination
    Test mode Is Active
    R/3 Version
    Wait for Update
    Controlling Area
    Cost Element
    CElem category
    6
    4
    1
    UPB_SND_COPS
    DEVCLNT100
    0
     
     
    01
    02
    03




    For Ret. R/3 Comp - Select 6 (CostCenter Accounting)



    Retractor Control is 4(Primary Cost)



    Delta Update - 0



    Test mode is Active - 0



    Controlling Area - 01, Cost Element - 02, CElem category - 03



Important Steps
  • Avoid including the Fiscal Year / Period (0FISCPER) in the planning Level characteristics. So that aggregation is done for all the periods. (If not retractor will run for each period and only last period is updated and all other period values are blank).
  • Make sure to pass the Unit of Measure when passing the Quantity else retractor wont update the Quantity in R/3. (Either you can map the field or maintain constant in the sender structure)
How to test:
  1. Select Planning Area --> Select Planning Level --> Select Package
  2. Select Planning Function --> Right click on Parameter Group and click on Execute with Trace




  3. After successful retraction log is displayed along with the trace





Check the retracted data in R/3-
  1. Run Tcode KSBP-Cost Center: Plan Line Items,
  2. Specify the Cost Center, Cost Element, Version , Period, Fiscal Year
  3. Click on Execute
  4. Verify the retracted Total Fixed Value & Total Fixed Qty for the combination of Cost Center, Cost Element, Version, Period, Fiscal Year & Activity Type
Further Documentation- Cost Center Planning: Data Retraction

In my next blog I will discuss on retraction of Activities/Prices.

4 Comments