Getting components of equnr in nested IBAUs

Dear experts,
I have to get the BOM components of a equipment number (equz-equnr).
The problem is how do I get the data if there are nested IBAUs?
I dont even know what IBAUs are?
can some body please give me some info on IBAUs and how to get the components if they are nested.
Thank you all in advance.
goldie.

Hello Goldie,
IBAUs are "Instandhaltungsbaugruppen". IBAU (Maintenance assemblies) is a material type delivered by SAP. This material type will often be used for header materials of material BOM in plant maintenance). You have to use the following tables, to get the informations:
EQST - equipment bom header
MAST - material bom header
STKO - bom header
STPO - bom items
For each bom item you have to check, if this material has a bom too.
Best regards
Stephan

Similar Messages

  • Get Components

    hi everyone,
    I know how i can get components information from transparent tables or any structure in the data dictionary.
    But, if i have just a internal table, how can i get components table?
    E.g:
    data:
    types: BEGIN OF st_table,
            matnr type matnr,
            name1 type name1,
           END OF st_table.
    data: i_table TYPE TABLE OF st_table. 
      DATA: l_struc TYPE REF TO cl_abap_structdescr.
      DATA: lt_comp TYPE cl_abap_structdescr=>component_table.
      DATA: ls_comp LIKE LINE OF lt_comp.
      l_struc ?= cl_abap_typedescr=>describe_by_name( itab-tabname ).
      lt_comp = l_struc->get_components( ).
    Does not work out
      i've already try the following ones:
    DESCRIBE_BY_DATA
    DESCRIBE_BY_NAME
    DESCRIBE_BY_OBJECT_REF
    DESCRIBE_BY_DATA_REF
    Any idea?
    Alexandre

    Try this:
    REPORT  Z_MP_TEST_STRUCT.
    data: idfies type table of dfies with header line,
          s_file TYPE string.
    parameters: p_table type ddobjname.
    parameters: filename(80) type c default 'D:\Documents and Settings\Desktop\download.xls'.
    call function 'DDIF_FIELDINFO_GET'
    exporting
    tabname = p_table
    tables
    dfies_tab = idfies
    exceptions
    not_found = 1
    internal_error = 2
    others = 3.
    s_file = filename.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = s_file
          FILETYPE                = 'DAT'
        TABLES
          DATA_TAB                = idfies
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          OTHERS                  = 22.

  • FlowLayout wrapped components not showing when nested in a GridBagLayout

    Hello, I'm having a problem when adding multiple components to a FlowLayout that is inside a grid of a GridBagLayout. I'd love to post some code, but it's really entrenched, so I'll try to give an a decent verbal example below.
    The problem is that when I fill a grid in the GridBagLayout, it happily goes to the end of the JScrollPane it's nested inside (this is necessary for vertical movement, but horizontal is disabled). When I add a JPanel to this right-most grid, and set it FlowLayout, and then add any n components, the components plow right off the right side of the screen (and again, having a horizontal scroller is not acceptable to the users).
    I've tried screwing around with setting the preferred size: if I set the preferred width to 0 (or to anything smaller than the width of the JScrollPane), the FlowLayout wraps the components (good) but doesn't take up the height it needs to display them (bad). They get stuck "under" whatever is painted next. If I set the preferred height to some arbitrary value, it will show them, but maintains that value even when the window is resized, so again some components get buried.
    Further, the arbitrary size that I'm setting can't be calculated, as I can't get the preferred size (or any size) of the FlowLayout until after it's been drawn to the screen!
    Is there something that I'm missing here, or some trick that I haven't stumbled across before to make this work the way that I want it to? (That being that a JPanel nested in some grid in a GridBagLayout, and having sufficient GridBagConstraints, and being set to FlowLayout, will display all the components dropped in it, wrapping them as they reach the end of the JScrollPane that encapsulates the GridBagLayout).
    Any help is greatly appreciated!

    I've found a reasonable solution to my problem:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=780453
    contains code for an extended FlowLayout called "BetterFlowLayout" which works in a much more friendly way with JScrollPane. It seems the problem wasn't so much with the GridBagLayout, but more with the JScrollPane. In any event, anyone having a similar problem can find (and modify) a decent solution from the post above.

  • Help! i need to get components id with error validation!

    Hi guys, im really new in jsf, i have a tabset, in with several tabs generated dinamically, each tab have several components generated dinamically as well, im trying to get all components id which have validation errors, and show in the page an alert summary with the name of tabs which have the components with error validation, to do that, i will have to get the components id with error validations, so i will get the tab name which contains it.
    I tried to use this, but didnt work for other components in others tabs than tabSelected.
    public void prerender() {
    Object tmp="";
    FacesContext context = FacesContext.getCurrentInstance();
    Iterator iter = context.getClientIdsWithMessages();
    while(iter.hasNext()){
    Object obj = iter.next();
    This detect components in the current tab, because they are who have messages.
    Please guys, hopefully you could help me at this, ive been trying to achieve this since 3 days ago, im really desperated, i dont know, if i could do this using some of jsf, otherwise i will have to do validation components manually.
    By the way guys:
    How do i do to call the validation phase, when im using a button with inmediate = true. Thats, because i could do a method to validate components (manually) and then call the validation phase, to show the input errors to user.
    Thanks in advanced,
    Yellr
    Message was edited by:
    yellr

    I suggest you do this stuff in the event handlers, such as in the action handler , such as in the tab action handler.

  • How to get components inforation of production order in report?

    Hi,
       I am writing a report which needs get ordered components information of production orders. But, the difficult is when any one delete one component after release, the deletion indicator in reservation will be marked. And if user make the order TECO, all components will be marked as deleted. So, how can I tell which was deleted by user indeed (not caused by TECO). Thanks.

    Can you please advise exactly where or what you found
    Thanks
    Kristen

  • Trying to get components inside a panel in content pane

    Hello,
    I am trying to update the combo boxes inside a panel with a list of values(list is stored as an array).
    My heirarchy of components is as follows:
    frame-->contentpane-->gamepanel-->combopanel-->combobox
    i am able pass my frame into my code. now i have to get the combobox to update it.
    frame.getcontentpane()this returns to me my contentpane - RIGHT/WRONG???
    if right, after this how do i reach the combopanel and get the combobox such that I am able to write
    combobox.addItem(array)HELP PLEASEEEEEEEEEEEEE
    Thanks,
    Manju

    Be patient. 30 minutes is not a long time to wait for answers, especially on the weekend. Instead of waiting impatiently why don't you try reading sections from the Swing Tutorial. For example, How to Use Combo Boxes:
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html
    so how do i keep the reference?Define a class variable for the combo box:
         This works on non editable combo boxes
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class ComboBoxAction extends JFrame implements ActionListener
         JComboBox comboBox;
         public ComboBoxAction()
              comboBox = new JComboBox();
              comboBox.addActionListener( this );
              comboBox.addItem( "Item 1" );
              comboBox.addItem( "Item 2" );
              comboBox.addItem( "Item 3" );
              comboBox.addItem( "Item 4" );
              //  This prevents action events from being fired when the
              //  up/down arrow keys are used on the dropdown menu
              comboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);
              getContentPane().add( comboBox );
         public void actionPerformed(ActionEvent e)
              System.out.println( comboBox.getSelectedItem() );
              //  make sure popup is closed when 'isTableCellEditor' is used
              comboBox.hidePopup();
         public static void main(String[] args)
              final ComboBoxAction frame = new ComboBoxAction();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible( true );
    }Even though the combo box is created in the constructor, the actionPerformed() method can still access the combo box because it was defined as a class variable.

  • JAXP DOM - I can get children fine, just not nested children!

    Hi,
    I have a problem with JAXP dom. I cannot get the nested children associated.
    Here is my code:
    try {
    DOMParser parser = new DOMParser();
    String url = "file:/myxml.xml";
    parser.parse(url);
    Document doc = parser.getDocument();
    //Get the filename
    NodeList FileNameNodeList = doc.getElementsByTagName("filename");
    //Get the duration
    NodeList DurationNodeList = doc.getElementsByTagName("duration");
    //Get the headline
    NodeList HeadLineNodeList = doc.getElementsByTagName("headline");
    //Get the description
    NodeList DescriptionNodeList = doc.getElementsByTagName("description");
    //Get the keywords
    NodeList KeyWordsNodeList = doc.getElementsByTagName("keywords");
    //Get the link order
    //Read all values for every "File Name"
    for(int i=0; i<FileNameNodeList.getLength(); i++){          
    //Get the values
    Node FileNameNode = FileNameNodeList.item(i);
    Node DurationNode = DurationNodeList.item(i);
    Node HeadLineNode = HeadLineNodeList.item(i);
    Node DescriptionNode = DescriptionNodeList.item(i);
    Node KeyWordsNode = KeyWordsNodeList.item(i);
    //File name
    if(FileNameNode.getFirstChild() != null){
    Message += "<br><b>Filename:</b> " + FileNameNode.getFirstChild().getNodeValue();
    //Duration
    if(DurationNode.getFirstChild() != null){
    Message += "<b>Duration:</b> " + DurationNode.getFirstChild().getNodeValue();
    //Head line
    if(HeadLineNode.getFirstChild() != null){
    Message += "<b>Head Line:</b> " + HeadLineNode.getFirstChild().getNodeValue();
    //Description
    if(DescriptionNode.getFirstChild() != null){
    Message += "<b>Description:</b> " + DescriptionNode.getFirstChild().getNodeValue();
    //Key words
    if(KeyWordsNode.getFirstChild() != null){
    Message += "<b>Key Words:</b> " + KeyWordsNode.getFirstChild().getNodeValue();
    //Build the string
    String MessageTemp = Message;
    Message = "<font size=-1>" + MessageTemp + "</font>";
    return Message;
    } catch (Exception ex) {
    System.out.println(ex);
    return Message + ex.toString();
    Here is part of my XML File:
    - <article storyorder="1" pubdate="11/6/02 3:28:27 AM" source="MSNBC Video" topnews="1">
    <filename>vh</filename>
    <duration>00:01:58</duration>
    <headline>MSNBC&#146;s Video Headlines</headline>
    <description>The latest news from MSNBC.com</description>
    <keywords>headlines, news headlines</keywords>
    <photographer />
    <aspect>4:3</aspect>
    - <linkinfo>
    - <link order="1">
    <linkurl>http://www.msnbc.com/news/828323.asp</linkurl>
    <linktext>Republicans win control of Congress</linktext>
    </link>
    - <link order="2">
    <linkurl>http://www.msnbc.com/news/828325.asp</linkurl>
    <linktext>Republicans widen House majority</linktext>
    </link>
    - <link order="3">
    <linkurl>http://www.msnbc.com/news/828326.asp</linkurl>
    <linktext>Democrats retake some statehouses</linktext>
    </link>
    </linkinfo>
    - <categories>
    - <category id="News">
    - <topics>
    <topic>International</topic>
    <topic>US</topic>
    </topics>
    </category>
    </categories>
    </article>
    I can get filename, duration, etc. But I cannot get the multiple link URLs associated with the filename. How can I get that?
    Thanks

    Call getDocumentElement() on the document to obtain the root node. Then call getChildNodes() on the root node to get its children, each individual child can be accessed by looping, as follows :
    // Get the Document object.
    Node node = document.getDocumentElement();
    NodeList childNodes = node.getChildNodes();
    for(int i = 0; i < childNodes.getLength(); i++) {
        Node childNode = childNodes.item(i);
        // Perform some action on the node, or get its children to burrow
        // further down the DOM tree.
    }If you know how many levels you need to go down then you'll need that many nested for loops but recursion is a far more elegant solution.

  • Function module to get components

    Hi,
    Anyone knows of a function module that gets the components attached to an activity?

    Hi Jackie,
    Please consider BAPI_NETWORK_COMP_GETDETAIL and BAPI_NETWORK_GETDETAIL
    Thanks
    Martina

  • PS Module: get components per activity

    Hi,
    Anyone knows of a function module that gets the components attached to an activity?

    But i coudnt see any subtotal column and total column in the grid.
    please help
    you did every thing correct.
    but if you want the subtotals you have to do one more thing.
    that is you need to mention the do_sum = 'X'. for the columns which you want to see the subtotals(quantities, currency etcc) in the fieldcatalog.

  • Getting image to work with nested styled and an image anchor

    Hello,
    I have created a nested style for a directory I will be creating. The style has a headline, subhead and body character style. That is all working fine.
    I am using a text anchor to anchor a photo to the left of where each headline starts.
    I am trying to get the text to wrap along the right side of the image. (so, head would move to the top right of the image, subhead would move up and the body copy would move up and wrap the rest of the image.
    See below what I have. I have tried to play with the anchor options, but have been unsuccessful. I can't use a regular text wrap, because it is no longer considered an image.
    Any suggestions?
    thanks!
    babs

    Nevermind -I figured it out.
    If I put the image above the first line of copy (the headline), not next to it, the following anchor options worked..
    See pic:

  • Getting Components inserted into JTextPane?

    Hello,
    OK, I can insert Components into a JTextPane. But how do I get them back out when I need to manipulate them? In other words: how are inserted Components stored by the JTextPane? And how do I get access to them?
    Thanks for any help,
    -Michael

    try this out
    Component[] containers=textPane.getComponents();
    cheers.

  • Get error message from a nested/encrypted stored procedure

    Hi,
    I have an encrypted procedure, that is used inside my 'own' complex procedure as:
    Begin try
    Begin tran
    Do a lot
    insert into #tmp exec xp_encryptedSP
    Do a lot more
    commit tran
    end try
    begin catch
    print ERROR_MESSAGE()
    rollback tran
    end catch
    Some error occur on the insert into #tmp exec xp_encryptedSP row, and in this case it's correct that the error occur, but:
    If I run only exec xp_encryptedSP in query analyzer, I can see the root cause error message,
    but in my complex procedure all I get is:
    Cannot use the ROLLBACK statement within an INSERT-EXEC statement.
    I have tried to enclose the insert into #tmp exec xp_encryptedSP in an own try block, but all I get is the message above.
    Please help
    /Magnus
    Magnus Burk

    No, the error message has nothing to do with the fact that the procedure obfuscated. It is a limitation of INSERT-EXEC. A quite silly one, since a consequence of the error is that the transaction is rolled back...
    There are better ways to share data between stored procedures, but most of them assumes that you can change the procedure you call, and obviously this is not possible since this is a vendor procedure.
    So it looks like you are in for heavy artillery, that is the CLR. See here for an example:
    http://www.sommarskog.se/share_data.html#CLR
    I should warn you in advance that error handling when the CLR is involved is also a very difficult thing.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How do I get components to work III?

    I have been trying to create a custom component to make the coding more consistent and easy to work with. What I want to do is have:
    a style with right align
    a label width to allow that right alignment
    an overall width for the item
    Here is what I tried:
    Code:
    package ASFiles
         import flash.text.StyleSheet;
         import mx.containers.FormItem;
         <StyleSheet>
              _labelRight {text-align: right;}
         </StyleSheet>
         public class fiRightAlignText extends FormItem
              public function fiRightAlignText()
                   super();
                   this.indicatorGap="5";
                   this.labelStyleName="_labelRight";
                   this.width="50%";
                   this.labelWidth="185";
    In the mxml file this (indicatorGap, width, etc) work just fine and I get the right justified label for the control. As a custom component, code assist doesn't work for any of the "this." things.
    Not a biggie, but I'm wondering why it isn't working as I expected it to.
    Can I include a style in a custom component?
    Can I get to the various properties despite code assist failing to see them?
    Should I put the style in the property directly if I can find it?
    Thank In Advance

    Thanks for the reply.  Unfortunately, our firewall prevents the first two links.  I had read the third, but didn't see how it applied to this case.  The fourth one did seem to apply to modifying (sub-classing) an object, but I'm not sure of the limits of "setStyle" for the things I wanted (labelWidth, indicatorGap and object width in particular).  The style things like text alignment made sense to "setStyle".
    When I changed it to this:
        import mx.containers.FormItem;
        public class fiRightAlignText extends FormItem
            public function fiRightAlignText()
                super();
                setDefaults();
            private function setDefaults():void
                setStyle("indicatorGap", "5");
                setStyle("textAlign","right");
                setStyle("width","50%");
                setStyle("labelWidth","185");
    The object broke the form pushing everything to the left off the form (see attached).  Here is the original code:
                    <mx:FormItem id="gGuardianLast"
                        label="Guardian Last Name:"
                        indicatorGap="5"
                        labelStyleName="labelRight"
                        labelWidth="185" width="50%">
                        <mx:TextInput id="GUARDIANLNAME"
                            text=""
                            maxChars="50"
                            tabIndex="12"/>
                    </mx:FormItem>
    As you can see you would have to go into many form items to change the label width in this case.  As a sub-class I would only have to change it in one place.

  • Reg. Getting Equipment No.(EQUNR) using Material Doc.(MBLNR)

    Hi all,
    In my ABAP program program, I need to fetch the Equipment No.(EQUNR) using Material Doc(MBLNR).
    I have only the Material Document as the input & I need to find the Equipment Numbers using that for further processings.
    Please guide me in this regard.
    Regards,
    Anbarasan K

    Hi
    Pass the Material document into MSEG table and fetch the EQUNR Field
    Better pass the document year also as the input along with the Document number
    Regards
    Amuthan M

  • CRM - Getting components of installed base from quotation

    I am new to SAP CRM so this might sound like a silly question but i am stuck on it.
    I want to find out all the components of all the installed base in a quotation.
    I have the header GUIID.
    Can someone please let me know how I can read the components of the installed base attached to all the items in a quotation from the Header GUIID.

    I was able to figure it out myself

Maybe you are looking for

  • Error in installing CE SR3 trial version on windows

    I got the following error while installing SAP NetWeaver Composition Environment 7.1 SR3 Evalution SDN Version - Java EE only on my Windows XP, 1 GB RAM, 1.6 GHZ processor speed An error occurred while processing service SAP NetWeaver CE Developer Ed

  • HT1338 Cant find find Java 6 for Mac OSX 10.4.11

    Go to Java's website, it says use Software Update.  Software Update says that there is nothing to update - but I am missing Java 6!!!

  • Unable to load Mac OS X 10.5 (Leopard)

    Hi, I have a PowerBook G4 (specs below) and am trying to load Leopard onto it, but when the DVD restarts in install mode it says that Leopard cannot be loaded onto it. Can anyone give me any clues as to why this is? Machine Name: PowerBook G4 15" Mac

  • Excel stops working when I attach a file in Outlook

    I have the Office 2013 suite installed with all the programs except for Excel. Excel is installed on its 2007 version because I use an accountant tool that requires Excel 2007. I have been working like this in 3 different computers but for a few time

  • Can't restore backup with disk utility: "Operaton not permitted"

    OK, my imac 2.8 alum hard drive broke down. i backed it up before it failed, and have been using the firewire drive i backed up to as the startup with my second mac (a mini) for the last week. Now trying to restore the backup back to the imac with th