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

Regarding VBKD table updation.

Former Member
0 Likes
1,138

Hi Abapgurus,

I have one doubt regarding updation of VBKD table. For one sales order it is updated for hader and line item both because line item is having differnet data than header data. But purchase order no. BSTKD field only updated into Line item and not into header data for sales order. Due to that we are not able to get reference no.(PO No.) into script output.

Please let me know if you require any other informatio?

Thanks

Hemant ghiya

5 REPLIES 5
Read only

Former Member
0 Likes
858

Hi Hemanth,

Please try using the field BSTKD_M (indexed) instead of BSTKD..which will also be performance wise better...

Read only

0 Likes
858

Hi Srikanth,

The field BSTKD_M is blank due to BSTKD. so it is not usefull.

Hi Maen,

It is not having more than 1 po.

thanks

Hemant ghiya

Read only

0 Likes
858

Then determine it through one of the sales items.

Read only

0 Likes
858

well your sales order is only having one PO, but it COULD have more than one, technically.

So thats why this information is not getting written back to SO on header level, since there COULD be more than one linke and noone specified any strategy which one to use.

If you really need it, and are sure that there is always a 1on1 relationship then you can and have to code this one manually.

Read only

Former Member
0 Likes
858

Working as intended.

If a Sales order has multiple Purchase orders related, which PO are you going to store on header level?