Automate

 View Only
  • 1.  VA21 How to create a script with multiple items and new partner function

    Posted 04-14-2021 10:52
    Hi All,
    I have to create a script which  will create a quotation with multiple items. Multiple items can be added via loop in the script.  Additional requirement is to add new Partner function on each item. Could you please advise the best way of doing this ?  

    Kind regards,
    Anna

    ------------------------------
    Anna Rubaj /SAP Support Consultant /
    ------------------------------


  • 2.  RE: VA21 How to create a script with multiple items and new partner function

    Posted 04-14-2021 13:26
    ​Anna - Have you tried BAPI_QUOTATION_CREATEFROMDATA2.

    ------------------------------
    Krishna
    ------------------------------



  • 3.  RE: VA21 How to create a script with multiple items and new partner function

    Posted 04-15-2021 03:15
    Hi Krishna,
    Could you please tell me more? I have never used BAPI_QUOTATION_CREATEFROMDATA2.

    Kind regards,
    Anna


    ------------------------------
    Anna Rubaj | SAP Matters Support Consultant
    Linklaters Business Services | +4822526 2674
    ------------------------------



  • 4.  RE: VA21 How to create a script with multiple items and new partner function

    Posted 04-16-2021 14:08
    Hi Anna,

    Please see the attached script and data file I created to allow multiple items and a new partner function for each item. They way I recorded it, you need one line item on the header row. Please note there is more than one way of accomplishing what you need. This is just one example. 

    Thanks,

    ------------------------------
    Maria Simpson | Solutions Engineer
    Winshuttle North America | 4255276647
    ------------------------------

    Attachment(s)

    xlsx
    VA21_CreateQuotePF.xlsx   5 KB 1 version
    Txr
    VA21_CreateQuotePF.Txr   2.09 MB 1 version


  • 5.  RE: VA21 How to create a script with multiple items and new partner function

    Posted 04-19-2021 03:33
    Hi Maria,
    Thank you so much for your help.
    I have already created a script. I will compare both solutions.

    Kind regards,
    Anna

    ------------------------------
    Anna Rubaj | SAP Matters Support Consultant
    Linklaters Business Services | +4822526 2674
    ------------------------------