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

VBKD~posnr = '000000'

Former Member
0 Likes
5,117

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,790

Item '00000' means , it is the header .

Regards,

Ramesh

Item '00000' means , it is the header .

Regards,

Ramesh

7 REPLIES 7
Read only

Former Member
0 Likes
2,791

Item '00000' means , it is the header .

Regards,

Ramesh

Read only

sridhar_k1
Active Contributor
0 Likes
2,790

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,790

I'm seeing the same in my system, this may be the "header" record for this business data, meaning, that if you don't need to hit against a paricular line item, you can simply hit against this record, it appears that all line items have the same value as this line item 000000.

Regards,

RIch HEilman

Read only

Former Member
0 Likes
2,790

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.

Read only

Former Member
0 Likes
2,790

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

Read only

Former Member
0 Likes
2,790

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

Read only

Former Member
0 Likes
2,790

I will then take the header value if there exists no records at the item level.

Thanks a lot guyz .....