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: 

FM: Document flow for a sales order

Former Member
0 Kudos

Hi,

is there any FM, BAPI, CL to get the whole document flow for

a given sales order.

thanks.

regards, Dieter

1 ACCEPTED SOLUTION

Former Member
0 Kudos

i dont think so.

but i no only table VBFA from where u can get doc flow for an order

tx

kiran

4 REPLIES 4

Former Member
0 Kudos

i dont think so.

but i no only table VBFA from where u can get doc flow for an order

tx

kiran

Former Member
0 Kudos

Hi,

look for example to BAPI_SALESORDER_GETLIST

CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'

Please check table VBFA. It contains all the information about document flow in SD.

Check the example program below, it is not a function call, it is a dialog call.

(Or)

report zrich_0001.

data: xvbco6 type vbco6.

data: xvbak type vbak.

parameters: p_vbeln type vbak-vbeln.

clear xvbco6. clear xvbak.

select single * from vbak into xvbak

where vbeln = p_vbeln.

move-corresponding xvbak to xvbco6.

call dialog 'RV_DOCUMENT_FLOW'

exporting

vbco6 from xvbco6

ivkorg from xvbak-vkorg

ivtweg from xvbak-vtweg.

Regards

former_member188685
Active Contributor
0 Kudos

Hi

yoy can use FM RV_FLOW

Regards

Vijay

Former Member
0 Kudos

Hi,

thanks to all.

Regards, Dieter