Application Development and Automation 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: 
Read only

standard programme for sales document flow

Former Member
0 Likes
2,533

hi

Can any one tell me what is the standard report for complete slaes document flow

Thanks

Alka

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,395

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.

10 REPLIES 10
Read only

Former Member
0 Likes
1,395

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

Read only

0 Likes
1,395

hi,

But i want that standard programme name for sales docuement flow.

Thanks

Alka

Read only

0 Likes
1,395

hi,

if you want program then why can't you use VBFA table and create one.

Read only

0 Likes
1,395

Hi,

Check VBFADATA .

Regards,

Chandra

Read only

Former Member
0 Likes
1,395

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!

Read only

Former Member
0 Likes
1,396

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.

Read only

Former Member
0 Likes
1,395

HI ,

"RIBELF00" you can use this report .

Read only

0 Likes
1,395

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.

Read only

Former Member
0 Likes
1,395

hi,

t code .. VA03 --> Enter the Sales Order Number --> enter --> Press F5

Standard Sales order Document Flow report will get call.

Regards,

Satish

Read only

Former Member
0 Likes
1,395

Thanks