Hello,
Please pass the data to this BAPI BAPI_PDSSRVAPS_GETLIST in a following way, you will get the PDS details.
Pass the Logical system name from table T000 for the current logged in system.
LOGICAL_SYSTEM = Logical system name
*In parameter tables: *
PRODUCT_SELECTION = I-CP-* OR I-EQ-Product Name
LOCATION_SELECTION = I-CP-* OR I-EQ-Location Name
PLANNING_VERSION_SELECTION = I-EQ-000
PDS_USAGE = Pass 'S' for SNP PDS and 'P' for PPDS PDS (You can pass both at the same time)
After executing this BAPI, In PDS_HEAD table, in field PDS_NAME you will see the external name of PDS.
I hope now this will help you to get the PDS name
regards,
Swetha A