Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding user exti

Former Member
0 Likes
1,320

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

1 ACCEPTED SOLUTION
Read only

MauricioMiao
Contributor
0 Likes
1,274

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,274

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.

Read only

MauricioMiao
Contributor
0 Likes
1,275

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

Read only

0 Likes
1,274

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

Read only

0 Likes
1,274

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.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/z...

Regards

Raja

Read only

0 Likes
1,274

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

Read only

0 Likes
1,274

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

Read only

christian_wohlfahrt
Active Contributor
0 Likes
1,274

Hi!

ME51<b>N</b> -> BADI ME_BAPI_PR_CREATE_01 (transaction SE18) for documentation, SE19 for implementation.

Regards,

Christian

Read only

christian_wohlfahrt
Active Contributor
0 Likes
1,274

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!

Read only

0 Likes
1,274

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