Skip to Content

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

BAPI_PBSRVAPS_GETDETAIL2 with empty return

Hi experts,

I am trying to use BAPI BAPI_PBSRVAPS_GETDETAIL2 in order to obtain values of the keyfigure Forecast (registered in the planning table of SNP module) for a set of product-location pairs. However the return of the BAPI is empty (although when I access the planning table I can see all values registered). Someone could tell me what am I doing wrong?

In more detail, I am using the following parameters:

PLANNINGBOOK

=

EXAMPLE_PB (EXAMPLE_PB is a copy of 9ASNP94 planning book)

DATA_VIEW

=

EXAMPLE_DV (EXAMPLE_DV is a copy of SNP94(1) data view)

PLANNING_VERSION

=

PV (PV is a planning version that I created)

SELECTION_ID

=

I don't fill this field because I don't know how to use it

PERIOD_TYPE

=

I don't fill this field (although, in my case, the period type is monthly)

DATE_FROM

=

I don't fill this field because I want values of all periods (36 months)

|DATE_TO|=| I don't fill this field because I want values of all periods (36 months)|

I am using the version 5.0 of SCM.

Thanks in advance for help.

Greetings,

Francisco Fonseca.

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