Application Development 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: 

List of Rejected Sales Orders

Former Member
0 Kudos

hi ..........

i am prabhakar vatti...........

I need simple code for display sales orders which are rejected..............

1 REPLY 1

former_member181995
Active Contributor
0 Kudos

Hi..........

i am Amit Gujargoud...........

Write select query from VBAK and VBUP abd check field VBUK-ABSTK (go there with VBAK-VBELN = VBUP-VBELN is salesorder)

If it's C, the order is completely rejected (all items rejected)..........

If it's B, the order is partially rejected (some items rejected).....................

If it's A, the order is not rejected (no rejected items).............................................