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: 

From which table on date (ERDAT) for the document flow of sales in getting?

Former Member
0 Kudos

Hi gurs,,

I have an issue like in the sales document delivery and billing has created on 30.11.2011. But the on date in document flow for the sales document and delivery is shown as 01.12.2011. Corresponding tables for these contains the same date ie 30.11.2011.

Why and where this date is taken from?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SD Document flow is a display of content of table VBFA.

4 REPLIES 4

Former Member
0 Kudos

SD Document flow is a display of content of table VBFA.

former_member193284
Active Participant
0 Kudos

For delivery check header table LIKP

For Invoice check header table VBRK

For Order check header table VBAK

you should have creationg field in these tables.

Thanks

Former Member
0 Kudos

Hi,

Try this report program REPORT ZSD_DOCUMENT_FLOW_GET.

PARAMETERS gv_docno TYPE vbeln.

DATA :

gt_docflow TYPE TDT_DOCFLOW,

gs_docflow TYPE TDS_DOCFLOW.

CALL FUNCTION 'SD_DOCUMENT_FLOW_GET'

EXPORTING

IV_DOCNUM = gv_docno

  • IV_ITEMNUM =

  • IV_ALL_ITEMS =

  • IV_SELF_IF_EMPTY = ' '

IMPORTING

ET_DOCFLOW = gt_docflow.

LOOP AT gt_docflow INTO gs_docflow.

WRITE 😕

gs_docflow-DOCNUM,

gs_docflow-DESCRIPTION,

gs_docflow-ERDAT,

gs_docflow-STATUS.

ENDLOOP.

May be it is useful for you.

regards

krishnakiran

Former Member

Hi all,

Thanks for all the solutions.I am in a situation that every table for the document flow it is showing as one date say 30.11.2011,but in the document flow screen of billing (VF03) , for order, it is showing as 01.12.2011 and delivery on 01.12.2011 but the invoice is showing in on date as 30.11.2011.

The corresponding tables it is updated as 30.11.2011 .Then why it is showing in the documnet flow as wrong date?