cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI Performance Issue - 'BAPI_PBSRVAPS_CHANGEKEYFIGVAL'?

Former Member
0 Kudos

Hi,

I am using the following BAPI to change the Key figure value . I am using the following Export combinations .

I am not sure but still the BAPI performance issues we are facing. Is anything else we can use the steps to improve the performance of following BAPI.?

Also do need to pass more export paramters for the same ? If yes, please share the same how to use that.

CALL FUNCTION 'BAPI_PBSRVAPS_CHANGEKEYFIGVAL'

EXPORTING

PLANNINGBOOK = PLANNING_BOOK

  • DATA_VIEW =

  • SELECTION_ID =

  • LOGICAL_SYSTEM =

  • BUSINESS_SYSTEM_GROUP =

  • SOURCE_PARTNER =

  • TARGET_PARTNER =

COMMIT_CONTROL = 'E'

Appreciated your inputs regarding the same.

Thank you - Prasad.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Prasad,

What SCM version are you using? I have used this in SCM 4.0 and 5.0 and did not encounter a performance issue (at least not a huge one). Here are some questions that you can use to check your design:

1) How much data are you passing to the BAPI? (e.g. how many combinations)

2) Are you calling the BAPI just once or multiple times?

3) Are you writing into a very detailed level or an aggregate level?

4) What planning book are you writing on? Does it contain a lot of KFs?

You might want to use function module /SAPAPO/TS_DM_SET instead. Note, however, that unlike the BAPI, /SAPAPO/TS_DM_SET is not marked as released for customer use.

Hope this helps.

Former Member
0 Kudos

Thank you Emmanuel for the response.

Please see my comments below.

1. How much data are you passing to the BAPI? (e.g. how many combinations

Comment : - Min record size is of 6000 records in a file and more .

2) Are you calling the BAPI just once or multiple times?

Comment : - No I am calling BAPI for only once.

3) Are you writing into a very detailed level or an aggregate level?

Comment : The combination in file used - Product , Location and Key figure Value.

4) What planning book are you writing on? Does it contain a lot of KFs?

Comment : There are couple of Key figures in the planning book.

Please let me know if you have any information on this

Thank You - Prasad.

Answers (0)