‎2005 Feb 13 4:59 AM
HI all,
Is there any user exits for cancell the Purchase Requistion and Purchase Order and Goods Receipts. Plz
if any one help me.
Regards,
Ravi Kumar
‎2005 Feb 14 12:10 PM
Hello Koray,
You can use project MEREQ001 for Requisitions and MM06E005 for Orders.
Use exit EXIT_SAPLMEREQ_010 to perform checks and if you want to cancel the save process just create an error message raising error_messages.
For Orders use exit EXIT_SAPMM06E_012 to perform the checks and if you want to stop the save process you can use some macros as described in notes 310154.
Regards,
Mauricio
‎2005 Feb 14 10:11 AM
Hi Koray.
In "downloads section">code sample>Web AS>"find user exit for transaction".
With this program you can find the exits user-exit for a particular transaction.
I hope it could help you to find you are looking for.
BR.
‎2005 Feb 14 12:10 PM
Hello Koray,
You can use project MEREQ001 for Requisitions and MM06E005 for Orders.
Use exit EXIT_SAPLMEREQ_010 to perform checks and if you want to cancel the save process just create an error message raising error_messages.
For Orders use exit EXIT_SAPMM06E_012 to perform the checks and if you want to stop the save process you can use some macros as described in notes 310154.
Regards,
Mauricio
‎2005 Feb 15 11:43 AM
Hi mauricio,
Thanks for reply. But there is no user exit EXIT_SAPLMEREQ_010 In MEREQ001 enhancement.Please let me know which user exit is called when PR created(ME51n). when pr created i want to write PR no and Document type in file(presentation server). So please let me know regarding this.
byee
ravi kumar
‎2005 Feb 15 11:56 AM
Use the following FM to get the exits of a particular program or use the code sample given in download section of SDN to find the user exit for a given transaction.
MOD_SAP_GET_FUNCEXITS
give the main program of the transaction for e.g for ME51 its SAPMM06B, as import parameter of the function, it will return all the available exits.
link to the download section.
Regards
Raja
‎2005 Feb 15 7:09 PM
Hello Koray,
Sorry, I forgot to tell that you have to apply note 492788 and 439933.
This notes will create user exit EXIT_SAPLMEREQ_010.
This exit is called when you click in Save button on ME51N.
Regards,
Mauricio
‎2005 Feb 16 2:10 AM
Hi Mauricio,
Thanks for Reply.
U have written that apply note 492788 and 439933 this notes will create user exit EXIT_SAPLMEREQ_010. I am not able to understand means how apply note ane where i have to give this note 492788 and 439933. Please let me know.
It is urjent.
Regards
Ravi
‎2005 Feb 15 12:39 PM
Hi!
ME51<b>N</b> -> BADI ME_BAPI_PR_CREATE_01 (transaction SE18) for documentation, SE19 for implementation.
Regards,
Christian
‎2005 Feb 16 9:17 AM
Hi Koray,
OSS-notes are the way, how SAP provides patches. By replacing some lines of source code, errors will be corrected / missing functionality be added.
Nowadays exists a report, which can download notes from SAP and implement code corrections automatically: enter transaction SNOTE. The button with R/3 in it will provide functionality to enter note numbers (see earlier posting) and by processing the following steps you will get necessary changes in your local system.
Regards,
Christian
P.S.: Sorry, if I misinterpreted your question!
‎2005 Feb 16 11:24 AM
Hello Ravi,
I think based on what Cristian wrote you were able to understand what an OSS Note is.
But I think that you should also ask another members from your project how to apply it, someone should know how to do it, BASIS guys normally knows, because it is one of the common tasks in a SAP project.
Ask someone in your project to help you applying this notes.
Problably you will need to registry some programs to get theys object keys, and BASIS guys normally knows how to do it.
Regards,
Mauricio