06-29-2007 12:42 PM
Hi,
is there any FM, BAPI, CL to get the whole document flow for
a given sales order.
thanks.
regards, Dieter
06-29-2007 12:46 PM
i dont think so.
but i no only table VBFA from where u can get doc flow for an order
tx
kiran
06-29-2007 12:46 PM
i dont think so.
but i no only table VBFA from where u can get doc flow for an order
tx
kiran
06-29-2007 12:50 PM
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
06-29-2007 1:06 PM
06-29-2007 1:21 PM