Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Planning book macros & Data view macros??

Hi everybody,

I'm new to APO. I had got a DRP IBT TCS Extraction program to optimize in APO. In this program the bapi CALL FUNCTION 'BAPI_PBSRVAPS_GETDETAIL' was takin a lot of time to execute. In this bapi it sends 1 material & all the locations to find the amount of material present at each location. this bapi is inside a loop of number of materials.

Now to optimize I used the a parameter READ_OPTIONS of the bapi. I flaged that the below mentioned two macros not to be executed.

1) NoPbookMacros: If this indicator is set, no planning book macros are executed.

2) NoDviewMacros: If this indicator is set, no data view macros are executed.

The execution time has reduced considerably.

For the varient given its working fine.

I don't know wht these macros are and will it effect the output?? Will this create problem in future???

Give suggestion & details regarding this.

Thank You,


Former Member
Not what you were looking for? View more on this topic or Ask a question