I want to enhance customer(XD01) with BADI screen

hai sap-abap gurus
I want to enhance customer(XD01) with BADI screen to populate custom fields and store its information. can anybody tell how to find out proper BADI for screen enhacement ? and how to Implement?
pls tell me the detailed steps?

Hi,
1) Use the BADI's CUSTOMER_ADD_DATA & CUSTOMER_ADD_DATA_CS.
CUSTOMER_ADD_DATA -This BADI used to activate the screen group and checks for account group
CUSTOMER_ADD_DATA_CS -This BADI used to include the custom screen.
  2)Your code group need to be configure in SPRO before doing the work.
Regards
Kiran Sure

Similar Messages

  • Want to Generate custom logs with Log4J within Java Embedding activity

    Hi Gurus,
    i want to Generate custom logs with Log4J within Java Embedding activity. For that i have performed some steps, but the log file has not been created.
    ServerSide Configuration:
    *===============*
    1. I have copied the log4j-1.2.15.jar file to the "oracle.soa.ext_11.1.1" location and recreate the oracle.soa.ext.jar file using an-script, which appends the log4j.jar file to the classpath.( That was created successfully)
    2. Specify a File location in log4j.xml for creating the log file. (e.g. (<middleware_home>/config/customLog.log)
    3. Then create a folder and add log4j.xml and log4j.dtd file under the folder.
    4. Modify the startManagedWeblogicServer by adding JAVA_OPTIONS="-Dlog4j.configuration=<middleware_home>/config/log4j.debug.xml”
    5. Then restart the SOA server.
    log4j.xml :
    I have used fileAppender.
    DevelopmentSide Configuration:
    *===================*
    1. Create synchronous BPEL process and Add "JAVA Embedding Activity" inbetween receiveInput and replyOutput activity.
    2.Import the log4j-1.2.15.jar to the project libs
    3.In the BPEL source code, import the Logger class.
    4.Insert the code in the JAVA Embedding Activity
    Logger logger = Logger.getLogger("CustomLog");
    logger.info("CustomeLog " + getTitle());
    Compile and deploy the project into the SOA_server and test it. Test status is completed but log is not created in the mentioned location.
    Ref: http://blog.andrade.inf.br/search/label/Log4j
    Is there any other way to achieve this requirement. Please suggest.
    Thanks in Advance,
    Sharmistha

    You can try this.
    http://veejai24.blogspot.co.uk/2008/04/simple-way-to-implement-log4j-in-your.html
    Thanks,
    Vijay

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • Help in ECC 6.0 - Enhancements and Modification with BADI

    Hi,
    I want <b>Enhancements and Modification help in ecc 6.0 and BADI also</b>..
    Plz tell me as soon as possible....
    Regards,
    <b>Anil Kumar</b>

    Try this one:
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/frameset.htm
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    Regards,
    Naimesh Patel

  • Creating / updating Custom infotype with different screen

    Hi All,
    I have created custom infotype having different screen for different subtype(1,2).
    From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
    Thanking you..
    Best regards
    Akshay

    Hi All,
    I have created custom infotype having different screen for different subtype(1,2).
    From Subtype 1, indotype is automatically updated as it is a standard program. But for subtype 2 i am using HR_INFOTYPE_OPERATION for updating the record which is ending with error, as employee which i am trying to update is already locked by me only through PA30. So this function module ends with Complex error. Please suggest how to update the infotype with subtype 2.
    Thanking you..
    Best regards
    Akshay

  • Enhancing Customer Reports with Commands... On EP 7 SP 15??

    Has anyone had any luck implementing the the sample project, AccessStatisticApplication, on EP 7, SP 15?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
    I am using, SAP NetWeaver Developer Studio Version: 7.0.15
    I believe I corrected the incorrect class paths, no errors are showing before I create the PAR file.
    When I go into Content Managment- Reports, the name of the report is showing "documents.statistic" instead of the "Document Access Report" like the example shows. There is also now description.
    When I try to start the report it... I get the following error:
    Exception class: class java.util.MissingResourceException
    java.util.MissingResourceException: Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US
            at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838)
            at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
            at java.util.ResourceBundle.getBundle(ResourceBundle.java:701)
            at com.sapportals.wcm.util.resource.ResourceBundles.getBundle(ResourceBundles.java:152)
            at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:88)
            at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:106)
            at com.sap.netweaver.km.stats.reports.DocumentAccessReport.getDescription(DocumentAccessReport.java:287)
            at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.getDescription(ReportComponent.java:256)
            at com.sapportals.wcm.repository.manager.reporting.types.RPReportHandler$DescriptionGen.getProperty(RPReportHandler.java:175)
            at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:110)
            at com.sapportals.wcm.repository.manager.reporting.types.RPPropHandler.getProperties(RPPropHandler.java:143)
            at com.sapportals.wcm.repository.manager.reporting.RPPropertyManager.getProperties(RPPropertyManager.java:83)
            at com.sapportals.wcm.repository.ResourceImpl.internalGetProperties(ResourceImpl.java:3773)
            at com.sapportals.wcm.repository.ResourceImpl.internalGetPropertiesExtended(ResourceImpl.java:1327)
            at com.sapportals.wcm.repository.ResourceImpl.getProperties(ResourceImpl.java:1292)
            at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:425)
            at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilter.getChildren(ResourceListFilter.java:420)
            at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initialfilter(AbstractRendererStatus.java:331)
            at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initializeSelectionList(AbstractRendererStatus.java:301)
            at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initialize(AbstractRendererStatus.java:287)
            at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.setParent(AbstractRendererStatus.java:99)
            at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:911)
            at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:598)
            at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:164)
            at com.sapportals.wcm.rendering.layout.cm.MenuTreeListLayoutController.render(MenuTreeListLayoutController.java:127)
            at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1831)
            at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
            at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
            at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
            at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
            at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
            at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
            at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
            at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
            at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
            at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
            at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
            at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
            at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:282)
            at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:660)
            at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
            at com.sapportals.htmlb.Container.preRender(Container.java:120)
            at com.sapportals.htmlb.Container.preRender(Container.java:120)
            at com.sapportals.htmlb.Container.preRender(Container.java:120)
            at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)
            at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
            at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
            at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
            at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
            at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:77)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
            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)

    So another problem I encountered.
    Everything seemed to be working fine.
    When I ran the report on a KM rep, all values were populating fine. unique, count, last access.. etc...
    Then after adding the Repository Service to another KM rep, the whole thing stopped working.
    Now only the Modified State is populating correctly.
    Any ideas? Something to do with the Application Service... Or a KM setting I am guessing.
    I tried starting from scratch again. Removed the Repository services and report, re-uploaded the original PAR file and re-did all the setup work that I original had done to get it working.
    No go.
    Edited by: Paul Mikota on Jun 23, 2008 4:12 PM

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • KM Activity Reporting  --  Enhancing Customer Reports

    Hello friends,
    I have a quick query on KM activity reporting . I came across this article by name  "Enhancing Customer Reports with Commands and Parameters" by Thilo Brandt dated 11th July 2006 .
    Here is the link to the article
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
    I would like to know if deploying the code given in the article would directly produce the report given in the article . Is this a fully functional code ? I am asking this because i have not come across any User Interface code in the example . Please respond with your comments at the earliest .
    Many thanks in advance
    Subra

    Hi Subra,
    look in the file DocumentAccessReport.java
    and take a look in the middle of the file :
    // reporting properties
    protected static final List m_resultPropertyNames;
    protected static final IPropertyName m_propDisplayname;
    protected static final IPropertyName m_propUniqueUserCount;
    protected static final IPropertyName m_propTotalCount;
    protected static final IPropertyName m_propLastAccessed;
    protected static final IPropertyName m_propLastModified;
    Regards, Kai

  • Customer Invoice with item numbers without OM installed.

    Hi
    We would like to know if we want to import customer invoices with items and there is no Order Management module.
    How items would be validated. Can this be done through item validation org and if yes, what setups are required and in which module.
    Regards,
    Ish
    Edited by: user12190893 on Jan 16, 2012 3:22 PM

    Hi,
       I want to create Customer Invoice (DR) with the BAPI BAPI_ACC_DOCUMENT_POST. Can you tell me if you realize this project?
    Best regards

  • KM ctivity reporting  --  Enhancing Customer Reports

    Hello friends,
    I have a quick query on KM activity reporting . I came across this article by name  "Enhancing Customer Reports with Commands and Parameters" by Thilo Brandt dated 11th July 2006 .
    Here is the link to the article
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0
    I would like to know if deploying the code given in the article would directly produce the report given in the article . I am asking this because i have not come across

    Hi,
      After deploy it, if you go to: Content Management->Report->Document Access Report->Schedule and planning its running.
    Then if you click in the name of this report, you can see the result (xml files) of this execution.
      Also, from System Administration->Monitoring->KM->Running Reports->you can see all reports that are currently running on all KM servers
    Patricio.

  • Listening to iTunes with the screen Flipped down?

    This really bugs me.
    I don´t want my downloads to stop if i flip down the screen.
    I want to Listen to iTunes with the screen Flipped down, how do I do it?

    There are software downloads to allow you to run your MacBook with the lid shut because I had the same question(s). It is not recommended at all, however, because the heat from the running MB with the lid closed can cause damage to your LCD. Just dim the screen all the way and then close it as much as possible without shutting it. Hope this helps!

  • I want to enhance screen using BADI

    hello sap guru
    i want to enhance screen using BADI.can i enhace screen with out using SPRO transaction? is abap consultant have authorization for SPRO trasaction?

    Hi Swamy,
    You can do the same without SPRO configuration.
    For example for purchase order screen exit there will be no configuration required in SPRO.
    Basically the main difference in scenarios come depending on the type of transactions using.
    For example when using master data transactions such as MM01,XD01 etc we do have configurations do be done in SPRO.
    But while using transactional data transactions such as VA01,ME21 etc we can do directly without any configurations by using customer exits such as MM06E005(for me21n).
    Why this difference occurs i also dont know.I thought it would be of some useful to you to some extent.Do share if you find why this difference occurs.
    Have a nice day.
    Thanks,
    Surya

  • Enhance search functiponality with custom fields

    Hi Experts,
    I want to enhance component PRD01QR/Search with custom field in order to allow seraching for it. It is enhanced via set type. Please could you send me steps how to dpo it?
    Thanks,
    Juraj

    Hello,
    Maybe this helps:
    http://scn.sap.com/thread/3151887
    Best regards,
    Thomas Wagner

  • Hi i want to ceate customer through bapi with external no range not implici

    hi i want to create customer through bapi which facilitates to enter customer code(our own defined not the sequentially next no.)
    i have gone through F.M BAPI_CUSTOMER_CREATEFROMDATA1 BUT NOT ABLE TO UNDERSTAND HOW TO INPUT PARAMETER FOR CUSTOMER_CODE.
    PLEASE GUIDE ME IF ANY ONE AWARE ABOUT THAT.
    THANKS
    Moderator message: please don't use all caps from now on.
    Edited by: Thomas Zloch on Aug 4, 2010 6:12 PM

    If the iTunes database files are on that drive, launch iTunes with the Shift key(Windows) or Option key(Mac OS X) held down, select Choose Library, and navigate to it. The computer may need to be authorized to play protected content, and if the library contains rented movies, those won't play.
    If not, import the content to an iTunes library.
    (100371)

  • I have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    hi,
    i have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    i am using the below code only
     SPSite mySite = new SPSite("http://sharepoinsiteaddress");
    SPWeb myweb = mySite.OpenWeb();   
    SPList myList = myweb.Lists["Announcements"];   
    SPListItem myListItem = myList.GetItemById(1);   foreach (String attachmentname in myListItem.Attachments)
    String attachmentAbsoluteURL =    myListItem.Attachments.UrlPrefix // gets the containing directory URL
       + attachmentname;
       // To get the SPSile reference to the attachment just use this code
      SPFile attachmentFile = myweb.GetFile(attachmentAbsoluteURL);
       // To read the file content simply use this code
       Stream stream = attachmentFile.OpenBinaryStream();    StreamReader reader = new StreamReader(stream);
       String fileContent = reader.ReadToEnd();
    here i am using panel, how can i attach this attached image to panel

Maybe you are looking for

  • Upgrade from PPC G5 to MacBook Pro (Intel)

    Can iTunes and iPhoto be transferred from non Intel Mac to Intel Mac?

  • Question about TNSNAMES and EZCONNECT

    I have 10.2.0.4 EE, RAC + Data Guard. From an app server, I issue the following: +$tnsping database1+ TNS Ping Utility for Solaris: Version 10.2.0.4.0 - Production on 14-JAN-2013 12:37:36 Copyright (c) 1997,  2007, Oracle.  All rights reserved. Used

  • SAP WM-Stock Placement Strategy "P"

    Hi Gurus While using stock palcement strategy "P" "by storage  Unit Type" we are dividing bins to  section like Stoarge Type  Section   No of itms  231                 A               3                 1       2     3 is this code need to append to t

  • Solution for Sale of Property in REFX

    Hi Team How would you map the process of  construction and sale of real estate - Apartments ( for eg,).In the process provide for visuals on Apartments blocked and available..... Thanks Kartik

  • FCP and closed captioning

    can i create closed captioning on FCP studio?