Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
1,000

I am using  BAPI_SALESORDER_CREATEFROMDAT2 to create sales order .

When i post single entry it works very well , but when i try pass more than on entry it gives error "You can not select more than one line item".

I am not getting it why is this happening.

Please find the error screenshot and guide me.

Regards

Neeraj Tiwari

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
884

Hi

Message of class 00, number 001: I think it's a custom message, so you need to check in a user-exit of sales order:

try to see the include MV45AFZZ

Max

4 REPLIES 4
Read only

Former Member
0 Likes
885

Hi

Message of class 00, number 001: I think it's a custom message, so you need to check in a user-exit of sales order:

try to see the include MV45AFZZ

Max

Read only

0 Likes
884

Hi Max,

I will check my program and let you .

Regards

Neeraj

Read only

Former Member
0 Likes
884

Hi Neeraj,

Please check for the code in MV45AFZZ, it is a custom error I believe, hopefully you can check what condition is used for this message to appear in log.

Please validate and let us know in case any further inputs are required from my end.

BR/ Thanks

Pranav Agrawal

Read only

0 Likes
884

Thanks for helping me.

Yes, It was custom message in MV45AFZZ.

I resolved the issue.

Regards

Neeraj