Skip to Content
author's profile photo Former Member
Former Member

Read Planning book via BAPI --- optimization

Hi Experts,

I am reading a planning book using 'BAPI_PBSRVAPS_GETDETAIL'. However, the read is slow and often the program timesout or crashes due to lack of swap space. We have already increased the swap space to 1Gig but things haven't imporved much.

The documentation for the BAPI says, performance can be enhanced by using READ_OPTIONS parameter. I havent found this parameter in the BAPI or otherwise in APO.

Can someone please help! Any help is greatly appreciated.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2004 at 06:21 PM

    hello Kartik,

    i am extensively using this BAPI for many custom codes and did see that the performance is slow(may be due to slow native sql call for LC read), nonetheless this drawback did not cause any 'dumps' . here are some tips :

    1) try calling this BAPI for a select few mat/locs or whatever char combos you are using to read plb data. Many a times i have only read data for one mat/loc (lot of reads but at least i can get the program to finish).

    best way is to group these, say all materials for one location.

    hope this helps


    Nandu Gade

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.