‎2007 Nov 13 11:35 AM
‎2007 Nov 13 11:38 AM
‎2007 Nov 13 11:41 AM
Hi,
check this
http://www.sap-basis-abap.com/sd/sap-sd-processing-flow.htm
and table is
VBFA.
VBUK for Hdr status,VBUP for item status....
and for document flow
in vl03n
there is on document flow button
from there u will get it.
reward it if helpfull.
Message was edited by:
Mahaboob Pathan
Message was edited by:
Mahaboob Pathan
‎2007 Nov 13 12:01 PM
For this info use table VBFA for document or use this function module based on sales order no use will get delivery ,billing document number.
Fill the structue comwa with order number .
vbeln = len.
wa-vbeln = id .
CLEAR : flagj,flagm,flags,itab_vbfa.
REFRESH itab_vbfa.
CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
EXPORTING
AUFBEREITUNG = '2'
BELEGTYP = ' '
comwa = wa
NACHFOLGER = 'X'
N_STUFEN = '50'
VORGAENGER = 'X'
V_STUFEN = '50'
IMPORTING
BELEGTYP_BACK =
TABLES
vbfa_tab = itab_vbfa.
EXCEPTIONS
NO_VBFA = 1
NO_VBUK_FOUND = 2
OTHERS = 3
READ TABLE itab_vbak INTO ls_vbak WITH KEY vbeln = id.
IF ls_vbak-vbtyp = 'C'.
READ TABLE itab_vbfa WITH KEY vbtyp_v = 'J' . - Delivery Number
IF sy-subrc <> 0.
flagj = 'X'.
ENDIF.
READ TABLE itab_vbfa WITH KEY vbtyp_n = 'M' . Billing Document Number .
IF sy-subrc <> 0.
flagm = 'X'.
endif.
Please reward if useful.
‎2007 Nov 13 12:03 PM
VA01, enter order number, u can access document flow from the application tool bar