BAPI_PBSRVAPS_GETDETAIL2 with empty return
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:
EXAMPLE_PB (EXAMPLE_PB is a copy of 9ASNP94 planning book)
EXAMPLE_DV (EXAMPLE_DV is a copy of SNP94(1) data view)
PV (PV is a planning version that I created)
I don't fill this field because I don't know how to use it
I don't fill this field (although, in my case, the period type is monthly)
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.