cancel
Showing results for 
Search instead for 
Did you mean: 

Orders for the source of supply XXXX stil exist. No deletion

0 Kudos

Hi,

We are trying to delete the Production Data Structure for all elements of a material in transaction /SAPAPO/CULL_RTO_DELL. But when we execute the deletion, we are receiving the error below:

We checked the product view (/SAPAPO/RRP3) and found out that there was an open Planned Order. But I don't think this is an issue because there was an instance that we could delete the PDS of a material even though there is an open planned order.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

When you delete pds, tick bottom box delete pds despite usage. Then system will allow you to delete it.


Alternatively you can find pds where used from t code wuf and delete the transaction data from there.


Regards,vinay

0 Kudos

Thanks Vinay. It worked. We also developed a report which will mass delete PDS. We used BAPI_PDSSRVAPS_DELMULTI. The question is, do you know how to apply that functionality (deletion of PDS despite of usage) using the said BAPI? Since the BAPI won't delete PDS if there are orders in the source of supply.

Thanks,

Rennel


Former Member
0 Kudos

Hi Rennel,

Why you want to use BADI?

The functionality you are asking can be fulfilled using the standard PDS deletion t-code.

just click on delete despite PDS usage. Enter material number range , location type of PDS you want to delete, delete across models & run it in background.

Regards,
Vinay

0 Kudos

Hi Vinay,

Thanks for the response, appreciate it. We have this business requirement to develop a program which will create, modify, and delete PDS in different conditions. That's why we used BAPI to achieve those functionalities.

Regards,

Rennel

Former Member
0 Kudos

I am glad it helped you Rennel.

Explore the BAPI. Since this functionality is available in standard , you should be able to follow deletion procedure using BAPI even if the PDS is being used by some planned order.

Regards,
Vinay

Answers (0)