on 04-27-2006 10:01 AM
hi!
i have created a quataion using VA21.
i would like to use this bapi in order to add items to the qoutation.
when i run the bapi i get error item 100 doesnt exist ( if i use updateflag = 'U' (update) if i use updateflag = 'I' (insert), i get erro that i cant use I in field updateflag.
is it possible to add items to the qoutation or only change exist items?
regards
yifat
Hello Yifat,
What u need to do is FILL as follows...
SALESDOCUMENT
QUOTATION_HEADER_IN : SALES ORG/DISTR CHAN/DIVI
QUOTATION_HEADER_INx:UPDATEFLAG = U AND FILL X FOR SALES ORG/DIST/DIVI.
QUOTATION_ITEM_IN: ITM_NUMBER/MATERIAL/QTY AND MARK X FOR QUOTATION_ITEM_INX AND MARK UPDATEFLAG AS 'I'
and should create item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You will have to use the flag 'U' or 'I' based on whether particular line item exisst in your document.
e.g. If you want to change/insert a line item 00050 , then thro' coding make sure it exists by reading existing item data.
(If you try to change this line item 00050, which does not exists, then you will get error- Line item 00050 does not exists.)
If it does not exists, you can use number 00050 and using flag 'I' , can insert the line item data.
Hope this helps.
Regards,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi!
thanks for your answer, but i didnt understand exactly what you mean.
what is the 0010 and 0020 stand for?
regards
yifat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your line items usually are 00010, 00020 - looks like you are trying to change the line item 00100, which does not exist.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.