Q
Problem solve Get help with specific problems with your technologies, process and projects.

User exit to include a BADI to prompt for a reason code

Axel Angeli advises on how to find user exits for a reader who wants to include a BADI in VL02N to prompt a user for a reason code.

I have to include a BADI in VL02N to prompt the user for a reason code; any idea which user exit would be the right one?
Generally the easiest way to find user exits in SAP programs (in your case: all programs SAPMV50*, SAPLV50* are possibly involved) is to search globally for "userexit", "user-exit", "customer-function" (for CMOD exits) or "exithandler" (for BADIs). This will find you the places where the exits are implemented in the code and you can decide if the position is fine for you.

But BADIs are not really the place to ask for additional user input. Traditionally you would have to add the field...

as a modification to one screen. If you cannot decide for a modification you can block shipment and set up a workflow that sends a mail to the user and only when the value is provided you unblock the shipment.

This was last published in February 2007

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close