Skip to Content

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

Optimizing DRP IBT TCS Extraction program?

Hi,

I'm new to APO. I have been told to optimize this DRP IBT TCS Extraction program. I debugged it and found that the delay is takin place in fuction call:

Here this bapi below is called inside a loop, with each external product indicator & about 23 locations each time for abt 108 external product indicator.

CALL FUNCTION 'BAPI_PBSRVAPS_GETDETAIL'

EXPORTING

PLANNINGBOOK = L_BAPI_PLAN_BOOK

DATA_VIEW = L_BAPI_DATA_VIEW

PERIOD_TYPE = 'A'

DATE_FROM = L_BAPI_SDATE

DATE_TO = L_BAPI_EDATE

LOGICAL_SYSTEM = L_BAPI_LOGSYS

TABLES

SELECTION = LT_BAPI_SELECT[]

GROUP_BY = L_BAPI_GRPBY

KEY_FIGURE_SELECTION = L_BAPI_KEYFIG

TIME_SERIES = L_BAPI_TIMESER

TIME_SERIES_ITEM = L_BAPI_TIMESER_ITEM

CHARACTERISTICS_COMBINATION = L_BAPI_CHARCOM

RETURN = L_ER_RETURN.

I don't have any functional knowledge of APO.

Please help.

Thanks,

Ajo

Former Member

Helpful Answer

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