Skip to Content
author's profile photo
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.

Thanks,

Kartik.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    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

    goodluck

    Nandu Gade

    Add comment
    10|10000 characters needed characters exceeded