Question on structure

all v aacept tht tables contain data bt it contains in runtime only so structure also contains data at runtime so van v say struvture contains data?

Hi,
The structure that we create in program are workareas where we can store the data from internal tables. They are similar to headerline of the internalt table. We declare structure using data statement.
data : begin of itab,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
end of itab.
Or we can declare a type.
types : begin of ttab,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
end of ttab.
data : itab type ttab.
Or the header lines of the table can be used as workarea which are structure which have the same type and same name as that of table.
data : itab type ttab with header-line.
So during run time the structure contain data.
Regards
Anver
<b><i>if helped pls mark points</i></b>

Similar Messages

  • Questions on Structured table

    Hello ABAP Gurus,
    Kindly explain the difference between the Structured table and transparent table.
    and how to add field in a structured table?
    Any help is appreciated.
    Thank you very much!

    hi,
    Structure does'nt hold any data.it is just a collection of fields.
    Table Holds data.it contains fields and data.
    Fields are contained in table.
    In structure-only runtime values can be stored
    In table-can store data permanently
    In fields-group of entry/data which r placed in ordered manner within table
    check the links
    http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm
    http://www.geekinterview.com/Interview-Questions/SAP-R-3/Internal-Tables
    http://www.scribd.com/doc/454570/Total-SAP-Tables
    http://wiki.ittoolbox.com/index.php/Find_data_in_your_SAP_system_and_know_which_tables_do_what
    Thanks and regards,
    prasanth

  • A question on structures

    1). hi everyone , i just want to know that is that possible to include a field from PROGRAM-A in the structure of PROGRAM-B.
    another question
    2). And also is that possible to include a field of structure in PROGRAM-A to that in structure of PROGRAM-B ??

    Nikhil,
    The questions you have been recently asking are unrelated to the BPX topic, and are unsuitable for this forum.  I suggest that you close your existing questions, and re-post them to a more suitable forum, such as one of the ABAP forums.
    Try ABAP Development
    Make sure you read the rules of engagement before posting anything.
    Best Regards,
    DB49

  • Purchase groups question org-structure

    Hi All,
    One of our buyer left the company and now we want to remove him from the drop-down list of the purchase groups which one gets in SC basic data tab.
    For this, I was trying to remove the flag for this buyer as pur.grp in PPOMA_BBP, but before I carry out this step, I wanted to ask you experts, if this has any after affects. (by the way the org and prod- responsibilities from this buyer are already assigned to another buyer).
    Thanks.

    Hi Rahul,
    Pls elaborate on the business scenario u have mappened in SRM.
    If you are using the same buyer for processing of documents other than SC (like PO, contract, Bid Inv. where we mainatin Pur grp) in SRM, you will have to keep the buyer in SRM organizational structure. Otherwise for processing of these open documents you will face some error.
    If its only SC creation scenario in your case, you can remove the Pur Grp flag for that user.
    Regards,
    Prashant
    Do reward points for helpful answers

  • Basic questions of structure Alchmy inside the AVM ans corePlayer ? Help!

    Hello community:)
    Flash Player 10 has been amended in order to run the new code from the compilation Alchemy! Is this correct?
    The new ABC Alchemy is for new features such as memory pointer, asynchronous functions? is that correct? and what else?
    This amendment consists of a small AVM separated from the Tamarin ? where everything is in Tamarin?
    The memory allocated to code from Alchemy is separated from the memory area allocated to the AVM and PlayerCore? it is like that?
    The CorePlayer flashRuntime and had to be changed?
    The ABC from Alchemy is intended only as to the AVM? or also to CorePlayer?
    Alchemy can access the BIOS? especially for 33h the mouse? if not, is it possible to control the mouse in one way or another with Alchemy?
    Immagine it would create a code C to produce sound from a bytesArray to replaceSampleData AS3 class, it's possible? If not, why? a restriction of the sandbox?
    Can be added directly to the assembler code using Alchemy? or it's prohibited because of the respect of cross platefrom?
    Thank you for maximum responses! although one can easily imagine some answers, I have confirmation:)
    Too many people claim things on forums, affirmative behave as if it was the system programmers themselves FlashPlayer! Outside, people sometimes give wrong answers! Two days ago, I had a guy who claimed that the AVM does not compile ABC! The ABC was executed directly .  It's sad and a shame to read such things. He obviously did not read and do not know the JIT
    This post is aimed at people on what they say and who were able to verify the information. Alchemy or programmers themselves.
    Thank you all!

    In order to understand things and not waste our time trying to code without knowing ifthey are not working because of am or even if it is because it is not impossible or not the player, I'm posted this on the forum Player. But my post is not answered .. Adobe programmers never come on this forum? Nobodyknows exactly how it works?
    Hello everyone
    I have some basic questions about the Flash player and  AVM2..
    I made this little flow chart for Player 9 and above >
    Can  anyone tell me if it is consistent and fair to me or to report a possible error?
    AVM2 the only accessing the CPU and Ram? and in no event in the device or OS API, right?
    The AVM2 in our current players is always a Tamarin?
    The next step is to replace the JIT by the nanoJIT spiderMonckey?
    The byteCode from Alchemy is well executed in the AVM and not elsewhere?
    The memory area codes assigned to Alchemy is the same as that of the AVM or is it different andseparate?
    Thank  you for your answers.
    Gordially,  Alain.

  • Question Org Structure

    Hi Experts,
    I have created hierarchy by using ppoca in SRM and when i checked in the pposa_bbp it looks pretty fine.
    But all org units were formed with object id's and BP numbers are not created.How to get the BP number generated for these Org units.I am aware of the process of getting hierachy plus org units and positions from ECC to SRM by PFAL.
    But in the sandbox i dont have ALE/IDOCS configuration and i have only one user id.Kindly provide me solution.
    Regards,
    Naveen.
    Edited by: Naveen Dasari on Jan 15, 2012 7:16 AM

    HI,
    When you created the organisation sturcture you may have missed out on entering the address and email id for each units and hence the BP is not created.
    Now you will have to delete the entire structure and recreate it.
    Regards
    Sam

  • Question for structuring an application

    Are there any Best Practice Guides for structuring applications in WDP4J?( like separation of model in own DC etc...)
    Best regards,
    Thomas

    Hi,
    Check these docs:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/604ddc2f-ec9c-2b10-1682-be37e1c62dee
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0d6c30a-c99e-2b10-f09b-c9a00b7e78c6
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e682bd-b59e-2b10-cd82-fa175f502fe6
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50568365-ba9e-2b10-1188-a612a20edf31
    Regards,
    Anagha

  • 10g Questions - Folder structure, Files, Post-migration Scripts

    Hi, Oracle Pros
    I have a few questions that I have encountered in my 10g installation process. I hope I could get some help from you.
    1- After I have installed 10g (release 2) software AND Enterprise Manager (release 1), I have noticed the installation has arranged the folders under 'Oracle' differently in my Windows 2003 Server. For example, I have two 'oradata' folders; one (EM) is right under the root 'oracle'; the other one (10g) under 'product > 10g'.
    We'd like to re-arrange those folders to make it consistent and make more sense. Would this re-arrangement of folders affect applying patches later? I assume the way the install arranges the folders is following the OFA. That's why I am afraid to re-arrange folders after the install.
    2- Does one use p-file or sp-file to start a database? I understand one can create one from the other. Does using either make any difference? If so, how?
    3- I was told that after the software is said and done, not only do we need to import our 8i datafiles, but also write some script for the user, grant, tablesspace to be migrated as well. Is writing script for those objects really necessary? Why can't the OUI take care of all that?
    I'd appreciate any of your help.
    Have a good day.
    CJ

    2- Does one use p-file or sp-file to start a
    database? I understand one can create one from the
    other. Does using either make any difference? If so,
    how?Either one.
    The issue with PFILE is that it must be available to the DBA running the STARTUP command - on that DBA's platform. If you have multiple DBAs and possibly permit remote administration, there is a danger that you will have several PFILEs that are not in sync.
    Because of this, Oracle created the SPFILE concep. It ensures there is only one natural initialization file, and that file is under the control of the server. It can be backed up by RMAN, it can be used by RAC instances, etc.
    After kicking and screamiung at the change, I have become quite happy using SPFILE only - except for those increasingly rare non-dynamic parameter changes.

  • Question about Structures

    Can anyone suggest something to take care of the following:
    I have a FM that passes me the name of a structure in an output parameter 'structName'. Now I have to define a structure in my program based on the Structure name that I get from the FM
    Data: newStruct type structName.  (Please note that structName contains the name of the structure)
    Is there a way to accomplish this?
    Thanks for your help.

    Check this..
    https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingFlatandComplexInternalTablesDynamicallyusingRTTI

  • Questions on structure/path of folders & directory

    When I copied photos from my Vista into iPhoto'09, iPhoto display them nicely into events.
    But how do I locate the path of the photos that Mac copied to ?
    I used Finder but cannot find them. I mean where is the path of iPhoto that Mac copied the photos to ?
    Thanks

    AJ has already given you the method. I just want to explain further.
    You can drag and drop the image from iPhoto into anything. Even if you are trying to put the photo into a webmail interface, you can drag and drop it into the Open File dialog and the Finder will handle it. You can drag and drop onto the Mail icon in the Dock to create a new message with the photo attached.
    iTunes has the option to keep your Music library organized or let you keep the music anywhere you want. There are two checkboxes in the Advanced tab of the iTunes Preferences. I'm not sure how it keeps the library organized if you don't copy the tracks to the iTunes Music folder, but the option is there to have either or both or none.
    You can drag music out of the iTunes window to make a copy. When you drag a title out of the window, you will get a little green + badge on the proxy icon you are dragging.
    When dragging, regardless of where it is from, you can invoke Exposé to see all open windows and pick the one you are trying to drag to, or you can drag the files to an icon on the Dock to do something with a program or the Finder. When you hover over the Finder icon in the Dock, you can hit the spacebar to activate it faster so that it opens to a finder window. From there you can navigate through the Finder with spring-loaded folders. Just hover over the folder and it will spring open. You can adjust the speed of the spring-open in the Finder Preferences.
    I don't know how Vista works, so I can't comment on it. But, trying to move files and folders around in XP drives me nuts. So, I imagine that getting the hang of dragging and dropping will have a bit of a learning curve.
    And one more thing. I didn't know about this until reading about several catastrophes on these forums. In Windows, when you drag a folder onto another folder of the same name, it will merge the files. It doesn't do that in the Mac OS. You will replace the old folder and its contents with the new folder you drug into its place. There is no way in the Finder to sync two folders.

  • Dictionary structure with reference to two transparent tables

    Hi
    I have a question about structures defined as dictionary objects.
    Is it possible to define a dictionary structure consisting of the structure types of two transparent tables, i.e. to define a dictionary type that corresponds to something like this:
    TYPES:
               BEGIN OF ty_s_tablejoin,
                  tab1     TYPE z_table1,
                  tab2     TYPE z_table2,
               END OF ty_s_tablejoin.
    where z_table1 and z_table2 are both transparent tables?
    I need it as a dictionary type in order to pass the structure/table into a function module as an input parameter.
    There might be other ways of doing this, but it could be interesting to know if it is possible. Please excuse me if this is a weird question, I'm rather new with SAP.
    kind regards
    Klaus Stenbæ

    Hi Klaus,
    You can't create a structure in the data dictionary from two tables.  However, you can define tables based on structures then create a structure combining both.
    For example;
    Create structures ZST1 and ZST2 (containing the fields of z_table1 and z_table2 respectively)
    Then create tables z_table1 and z_table2, defining them based on ZST1 and ZST2
    Finally create a structure (say ZST12) combining both ZST1 and ZST2
    From a practical point of view, ZST1 and ZST2 should not contain the client field as when you combine them the field will duplicate.  Add the client field to z_table1, z_table2 and ZST12 before including the structres.
    Hope this helps,
    Nick

  • I create report in HR. With F1 got   message that the data is in structure.

    Hai I am new to ABAP.
    I try to create a report using HR table. I want to retrieve some data from PA0006 table (fields are stras, pstlz,ort01,telnr). For employee number i want to display his address , telephone number. But what I am getting is that these are structures. But when I click of the fields in PA30 the technical information says that the datas are from Structure.
    My question is structure don't have values but on F1 it shows structure. can any one explain me and give some useful code so that I can display the address.
    In HR table most of the data that I want to retrive says in structure. please anyone explain me.

    Actually I added the coding that I used. Pls reply me because I coudn't fetch the data.
    REPORT  Zreport NO STANDARD PAGE HEADING LINE-COUNT 30(3) LINE-SIZE
    160.
    TABLES : PA0002, PA0006.
    DATA : BEGIN OF ITAB OCCURS 0,
           PERNR LIKE PA0002-PERNR,
           NACHN LIKE PA0002-NACHN,
           VORNA LIKE PA0002-VORNA,
           STRAS LIKE PA0006-STRAS,
           PSTLZ LIKE PA0006-PSTLZ,
           ORT01 LIKE PA0006-ORT01,
           TELNR LIKE PA0006-TELNR,
           END OF ITAB.
    SELECT-OPTIONS PER FOR PA0002-PERNR.
    INITIALIZATION.
    PER-LOW = 0.
    PER-HIGH = 9999999.
    APPEND PER.
    START-OF-SELECTION.
    SELECT PA0002~PERNR
           PA0002~NACHN
           PA0002~VORNA
           PA0006~STRAS
           PA0006~PSTLZ
           PA0006~ORT01
           PA0006~TELNR
           INTO ITAB
           FROM PA0002
           INNER JOIN PA0006
           ON PA0002PERNR = PA0006PERNR
           WHERE PA0002~PERNR IN PER.
    LOOP AT ITAB.
    WRITE :/(1) SY-VLINE,
             (18) ITAB-PERNR COLOR 2,
             (1) SY-VLINE,
             (20) ITAB-NACHN,
             (1) SY-VLINE,
             (20) ITAB-VORNA,
             (1) SY-VLINE,
             (20) ITAB-STRAS,
             (1) SY-VLINE,
             (20) ITAB-PSTLZ,
             (1) SY-VLINE,
             (20) ITAB-ORT01,
             (1) SY-VLINE,
             (20) ITAB-TELNR,
             (1) SY-VLINE.
    HIDE ITAB-PERNR.
    ENDLOOP.
    ENDSELECT.
    ULINE.
    TOP-OF-PAGE.
    WRITE :/15 'EMPLOYEE DETAILS', 41 'PAGE NUMBER', SY-PAGNO.
    ULINE.
    WRITE :/(1) SY-VLINE,
            (18) 'EMPLOYEE NUMBER',
            (1) SY-VLINE,
            (20) 'INITIAL',
            (1) SY-VLINE,
            (20) 'EMPLOYEE NAME',
            (1) SY-VLINE,
            (20) 'ADDRESS',
            (1) SY-VLINE,
            (20) 'CITY',
            (1) SY-VLINE,
            (20) 'POSTAL CODE',
            (1) SY-VLINE,
            (20) 'PHONE NUMBER',
            (1) SY-VLINE.
    WRITE :/ SY-ULINE.
    END-OF-PAGE.
    ULINE.

  • Impact of extending a structure indicator with additional levels?

    Dear experts,
    a quick question regarding structure indicators:
    If my structure indicator is currently defined as XX-XXXX-XX (3 levels),  what would be the impact of extending it to XX-XXXX-XX-1234-12 (5 levels)?
    Any consequences?
    Thanks!
    Andreas

    Andreas,
    If you are only extending the Structure Indicator, then there shouldn't be any implications.
    PeteA

  • BOM Structure Uniqueness

    Hello guys i have a question BOM structure.
    A(top_Item_Id) B(top_item_id)
    A1 A1
    A11 A11
    A12 A12
    this are my BOM structures and this data gets populated in Bom_small_implosion_temp table after doing implosion. How can i pull only record with B(top_item_id )from the Bom_small_implosions_temp table since both BOM's have same structure except top item id.
    please help me in getting this
    Edited by: user12190757 on Apr 18, 2010 11:06 AM
    Edited by: user12190757 on Apr 18, 2010 11:07 AM
    Edited by: user12190757 on Apr 18, 2010 11:07 AM

    Hi,
    can you be more clear about what you want to find?
    If you have all the 3 records (B1-A1, A1-A11 and A11-A12) in the table then you can use connect by root clause functionality and the desired result.
    If you have only two records (A1-A11 and A11-A12) then you have to look at the BOM_INVENTORY_COMPONENTS table with component_item_id = A1 Item_ID and assembly_item_id = B1 Item_ID

  • Importing movie clips issue

    Our company is creating a marketing project to be distributed
    on CD. We have purchased Studio 8 for Mac and I have been given the
    task of implementing Flash.
    First, a question about structure. We want an intro animation
    to loop continuously until user clicks a button. I have that
    animation complete. My thinking was to export it as a separate file
    then import it into a new Flash doc as a movie clip. Then I can
    build the animated buttons and other elements around it. Make sense
    or is there a preferred method?
    Here's the problem. When I export the animation, the
    resulting swf file is just fine. However, when I import it into
    another Flash doc (either onto the stage or to the library) as a
    movie clip, several items get lost. I have some animated text which
    disappears. I have also applied the glow effect to static text. The
    static text remains, but the glow is gone. I thought at first that
    I was exporting for compatibility to an older Flash player and it
    was losing these newer effects, but I'm exporting for compatibility
    to Flash player 8.
    Help greatly appreciated.

    There is no reason to compile it as an swf just to bring it
    into a new flash doc. In fact SWF is to
    FLA as JPG is to PSD. it is compressed format and almost all
    its editability is lost on import.
    If you need to bring it into a new doc - either copy frames
    and paste frames into new doc - or paste
    frames into a new symbol and then copy and paste that symbol
    into a new doc - or - drag the symbol
    containing your animation from one library to the other
    library.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    steve2057 wrote:
    > Our company is creating a marketing project to be
    distributed on CD. We have
    > purchased Studio 8 for Mac and I have been given the
    task of implementing Flash.
    >
    > First, a question about structure. We want an intro
    animation to loop
    > continuously until user clicks a button. I have that
    animation complete. My
    > thinking was to export it as a separate file then import
    it into a new Flash
    > doc as a movie clip. Then I can build the animated
    buttons and other elements
    > around it. Make sense or is there a preferred method?
    >
    > Here's the problem. When I export the animation, the
    resulting swf file is
    > just fine. However, when I import it into another Flash
    doc (either onto the
    > stage or to the library) as a movie clip, several items
    get lost. I have some
    > animated text which disappears. I have also applied the
    glow effect to static
    > text. The static text remains, but the glow is gone. I
    thought at first that I
    > was exporting for compatibility to an older Flash player
    and it was losing
    > these newer effects, but I'm exporting for compatibility
    to Flash player 8.
    >
    > Help greatly appreciated.
    >

Maybe you are looking for