cancel
Showing results for 
Search instead for 
Did you mean: 

Checking Table Conditions

Former Member
0 Kudos

Hi,

I want to know how to check the table conditions in ABAP for cancelled and returned orders.

Thanks in advance,

Kannishka

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello, friend.

for sales returns, one of the tables you can use is VBAK. look for field AUART for the sales document type (RE for returns).

for cancelled orders, you can use VBAP and look for field ABGRU reason for rejection (an entry cancels the line item in the order). you can also use VBUK (header) or VBUP (item) to check order status (rejection).

regards.

Former Member
0 Kudos

Hi jonathan,

Thank you for your feedback.

A small query - in the case of looking at VBUK (header) or VBUP, what is the field that i have to check in order to check if the order has been cancelled?

Thank you,

Kanishka

Former Member
0 Kudos

hi,

check VBUK-ABSTK to see rejection status at the header level.

regards

sadhu kishore

Answers (0)