Introduce error message for a particular SAP standard function

Hi All,
In TCode CS02 - BOM Changes, for a particular BOM usuage [say D], whenever a user clicks on Material BOM- DELETE, I would like an error message to be displayed saying that they need a Change Number.
Could you please let me know how I go about acheiving this and in which module I have to build the code ?
Thank you,
Satish

Hi,
To find the BAdi for CS02, follow steps:
Goto SE24 and enter CL_EXITHANDLER and click on display. Now double click on the method GET_INSTANCE. Set breakpoint on CL_EXITHANDLER=>GET_CLASS_NAME_ON_INTERFACE.
Now run the transaction for which you want to search the Badiu2019s. Now whenever the method is called, the program goes into debugging mode. Check the value of exit_name (changing parameter),this would give the name of the Badiu2019s. Run the entire transaction and note down all the Badiu2019s.
Now we have to implement the Badi. Go to SE18 to check the definition of the Badi and SE19 to implement the Badi. Enter the name of the Badi in the create implementation section (if you are creating a new implementation u2013 Radiobutton Classic Badi) and click on create implementation. Now enter the name of the implementation. Double click on the method name and add the code for the implementation.
Now, you need to check the parameter inside the BADI and figure out as per your requirement.
Use break-points (break <user_name>) and execute the transaction to check the flow and find the BAdi exectued when user click DELETE button.
Hope this helps you.
Regards,
Tarun

