‎2011 Oct 10 11:29 AM
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
‎2011 Oct 10 12:01 PM
Hi Hemanth,
Please try using the field BSTKD_M (indexed) instead of BSTKD..which will also be performance wise better...
‎2011 Oct 10 12:30 PM
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
‎2011 Oct 10 12:34 PM
‎2011 Oct 10 12:50 PM
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.
‎2011 Oct 10 12:04 PM
Working as intended.
If a Sales order has multiple Purchase orders related, which PO are you going to store on header level?