Skip to Content
0

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

Jun 28, 2017 at 01:27 PM

76

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded

Can you explain the business requirement please?

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Raymond Giuseppi
Jun 29, 2017 at 06:27 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Kamlesh Kumar Arya Jun 29, 2017 at 03:40 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jun 28, 2017 at 07:19 PM
0

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?

Share
10 |10000 characters needed characters left characters exceeded
Avik Mazumder Jun 29, 2017 at 06:47 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded