2009 May 25 3:05 AM
Hi All,
I have a requirement to change the reasons for rejection for selective items in the sales order.
but when i use BAPI_SALESORDER_CHANGE. i get the error:
Field ABGRU cannot be changed VBAPKOM 0003000ready for input.
Sales document not changed.
These are the following values i pass:
IMPORT PARAMETERS:
Salesdocument :' 100000356'
Order_header_inx-Updateflag = 'X'
TABLES:
order_item_in-item_number = '003000'.
order_item_in-plant = '1000'.
order_item_in-reason_rej = ' '.
order_item_inx-item_number = '003000'.
order_item_inx-updateflag = 'U'.
order_item_inx-reason_rej = 'X'.
order_item_inx-plant = 'X'.
do i have to input any other values .Pls help.
thanks,
Kavitha
2009 May 25 7:03 AM
Hi,
First try to change the Reason of Rejection using VA02 tcode. In va02 tcode allow to change the reason of rejection. Then u can check with BAPI parameters. The parameters whatever you are passing is correct. Still if if you are not able to change the Reason of Rejection, try to pass additional parameters in item structure material number, item category and storage location.
Regards
Pratap.M
Hi All,
I have a requirement to change the reasons for rejection for selective items in the sales order.
but when i use BAPI_SALESORDER_CHANGE. i get the error:
Field ABGRU cannot be changed VBAPKOM 0003000ready for input.
Sales document not changed.
These are the following values i pass:
IMPORT PARAMETERS:
Salesdocument :' 100000356'
Order_header_inx-Updateflag = 'X'
TABLES:
order_item_in-item_number = '003000'.
order_item_in-plant = '1000'.
order_item_in-reason_rej = ' '.
order_item_inx-item_number = '003000'.
order_item_inx-updateflag = 'U'.
order_item_inx-reason_rej = 'X'.
order_item_inx-plant = 'X'.
do i have to input any other values .Pls help.
thanks,
Kavitha
2009 May 25 7:03 AM
Hi,
First try to change the Reason of Rejection using VA02 tcode. In va02 tcode allow to change the reason of rejection. Then u can check with BAPI parameters. The parameters whatever you are passing is correct. Still if if you are not able to change the Reason of Rejection, try to pass additional parameters in item structure material number, item category and storage location.
Regards
Pratap.M
2009 May 25 7:25 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |