06-10-2008 2:29 PM
Hi gurus,
I have a problem. In VA01 tranzaction I have a field - delivery time. I'm not sure if in standard VA01 tranzaction this field exist because our VA01 tranzaction has been customized.
I have found that delivery time for each item for a sales order are stored in VBKD table field DELCO. But i'm looking to a sales order in va03 which have 3 lines but in VBKD i have found only 2 lines. And at one line is missing posion number. From this cause, when I print sales order document for 2 lines delivery time is missing - one because is missing position number and other one is missing from VBKD table.
I have checked subroutine which extract delivery time and it seems to be OK:
SELECT SINGLE DELCO INTO DELCO FROM VBKD
WHERE VBELN = VBELN AND POSNR = POSNR.
SELECT SINGLE BEZEI INTO BEZEI FROM TVDCT
WHERE SPRAS = '4' AND DELCO = DELCO.
this part of form is called in sap-script.
So, why is missing sales order lines in VBKD? And why VBKD-POSNR is empty for some lines?
Please if someone has any idea... answers will be awarded.
Thank you.
06-10-2008 3:08 PM