cancel
Showing results for 
Search instead for 
Did you mean: 

SUS PO Confirmation function module

0 Kudos

Hi Experts,

I have got a situation where the requirement is that the user will upload a file through the portal. This file will contain PO confirmation details(PO number, qty, date, etc) where in I have to write a program in SAP SUS to take each of the records from this file and create a PO confirmation. PO confirmation can be 'Accept' or 'Reject' which will also be present in the file as one of the columns.

My question is how do I go about posting a PO confirmation for an existing PO in SUS.

I know that I can get details of the PO by using function module BBP_PD_SUSPO_GETDETAIL. What do I do after that? Is there any function module for posting PO Confirmation.

Can you please let me know the steps that I need to do to achieve this. I would really appreciate if I can get some examples as well.

Many thanks for your time.

Best Regards,

Afzal Shaikh

View Entire Topic
Former Member
0 Kudos

Hi

These are the FMs which are tied to Purchase order Confirmation in SUS

BBP_PD_SUSPCO_CHECK

BBP_PD_SUSPCO_CREATE

BBP_PD_SUSPCO_SAVE

BBP_PD_SUSPCO_STATUS_CHANGE

BBP_PD_SUSPCO_STATUS_CHANGE_WF

BBP_PD_SUSPCO_UPDATE

Regards

Virender Singh

0 Kudos

Hi Virender,

Thanks for your reply.

I am not sure how to add the PO confirmation item details, which strucure to fill in the function module BBP_PD_SUSPCO_CREATE.

Do you have any example that I can see? Or if you can explain which tables or structures should be filled in so that when this function module is executed it will create a PO confirmation.

Any help is much appreciated.

Thanks.

Afzal

Former Member
0 Kudos

Hi Afzal

I am not sure what structures need to be filled up. Do one thing, process your XML message for PCO in debug mode in SUS and follow the path taken by SAP Programs for creating a POR...

Regards

Virender Singh