Application Development 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: 

sales order delivery time

milascon_daniel
Participant
0 Kudos

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.

1 REPLY 1

milascon_daniel
Participant
0 Kudos

Any idea ?