cancel
Showing results for 
Search instead for 
Did you mean: 

Is there are BAPI to read the SNP PDS data ?

Former Member
0 Kudos

Hi - I am trying to find a BAPI to return the SNP PDS data. I used the BAPI BAPI_PDSSRVAPS_GETLIST to get the PPDS PDS data. Now i need to find a BAPI to get the SNP PDS data. If anyone have sample code, would be great.

Appreciate your help.

Venky.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venky,

Just want to update you something ->

While Calling the BAPI -> Tables -> PDS_KEY -> Fields ->

PDS_NAME = Name of your PDS

PDS_USAGE -> 'S' (This is the indicator that it is SNP PDS)

Planning Version -> 000 or anyother planning version

After calling that BAPI, Please counter check that -> Tables -> PDS_COMPONENT -> Field -> PDS_USAGE -> 'S' (Just for Conformation that it is SNP PDS).

Thats all... It will work.

Let me know if you have any concerns.

Thanks,

Debi

Former Member
0 Kudos

Hi Debi - I will have product and location handy.How do i find the PDS name to pass to the BAPI BAPI_PDSSRVAPS_GETLIST ? Is there a table to give me the PDS name for the product/location ?

Former Member
0 Kudos

Hi Venky,

Its possible to get the PDS name against Product & Location.

Table -> /SAPAPO/TRPROD -> Fetch "NAME"

Pass -> "LOCFR" - Your Location GUID and "MATID" -> Your Product GUID.

It will work.

Now you got PDS Name against Product GUID and Location GUID.

Thanks,

Debi

Former Member
0 Kudos

Thanks Debi.It's working

Former Member
0 Kudos

Hi Debi - For most of the Product/locations, i see the PDS name in the table but for some of them, i donot see the pDS name in there.That means, there is no PDS created for that ? Is that correct ?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venky,

The same BAPI "BAPI_PDSSRVAPS_GETLIST" will return you the SNP PDS as well.

In APO, it does not matter which PDS you want to read (SNP PDS or PPDS PDS), the above mentioned BAPI is used to get the relevant PDS data.