2006 Sep 07 8:10 PM
Hi all,
I want to get incoterms at the item level for a sales order. This is stored in vbkd~inco1.
I think vbkd exists at the item level.
what does it mean where there is a value '000000' in the field POSNR in table VBKD.
2006 Sep 07 8:15 PM
As others has mentiond if there are values at item level , then you will see items numbers in VBKD. But VBRP is the table for the items . So it will always have values for the POSNR field.
Regards,
Ramesh
2006 Sep 07 8:15 PM
2006 Sep 07 8:15 PM
Inco terms exist at header level too, POSNR = '000000' means header level inco terms used across the document.
If there are different inco terms for item, then the item number shows up in VBKD
Regards
Sridhar
2006 Sep 07 8:15 PM
2006 Sep 07 8:34 PM
Thank you all ......
I have some sales order with item level entries and header level ('000000') in vbkd.
I also see some sales orders that just has a header level entry in vbkd ( posnr = '000000' ). But the same sales order has an item and there is also an entry in VBAP for this item.
Can anyone tell me on what basis its been decided just to have an entry at the header level in vbkd.
Thanks.
2006 Sep 07 8:45 PM
Hi,
You have do the following..
check the VBKD with the line item number..
SELECT SINGLE * FROM VBKD
WHERE VBELN = '12121212'
AND POSNR = 'line item no'.
IF SY-SUBRC <> 0.
If no record found get the values from the header..
SELECT SINGLE * FROM VBKD
WHERE VBELN = '12121212'
AND POSNR = '000000'.
ENDIF.
SAP will create a new line item in VBKD only if the values are different..
Try changing the Payment terms at the line item level..SAP will create a new line item in VBKD..
Thanks,
Naren
2006 Sep 07 8:48 PM
As others has mentiond if there are values at item level , then you will see items numbers in VBKD. But VBRP is the table for the items . So it will always have values for the POSNR field.
Regards,
Ramesh
2006 Sep 07 9:11 PM
I will then take the header value if there exists no records at the item level.
Thanks a lot guyz .....
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |