on 02-16-2014 4:48 PM
Hi All,
Scenario:
I receive reason for rejection code from another system through ORDCHG and i have to reject the corresponding line in sale order.which has been configured and fine.this is standard and no coding has been done for this.
New Scenario;
Now the same system will send the request for cancellation of that rejection reason(bring it back to as it was) .
How do I do it using ORDCHG idoc.Now that I tried passing blank in reason for rejection code(ABGRU), but it did not work.
Has any one done this before using Idoc,if yes please help.Or using abap code is the only way???
Sorry I have posted it before but with insufficient information , which got diverted to totally different discussion.
Correct Text Removed
Thanks
Arun
Message was edited by: G Lakshmipathi
Please dont add such text in your post
Hi TW, I do not exactly know the change but the change has been made by removing rejection in BDC recording/data.
@shashi thank you for providing the option Ji..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
Try sending the Idoc with a \ (backward Slash) , if you wish to remove the Reason for Rejection. The otheroption that you suggested is also straight-forward and simple. (If the Idoc has the ABGRU- then modify , else if it does not then clear the existing ABGRU in the line item in the USer-exit.).
Thanks & Regards,
Shashi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello EveryOne,
Thank You all for your valuable sugestions and inputs on the scenerio..
I have handeled it with a minor code change.I would be expecting it in ORDCHG change with a blank value.
I mean if the inboud article has a reason for rejection,then remove it /remove it and change the quantity.
@Jyoti Arora Manish Sharma Ajit Chand TW Typewriter Appreciate your inputs!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Arun/ TW,
Interesting Scenario. i found the second point suggested by TW is appropriate, i would like to elaborate the same, if you are using Standard SAP RFR functionality.
use fucntional module "BAPI_SALESORDER_CHANGE" to take one of the input parameter as Reason for rejection cancellation (eg: RFRC text) to change Sales order and add in user exit USEREXIT_SAVE_DOCUMENT; Program Name: MV45AFZZ "if Reason for rejection is "RFRC" then update RFR field to blank"
Try and do revert.
Regards// mksharma1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Arun,
1. Reason for rejection (sent by the external system into SAP) would mean that reject that item. No need for the sale of that item.
So why does that system, want to remove that reason for rejection later on?
Might be better to create another line item, in the same order (if possible) and sent it across to SAP
2. Sending blank value might not work. With little coding in SAP, probably in the function module; if external system sends a changed RFR (e.g. ZZ) then that would remove the RFR (make it blank) in the sales order, for that line item. This coding (mapping ZZ to blank) can be done in R/3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun, TW
Very strange requirement. Why would the customer want to cancel the rejection? Try to get more details from them and then finalise the best approach.
I would also go with the first solution in TW's response.
Second alternative (Point no. 2) might create problems in reporting, and thus not advisable.
Thanks!
Hi Jyoti,
My client uses RFR to hold the order for temporary reasons like stock adjustments or when 3PLs are involved..but there is strong reason for it..Just a kind of User friendly.But its purely manual here.
I have seen the usage of BAPI_SALESORDER_CHANGE to update or modify the values through Idocs..It may help in this case.
Rgds,
ACP
Ajit,
My client uses RFR to hold the order for temporary reasons like stock adjustments or when 3PLs are involved..
Could you elaborate on the reasons for holding an order when 3PLs are involved?
In these cases, is the transportation from the 3PL company not ready / arranged or...?
Side comment: Want to know the business reason (thing happening in your business) rather than focusing on RFR.
Thanks!
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.