10-29-2007 7:01 AM
Hi,
I need to change the ACTION code value while creating/updating the PO IDOCS.
Kindly help me the User exit that where i can change the value in the IDOC segments during the creation of IDOCS.
Here i am using the medium as ALE.
Thanks in advance.
Regards,
Gopinath Addepalli.
10-29-2007 9:10 AM
Hi Gopi,
If you use 4- Send Immediately, then it wont go to DEBUG mode.
You have to Change it to mode 1 and then try to use the SAP Report for debugging process to solve the Issue related to Action Code.
Then you can change it to mode 4-Send Immediately.
You can Update the Output type with 1 with T.Code <b>MN05</b>, for the Output type with Vendor Code.
Regards,
Anbalagan
10-29-2007 7:05 AM
10-29-2007 7:06 AM
Hi,
The function module that triggers the idoc is IDOC_INPUT_ORDERS...in this FM u can see some CALL CUSTOMER-FUNCTIONS...these are the userexits that are available.Put a break point and check which userexit is helpful.
Reward if helpful.
Regards,
Nagaraj
10-29-2007 7:10 AM
Hi,
Try with User Exit EXIT_SAPLEINM_011(ZXM06U33) where the ACTION code for POs can be changed.
Regards,
Anbalagan
10-29-2007 7:26 AM
Hi anbalgan,
Could you please let me know when this user exit will be triggered?
Thanks and regards,
Gopi
10-29-2007 8:29 AM
Hi Gopi,
This UserExit will be called while Concluding Customer Enhancement for Populating the IDoc Segments while Creating/Changing the PO Line Items.
User Exit will be triggered whenever you call Transaction ME21/N, ME22/N or ME31/L , ME32/L for Scheduling Agreements.
Regards,
Anbalagan
10-29-2007 8:35 AM
Hi Anbalgan,
Thanks for your reply.
But it was not triggering when i kept the break point in the user exit.
Regards,
Gopi.
10-29-2007 8:58 AM
Hi Gopi,
Whats the Dispatch Mode you are using while generating an IDoc.
Try with mode 1 Send with Periodically Scheduled Job in Message types & save it.
Use SAP Report <b>RSNAST00</b> , Populate the Selection screen values with your Output type & execute it.
Now the Breakpoint will be reached in debug mode for further analysis.
I think it solves your problem.
Regards,
Anbalgan.
10-29-2007 9:03 AM
Hi Anbalgan,
We are using the Dispatch mode as Send Immediately. It is due to our requirement process. We need to send this IDOC to XI immediately once it was created.
If it was the case kindly let me know the debug process for this.
Thanks and regards,
Gopi.
10-29-2007 9:10 AM
Hi Gopi,
If you use 4- Send Immediately, then it wont go to DEBUG mode.
You have to Change it to mode 1 and then try to use the SAP Report for debugging process to solve the Issue related to Action Code.
Then you can change it to mode 4-Send Immediately.
You can Update the Output type with 1 with T.Code <b>MN05</b>, for the Output type with Vendor Code.
Regards,
Anbalagan
10-29-2007 9:37 AM
Thanks alot Anbalgan.
I hope we have met some where. Could you please let me know your personal mail id if you are interested only?
-Gopi
10-29-2007 9:45 AM
Hi Gopi,
Whether it solved the Issues?
Mail Id : anbu74@gmail.com
Regards,
Anbalagan