Skip to Content

Maintain Item note text per Sales Document Item while creating sales order

capture.pngHello,

I have a requirement where:-

There are 2 company code(X and Y) which are basically link with one customer(Z) and when we will create sales order, for one material(M) if there are 2 entry for each company code(X and Y), it should create 2 line item in sales order but we want to identify the line item for each company code.

X->M->200 EUR

Y->M->100 EUR

This we want to achieve by showing the company code name in item note for each line item.

i am using BAPI_SALESORDER_CREATEFROMDATA to create SO.

How i can do it.

Thanks

MAHESH

capture.png (22.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 29, 2017 at 06:27 AM

    Don't use obsolete BAPI, use BAPI_SALESORDER_CREATEFROMDAT2 this one has a table parameter for order texts.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2017 at 03:40 AM

    Hello Mahesh Jagnani,

    Please explain how a sales order can have two company codes?

    Do you know the relationship between Sales org and company code?

    Regards

    Kamlesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2017 at 07:19 PM

    Not clear. Why do you want 2 items of the same material, if the material is maintained for 2 sales orgs, for 2 company codes?

    The sales order is created for one sales org, which is linked to one company code. Why is the business wanting another item in the order for a company code which is not "connected" to this order?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2017 at 06:47 AM

    Hi,

    I think the above scenario mentioned is referring to one sales order having two lines with two deliverying plant.

    Each plat linked with two different company code.-Is it correct assumption of the requirement?

    Regards,

    Avik

    Add comment
    10|10000 characters needed characters exceeded