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

quantity not getting added

Former Member
0 Likes
1,126

My requirement is to add items to quotation. Quotation will be present in ECC and I have to add items (coming from file) to the quotation.

I am using 'BAPI_CUSTOMERQUOTATION_CHANGE' to do this. Items are getting added with details as material, plant and UoM but quantity is not getting added. Quantity I am passing to target_qunt field of table quotation_item_in. is this the correct field or i need to pass quantity value to some other field??

please help!!

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
844

Hi Lucky,

You are passing in the right place. But just check once whether you are passing it correctly or not and also check Schedule_Lines-Req_Qty.

Thanks & regards,

Dileep .C

5 REPLIES 5
Read only

Former Member
0 Likes
845

Hi Lucky,

You are passing in the right place. But just check once whether you are passing it correctly or not and also check Schedule_Lines-Req_Qty.

Thanks & regards,

Dileep .C

Read only

Former Member
0 Likes
844

Hi,

We have to maintain the quantities and dates via the schedule line data.

The quantity should be filled in the structure BAPISCHDL and update corresponding flag in structure BAPISCHDLX.

Check this, hope it may help.

Read only

Former Member
0 Likes
844

Please go through the documentation and pass the quantity to right parameter.

It will work.

Read only

Former Member
0 Likes
844

Hi Lucky ,

Is the problem solved as per the experts suggestions?

Honestly i dnt knw much about this BAPI as i hvnt used it but i had some similar kind of problem

now what i did was i CONDENSED the quantity field and then i passed it to the BAPI .

There is always a alignment needed while we upload data from BAPI may be this is the reason

if the quantity field is not getting uploaded try it hope it helps

Regards

Bhanu

Read only

0 Likes
844

I tried that option also, and even i tried executing this fm from se37, but still it is not updated quantity details.

Thanks