Automate

 View Only
  • 1.  BAPI_SalesOrder_Change

    Posted 07-09-2019 14:46
    ​​I'm using the BAPI_SalesOrder_Change to try to add line items to a quote.  I keep getting the error that the material is not extended to Sales Org XXXX, however when using SE37 and using the same data to test the BAPI it works. 

    Has anyone had this issue?

    Thanks,
    Terrie

    ------------------------------
    Terrie Proni | EBS Global Change Management Leader
    Corning Optical Communications LLC | 956-279-9139
    ------------------------------


  • 2.  RE: BAPI_SalesOrder_Change

    Posted 07-16-2019 10:50
    Hi Terrie -

    Can you send the .TXR and excel file?  What version of Studio are you using?  Are all of the appropriate X table items also selected?

    Thank you!

    ------------------------------
    JENNIFER HWANG | SE
    Winshuttle North America
    ------------------------------



  • 3.  RE: BAPI_SalesOrder_Change

    Posted 07-16-2019 13:16

    Hi Jennifer:

     

    I should have updated my post.  The root cause was lack of padding on the material number.

     

    Regards,

    Terrie

     






  • 4.  RE: BAPI_SalesOrder_Change

    Employee
    Posted 07-17-2019 10:02
    Hi Terrie

    Just saw this.  I was about to say that case and padding are important with BAPIs, especially when you run them outside of SAP via a Winshuttle Direct script.

    I'm glad it was a simple resolution!

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    Principal Solutions Engineer | Winshuttle North America
    ------------------------------