IB52 Enhacement - Locating Modified Component

Hello,
I am developing enhancement to IB52 transaction. Whenever user changes business partner of component and click on save. I need to identify which component is modified and update corresponding components contracts business partner. I have modified IBASE_SAVE badi but I could not able to locate which component is modified by user. Is there any other badi and function module which will provide me details of which component is modified by user during IB52 transaction modification?
Regards
Prasad Naik

Hi Prasad,
Thanks for the time spending on the query.I have a req on Ibase to copy partner number to external id and partner name to description of ibase header for which I am implementing BADI IBASE_SAVE and got all details but unable to find the functionmodule to update the data.
Can u pls help me in this regards as u have worked and solved ur issue.
Its would be gr8 help and appreciated .
Thanking you,
sree.

Similar Messages

  • IB52 Enhancement  - Locating Modified Component

    Hello,
      I am developing enhancement to IB52 transaction. Whenever user changes business partner of component and click on save. I need to identify which component is modified and update corresponding components contracts business partner. I have modified IBASE_SAVE badi but I could not able to locate which component is modified by user. Is there any other badi and function module which will provide me details of which component is modified by user during IB52 transaction modification?
    Regards
    Prasad Naik

    Hi Prasad,
    Thanks for the time spending on the query.I have a req on Ibase to copy partner number to external id and partner name to description of ibase header for which I am implementing BADI IBASE_SAVE and got all details but unable to find the functionmodule to update the data.
    Can u pls help me in this regards as u have worked and solved ur issue.
    Its would be gr8 help and appreciated .
    Thanking you,
    sree.

  • I can't run itunes or install updates now due to teh MSVCR80.dll file not found and APS Daemon.exe being nable to locate a component ofn Windows vists.  A MS user suggested uninstalling all Apple programs.  I did this but could not uninstall the Apple Mob

    I have been getting error messages  .n MS windows the APS Daemon ,exe is unable to locate a component and the itunes updates and program failed to start because MSVCR80,dll was not found.  As advised I have uninstalled all Apple Inc. programs except the Apple Mobile Device program.  Then I reinstalled itunes but still get the errors and can't run itunes.  Advice....

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Service Locator EJB Component - Clustering -oracle9iAS

    hi all,
    Anyone has idea on how to implement the service locator (EJBHomeCache) component to make it cluster aware. I am using the oracle9iAS server.
    thanks,
    Viral

    Anyone has idea on how to implement the service
    locator (EJBHomeCache) component to make it cluster
    aware. I am using the oracle9iAS server.What do you mean when you refer to cluster awareness?

  • Set location of component in a container

    I'm looking for a way to exactly specify the location for a component in a container.
    For example let's say i have some JPanel and i want to add a JButton to it at coordinates x=100, y=50.
    Is this even possible?
    All the lay out managers seem to prevent this because they auto-arrange the components in the container.

    You can try to use something like this:
    import java.awt.Container;
    import java.awt.Insets;
    import java.awt.Dimension;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class AbsoluteLayoutDemo {
        public static void addComponentsToPane(Container pane) {
            pane.setLayout(null);
            JButton b1 = new JButton("one");
            JButton b2 = new JButton("two");
            JButton b3 = new JButton("three");
            pane.add(b1);
            pane.add(b2);
            pane.add(b3);
            Insets insets = pane.getInsets();
            Dimension size = b1.getPreferredSize();
            b1.setBounds(25 + insets.left, 5 + insets.top,
                         size.width, size.height);
            size = b2.getPreferredSize();
            b2.setBounds(55 + insets.left, 40 + insets.top,
                         size.width, size.height);
            size = b3.getPreferredSize();
            b3.setBounds(150 + insets.left, 15 + insets.top,
                         size.width + 50, size.height + 20);
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("AbsoluteLayoutDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Set up the content pane.
            addComponentsToPane(frame.getContentPane());
            //Size and display the window.
            Insets insets = frame.getInsets();
            frame.setSize(300 + insets.left + insets.right,
                          125 + insets.top + insets.bottom);
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }pane.setLayout(null) will give you what you want.

  • Location of Component Inspector tool in EP7

    Hello,
    I would like to know where the <b>component Inspector tool</b> is located in EP7 portal.  I have uploaded a PAR file, but I can’t find the “Component Inspector” tool to run it.  Before, this tool used to be inside the “Java Developer” Role, but we don’t have that role available in our portal.
    Basically, our requirement is to execute a PAR file that we have uploaded? How to do that?
    Thank you.
    R

    Hi,
    It should be installed. Check:
    System Administratio -> Support -> Support Desk -> PCD -> PCD Inspector
    or:
    http://server:port/irj/servlet/prt/portal/prtroot/com.sap.portal.pcd.admintools.pcd_inspector.default
    br,
    Tobias

  • Cannot locate Modified folder.

    I recently bought a new iMAC and have imported my photos I stored on my portable hard drive. It seems the Modified folder was present at first but now I cannot locate it on the side bar with the Library, Recent, and Albums lists. To complicate things, I installed Photoshop 8 and tried to make some basic edits, just to try to learn how everything works.
    I saved a few photos as new files (new names) but they did not show up on iPhoto. When I tried to import them, a message came up saying they were already in the iPhoto Modified folder. Anyone have any idea what is going on?
    Thanks.

    Primary rule - NEVER make any changes of any sort to the contents or structure of the iPhoto library
    Secondary rule - there is no reason to ever directly access the contents of the iPhoto library
    iPhoto is a relational database and it must totally control its data - all access and changes must be done using iPhoto
    click here for a discussion on correctly and safely accessing your photos.
    To use Photoshop as an editor set it as the external editor in the iPhoto preferences - now editing a photo will properly send it to PS and saving is in PS (Not save as) will properly return it to iPhoto and properly update the database records
    right clicking (control clicking) on a photo will allow you to choose PS or iPhoto as the editor
    LN

  • Help with locate a component in a container

    Hello everyone,
    I want to set a JButton in a specific location in a JPanel. But I have no idea about this.
    I tried to use JButton.setLocation or setBounds(). But it doesn't work.
    import java.awt.*;
    import javax.swing.*;
    public class test1 extends JFrame{
         JButton b=new JButton("test");
         JPanel p=new JPanel();
         test1(){
              b.setBounds(100,100,20,20);
              p.setBounds(0,0,200,200);
              p.add(b);
              getContentPane().add(p);
              setBounds(0,0,200,200);
              show();
         public static void main(String args[]){
              new test1();
    What is the problem.
    Thank you

    test1(){
    getContentPane().setLayout(null);
    b.setBounds(100,100,20,20);

  • Using visual editor with a modified component...

    Hi,
    I'm creating an MDI application with eclipse.
    I'm using Visual editor plugin;
    Now I've two visual class like this:
    public class CommonFrame extends JInternalFrame {
      public CommonFrame(){
        super();
    public class specificFrame extends CommonFrame {
      public specificFrame(){
        super();
    }Now when I open specificFrame class in eclipse, Visual editor try to load GUI interface, but it fails to do this and show me this error:
    java.lang.NoSuchMethodException(gui.CommonFrame.<init>())
    I grant the code works fine;
    the only problem is I must modify GUI class manually or
    I must change the code "extend CommonFrame" into "extend JInternalFrame", then graphically modify the class, and then re-change the code.
    Is there a way to resolve the above error?
    Thank you in advance.
    MargNat

    My class has a no-args constructor, that is:
    public specificFrame(/* no args */)
    According to this error message:
    java.lang.NoSuchMethodException(gui.CommonFrame.<init>())gui.CommonFrame doesn't.

  • Modifying component tree after validation failures

    I'm reworking a JSF web app to use JSF's validation capabilities. As it is now, the validation all occurs in various action methods, during the invoke application phase. I volunteered to do this update to separate the business processing code from the data validation code as well as take advantage of the fact that using JSF validation guarantees that the data in the model won't be updated unless the user data is valid.
    So, I've run into one thing that I can't figure out how to accomplish using JSF's validation capabilities.
    Here's the old form...
    <!-- CITY -->
    <h:inputText id="city" value="#{userDetailsBean.city}" rendered="#{userDetailsHandler.showCityInput}"/>
    <h:selectOneMenu id="cityFromList" value="#{userDetailsBean.city}" rendered="#{userDetailsHandler.showCityList}">
        <f:selectItems value="#{userDetailsHandler.cityDropList}"/>
    </h:selectOneMenu>
    <!-- STATE -->
    <h:selectOneMenu id="state" value="#{userDetailsBean.state}">
        <f:selectItem itemValue="#{null}" itemLabel=""/>
        <f:selectItems value="#{userDetailsHandler.statesList}"/>
    </h:selectOneMenu>
    <!-- ZIP -->
    <h:inputText id="zipCode" value="#{userDetailsBean.zipCode}"/>Note that there are two components representing the city. When the form is first presented, the inputText is shown. Then, if the address doesn't validate, we present the selectOneMenu after filling userDetailsHandler.cityDropList with the appropriate city options (based on the zipcode).
    So, can anybody think of a good way (from within a custom JSF validator) to set the appropriate properties in userDetailsHander in order to make the selectOneMenu render and show the proper options? Feel free to suggest a change in architecture as well. I'm not stuck on using this userDetailsHandler that was previously in use.
    I figure I could always right a custom validator that takes in a bean as an attribute in the tag and the bean. On a validation error, the validator could then setup the appropriate properties in the bean. This just seams a little hacky.
    By the way, the validator will probably be written to take in the names of the city, state, and zip components. I'm following the multi-component validator idea that is presented in Core Java ServerFaces, 2nd Edition. (The validator takes in the component names, which it uses to get the local values, then performs multi-component validation work.) I guess I could pass both the cityTextInput and cityListInput components into the validator, right?

    Here's what I have so far for my validator's validate() method. Some stuff has been omitted to make this a smaller code chunk. I've attached this validator to the zip component.
    public void validate(FacesContext facesCtx, UIComponent uiComponent, Object value)
                   throws ValidatorException {
        // get a handle to the other components
        // city
        UIComponent cityTextComp = uiComponent.getParent().findComponent(cityTextComponent);
        EditableValueHolder cityValHolder = (EditableValueHolder) cityTextComp;
        // state
        UIComponent stateComp = uiComponent.getParent().findComponent(stateComponent);
        EditableValueHolder stateValHolder = (EditableValueHolder) stateComp;
        String city  = (String) cityValHolder.getLocalValue();
        String state = (String)stateValHolder.getLocalValue();
        String zip   = (String) value;
        System.out.println("Validating " + city + ", " + state + " " + zip);
        boolean isValid = GenericValidator.validateAddress(city, state, zip);
        if (isValid) return;
        // assume this is an invalid city for the zipcode given
        // I've removed the code for the other possibilities since it
        // doesn't pertain to my issue here
        // Setup the city list
        UIComponent cityListComp = uiComponent.getParent().findComponent(cityListComponent);
        UISelectOne cityListSelectOne = (UISelectOne) cityListComp;
        List<String> cities = GenericValidator.listCitiesForZip(zip);
        // add the appropriate items to the selectOneMenu
        for (String c: cities) {
        // WHAT DO I DO HERE?
        cityListComp.setRendered(true);
        cityTextComp.setRendered(false);
        // now signal a validation exception
        FacesMessage msg = <some faces message>;
        throw new ValidatorException(msg);
    }If I can just figure out how to add the appropriate items to the h:selectOneMenu from within the validator code I presented, I'm home free, I think.

  • When location of component changed on screen?

    Hi,
    I have Code that brings up a message in a JDialog under a JTextComponent. I calculate the bottom - left point of the TextComponent and set my Dialog to show up there. However I have a problem keeping it there when the window moves, the TextComponent moves or One of it's parents moves.
    I need something that will tell me when the location on screen of the TextComponent changes.
    Thanks,
    Shaul

    AncestorListener#ancestorMoved seems to work just fine.import java.awt.Color;
    import java.awt.FlowLayout;
    import java.awt.Point;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusListener;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTextField;
    import javax.swing.JWindow;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.border.LineBorder;
    import javax.swing.event.AncestorEvent;
    import javax.swing.event.AncestorListener;
    public class TestGUI {
       public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                new TestGUI().makeUI();
       public void makeUI() {
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setSize(400, 200);
          frame.setLayout(new FlowLayout());
          frame.add(new TextFieldWithPopup(10));
          frame.add(new TextFieldWithPopup(20));
          frame.setLocationRelativeTo(null);
          frame.setVisible(true);
    class TextFieldWithPopup extends JTextField {
       JWindow message = new JWindow();
       private JLabel label;
       public TextFieldWithPopup(int columns) {
          super(columns);
          addFocusListener(new FocusListener() {
             @Override
             public void focusGained(FocusEvent e) {
                message.setVisible(true);
             @Override
             public void focusLost(FocusEvent e) {
                message.setVisible(false);
          label = new JLabel("This is the popup");
          label.setOpaque(true);
          label.setBackground(UIManager.getColor("ToolTip.background"));
          label.setBorder(new LineBorder(Color.BLACK));
          message.add(label);
          message.setAlwaysOnTop(true);
          addAncestorListener(new AncestorListener() {
             @Override
             public void ancestorAdded(AncestorEvent event) {
             @Override
             public void ancestorRemoved(AncestorEvent event) {
             @Override
             public void ancestorMoved(AncestorEvent event) {
                Point p = getLocationOnScreen();
                message.setSize(getSize());
                message.setLocation(p.x + getWidth(), p.y + getHeight());
    }db

  • Unable to locate DE component

    The reports builder on my machine was working fine till lastweek & all of a sudden it starts giving me this error.
    The only change that happened was I moved from one building to a new building all of which are in the same network.
    Not sure if its a network related issue, can anyone plz help ?

    Hello,
    A DLL called DE.DLL is required by the Reports Builder
    -> Check if this DLL exists in ORACLE_HOME/bin
    If it exists, create a BAT file to start trhe reports builder :
    Example of BAT file :
    set ORACLE_HOME=d:\oracle\ods1012
    set CLASSPATH=
    set PATH=%ORACLE_HOME%\jdk\jre\bin\classic;%ORACLE_HOME%\jdk\jre\bin;%ORACLE_HOME%\jdk\jre\bin\client;%ORACLE_HOME%\jlib;ORACLE_HOME% \bin;%ORACLE_HOME%\jdk\bin;%ORACLE_HOME%\jre\1.4.2\bin\client;%ORACLE_HOME%\jre\1.4.2\bin;
    rwbuilder.exe
    Regards

  • WdDoModifyView() to modify Context Value mapped to WD component

    How to modify  Component (Dropdown , RadioButtonGroupByKey) during runtime in wdDoModifyView() to manipulate the list of Values mapped from Context element?
    For Example : Context Node Element has a value List {1,2,3,4,5,....} , but allow only value{1,3,6,..} to map .
                        Please let me know , if some one has the code.
    Thanks

    What is the exact scenario? Because once you modify the SimpleType you will be not holding the old values. If you want to maintain the original list as it is then using Supply function is a good idea as Maksim suggested.
    If you are ok to modify the actual source then you can try this:
              IWDAttributeInfo atribInfo = wdContext.getNodeInfo().getAttribute("listvalues");
              ISimpleType simpleType = atribInfo.getModifiableSimpleType();
              IModifiableSimpleValueSet simpleValSet = simpleType.getSVServices().getModifiableSimpleValueSet();
              simpleValSet.removeKey("key");
    //you can use various methods available in <a href="https://help.sap.com/javadocs/NW04/current/dr/com/sap/typeservices/IModifiableSimpleValueSet.html">IModifiableSimpleValueSet</a> to add, delete the values.
    Regards
    Abhilash

  • Deploying the Modified ESS software component

    Hi All,
    I am in little confusion. Hope you all experts can help me through this.
    I modified essussap.com and had it build on my local machine.                                                                                On my portal EP 7.0 Our basis team had imported the complete ESS component which is not modified.
    The track which I used for modification do not have a runtime system configured.
    If I would go head and deploy the modified component using SDM would it replace the original essussap.com which was imported earlier.
    Or do I have to undeploy the essussap.com from portal and deploy the modified one.
    Your suggestion is highly appreciated.
    Thanks,
    James

    Hi James,
         I also want to edit the ESS Standard package for customer requirements like minimising the steps invloved in leave approvals. I am in need of the documents or links to be followed for editing the standard ESS package.
    Can you please help me and if you have any documents can you please share it with me.
    Thanks in advance
    Ponnusamy P

  • BADI for storage location restriction in IW32

    Dear All,
    I am working on one scenario in this user has to get the error message :-
    1. Whenever he doesn't enter the Storage Location in Component Tab (in IW32) and also he should not be able to save the Maintenance Order.
    2. There is ZTABLE (ZTPM058) , if there is no entry of the Storage location in the ZTABLE then also he should get the error.
    I have used the BADI BADI_DI_PCS2_1 to do this but the problem is when the user enter the component manually then it works fine , but when he selects the component from List button (it is in the bottom of the component tab screen) , then this BADI doesn't work correctly.
    Basically when the user selects component from List  then it should first put data into the component tab and then give the error . but this is not happening.
    Please suggest what can be done.
    Below is the code that I have  written :-
    l_ucomm = sy-ucomm.
    if diad_resbd-MENGE is not INITIAL.
      SELECT SINGLE ingpr         "Plant Section
                    lgort         "Storage Location
              INTO  (l_ingpr,
                    l_lgort)
              FROM  ztpm058
             WHERE  lgort = diad_resbd-lgort
               AND  ingpr = diad_caufvd-ingpr.
      IF sy-subrc <> 0.
    if l_ucomm <> 'IMKL'. 
       CONCATENATE 'FOR ITEM NO'        diad_resbd-posnr
                   ', COMPONENT'                   diad_resbd-matnr
                  'AND PLANNER GROUP'       diad_caufvd-ingpr
                 'THERE IS NO STORAGE LOCATION'  diad_resbd-lgort INTO txtmgs SEPARATED BY space.
        clear l_ucomm.
        clear sy-ucomm.
        MESSAGE txtmgs TYPE 'E' .
        elseif l_ucomm = 'IMKL'. (OK CODE when user press List button)
             CONCATENATE 'FOR ITEM NO'       diad_resbd-posnr
                        ', COMPONENT'                   diad_resbd-matnr
                        'AND PLANNER GROUP'      diad_caufvd-ingpr
             'THERE IS NO STORAGE LOCATION'  diad_resbd-lgort
    INTO txtmgs SEPARATED BY space.
        clear l_ucomm.
        clear sy-ucomm.
        MESSAGE txtmgs TYPE 'W' .
        endif.
        endif.
        ELSE.
        message 'Please enter the Quantity' type 'W'.
        clear l_ucomm.
        clear sy-ucomm.
        endif.
    Thanks and Regards,
    Rachit Khanna

    Dear Rajesh Kumar Raju
    Go to IMG-->Logistics Execution >Shipping> Picking -->Determine Picking Location -->Define Rules for Picking Location Determination.  There you have to assign the MALA rule to your delivery type
    Also maintain in OMJ8 and in material master under MRP2 view the default storage location in the field "Prod. stor. location"
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • How do I delete or edit an event on my calendar?

    When viewing the details of the event I do not see an "edit" button.  I tried swiping the event to get a MSG box asking to delete but that did not work either.  I'm having issues with iCal syncing through iCloud, wonder if this is related ?  Worth no

  • IPhone 5 not showing up in my list of devices

    When I view my list of devices at https://supportprofile.apple.com/MySupportProfile.do and in iTunes my new iPhone 5 doesn't show up among the devices.  I have iTunes match turned on and I am using the same iTunes account information.  I'm able to se

  • Problem using af:inputfile when only file name is given without path.URGENT

    Hai Friends, I am using input file type and <h:commandLink to upload a file. But when I type only the file name without the path like(hello.jpg) and try to submit then a javascript error occured "Access is denied". But my requirement is when i type w

  • Forms 6i: working with Microsot access database

    I have developed a form that works with a Microsoft Access database instead of an Oracle database (I use ODBC). The form has a block based in a table named dias and this block has a column named dia based in the column dia. When I try to compile this

  • Getting Eigenvectors of a large array for PCA analysis

    Hi, I am writing code for PCA analysis based on Karhunen-Loeve decomposition. This involves getting eigenvalues and eigenvectors of a very large array i.e. 944x944. I'm getting the error -20062 which indicates that I have exceeded the maximum iterati