‎2010 Jan 20 1:55 PM
Hi Gurus,
i am using this bapi to create sales order with reference to two other sales order with thier item data.
For eg:
order1 0010 ....
order2 0010 .....
But when i am giving the quantity in the bapi , it is givin me the following error:
Error in item 000010 1.000 is greater than open-available qty in fill-up 0.000.
Best Regards,
Navin fernandes..
‎2010 Jan 20 2:55 PM
Hi,
Try like this ... req quantity is 1.
BAPI_SCHEDULES_IN-REQ_QTY = 1.
for better understand please paste the some peice of code here.
( Check weather the order quantity is available for that material too)....
Regards,
Bharani
Edited by: SeethaRamaiah Bharani on Jan 20, 2010 8:28 PM
‎2010 Jan 20 2:01 PM
Hi,
Did you try to create the order through VA01 for the same data and see if this error is coming there also?
Thanks,
Vinod.
‎2010 Jan 20 2:49 PM
Hi Vinod,
we created the same through va01 ..it is working fine..
Any clues..?
Best Regards,
Navin Fernandes.
‎2010 Jan 21 9:27 AM
HI Vinod,
The earlier error is resolved..
Just want to know.. when i create a sales order with ref to another sales order thru copy reference the automatic condition type
is getting copied in the new sales order..
but when i create it thru bapi the condition type is not getting copied..
Any idea on this..?
Best Regards,
navin fernandes.
‎2010 Jan 21 12:48 PM
Hi,
Just place the break points in copy control routines and execute your BAPI. See where it is failing. You can see the copy routines from T-code VOFM
Thanks,
Vinod.
‎2010 Jan 27 11:44 AM
Hi vinod,
Have managed for the time being by pushng condition manually..
Will check out ur option too..
Thanks a ton..!
Best Regards,
Navin fernandes.
‎2010 Jan 27 11:46 AM
Hi vinod,
Have managed for the time being by pushng condition manually..
Will check out ur option too..
Thanks a ton..!
Best Regards,
Navin fernandes.
‎2010 Jan 27 11:46 AM
Hi vinod,
Have managed for the time being by pushng condition manually..
Will check out ur option too..
Thanks a ton..!
Best Regards,
Navin fernandes.
‎2010 Jan 27 11:48 AM
Hi vinod,
Have managed for the time being by pushng condition manually..
Will check out ur option too..
Thanks a ton..!
Best Regards,
Navin fernandes.
‎2010 Jan 20 2:55 PM
Hi,
Try like this ... req quantity is 1.
BAPI_SCHEDULES_IN-REQ_QTY = 1.
for better understand please paste the some peice of code here.
( Check weather the order quantity is available for that material too)....
Regards,
Bharani
Edited by: SeethaRamaiah Bharani on Jan 20, 2010 8:28 PM
‎2010 Jan 21 12:13 PM
Hi bharani,
I came to know that when i create sales order with reference to other sales order the copy controls dont work.
I have found an sap note number:370988
details as follows:
I just wanted to know if this takes care of automatic pricing from the reference sales order and allows me to enter manual
pricing as well..
As an alternative to 'Create with reference' in Transaction VA01, two
variants are provided for solving the 'Create with reference' problem in
the BAPI.
1. Create a '1:1 ' - that is, a document copy of a sales document
(customer quotation, order) with 'BAPI_SALESDOCUMENT_COPY'. At this
point, you cannot create the 1:1 copy of either a billing document or
a delivery.
2. Create a sales document that refers to an existing document with
'BAPISDORDER_GETDETAILEDLIST' and 'BAPI_SALESORDER_CREATEFROMDAT2'.
Please need your inputs ..!
Best Regards,
Navin Fernandes