‎2008 Dec 12 3:35 AM
hi
Can any one tell me what is the standard report for complete slaes document flow
Thanks
Alka
‎2008 Dec 12 9:09 AM
Hi Ritu,
SAPLDOCUMENT_FLOW_ALV
this is the program which runs the complete Document flow,
it also has some includes(LDOCUMENT_FLOW_ALVF01).
can you say your requirement so that we can still explain you more clearly,
for VA05, VBFA, VA45, VA03 like this we have diff methods, to enter this (SAPLDOCUMENT_FLOW_ALV) program, so beware before entering here, since I expect nearly more than 10 to 15 Tc0des will be dependent on this program, also along that RVORDERS.
‎2008 Dec 12 3:59 AM
What do you mean?
You can get complete sales doc info from VBFA table
or you can even see that on any sales order.Press the sales flow button on top.
Thanks
Kiran
‎2008 Dec 12 5:37 AM
hi,
But i want that standard programme name for sales docuement flow.
Thanks
Alka
‎2008 Dec 12 5:44 AM
hi,
if you want program then why can't you use VBFA table and create one.
‎2008 Dec 12 8:59 AM
‎2008 Dec 12 6:01 AM
Hi,
There is a standard FM:
CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
EXPORTING
COMWA = comwa
TABLES
VBFA_TAB = VBFA_TAB
EXCEPTIONS
NO_VBFA = 1
NO_VBUK_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*
* Get PGI Document
*
clear w_pgi_document.
loop at vbfa_tab where vbtyp_n = 'R'.
w_pgi_document = vbfa_tab-vbeln.
Endloop.
*
* Get INV Document
*
clear w_inv_document.
loop at vbfa_tab where vbtyp_n = 'M'.
w_inv_document = vbfa_tab-vbeln.
Endloop.
*
* Get a/c Document
*
clear w_ac_document.
loop at vbfa_tab where vbtyp_n = '+'.
w_ac_document = vbfa_tab-vbeln.
Endloop.
*I hope this helps,
Regards
Raju Chitale
Edited by: Matt on Dec 12, 2008 8:35 AM - Please use tags around your code. See how much better it looks!
‎2008 Dec 12 9:09 AM
Hi Ritu,
SAPLDOCUMENT_FLOW_ALV
this is the program which runs the complete Document flow,
it also has some includes(LDOCUMENT_FLOW_ALVF01).
can you say your requirement so that we can still explain you more clearly,
for VA05, VBFA, VA45, VA03 like this we have diff methods, to enter this (SAPLDOCUMENT_FLOW_ALV) program, so beware before entering here, since I expect nearly more than 10 to 15 Tc0des will be dependent on this program, also along that RVORDERS.
‎2008 Dec 19 5:15 AM
‎2008 Dec 19 6:06 AM
Use BAPI RV_ORDER_FLOW_INFORMATION
and pass the value for slaes order or delivery number or invoice(billing number) as input in COMWA-VBELN field.
then u can get the document flow for that.
‎2008 Dec 19 6:53 AM
hi,
t code .. VA03 --> Enter the Sales Order Number --> enter --> Press F5
Standard Sales order Document Flow report will get call.
Regards,
Satish
‎2009 Feb 13 7:22 AM