on 09-15-2010 5:30 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Experts,
I have managed to write a program with the following function modules in sequence and all of them execute successfully providing the proper GUIDs, reference documents numbers and things like that, but the strange thing is that it does not write anything to the database. I am not sure if I am missing something but I would assume that the SAVE function modules should take care of it.
Has anybody come across this before?
The function modules that I use in my program are:
BBP_PD_SUSPCO_CREATE_UI
BBP_PD_SUSPCO_GETDETAIL_UI
BBP_PD_SUSPCO_UPDATE_UI
BBP_PD_SUSPO_UPDATE
BBP_PD_SUSPCO_SAVE
BBP_PD_SUSPO_UPDATE_UI
BBP_PD_SUSPO_SAVE
All the above function modules work properly returning all the parameters and correct values in the internal tables but at the end of the program nothing gets saved onto the database.
I am not sure if I am missing something. Please help.
Thanks.
Afzal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.