cancel
Showing results for 
Search instead for 
Did you mean: 

Document flow (ZNOT)

former_member551111
Discoverer
0 Kudos

Hello experts.

Can you help me how to find sales order in VBAK/VBAP (AUART in (ZOR0, ZOR1)) for VBELN from VBAK/VBAP with AUART = ZNOT (Notific./Reclamation)?

Usually, I can find previous document in VBAP.VBELV, but for documents with AUART = ZNOT VBAP.VBELV = VBAP.VBELN, so it is useless.

Or I use VBFA, but VBFA gives me prev. documents (VBFA.VBELV) not with sales order type (VBTYP <> C).

Thank you in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Not sure what exactly you want to achieve and what you tried so far before posting here. If you want to fetch preceding / subsequent document, it is possible with VBFA table where you have VBTYP_N and VBTYP_V, if you don't know the document reference.