on 02-04-2015 4:26 PM
Hi,
We have configured the process like
1. Created a Sales order
2. Outbound Delivery
3. Shipment
4. GI
5. Shipment Cost
6. Invoice creation
7. Billing Document.
When we look at the document flow of the SO through VA03, the Shipment Cost, Service Acceptance and IV receipt are missing.
But when we refer to the document flow of the Shipment through VT03N we get the same.
Attached are the document flow of both SO and the Shipment.
Is it possible to have the entire thing in single document flow through VA03?
regards
joe
Can anybody help me on this.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use LV05CF01 Include
Form TRANSPORTFLUSS_LESEN
READ TABLE xvtfa WITH KEY mandt = sy-mandt
vbelv = transportbeleg
BINARY SEARCH.
IF sy-subrc <> 0.
SELECT * FROM vtfa APPENDING TABLE xvtfa
WHERE vbelv = transportbeleg
%_HINTS ORACLE 'RULE'
DB2 'USE VALUES FOR OPTIMIZATION'
DB2 '&SUBSTITUTE VALUES&'
* Inserted line of Note 938279
DB6 '<IXSCAN TABLE=''VTFA'' SAP_INDEX=''0''/>'.
SORT xvtfa BY mandt tknum vbelv posnv vbtyp_v vbeln posnn vbtyp_n.
ENDIF.
Form TRANSPORTFLUSS_LESEN
TABLES: vfkk.
DATA:
l_erdat_t1 like vbfa-erdat,
l_erzet_t1 like vbfa-erzet,
l_vfkk LIKE vfkk,
w_vfkk like vfkk.
SELECT * FROM vfkk INTO l_vfkk
WHERE fknum = xvtfa-vbeln
AND vbtyp = 'a'.
ENDSELECT.
MOVE-CORRESPONDING l_vfkk TO w_vfkk.
READ TABLE xvtfa WITH KEY mandt = sy-mandt
tknum = space
vbelv = xvtfa-vbelv
vbtyp_n = 'a'
BINARY SEARCH.
IF sy-subrc = 0.
LOOP AT xvtfa FROM sy-tabix.
IF xvtfa-vbelv NE xvtfa-vbelv OR
xvtfa-tknum NE space.
EXIT.
ENDIF.
MOVE-CORRESPONDING xvtfa TO vbfa_tab.
vbfa_tab-vbelv = xvtfa-vbelv.
CLEAR vbfa_tab-posnv.
vbfa_tab-vbtyp_v = vbtyp_transport.
vbfa_tab-erdat = w_vfkk-erdat.
vbfa_tab-erzet = w_vfkk-erzet.
ADD 1 TO vbfa_insert.
INSERT vbfa_tab INDEX vbfa_insert.
ENDLOOP.
ENDIF.
after check below document flow
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.