on 11-07-2006 8:43 AM
When i use a planning function in a planning folder, the reference data are read on the infocube and written into an internal data bufferdirectly after the read access.
If the function is called again, the reference data are read from this buffer without having to read data from BW.
My problem is that i need to read the infocube again about these reference data because they should have been changed by the use of another application. I suppose that a FM exist to do so, read the infocube again and complete the red data in the buffer.
Thanks a lot.
JF
Hi JF,
You can clear the buffer using function API_SEMBPS_REFRESH. make sure that you save the data from buffer to cube before calling this function.
Hope it will help you.
Thanks & Regards
Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help but i don't want to clear the buffer but to complete it without having to leave my folder. In fact i need to read the cube again to insert in my buffer new records created with another buffer. Moreover the FM you gave me, can only be used in the BPS0 and not in another end user interface like folder or web interface.
thanks
JF
Hi JF,
you need to create a 'Exit' type planning function.
In the user exit of this planning function you need to call few APIs in sequence.
First Call API_SEMBPS_SETDATA and API_SEMBPS_POST to save the data from buffer to cube. then clear the buffer by calling API_SEMBPS_REFRESH. after this you can call API_SEMBPS_GETDATA to get the new data from the cube into buffer.
you can call this exit planning function in folder or in web application.
Regards
Tarun
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.