Skip to Content

SUS PO Confirmation function module

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2010 at 08:18 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2010 at 09:13 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.