Similar Messages

  • Error message for Leave request (Related to some Old Question)

    Hi Experts,<br />
    <br />
    We are facing an Error when only 1 employee in the company opens his Leave request page, the same page is working for others perfectly.<br />
    <br />
    this Error is the same as the one in the below posts:<br />
    <br />
    1. Link: Re: Error message for Leave request<br />
    <br />
    and I tried going through their solutions such as:<br />
    <br />
    1. Please check if you have the leave config done on ECC side under Personnel Management --&gt; Employee Self services --&gt; Service Specific settings --&gt; Working time --&gt; Leave request .<br />
    2. At the least you should have assign the default rule to your PSG to the standard leave type given. Otherwise create your own rule groups and Specify Processing processes for type of leave set up.<br />
    3. explicitly activate WEBMO Feature although it was activated<br />
    <br />
    But the Error is still coming for this specific Employee, even though his Vacation Quota is created and available for deduction.<br />
    <br />
    Please Help me in solving this issue.<br />
    <br />
    Regards,<br />
    Abdulrahman

    Index: 0, Size: 0:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sap.aii.proxy.framework.core.JcoBaseList.get(JcoBaseList.java:268)
         at com.sap.aii.proxy.framework.core.AbstractList.get(AbstractList.java:230)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCList.get(DynamicRFCList.java:281)
         at com.sap.tc.webdynpro.progmodel.context.Node$ModelElementList.getElement(Node.java:2549)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
         at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)
         at com.sap.xss.hr.lea.form.FcForm.setLeadSelectionForSubtype(FcForm.java:700)
         at com.sap.xss.hr.lea.form.FcForm.setVisibility(FcForm.java:943)
         at com.sap.xss.hr.lea.form.FcForm.prepareCommand(FcForm.java:308)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.prepareCommand(InternalFcForm.java:2041)
         at com.sap.xss.hr.lea.form.FcFormInterface.prepareCommand(FcFormInterface.java:116)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.prepareCommand(InternalFcFormInterface.java:1887)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.prepareCommand(InternalFcFormInterface.java:1983)
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:299)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:1084)
         at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:204)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:280)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

  • Error message for BIB-14418

    What is the error message for BIB-14418? I could not see this particular one in bibean help docs.

    This message is displayed every time we use export (it's just to inform the user that StorageManager was initialized properly). The word "PROBLEM" is standard output of our DefaultErrorHandler's log method.
    We are planning to update the Help topic, which shows the syntax of the export utility, to indicate that this is a benign message.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Customised Error Message for ESS-MSS Applications

    Hello All,
    Currently, if there are any errors in the ESS/MSS transactions, we get the 503 error with lot of irrelevant data to the users. We have a basic html page which says, "There is a issue-Please contact XXXX".
    Is there a way to replace the standard error message with this html page ?
    PS: I am not talkign about the "Dispatcher Running" or "Application Stopped" messages, Please do not point me again to SAP Help website which doesn't answer my query. THIS IS ABOUT REPLACING THE STANDARD ERROR MESSAGES FOR ESS/MSS APPLICATIONS.
    Any help is much appreciated.
    We are on EP 7.01 SP3 (ESS 1.41)
    -Raj

    Hi Raj
    Let me clarify the difference between ESS and MSS errors and JAVA stack errors
    A "503 Service  not available" is not an ESS or MSS error - this is the thrown by the stack (possibly while navigating
    in ESS or MSS)
    The only information I have available in the case of java stack errors is to follow
    http://help.sap.com/saphelp_nw70/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    Whcih indicates how to customize stack errors  like 404 or 500
    Lastly you can also decide to hide the stack trace as per KBA 1596212
    To modify an ESS or MSS message this may require modification to front and back-end HCM application - usually
    ESS gets error information based on back-end errors example "fill in all required fields"
    Hope this helps

  • DISPLAYING ERROR MESSAGE FOR TABLE

    How can I dispaly error message for table havong input fields from message pools,so that when I clicks on that message,that should point to that particular field having error
    Thanks
    Fahad

    Hi Fahad,
    From Message pool retrive data using text accessor
    IWDTextAccessor textYesAccessor = wdComponentAPI.getTextAccessor();
    String tempYes = textYesAccessor.getText(IMessageSample.<YES>);
    You can report error message like.
    if(tempYes !=null)
      reportException(String message, boolean cancelNavigation);
    See this link for Webdynpro API..
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
    Regards
    Suresh

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Error Message for PR

    Dear all,
    I want to pop up the error message for the condition like if Open PR is available for the material and user once again indenting the same then user gets error message like Open PR available for material. Is it possible ?
    and,
    one more help If stock is available for the material even also user indenting the material then my requirement is how to stop this process. can i start any warning or error MSG for the same ? if yes then how ? please guide its urgent.
    Neha

    Better to implement MRP run process in your Organization.
    System will always check OPEN PRs,Open POs, Stock pending in system and will not allow to generate a PR if open qty available in system. Define minimum and Max qty in material master and activate MRP type.
    Please find complete business process and complete presentation and documentation for the same.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f4d6c1-0808-2d10-2ea5-f9b2863cfed8?
    QuickLink=index&overridelayout=true
    Also implement PR Release strategy so that Site Incharge will always check requirement and then will approve for PO process.
    Its very helpful.
    Regards,
    Sandesh Sawant

  • How to display complete menu tree for a particular SAP user in UI5

    Hi Experts,
    I am trying to display menu tree for a particular SAP user on click of button placed in shell content.
    I am referring this link
    Displaying the Complete Menu Tree - User Interface Add-On for SAP NetWeaver - SAP Library
    But I am not getting the exact process.
    Can anyone please provide some help.
    Thanks in advance.

    >
    cranjith kumar wrote:
    > I am displayed a user name and password columns in
    > screen painter.if i will not fill any one of the two fields
    > means then a message will be display.
    > My requirement is if i wont fill the "username field"
    > means then the cursor should not move to the
    > "password"  field (i.e we should not able to enter passwords)
    > and a message should be displayed to indicating that
    > user name is invalid.
    > Kindly send me the coding for this one immediately.....
    How about you immediately try to figure it out for yuorself?  Read the SAP help on screen development and search these forums.  Here's a hint, look at things like FIELD and CHAIN in your PAI...

  • I get an error message for publication type

    I am using itunes producer to load a book.  An error message for "publication type" appears when I get to deliver content area.  I am unable to fill in that category box when I go back to that particular screen.  The drop down box there shows a check mark that will disappears immediately when clicked on.  I know that "digital only" or "new release" needs to be put into that box, but am unable to get any other choices for the box and can not download the book due to error message.  I did enter a price in the pricing box.
    Thanks for any assistance,
    Don

    I'm having the same problem.  Have you found the answer?

  • How to create a error message for Deleted batch while creating a PO

    Hi ,
    Can any body tell me how to create error message for a deleted batch while creating a PO in ME21n,
    when a PO is created for a deleted batch at GI &GR lebel it is showing  a error message,
    but i want to show a error message while doing the PO creation.
    Thanks,
    Sachhi

    in badi  me_process_po_cust u can  put this message
    METHOD if_ex_me_process_po_cust~check.

  • For weeks I have been viewing a doggy day care via their web cam.  This weekend I upgraded to Lion and have been unable to view the center since.  I get an error message for java webcam class not found.  All of my software is up to date--suggestions?

    For weeks I have been viewing a doggy day care center via their web cam.  This weekend I upgraded to Lion and have been unable to view the center.  I get an error message for Java plug-in 1.6.0_29 ....webcam class not found.  Any suggestions on how to fix this?

    Sorry, don't know what else to suggest unless there's a URL to the problem stream that someone here can try. Otherwise we can't test it to try and determine what might be wrong.
    BTW, make sure they're testing it with a Mac, not with a Windows system. If they test only with Windows, what they say is or is not working doesn't mean much.
    Regards.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Error Message For BISystemUser: User not authenticated

    We have migrated from DEV to PROD env.(11.1.1.1 -> 11.1.1.3). Along problems with bipublisher - there are some strange thingths: we successfully loging using weblogic account into AdminConsole и Enterprise Manager, but in Answers we get an error: invalid username or password.
    nqserver.log:
    ...[ERROR:1] [] [] ... [tid: 1090] Error Message For BISystemUser: User not authenticated.
    ...[ERROR:1] [] [] ... [tid: 1090] [nQSError: 43126] Authentication failed: invalid user/password.
    In oracle support we found such issue (Doc ID 1308389.1):
    OBIEE 11g Error: "Unable to Sign in. invalid username or password was entered" After Changing Repository, Deleting BISystem User, Adding it Back (Doc ID 1308389.1)
    Applies to: Business Intelligence Server Enterprise Edition - Version: 11.1.1.3.0 [1905] to 11.1.1.5.0 [1308] - Release: 11g to 11g
    Symptoms: In OBIEE 11.1.1.3.0 using default authenticator, it is not possible to log in to OBIEE after changing repository. To troubleshoot, BIsystemuser was removed from global roles and added back again.
    Getting error: Unable to Sign in. invalid username or password was entered
    Changes: Changed repository, deleted BISystemuser, added the user back
    Cause: Several changes e.g changing rpd, deleting bisystem user, adding the user back etc. occurred in the environment and caused log in to OBIEE to stop working
    Solution: After a lot of troubleshooting e.g re-starting system in the correct order, refreshing GUIDs, re-start OBIEE with default SampleAppLite.rpd and web catalog, the error persists. The system was uninstalled and re-installed to avoid further corruption and configuration problems in the new installation. This resolved the problem
    Does we have to 'reinstall or make a lot of troubleshooting e.g re-starting system ' to solve this error?
    It seem to be funny for PROD environment. How we cam resolve this problem?

    Are you saying you upgraded both dev and prod from 11.1.1.1 to 11.1.1.3 or that you migrated a dev 11.1.1.1 to a prod 11.1.1.3? What did you migrate?
    At a rough guess the BISystemUser password is different in dev and prod (created by system on install) and in your 'migration' you've moved the dev credential across to prod.
    If that's the case you need to change the bisystemuser password to something known and update the credential store password.
    Another possibility might just be that you need to regenerate the GUIDs:
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10543/privileges.htm#BIESC721

  • Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5

    imac 2.66 Ghz, Intel Core i5, OS 10.6.4.
    Error message for Adobe AIR 2.0.3 while trying to run Dreamweaver CS5:
    Adobe Air
    the installation of this app is damaged. Try re-installing or contacting the publisher for assistance.
    Tried several times to uninstall and reinstall from fresh download to no avail.
    I'm finding the instructions in the trouble shooting area a tad esoteric.
    Will there be an update to the installer released soon?

    Hi,
    I'm assuming your having troubles installing the 2.0.3 runtime?  If so, can you please try the instructions in this post?
    Thanks,
    Chris

  • Error message for  Unable to connect (BIB-16633)

    Dear All
    I use Oracle Jdeveloper10g (win32), Oracle database10g or 9i (win32 ver). But Failure to connect to OLAP service.
    Can anyone give me what is the error message for BIB-16633.
    Would be really grateful if you could give me a solution as soon as possible.
    Thanks & Regards,
    Mr.Tsang. Hong Kong

    For database versions you need to have at least 9206 for 9i and 10.1.0.4 for 10g. This requires you to apply the 9206 patchset to 9i and the 10.1.0.4 patchset to the 10g base install.
    Please note there are a lot of steps invloved in the patching process and you must make sure you have completed all the steps before creating your OLAP schema. Most problems occur because the patching process is incomplete and the OLAP option is in an invalid state.
    You can check the state of the OLAP option using the following commands in SQLPlus:
    column comp_name format a35
    SELECT comp_name, status, substr(version,1,10) as version
    from dba_server_registry order by modified;
    Once the OLAP option is in a valid state, then you must ensure the OLAPSYS account is unlocked. To test the OLAP environment you can install the BI10G sample schema which will create a new user account called CS_OLAP which contains an Analytic Workspace.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

Maybe you are looking for

  • How can I set FF to refresh each time I visit a website rather than using the cached version?

    I changed a photo in an online database, but can't get it to display the new photo. Tried logging out of the database entirely. IE has an easy setting for always refreshing. Where is that in FF?

  • LMS1 (ospid: 7829): terminating the instance due to error 4031 ????

    Single Instance out of 5 node cluster Oracle 11g 11.1.0.7 crashed with the below error..Plz help Errors in file /ora00/app/oracle/diag/rdbms/ngprod/ngprod2/trace/ngprod2_lms1_7829.trc: ORA-04031: unable to allocate 4160 bytes of shared memory ("share

  • Can't add any Gmail account to Palm Pre anymore

    I recently removed my Gmail account in an attempt to resolve my inability to send outgoing email (an issue that came out of nowhere). Now, I can't reinstall any Gmail account. The username and password are correct and I have enabled IMAP. When I atte

  • TODATE function

    Hi, when i use todate function in the logical column TODATE(Core."Fact - HR - Payroll".PAY_ITEM_AMT, Core."Date"."Year") getting the following error. Query Status: Query Failed: [nQSError: 22046] To use TODATE function, the query level ('Year, Fiscal

  • Restart successful Message in PI

    Hi All, I have a scenario where we created a BPM which calles three RFC's in sequence on ECC side one by one. The response of first RFC is the request for Second RFC. Now we have a situtaion where our FA says if the Third RFC call is failed, she shou