Sub Structure

Hi Friends,
my File is like this.
aa,bb,cc,dd,ee
can we make two substructures in one row,that means aa,bb,cc in one sub structure and dd,ee in another sub structure.
Finally my xml structure is like this.
<root>
<sub1>
     <aa>...</>
     <bb>..</b>
     <cc>...</c>
</sub1>
<sub2>
      <dd>...</dd>
      <ee>....>/ee>
</sub2>
</root>

hi praveen,
we can create two substructures in a single row. specify the  parameter RecordsetStructure in content conversion as
RecordsetStructure: sub1,,sub2,
detailed configuration steps are mentioned in the below blog
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
Kind Regards
Francis

Similar Messages

  • Deep DDIC-Structure - Method to get the Comp.Type of a sub-structure

    Dear colleagues,
    thought the subsequent piece of coding might be helpful for the following problem:
    In DDIC you have created a deep/nested Structure e.g. a complete Business Document representation like
    s_doc_header type struct_doc_header
         (incl.) item  type tab_item
            (incl) party type tab_party etc.
    Now for some purpose you need to access somewhere a sub-part of this structure, e.g. the party-part. You only know (dynamically) the component name "party", but need for dynamic access also the Component Type ("tab_party") (in order to make use of  a "CREATE DATA lr_reftodata TYPE (determined_comp_type)." )
    The following piece of coding should help to query any start component type (here "struct_doc_header") for its embedded components.
    Its a recursive use of features provided by the very nice class(set) of cl_abap_structdescr.
    I implemented it as a static method.
    When doing so, you need to ensure, that the TYPE-GROUP "ABAP" is linked to the class (class properties --> forward declarations),
    Let me know if you find it useful.
    And apologies in advance, if the same problem was already posted in the forum. I did only a rough search before due to a lag of ideas for appropriate search-strings ...
    Best regards,
    Rudy
    Signature:
    Importing:
    IV_COMPNAME     TYPE ABAP_COMPNAME
    IV_START_STRUCTR     TYPE KOMP_TYPE
    Exporting/returning
    EV_DDIC_STRUCT     TYPE KOMP_TYPE
    METHOD search_deep_ddic_by_comp.
    * Description      -------------------------------------------
    *  Methods looks into a deep DDIC-Structure and returns the
    *  corresponding TYPE
    *  Prerequsite for usage: Structures component names are unique.
    * Local Data Defintions --------------------------------------
    * Locals -----------------------------------------------------
    * TYPES:
      DATA: lv_compname                 TYPE abap_compname.
      DATA: lt_componenttable           TYPE abap_component_tab.
      DATA: lv_relative_name            TYPE string.
      DATA: lv_ddic_header                  TYPE x030l.
      DATA: lv_ddic_struct              TYPE komp_type.
      DATA: lv_start_struct             TYPE komp_type.
    * supporting
      DATA: lv_lines                    TYPE i.
      DATA: lv_message                  TYPE string.
      DATA: lt_selopt                   TYPE sesf_selection_parameters_tab.
      DATA: ls_selopt                   TYPE sesf_selection_parameter.
    * References -------------------------------------------------
      DATA: lo_struct_descr             TYPE REF TO cl_abap_structdescr.
      DATA: lo_type_descr               TYPE REF TO cl_abap_typedescr.
    * Field-Symbols ----------------------------------------------
      FIELD-SYMBOLS:
            <fs_struct_descr_component> TYPE abap_componentdescr.
      lo_struct_descr ?= cl_abap_structdescr=>describe_by_name( p_name = iv_start_structr ).
      IF lo_struct_descr IS BOUND.
    *   get all sub-structures/components of iv_start_structr
        CALL METHOD lo_struct_descr->get_components
          RECEIVING
            p_result = lt_componenttable.
        lv_compname = iv_compname.
        READ TABLE lt_componenttable ASSIGNING <fs_struct_descr_component>
                                               WITH KEY  name = lv_compname.
        IF sy-subrc = 0.
    *     matching component found - search for DDIC structure
          CALL METHOD <fs_struct_descr_component>-type->get_relative_name
            RECEIVING
              p_relative_name = lv_relative_name.
          ASSERT lv_relative_name IS NOT INITIAL.
          CASE <fs_struct_descr_component>-type->type_kind.
            WHEN 'u' OR 'v'. "structure
              ev_ddic_struct = lv_relative_name.
              RETURN.
            WHEN 'h'. "table type - derive the line type
              lo_type_descr ?= cl_abap_datadescr=>describe_by_name( p_name = lv_relative_name ).
              CALL METHOD lo_type_descr->get_ddic_header
                RECEIVING
                  p_header = lv_ddic_header.
              IF sy-subrc = 0.
                ev_ddic_struct   = lv_ddic_header-refname.
                RETURN.
              ELSE.
                "error
              ENDIF.
            WHEN OTHERS.
              "error
          ENDCASE.
        ELSE.
    *     go deeper into structure and look into each sub-structure via recursion
          LOOP AT lt_componenttable ASSIGNING <fs_struct_descr_component>.
            CALL METHOD <fs_struct_descr_component>-type->get_relative_name
              RECEIVING
                p_relative_name = lv_relative_name.
            ASSERT lv_relative_name IS NOT INITIAL.
            CASE <fs_struct_descr_component>-type->type_kind.
              WHEN 'u' OR 'v'. "structure
              WHEN 'h'. "table type - derive the line type
                lo_type_descr ?= cl_abap_datadescr=>describe_by_name( p_name = lv_relative_name ).
                CALL METHOD lo_type_descr->get_ddic_header
                  RECEIVING
                    p_header = lv_ddic_header.
                IF sy-subrc = 0.
                  lv_relative_name = lv_ddic_header-refname.
                ELSE.
                  "error
                ENDIF.
              WHEN OTHERS.
                EXIT. "next loop, investigate only struct and table
            ENDCASE.
    *        lv_compname     = <fs_struct_descr_component>-name.
            lv_start_struct = lv_relative_name.
            CALL METHOD /scmtms/cl_ddic_utility=>search_deep_ddic_by_comp
              EXPORTING
                iv_compname      = iv_compname
                iv_start_structr = lv_start_struct
              IMPORTING
                ev_ddic_struct   = lv_ddic_struct.
            IF lv_ddic_struct IS NOT INITIAL.
              ev_ddic_struct = lv_ddic_struct.
              EXIT.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDMETHOD.

    Using command:
    ASSIGN COMPONENT idx OF STRUCTURE struc TO <fs>.
    For example:
    DESCRIBE FIELD pi_output TYPE pi_output COMPONENTS lv_columns. "For number of columns
    DO lv_columns TIMES.
    ASSIGN COMPONENT SY-INDEX OF
    STRUCTURE (name of structure) TO <l_fs_output>. "<l_fs_output> - field of structure
    DESCRIBE FIELD <l_fs_output>... "with other options.
    ENDDO.

  • Sender FCC , problem with Repeating Field under a Sub-structure

    Hi,
    I have an Input File as
    D,TH_ ,10/31/2008,ABC,pieces
    PF, 10/31/2008,11/2/2008,11/3/2008,11/4/2008
    P,mat,CS,100,120,130,125,150,170,120
    P,mat,CS,100,120,100,110,140,120,110
    I need to Implement an FCC to convert this to
    a Structure like this
      Recorset
        Header           1....1
            Unique Id
            date Time
            CustomerCode
            Code
            Unit
        Dates         1
         date          1....n
        Products       1....n
          product      1
          unit         1
          quantity     1.....n
    This this is a Variable recordset type ( i.e each ROW has a Different Structure) the following keys D,PF,P  are defined, for the header, dates, and Product Information.
    The Following FCC parameters are applied
    Document Name :  MT_FILE_INPUt
    Document NameSpace = http://xyz.com
    Recordset Name = "Recordset"
    Recordset structure = Header,1,Dates,1,Products,*
    keyname              = Key
    Keytype               = String
    Header.FieldSeprator = ,
    Header.FieldName = Unique Id,date Time,CustomerCode,Code,unit
    Header.keyValue = 'H'
    Dates.FieldSeprator = ,
    Dates.Fieldname   = 'date'
    Date.keyValue    = 'PF'
    Products.FieldSeprator = ,
    Product.FieldName =  product,unit,quantity
    Product.KeyValue  = 'P'
    Now the Problem is as Follows:
    1) I have a Repeating Field Quantity under the Product and Date under the Dates Sub-structure,  This is not getting Repeated at all.
    Is there a Way to achieve the same
    2) Another Point is That, i do not want to take the key Value in the XML structure after converion, is there a way to avoid it
    Please let me know if any blogs are available
    Any help would be appreciated.
    Thanks,
    Best Regards
    Abhishek

    can u try.. i haven't tired this.
    quantity is occuring multiple times, but if that is fixed no# of occurance,, you can can try with this?
    P,mat,CS,100,120,130,125,150,170,120
    Product.FieldName = product,unit,quantity,quantity,quantity,quantity,quantity,quantity
    let me try ..
    As long as the quanitfy defined under Product.FieldName are more than the input msg quantity values (100,120..), you will be safe...
    Edited by: Anand on Oct 31, 2008 3:54 PM

  • Handle sub structure in receiver file adapter

    Dear all,
    How to handle deep sub structures in Receiver.any inputs would be appreciated.
    Thanks,
    Srini

    two things that you can look into are;
    /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
    /people/shabarish.vijayakumar/blog/2010/01/14/file-conversion-using-nodeception
    that should pretty much help you come to a conclusion

  • Preventing proxy sub structure to generate xml

    Hi,
    i have a proxy with a deep structure.
    I want to prevent a sub structure to generate a empty xml element like <element-x/> because this will give an error during mapping.
    How can i do that?
    thanks,
    Peter Ha

    You can suppress that optional element in the mapping tool of XI using a node standard function (don't know exactly which...). There are many ways to do that but one I can thing right now could be to do a check on the context of that particular element and based on the results of that check generate or not generate the element.
    Hope that makes sense..
    Cheers,
    Roberto
    Message was edited by: Roberto Viana

  • Content Conversion- Same keyfield value for two different sub structure

    Hi,
    I have a scenario where the key field value for the 2 substructure of record structure is same.
    MY XML structure is like this :
    <documentName>
       <recordset>
    <Header>
        <field-nameA1>
        <field-nameA2>
        <field-nameA3>
    <ITM1>
       <field-nameB1>
       <field-nameB2>
       <field-nameB3>
    <ROW1>
       <field-nameB1>
       <field-nameB2>
       <field-nameB3>
    <ITM2>
       <field-nameB1>
       <field-nameB2>
       <field-nameB3>
    <ROW2>
       <field-nameB1>
       <field-nameB2>
       <field-nameB3>
    The sample text file is given below where line no. 3 and 5 are different substructure(For ROW1 and ROW2 respectively) with same keyfield value.
    "HDR",399,"file",20050302,100642,3289
    "ITM1",2,3,4,5,6,7,8,9,10
    "ROW",3,4,5,6
    "ITM2",2,3,4,5,6,7,8,9,10
    "ROW",7,8,9,10
    After content conversion I get a XML structure in which there is no ROW2 and all data within the fields of ROW2 are put under ROW1 as the key field values are identical.
    In the records only the first field is constant (e.g. ROW).
    How to handle such a scenario?
    Regards
    Satish Chauhan

    Unless you can somehow expand the key, I don't know that this is possible.  The key implies uniqueness - and in your case, unfortunately, it isn't.  Is there any way to edit the structure to make it more unique for you?  Do you have any control or ability to change that?
    Maybe if you add unique keys in your mapping, you can strip them off with content conversion on the way out using the parameter keyFieldInStructure=ignore?

  • Help on using hashtables with sub structures inside

    Hi everyone,
    I'm currently working on a script that scans Active Directory for computers, and lists current users logged, and logs to an hashtable the username as key, and a count as a value.
    After that it sends an email with the list. This part is all developed and working. Now I want to go further, and in the hash table, I would like to have as the key the username, and as the value the counter and a list of the computer names where the user
    is logged on.
    I have this code for working with the hashtable:
    ForEach ($c in $computer) {
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $c -Filter "Name = 'explorer.exe'"
    #Go through collection of processes
    ForEach ($p in $proc) {
    $temp = "" | Select Computer, Domain, User
    $temp.computer = $c
    $temp.user = ($p.GetOwner()).User
    $temp.domain = ($p.GetOwner()).Domain
    $report += $temp
    If($UsersList.ContainsKey($temp.user) -eq 1){
    $UsersList[$temp.user] = $UsersList[$temp.user] + 1
    #$UsersList
    Else {
    $UsersList.add($temp.user,1)
    Can I have it the way I'd like, or have to change my approach?
    Thanks in advance
    Nuno Silva

    Thanks for the help. One more question regarding printing the arraylist.
    I use the code below to print everything. I can print successfully the key and value but get an error on the computerlist.
    ($UsersList.GetEnumerator() |
    Sort-Object Value -descending |
    % { "{0}, {1} - {3}" -f $_.key, $_.value.Count, $_.value.ComputerList })
    Error formatting a string: Index (zero based) must be greater than or equal to zero and less than the size of the argument list..
    +     % { "{0}, {1} - {3}" -f $_.key, $_.value.Count, $_.value.ComputerList[0] })
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: ({0}, {1} - {3}:String) [], RuntimeException
        + FullyQualifiedErrorId : FormatError
    Error formatting a string: Index (zero based) must be greater than or equal to zero and less than the size of the argument list..
    How can I print it out?
    Thanks in advance,
    Nuno Silva

  • Directory structure after upgrade to iPhoto 6

    After upgrading to iPhoto 6, it appears that my photos were copied from the old, date-based structure into a new directory structure, but the old structure was left behind.
    What is the layout of the new structure, and can the remaining old structure be discarded at this point?
    Thanks for any insight you might be able to offer...

    The new structure organizes photos into Originals and Modified folders. There is a third folder called Data that contains thumbnails created for the photos (smaller pictures used for better performance). These three are essential for iPhoto 6 to work.
    Each folder contains a folder for each year (a year folder is created if you have even one photo from that year, e.g. a photo from 4/3/2004 will create a folder called "2004" and any other photos from that year will then be placed within it.
    Every import creates a serially numbered Roll folder within the year folder. So if you import photos including IMG_234.jpg from 4/3/2004, for example, the location of IMG_234.jpg will be:
    iPhoto Library/Originals/2004/Roll 1/IMG_234.jpg
    And Roll 1 will have other photos imported in the same session. If you modify the photo within iPhoto (enhance, retouch, etc), the modified copy will exist in:
    iPhoto Library/Modified/2004/Roll 1/IMG_234.jpg
    The Data folder will contain a thumbnail for the image in the same path as the Originals:
    iPhoto Library/Data/2004/Roll 1/IMG_234.jpg
    So inside the iPhoto Library folder, you will see some files and those three folders with their sub-structure folders. Other things within the top level of the iPhoto Library folder, are leftovers from the previous structure - such as a folder called "2004" or "2005" that ISN'T inside Originals, Data, or Modified folders.
    PhillyPhan's advice is sage. Don't mess with the insides of the iPhoto Library. However, I did verify on my own system after I upgraded, that year folders at the top level of the iPhoto Library are from previous versions of iPhoto. So you could move those, and those only, to a separate folder on your HD. I moved those off to a DVD-ROM and haven't seen problems since.
    Remember: Don't touch any files, and don't touch anything within Data, Originals, and Modified folders.

  • Mapping of structure appearing in message Dinamically

    HI
    I have imported a xsd in which there are no sub structures under a given structure.
    But I checked the sampel data in that the data is coming as sub structure of the above mentioned structure.
    If i have to map data for this dinamic structure then how can I do that
    Thanks
    Nikhil

    Hi Daniel ,
    Let me try and give u an example .
    there is a structure a which is of type relationships
    the xsd def of type telationships is
    - <xs:complexType name="Relationships">
    - <xs:annotation>
      <xs:documentation>Common group of related objects.</xs:documentation>
      </xs:annotation>
    - <xs:sequence>
      <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
      </xs:sequence>
      </xs:complexType>
    now when the XML data is coming in the a structure is having substructures. these sub structures are defined in the xsd def but not as a part of structure A
    I have to map data from these sub structures
    hope you are able to get what I am trying to say
    Thanks
    Nikhil

  • IMAP Sender channel, Content Conversion Module , target XSD structure issue

    Hi,
    I'm using the content conversion adapter module in my IMAP senderchannel , to transform a flat file into a IDOC ORDERS05 structure.
    I have some difficulties generating the right structure... how can I make a more deep structure ?
    My output is like this. All created segment is on the same level.
    <ORDERS05>
        <IDOC>
            <E1EDK01>
            <E1EDK03>
            <E1EDKA1>
            <E1EDK02>
            <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
            <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
        <IDOC>
    </ORDERS05>
    Here the E1EDKT2 should be a "level under" or "sub structure" to E1EDKT1, and not on the same level !
    The wanted result:
    <ORDERS05>
        <IDOC>
            <E1EDK01>
            <E1EDK03>
            <E1EDKA1>
            <E1EDK02>
            <E1EDKT1>
                <E1EDKT2>
                <E1EDKT2>
            <E1EDKT1>
                <E1EDKT2>
                <E1EDKT2>
        <IDOC>
    </ORDERS05>
    How can I solve this ????

    Hi,
    you can do it on adapter level too:
    but you cannot do it in standard content conversion I guess
    (if it has more then 2 levels)
    check this how you can do it:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How To fetch the Value of nested structure returned by RFC in c# application.

    Hello ,
    i am new to C#,i have rfc that return data from SAP system as Nested structure but when i fetching that data using
    IrfcTable table = rfc.getTable("exporting_parameter");       // et_customer
    it return's only first inner structure only .
    for example my exporting internal table for rfc is
    "et_customer" that contain sub structure as follow
              gen_data
               bank data
               tax data
    it return only value inside gen_data only.
    how to get entire data

    Hi,
    I am using Java JCO but I can see in the java doc that JCoTable have a Method
    getTable
    Check and see if you have it in .net
    Regards.

  • Reg:Include structure in a ztable

    hi Gurus,
       I  created a structure which contians field types,sub-structures&table types ,now i want to include this structure to a ztable.I am encountering with an error .
    Some Error are mention below:-
    1)Select a shorter name for REASON_FOR_CHANGE
    2)SECTION is a reserved word (Select another field name)
    3)Field ILID: Structured type ZDCAGS_ILID cannot be used in DB table ZDCAGT_TSK_CNSLT
    4) Field TEXT: Structured type ZDCAGT_TLINE cannot be used in DB table ZDCAGT_TSK_CNSLT
    5)Field VARIAN: Structured type ZDCAGS_ILID cannot be used in DB table ZDCAGT_TSK_CNSLT
    6)Field REASON_FOR_CHANGE: Structured type ZDCAGT_TLINE cannot be used in DB table ZDCAGT_TSK_CNSLT
    7)Error in code generation for creating table ZDCAGT_TSK_CNSLT in the DB
    and the environment is ECC 6.40.
    please suggest if any.
    thanks in advance,
    Ramesh

    Hi Ramesh,
    I have some Solutions,
    1. Reason_for_change - Its field name means Give a shoet name.
    2. Section is reserved for SAP. So Select another word.
    3. The structure of the three fields are differed. So You can't use this Fields.
    Check this..
    Thanks.
    Reward If Helpful.

  • Idoc Structure Import Doubt??

    Hi Experts..
    The client in my case wants a file in a particular way. I can bring the entire data likewise, but the only problem is that in an Idoc structure, there will be the Control Record, which has the Header Record, Data Record and Status Record.
    The next sub structure of Idoc is Segment Record which holds the segment data.
    In Idx2 i imported the meta data, but in the import of Idoc Cremas03, i couldnt get the Data Record structure. So, in IR also when i imported the same, i couldnt see that structure. The first 64 lenght of each segment data in my clients file is the Data record following which the segement data starts. If i cant get it in the input i wont be able to get the desired output. Can anyone tell me how can i include this Data Record part of the Idoc as a part of the Metadata or in IR??
    Kindly help.
    Thanks,
    Anju

    hi,
    data record and control record (edi_dc40)
    are always included when you import in IR
    import process:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • JMS Sender - Complex XML structure

    Hi,
        I have a complex data stucture in the source which needs to be content converted in the JMS adapter. The stucture of the input data goes something like this -
    1h1
    2b1
    3d1,d2
    2b2
    3d3,d4,d5
    The first char in every line is the key
    1 - header info (occurs 1)
    2 - body info (occurs unbounded)
    3 - sub structure - details inside each body ((occurs unbounded))
    This data needs to be converted into the XML below,
    <root>
      <header>h1</header>
      <body>
            <field1>b1</field1>
           <details>
                 <field2>d1</field2>
          </details>
          <details>
                 <field2>d2</field2>
          </details>
      </body>
      <body>
            <field1>b2</field1>
           <details>
                 <field2>d3</field2>
          </details>
          <details>
                 <field2>d4</field2>
          </details>
          <details>
                 <field2>d5</field2>
          </details>
      </body>
    </root>
    Can you guys please let me the module processor parameters I need to define to achieve this XML..
    Thank You.

    HI,
    see thebelow links
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    content conversion
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    SAP help-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    Regards
    Chilla

  • Don't get the library structure of Aperture

    I am trying to manage under a same travel project different albums sorted by country.
    So I created a project (World Trip) and I started to import the picture from the first country. I have created a folder (Russia) under which I created different album all related to that country. I have then attached all the pictures in the different albums.
    The end result was something like:
    World Trip (Project)
      - Russia (Folder)
        * St Petersburg (Album)
        * Moscow (Album)
    I was more or less satisfied. But a bit worried that when I click on the project, the browser view is empty (no pictures nor any sub-structures like the list of folder or albums). The folder Russia contained all pictures I had imported from Russia, although before I put them in the albums, they were in the project not the folder. And in the albums I had just the pictures I wanted to see.
    My next step was to import the pictures from the next country. So I launched the import of the Mongolian pictures, I have imported them inside the existing project, but I don't see them where I would expect them: under the project.
    If you look at the screenshot above. Under the Travelling section, if I click Projects, in the browser view I see my only project and when mouse-hovering it I can see pictures from Russia and Mongolia. But if I double click on this project, the view is empty.
    Now if I choose Photos in the Library view, I can see all the photos, cool. The same is true if I click under the Recent section on my project World Trip, there I see all the Russian and Mongolian pictures, which is cool but inconsistent with the other views of my project.
    Finally, under the Projects section, when I select the World Trip, it is empty, when I select Russia, it contains only the Russian picture, but I see nowhere the Mongolian pictures, even though I imported them in my World Trip project.
    I really don't get it. Even after reading the Aperture manual, it did not explain the behaviour I'm seeing.
    If someone could explain me better what are projects and folders, and especially what is a folder within a project and vice versa.
    Also, if you know how I could arrange (better) my photos? I would like to have all the pictures sorted by country, but within one main top structure. And under each country, I would have different albums, with subset of pictures, and sometimes pictures could be in more than one albums. How should I structure my library then?
    I'm using Aperture 3.4.1.

    IMO organizational structures that over-use Folders are what I call Folder-think or film-think, and should be avoided in favor of database-think. Try to use keywords and Albums as much as possible in your organizing in lieu of folders. A country, for instance, should simply be a keyword applied to all pix from that country; not a folder.
    Organize into Projects first and import one Project at a time; it should only take a couple of minutes to import each Project. Larger Project sizes can slow some computers. Personally I set 500 as my arbitrary maximum number of images in each Project but your mileage will vary. Experiment to see what number of maximum images in a Project may or may not slow your particular setup/workflow down; my guess is that 500-image projects will be fine unless maybe you are shooting a D800 or if there are scan files involved.
    Before importing one should:
    • Back up the originals before importing into Aperture. This is an absolutely essential step to a safe workflow.
    • Decide what keywords to batch-apply to each Project.
    From an earlier post of mine on this topic:
    Projects should be just that: individual-shoot (i.e. time) based projects rather than some kind of organizing tool for all the architectural photos or whatever. For performance reasons personally I keep each Project under 500 20-MB images, making a second Project if the shoot is large. E.g.
    110829_KJones_Wed_A,
    110829_KJones_Wed_B,
    110829_KJones_Wed_C, etc.
    One or more albums will always organize the KJones wedding pix together anyway. All three Projects (110829_KJones_Wed_A, 110829_KJones_Wed_B, 110829_KJones_Wed_C) would have the keyword "KJones_Wed" applied to each pic, which allows an Album "KJones_Wed" to be quickly created at any time.
    The way I look at it conceptually:
    Aperture is a database (DB), and each image file lives in one and only one Project.
    Albums are just collections of Pointers that point to individual image files living in one or more Projects. Since they just contain pointers, albums can be created or deleted at will without affecting image files. Very powerful. And Albums of pointers take up almost zero space, so they are fast and do not make the Library size grow.
    Keywords can be applied to every image separately or in batches. Keywords are hugely powerful and largely obviate the need for folders. Not that we should never use folders, just that we should use folders only when useful organizationally - - after first determining that using keywords and albums is not a better approach. Most of the time folders are inappropriately used.
    As one example imagine the keyword "flowers."  Every image of a 100,000 images Library that has some flowers in it has the keyword flowers. Then say we want to put flowers in an ad, or as background for a show of some kind, or to print pix for a party, or even just to look for an image for some other reason. We can find every flower image in a 100k-image database in 2 seconds, and in another few seconds create an Album called "Flowers" that points to all of those individual images.
    Another example is a european train trip. It may be one Project but spans multiple countries in a few hours. No problem, just keyword each pic with the appropriate country and create an album for each country; or another album for some combination of countries (e.g. "Baltic," "Scandinavian," etc.).
    Similarly all family pix can have a keyword "family" and all work pix can have a key word "work." Each individual pic may have any number of keywords. Such pic characteristics (work, family, flowers, country, etc.) should not be organized via folders.
    So by using keywords and albums we can have instant access to every image everywhere, very cool. And keywords and albums essentially take up no space in the database.
    Another (IMO poor) approach would be to use a folder "Family" for family pix, a folder "Flowers" for flowers pix and another folder "Work" for work pix. IMO such folders usage is a very poor approach to using an images database (probably stemming from old paper or film work practices). Note that one cannot put an image with family in a field of flowers at a work picnic in all three folders; but it is easy using keywords.
    As an aside note that empirically many users find that even though the Aperture DB can contain hundreds of thousands of image files, no problem, individual Projects should be limited in size for speed reasons. Personally I limit Projects to a maximum of ~400 to ~500 RAW NEF files, but hardware and workflows vary.
    HTH
    -Allen

Maybe you are looking for

  • Portege R100: recovery issue - Error partioning drive

    My old portege r100 is not working at all. I tried to use the product recovery cd rom but during the recovery process the following message apears: Error partioning drive! What does it mean? What can i do to overcome it? Thanks in advance Yannis

  • How to know the first placed file in Application server directory

    Hi All , i want to Know the First plased file in a application server directory . i have tried with FM EPS_GET_FILE_ATTRIBUTES but it is giving the file size. Can anybody  give some idea to get the file lastmodify property. Thanks & Regards Prithvi.

  • Problem when updating software

    Hello, I've failed at two attempts to update my IPOD software to Ver 4.2. Each time, after downloading the software, it goes into "Backup Mode" and stays there for an inordinately long time. The process simply repeats if I stop the backup and restart

  • Can you make a poster in Pages 20X30in?

    Can I make a 20X30 inch poster in Pages on my MAC? Poster Girl

  • 3.5 Query Designer not working after GUI 7.1 installation

    Hello Experts, I just installed SAP GUI 7.1 after desinstallation of 6.4 with following patches: - GUI Patch level 12 - BW 3.5 for GUI 7.1 - Gui Patch level 801 This order seems to work for my colleagues. The problem is the following : Bex analyser w