How to Retract BPS data back to R/3 when there is no standard retractor
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
- Call function module ‘RSDRI_INFOPROV_READ’ to read the data from cube
- For more help and info on how to read the cube then see the program ‘RSDRI_INFOPROV_READ_DEMO‘
Sample Code
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
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
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
Question is this still applicable to version 7 for custom built real-time info providers
Thanks
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
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...???