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: 

Latest sales document item (VBAP) activity date

former_member197445
Contributor
0 Kudos

Where do you think the best data exists that I could use in an ABAP function module to indicate the latest goods movement, delivery, or other activity associated with a VBAP line item?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Case,

You can use FM SD_DOCUMENT_FLOW_GET, just pass the VBELN+POSNR.

You will get the Document Flow of the given data which you can use it in your FM.

-Amit.

3 REPLIES 3

Former Member
0 Kudos

There is a changed date AEDAT field in VBAP, But not sure whether it will be help ful

Former Member
0 Kudos

Check document flow of sales order. Use table VBFA by passing preceeding doucment/line item as sales order & line item.

Not sure if that's what you are looking for.

Former Member
0 Kudos

Case,

You can use FM SD_DOCUMENT_FLOW_GET, just pass the VBELN+POSNR.

You will get the Document Flow of the given data which you can use it in your FM.

-Amit.