I am new to SCM. I have got a planning area and a planning book.
I put values into the planning book and saved it. Where are now the values I put in when I klick the "Save"-Button?
Is that data stored in any table? What is the data flow?
Thanks in advance!
The planning data is stored in livecache memory.
You can use this function /SAPAPO/TS_DM_EXTRACT_DATA to extract the data from livecache.
CALL FUNCTION '/SAPAPO/TS_DM_EXTRACT_DATA'
I_REQUNR = P_REQUNR
I_ISOURCE = P_SOURCE
I_MAXSIZE = P_SIZE
I_UPDMODE = P_MODE
I_T_SELECT = I_SELECT_PASS
I_T_FIELDS = I_FIELDS_PASS
NO_MORE_DATA = 1
ERROR_PASSED_TO_MESS_HANDLER = 2.
Hope this will help.
Please reward points if helpful.
Planning Book and Data Views are just a medium using which you can view/change the data in a planning Area.
Wot ever changes you do in Planning Book/Data view will be reflected in Planning Area.
Planning Area Data is stored in Live Cache.
To view the data you can create a data source of this Planning Area and pull the data into BW.
Raghu Kishore V
In addition to information given above, you can go to the ff. link to find more information:
SCM 4.1 ->
SCM 5.0 ->
You can go to the Advanced Planner and Optimizer documentation from the above links.
In addition to function module given above, you can use function module BAPI_PBSRVAPS_GETDETAIL and BAPI_PBSRVAPS_CHANGEKEYFIGVAL to read and write data to the Planning Area/Planning Book.
Also, if your planning area already has a DataSource then, you can also use transaction RSA3 to view the Planning Area information (for checking/debugging purposes).
Hope this helps.