on 06-24-2009 8:05 AM
Dear Friends,
We have rejected some orders using the rejection indicator thru VA02
This is done at header level or at individual item level.
Please tell me is there any standard Tcode to view such a list of rejected orders.
Regards.
Dhananjay
Hi,
Generally if u want to reject one item from a sales order which contains multiple line item then you have to do it in Line item wise. But if you want to reject whole order at once then you can reject at header.
You can see the list by either of VBAK or VBAP table, Check for values in Field ABGRU ( reason for rejection)
Thanks,
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In our project,we are using a dedicated T.Code for this.Of course it is a custom T.Code.
I think in standard no other transaction is available except VA05/VA05N.
We are using an ABAP Query for this.
When I check for the Program in SE93 for the T.Code ZREJECT which is we are using currently,it displays as "AQZZZOTC========REJECTEDSALES=".
I asked my ABAPer.He told that this is an ABAP Query.
Why not you use this?if it is suitable to you.Contact your ABAPer.
I checked this program in SE38.The code is as follows:
("report AQZZZOTC========REJECTEDSALES=.
include /1BCDWB/IQG000000000053DAT.
data %dtab type standard table of /1BCDWB/IQG000000000053 with header line.
data %subrc type sy-subrc.
include /1BCDWB/IQG000000000053SSCR.
include /1BCDWB/IQG000000000053SSCRAT.
start-of-selection.
if %runmode-extr_on <> space.
call function '/1BCDWB/IQG000000000053EXTR'
tables %selopt = %seloptions
%dtab = %dtab
changing %rtmode = %runmode
exceptions no_data = 1
others = 2.
%subrc = sy-subrc.
call function 'RSAQRT_CHECK_EXTR'
exporting extr_subrc = %subrc
tables dtab = %dtab
changing rtmode = %runmode.
endif.
end-of-selection.
if %runmode-show_on <> space.
call function '/1BCDWB/IQG000000000053SHOW'
tables %dtab = %dtab
changing %rtmode = %runmode.
endif.
*----
special code for old API and BW extractor calls
*----
form %set_data changing p_lines type i.
import ldata to %dtab from memory id 'AQLISTDATA'.
describe table %dtab lines p_lines.
free memory id 'AQLISTDATA'.
endform.
form %get_data tables p_dtab structure %dtab
using p_first type i
p_last type i.
append lines of %dtab from p_first to p_last to p_dtab.
endform.
form %get_ref_to_table using p_lid type aql_lid
p_ref type ref to data
p_subrc type i.
if p_lid = %iqid-lid.
create data p_ref like %dtab[].
p_subrc = 0.
else.
p_subrc = 4.
endif.
endform.")
Regards,
Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In VA05 itself, you can see "Reason for Rejection".
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
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.