Skip to Content
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/webcontent/uuid/925b02f9-0b01-0010-bbbf-c68268bb3c41″ width=”235″/>

In this final  (Retraction Series) weblog I would like to give an idea on how to retract BPS data back to R/3 when there is no standard retractor available

Necessity: What if

  • there’s no standard retractor
  • you cannot make retractor work due to design complexities

So, whats the answer?…..its simple.

  • find the relavant BAPI thats responsible for posting the values in R/3
  • Read the records from cube
  • call the BAPI and pass reqd values to BAPI from BW system

BAPI’s for COSTCENTER Accounting

  • BAPI_COSTACTPLN_POSTPRIMCOST – For posting Primary Cost & Quantity
  • BAPI_COSTACTPLN_POSTACTOUTPUT – For posting Activities & Prices

How to Read data from Cube

  1. Call function module ‘RSDRI_INFOPROV_READ’ to read the data from cube
  2. For more help and info on how to read the cube then see the program ‘RSDRI_INFOPROV_READ_DEMO

Sample Code

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

      1. Hello PRaveen,

        We are planning to implement PCA retraction. I am trying to find the BAPI that posts the profit center values in R/3? Could you give any suggestion?

        Regards

        (0) 
  1. Hi. I need to retract planning data from BPS to a LIS, but I don’t have CO-PA activated in R/3.
    How can I find a BAPI that helps me to get this data into a LIS in R/3?

    Thanks for your help.

    Karim Reyes

    (0) 
  2. PRAVEEN s
    Praveen,
    Firstly thank you for creating a wonderful blog.
    We are planning to PCA retraction . In this process I am trying to read a custom cube by using SAP demo program and I am having difficluties in reading.
    Could you please give me your email-id or any type of contact?

    Rgds
    Praveen

    (0) 
  3. Nandu BPC
    Hi Praveen,

    We are planning to extract same data like for costcenter planning. but i have a BPC infocube, I should not use BPS method of retracting data. but have to build a FM or do something to retrct.

    could you please help me on this

    (0) 
  4. Venkat CH

    Hi Praveen…nice code..I have a question Why did you called subroutine PERFORM retract_to_r3 within loop and calling bapi again an again..Just curious to know is there any specific reason…???

    (0) 

Leave a Reply