How do I create a structure exactly as *I* want it

I want Organizer to show EXACTLY the same structure (in the left column) as I see when I use Pathfinder and click on the C drive.
- lige Bridge does.
How can I make it do that?

If you want to use the Organizer like Bridge, you might as well forget it. You are not the user profile for the Organizer (or for Lightroom as well), or those database tools are not good for you if you prefer.
Now a few things to know about the Organizer:
- it only creates folders in the default yyyymmdd format when downloading if you ask it to do so. Otherwise, you can create your own structure freely and import the files in the catalog from where they are in the computer.
- It can show the folder tree in a similar way with browsers like zoombrowser or Bridge in the latest PSE11 version. Forget older versions 9 and 10...
- The sensible way to use database tools like Organizer is to take advantage of the tagging, rating, albums, version sets and stacks features they offer. You work in thumbnail view, and only use the folder view in special occasions. Working always in folder view is ignoring the power of the software.
If you are happy with Bridge (nothing wrong with that), consider using one of the many free tools offered either by your camera manufacturer or independent companies : I'd have a look at Xnview or Faststone for instance, and set the editor of PSE as the external editor.

Similar Messages

  • How do you create a structured numbering system in mac "pages".

    I used to use microsoft word, but said id give "pages" a go. what im looking to do is to create a structured report, with the headings in the following manner e.g.
    1.0
         1.1
         1.2
         1.3
              1.3.1
              1.3.2
              1.3.3
         1.4
    2.0
         2.1
    etc...........
    and if i want to go back to the document at a later change and insert a new chapter, i want all the chapters to update automatcially (like in microsoft word).
    Antone have any ideas as it is driving me bonkers!!!
    Thanks

    Better to post your topic in the Pages community > Pages: iWork: Apple Support Communities

  • How can i create orgnsiation structure in sap

    Hi Guys
        Can anybody tell me how to craete an organsation strucuture first when first implimenting the sap in your company...step by step answer
    thankx
    Edited by: madhubabu rao on Jun 12, 2008 1:10 PM

    Hi,
    I have some code which I developed.
    *&      Form  Create_operation_unit
    *       This subroutine is for creation of Operating Unit
    FORM create_operation_unit .
    *  DATA:lv_valto TYPE datab.
      DATA:
    *  lv_desc TYPE bapiset_hier-descript,
           lv_gpname TYPE bapiset_hier-groupname,
          lv_legno TYPE cepc-zzleg_no.
      TYPES : BEGIN OF st_dept,
              ww007 TYPE t25f4-ww007,
              bezek TYPE t25f4-bezek,
              END OF st_dept.
      DATA: lt_dept TYPE TABLE OF st_dept.
      DATA: wa_dept LIKE LINE OF lt_dept,
            lv_lock_ind type cepc-lock_ind,
            lv_segment  type cepc-segment.
      DATA: lv_index TYPE sy-tabix.
      DATA: lv_index1 TYPE sy-tabix,
            lv_prctr  TYPE cepc-prctr,
            lv_zsgid TYPE zfpasgid,
            lv_zsgid_prev TYPE zfpasgid.
      DATA: lv_indicators TYPE bapi0015_8.
      IF p_sd_pct IS NOT INITIAL.                                           "For Profit Center Group.
        CLEAR: gt_hierarchy,gt_hierarchy[].
        CLEAR: gt_hierarchy1,gt_hierarchy1[].
        CLEAR: gt_value,gt_value[].
        CLEAR: gt_value1,gt_value1[].
        GET PARAMETER ID 'CAC' FIELD gv_p_kokrs.
        IF gv_p_kokrs IS INITIAL.
          CALL TRANSACTION 'OKKS'.
          GET PARAMETER ID 'CAC' FIELD gv_p_kokrs.
        ENDIF.
        lv_index = 1.
        lv_index1 = 2.
    * Get deatils of lower levels group from target.
        CALL FUNCTION 'BAPI_PROFITCENTERGRP_GETDETAIL'
          EXPORTING
            controllingarea = gv_p_kokrs
            groupname       = p_sd_pct
          TABLES
            hierarchynodes  = gt_hierarchy
            hierarchyvalues = gt_value.
    ***Get company code for profit center.
        IF gt_value[] IS NOT INITIAL.
          SELECT bukrs
                   FROM csks INTO TABLE gt_csks1
                   FOR ALL ENTRIES IN gt_value
                   WHERE prctr = gt_value-valfrom.
        ENDIF.
        LOOP AT gt_csks1 INTO wa_csks1.
          wa_co_code-comp_code = wa_csks1-bukrs.
          wa_co_code-assign_to_prctr = 'X'.
          APPEND wa_co_code TO gt_co_code.
        ENDLOOP.
        SELECT ww007 bezek FROM t25f4 INTO TABLE lt_dept
                          WHERE spras = sy-langu.
        LOOP AT lt_dept INTO wa_dept.
          READ TABLE gt_hierarchy INTO wa_hierarchy WITH KEY groupname+7(3) = wa_dept-ww007+5(3).
          IF ( wa_dept-ww007(4) = p_sd_pct AND wa_dept-ww007+5(3) = wa_hierarchy-groupname+7(3) ).
            lv_gpname = wa_hierarchy-groupname.
            wa_hierarchy-descript = wa_dept-bezek.
            MODIFY gt_hierarchy FROM wa_hierarchy
                   TRANSPORTING descript
                 WHERE groupname = lv_gpname.
          ENDIF.
        ENDLOOP.
    *   Get the Lock indicator and segmant from source Operting unit.
          SELECT lock_ind
                 segment
            FROM cepc
            INTO (lv_lock_ind,
                   lv_segment)
            BYPASSING BUFFER
            WHERE datbi GE sy-datum
              AND kokrs = gv_p_kokrs
              AND KHINR = p_sd_pct.   "cepc values for source group
          endselect.
        READ TABLE gt_hierarchy INTO wa_hierarchy WITH KEY groupname = p_sd_pct.
    *  gv_tgt_level = wa_hierarchy-hierlevel - 1.                           "chain level
        gv_src_level = wa_hierarchy-hierlevel.                              "Operating unit level
        gv_dep_level = wa_hierarchy-hierlevel + 1.                          "department level.
        LOOP AT gt_hierarchy INTO wa_hierarchy.
          IF wa_hierarchy-hierlevel = gv_src_level.                         "Opearing Unit node
            wa_hierarchy1-groupname = p_dsno.
    *        wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-descript = p_name.
            wa_hierarchy1-hierlevel = wa_hierarchy-hierlevel.
            APPEND wa_hierarchy1 TO gt_hierarchy1.
          ENDIF.
          IF wa_hierarchy-hierlevel = gv_dep_level.                         "Department node
            CONCATENATE p_dsno wa_hierarchy-groupname+7(3) INTO gv_ngrname.
            wa_hierarchy1-groupname = gv_ngrname.
    *        wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-hierlevel = wa_hierarchy-hierlevel.
            APPEND wa_hierarchy1 TO gt_hierarchy1.
          ENDIF.
          CLEAR wa_hierarchy1.
        ENDLOOP.
        DELETE ADJACENT DUPLICATES FROM gt_hierarchy1
                     COMPARING groupname.
    *---BEGIN Create profit center group
        CALL FUNCTION 'BAPI_PROFITCENTERGRP_CREATE'
          EXPORTING
            controllingareaimp = gv_p_kokrs
          IMPORTING
            return             = wa_message
          TABLES
            hierarchynodes     = gt_hierarchy1
            hierarchyvalues    = gt_value1.
        IF wa_message IS INITIAL.
          CONCATENATE p_dsno text-020
                      INTO wa_message-message
                      SEPARATED BY space.
          APPEND wa_message TO gt_message.
    * Add node only if PCGroup is created successfully
    *---BEGIN Add node to profit center group
          CALL FUNCTION 'BAPI_PROFITCENTERGRP_ADDNODE'
            EXPORTING
              controllingarea = gv_p_kokrs
              groupname       = p_tg_pct
              subgroupname    = p_dsno
            IMPORTING
              return          = wa_message.
          IF wa_message IS INITIAL.
            CONCATENATE p_dsno text-021 p_tg_pct
                        INTO wa_message-message
                        SEPARATED BY space.
            APPEND wa_message TO gt_message.
    *---Create Profit Center ONLY if PCgroup and ADD node created.
            gv_pcgroup_created = 'X'.                                       "flag used while Creating Profit Centers
    *---Cost center group cration based on successful PC group creation.
          ELSE.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
            APPEND wa_message TO gt_message.
          ENDIF.
          PERFORM output CHANGING gt_message.
          CLEAR: gt_message,gt_message[],wa_message.
    *---END Add node
        ELSE.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          APPEND wa_message TO gt_message.
        ENDIF.
        PERFORM output CHANGING gt_message.
        CLEAR: gt_message,gt_message[].
    *---END PC Group Create
      ENDIF.                                                                "end For Profit Center Group.
      IF p_sd_cct IS NOT INITIAL AND gv_pcgroup_created EQ 'X'.             "For Cost Center Group.ONLY when PC group creation is successful
        CLEAR: gt_hierarchy,gt_hierarchy[].
        CLEAR: gt_hierarchy1,gt_hierarchy1[].
        CLEAR: gt_value,gt_value[].
        CLEAR: gt_value1,gt_value1[].
    * Get deatils of lower levels group from target.
        CALL FUNCTION 'BAPI_COSTCENTERGROUP_GETDETAIL'
          EXPORTING
            controllingarea = gv_p_kokrs
            groupname       = p_sd_cct
          TABLES
            hierarchynodes  = gt_hierarchy
            hierarchyvalues = gt_value.
        READ TABLE gt_value INTO wa_value INDEX 1.
        IF sy-subrc = 0.
          SELECT SINGLE kokrs khinr bukrs kosar
                      FROM csks
                      INTO (gv_c_kokrs, gv_c_grpname, gv_c_bukrs, gv_kosar)
                      WHERE kokrs = gv_p_kokrs
                      AND   kostl = wa_value-valfrom
                      AND   datbi GE sy-datum.
        ENDIF.
        LOOP AT lt_dept INTO wa_dept.
          READ TABLE gt_hierarchy INTO wa_hierarchy WITH KEY groupname+7(3) = wa_dept-ww007+5(3).
          IF ( wa_dept-ww007(4) = p_sd_cct AND wa_dept-ww007+5(3) = wa_hierarchy-groupname+7(3) ).
            lv_gpname = wa_hierarchy-groupname.
            wa_hierarchy-descript = wa_dept-bezek.
            MODIFY gt_hierarchy FROM wa_hierarchy
                   TRANSPORTING descript
                 WHERE groupname = lv_gpname.
          ENDIF.
        ENDLOOP.
        READ TABLE gt_hierarchy INTO wa_hierarchy WITH KEY groupname = p_sd_cct.
    *  gv_tgt_level = wa_hierarchy-hierlevel - 1.                           "chain level
        gv_src_level = wa_hierarchy-hierlevel.                              "Operating unit level
        gv_dep_level = wa_hierarchy-hierlevel + 1.                          "department level.
        LOOP AT gt_hierarchy INTO wa_hierarchy.
          IF wa_hierarchy-hierlevel = gv_src_level.                         "Operating Unit node
            wa_hierarchy1-groupname = p_dsno.
    *        wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-descript = p_name.
            wa_hierarchy1-hierlevel = wa_hierarchy-hierlevel.
            APPEND wa_hierarchy1 TO gt_hierarchy1.
          ENDIF.
          IF wa_hierarchy-hierlevel = gv_dep_level.                         "Department node
            CONCATENATE p_dsno wa_hierarchy-groupname+7(3) INTO gv_ngrname.
            wa_hierarchy1-groupname = gv_ngrname.
    *        wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-descript = wa_hierarchy-descript.
            wa_hierarchy1-hierlevel = wa_hierarchy-hierlevel.
            APPEND wa_hierarchy1 TO gt_hierarchy1.
          ENDIF.
          CLEAR wa_hierarchy1.
        ENDLOOP.
    *Create Cost Center Group
    *---BEGIN of COSTCENTER Group CREATE
        CALL FUNCTION 'BAPI_COSTCENTERGROUP_CREATE'
          EXPORTING
    *dinesh
            controllingareaimp = gv_p_kokrs
          IMPORTING
            return             = wa_message
          TABLES
            hierarchynodes     = gt_hierarchy1
            hierarchyvalues    = gt_value1.
        IF wa_message IS INITIAL.
          CONCATENATE p_dsno text-022
                      INTO wa_message-message
                      SEPARATED BY space.
          APPEND wa_message TO gt_message.
    *Add node to cost center group ONLY if Cost Center Group creation is successful
    *---BEGIN of ADDNODE
          CALL FUNCTION 'BAPI_COSTCENTERGROUP_ADDNODE'
            EXPORTING
    *dinesh
              controllingarea = gv_p_kokrs
              groupname       = p_tg_cct
              subgroupname    = p_dsno
            IMPORTING
              return          = wa_message.
          IF wa_message IS INITIAL.
            CONCATENATE p_dsno text-023 p_tg_cct
                        INTO wa_message-message
                        SEPARATED BY space.
            APPEND wa_message TO gt_message.
    * Cost Center is created ONLY if Cost Center group and add node is successful
            gv_ccgroup_created = 'X'.                                       "flag used while crateing cost center
          ELSE.
    *Rollback if BAPI fails in Adding Node
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
            APPEND wa_message TO gt_message.
          ENDIF.
          PERFORM output CHANGING gt_message.
          CLEAR: gt_message,gt_message[],wa_message.
    *---END of ADDNODE
        ELSE.
    *Rollback if BAPI fails in creating group
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          APPEND wa_message TO gt_message.
        ENDIF.
        PERFORM output CHANGING gt_message.
        CLEAR: gt_message,gt_message[],wa_message.
    *---END of COSTCENTER CREATE
      ENDIF.                                                                "End of Cost Center Group
      LOOP AT gt_hierarchy1 INTO wa_hierarchy1.
        CLEAR: wa_profitcenterid,wa_basicdata,wa_address.
        CLEAR: wa_costcenterlist,gt_costcenterlist,gt_costcenterlist[].
    ***Call function get_next_numbers to generate profit center no.
        CALL FUNCTION 'NUMBER_GET_NEXT'
          EXPORTING
            nr_range_nr             = '02'
            object                  = 'COPCA_OBJ'
          IMPORTING
            number                  = gv_number
          EXCEPTIONS
            interval_not_found      = 1
            number_range_not_intern = 2
            object_not_found        = 3
            quantity_is_0           = 4
            quantity_is_not_1       = 5
            interval_overflow       = 6
            buffer_overflow         = 7
            OTHERS                  = 8.
        IF sy-subrc <> 0.
          IF sy-subrc = 8.
            wa_message-id = sy-msgid.
            wa_message-type = sy-msgty.
            wa_message-number = sy-msgno.
            wa_message-message_v1 = sy-msgv1.
            wa_message-message_v2 = sy-msgv2.
            wa_message-message_v3 = sy-msgv3.
            wa_message-message_v4 = sy-msgv4.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 1.
            wa_message-message_v1 = text-043.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 2.
            wa_message-message_v1 = text-044.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 3.
            wa_message-message_v1 = text-045.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 4.
            wa_message-message_v1 = text-046.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 5.
            wa_message-message_v1 = text-047.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 6.
            wa_message-message_v1 = text-048.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[].
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ELSEIF sy-subrc = 7.
            wa_message-message_v1 = text-049.
            APPEND wa_message TO gt_message.
            PERFORM output CHANGING gt_message.
            CLEAR: gt_message,gt_message[],wa_message.
            CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          ENDIF.
        ELSE.
          IF p_sd_pct IS NOT INITIAL.                                       "For Profit Center create.
    *Create Profit Center only when Profit center group creation and add node is successful
            IF gv_pcgroup_created = 'X'.                                    "PCG flag check
              clear: wa_profitcenterid,
                     wa_basicdata,
                     wa_address,
                     lv_indicators.
              wa_profitcenterid-co_area = gv_p_kokrs.
              wa_profitcenterid-profit_ctr = gv_number.
              wa_basicdata-prctr_name = wa_hierarchy1-groupname.
              wa_basicdata-long_text = wa_hierarchy1-descript.
              wa_basicdata-in_charge = sy-uname.
              wa_basicdata-prctr_hier_grp = wa_hierarchy1-groupname.
              wa_basicdata-segment        = lv_segment.
              IF wa_hierarchy1-hierlevel = gv_src_level.                    "Address and locking only in Op.Unit
                lv_indicators-LOCK_IND = lv_lock_ind.
                wa_address-name       = p_name.
                wa_address-street     = p_strt.
                wa_address-city       = p_city.
                wa_address-postl_code = p_pcod.
                wa_address-country    = p_cont.
                wa_address-region     = p_reg.
              ENDIF.
    * Create Profit Center
    *          WAIT UP TO 2 SECONDS.
              CALL FUNCTION 'BAPI_PROFITCENTER_CREATE'
                EXPORTING
                  profitcenterid = wa_profitcenterid
                  validfrom      = p_date
                  validto        = c_validto
                  basicdata      = wa_basicdata
                  address        = wa_address
                  indicators     = lv_indicators
                IMPORTING
                  return         = wa_message
                TABLES
                  companycodes   = gt_co_code.
    *          WAIT UP TO 2 SECONDS.
              IF wa_message-type NE 'E' OR wa_message-type NE 'A'.
                CONCATENATE wa_profitcenterid-profit_ctr text-024
                            INTO wa_message-message
                            SEPARATED BY space.
                APPEND wa_message TO gt_message.
              ELSE.
                CLEAR gv_pcgroup_created.                                    "CEPC updation is based on this
                CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
                APPEND wa_message TO gt_message.
              ENDIF.
              PERFORM output CHANGING gt_message.
              CLEAR: gt_message,gt_message[],wa_message.
            ENDIF .                                                         "end of flag check
          ENDIF.                                                            "end of profitcenter create
          IF p_sd_cct IS NOT INITIAL.                                       "For Cost Center Create.
    *Create Cost Center only when Cost center group creation and add node is successful
            IF gv_ccgroup_created = 'X'.                                    "CCG flag check
              IF wa_hierarchy1-hierlevel = gv_dep_level.                    "Cost Center only in Dept level
                READ TABLE gt_value INTO wa_value INDEX lv_index1.
                SELECT kostl kosar FROM csks
                        INTO TABLE gt_csks_cat
                        WHERE kostl = wa_value-valfrom.
                lv_index1 =  lv_index1 + 1.
                READ TABLE gt_csks_cat INTO wa_csks_cat WITH KEY kostl = wa_value-valfrom.
                wa_costcenterlist-costcenter       = gv_number.
                wa_costcenterlist-valid_from       = p_date.
                wa_costcenterlist-valid_to         = c_validto. "31.12.9999
                wa_costcenterlist-person_in_charge = sy-uname.
                wa_costcenterlist-comp_code        = gv_c_bukrs .
                wa_costcenterlist-costcenter_type  = wa_csks_cat-kosar.
                wa_costcenterlist-costctr_hier_grp = wa_hierarchy1-groupname.
                wa_costcenterlist-descript         = wa_hierarchy1-descript.
                wa_costcenterlist-name             = wa_hierarchy1-groupname.
                wa_costcenterlist-profit_ctr       = gv_number.
                APPEND wa_costcenterlist TO gt_costcenterlist.
    *---BEGIN Create Cost Center
                CALL FUNCTION 'BAPI_COSTCENTER_CREATEMULTIPLE'
                  EXPORTING
                    controllingarea = gv_p_kokrs
                  TABLES
                    costcenterlist  = gt_costcenterlist
                    return          = gt_message.
                READ TABLE gt_message INTO wa_message INDEX 1.
                CLEAR gt_message[].
                IF wa_message-type = 'E' OR wa_message-type = 'A'.
                  CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
                  CONCATENATE wa_message-message wa_message-message_v1 text-050 p_dsno text-051
                      INTO wa_message-message
                      SEPARATED BY space.
                  APPEND wa_message TO gt_message.
                  CLEAR: gt_message,gt_message[],wa_message.
                ELSE.
    * Activate only if Cost center is created successfully
    *---BEGIN of ACTIVATION
                  CLEAR : wa_costcenterlist_act,gt_costcenterlist_act[].
                  wa_costcenterlist_act-co_area     = gv_p_kokrs.
                  wa_costcenterlist_act-costcenter     = gv_number.
                  wa_costcenterlist_act-name            = p_name.
                  wa_costcenterlist_act-descript     = wa_hierarchy1-descript.
                  wa_costcenterlist_act-act_state     = 'X'.
                  APPEND wa_costcenterlist_act TO gt_costcenterlist_act.
                  CALL FUNCTION 'BAPI_CTR_ACTIVATE_MULTIPLE'
                    EXPORTING
                      controllingarea = gv_p_kokrs
                    TABLES
                      costcenterlist  = gt_costcenterlist_act
                      return          = gt_message.
                  READ TABLE gt_message INTO wa_message INDEX 1.
                  IF wa_message-type = 'E' OR wa_message-type = 'A'.
                    CLEAR gv_ccgroup_created.                                 "CEPC updation is based on this condition
                    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
                    CONCATENATE p_dsno text-050
                                INTO wa_message-message
                                SEPARATED BY space.
                    APPEND wa_message TO gt_message.
                  ELSE.
                    CONCATENATE wa_profitcenterid-profit_ctr text-025 text-026
                                INTO wa_message-message
                                SEPARATED BY space.
                    APPEND wa_message TO gt_message.
                    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.                "COMMIT CC activation
                  ENDIF.
                  PERFORM output CHANGING gt_message.
                  CLEAR: gt_message,gt_message[],wa_message.
    *---END of ACTIVATION
                ENDIF.
                PERFORM output CHANGING gt_message.
                CLEAR: gt_message,gt_message[],wa_message.
    *---END Create Cost Center
              ENDIF.
            ENDIF.                                                          "end of CCG flag check
          ENDIF.                                                            "end of cost center create
    *--Updating CEPC Append Structure ZDSG_DATA and sales group table ZFPASALESGROUP
          IF gv_ccgroup_created = 'X' AND gv_pcgroup_created = 'X'.
            READ TABLE gt_hierarchy
                       INTO wa_hierarchy
                       WITH KEY hierlevel = wa_hierarchy1-hierlevel.          "source group
            IF sy-subrc = 0.
    *CEPC values for source group
              READ TABLE gt_value INTO wa_value INDEX lv_index.
              SELECT SINGLE * FROM cepc
                        INTO wa_cepc BYPASSING BUFFER
                        WHERE  kokrs   = gv_p_kokrs
                        AND datbi      GE sy-datum
                        AND prctr      = wa_value-valfrom.
    * For updating CEPC
              IF sy-subrc = 0.
                READ TABLE gt_hierarchy INDEX lv_index
                         INTO wa_hierarchy.
                lv_index = lv_index + 1.
                IF wa_hierarchy-hierlevel = 1.
                  CONCATENATE p_legacy wa_hierarchy-groupname+7(3) INTO lv_legno.
                  p_ztype = '05'.
                  p_zstype = ' '.
                ELSE.
                  lv_legno = p_legacy.
                ENDIF.
                wa_cepc-prctr        = gv_number.
                wa_cepc-datbi        = c_validto.
                wa_cepc-kokrs        = gv_p_kokrs.
                wa_cepc-zzleg_no  = lv_legno.
                wa_cepc-zztype        = p_ztype.
                wa_cepc-zzstype   = p_zstype.
                wa_cepc-zzfsdate  = p_sal_da.
                wa_cepc-zzdist        = p_zdist.
                wa_cepc-zzsvat    = p_zsvat.
                APPEND wa_cepc TO gt_cepc.
                PERFORM update_append_cepc TABLES gt_cepc.
                CLEAR:wa_cepc,gt_cepc[],gt_cepc,lv_prctr.
    * For updating ZFPASALESGROUP
                SELECT SINGLE prctr
                  INTO lv_prctr
                  FROM cepc
                 WHERE khinr = wa_hierarchy-groupname.
                IF sy-subrc = 0.
                  SELECT  * FROM zfpasalesgroup
                            INTO TABLE gt_salesgrp
                           WHERE zvalid_from GE p_date
                             AND zvalid_to LE c_validto
                             AND prctr = lv_prctr
                             AND zdeactive = ''.
                  IF sy-subrc = 0.
                    SELECT MAX( zsgid ) INTO lv_zsgid FROM  zfpasalesgroup.
                    IF lv_zsgid IS INITIAL.
                      lv_zsgid = '1000000000'.
                    ENDIF.
                    SORT gt_salesgrp BY zsgid zvalid_from.
                    LOOP AT gt_salesgrp INTO wa_salesgrp.
                      IF lv_zsgid_prev NE wa_salesgrp-zsgid OR lv_zsgid_prev IS INITIAL.
    *                      wa_salesgrp-zsgid = lv_zsgid.
    *                  else.
                        lv_zsgid = lv_zsgid + 1.
                        lv_zsgid_prev = wa_salesgrp-zsgid.
                        wa_salesgrp-zsgid = lv_zsgid.
                      ELSE.
    *                  lv_zsgid_prev = lv_zsgid.
                        wa_salesgrp-zsgid = lv_zsgid.
                      ENDIF.
                      wa_salesgrp-prctr = gv_number.
                      IF wa_salesgrp-zvalid_from LT p_date.
                        wa_salesgrp-zvalid_from = p_date.
                      ENDIF.
    *              wa_salesgrp-zvalid_to = c_validto.
    *                insert new entry in zfpasalesgroup for data entered on screen.
                      INSERT into zfpasalesgroup values wa_salesgrp.
    *                MODIFY zfpasalesgroup FROM TABLE gt_salesgrp .
    *                Message for output
                      IF sy-subrc = 0.
                        CONCATENATE  wa_salesgrp-zsgid text-102 'ZFPASALESGROUP'
                                    INTO wa_message-message
                                    SEPARATED BY space.
                        wa_message-type = 'S'.
                        APPEND wa_message TO gt_message.
                        PERFORM output CHANGING gt_message.
                        CLEAR: gt_message,gt_message[],wa_message.
                      ELSE.
    *                Message for output if its not successful
                        CONCATENATE text-103 'ZFPASALESGROUP'
                                    INTO wa_message-message
                                    SEPARATED BY space.
                        wa_message-type = 'E'.
                        APPEND wa_message TO gt_message.
                        PERFORM output CHANGING gt_message.
                        CLEAR: gt_message,gt_message[],wa_message.
                      ENDIF.
                      CLEAR wa_salesgrp.
                    ENDLOOP.
                    CLEAR: wa_salesgrp, gt_salesgrp[], gt_salesgrp,lv_zsgid_prev .
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
      PERFORM display_log CHANGING gt_log.
      PERFORM clear_variables.
      gv_active_tab = 'SOS_TAB1'.
    ENDFORM.                    " Create_operation_unit
    <REMOVED BY MODERATOR>
    Regards
    Susheel
    Code Formatted by: Alvaro Tejada Galindo on Jun 12, 2008 4:31 PM

  • How can i create Organization Structure in sap

    Hi Abaper/Basis Guys...
       I want To Create An Simple Basic Organization Structure for my  small Company..iam Abaper no basic guy is there in my office.
       pls send me step by step guidlines
    Thank You.
    Madhu Rao
    Edited by: madhubabu rao on Jun 19, 2008 8:01 AM

    Hi Madhu,
    Kindly check the following links.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/6a43cccafe11d2b49d006094b9c9b4/content.htm
    http://help.sap.com/bestpractices/BBLibrary/html/J02_OrgStructure_EN_UK.htm
    Dont forget to reward points if found useful.
    Thanks,
    Satyesh

  • How I create a structure in the ABAP DICTIONARY?

    I need a structure for a FORM, how can I create a structure in the ABAP DICTIONARY?
    Thanks!!

    Hi Carlos,
    Go to SE11(ABAP Dictionary).
    Select the Data Type radio button.
    Specify the name for your structure.
    Note structure in customer namespace should start with Z or Y.
    Press the create button.
    Then in the next dialog box select the structure radio button.
    Then you will get in to the structure screen.
    Give a meaningful description for your structure.
    Add the relevant fields and finally activate.
    Regards,
    Abdul

  • How do you create array of enums for transitions in a state machine?

    Hello,
    I am trying to build a state machine, but, I am struggling with understanding the methods for determining which state to transition to next.  In other words, I have several states, but, I don't want to go in any particular sequence.  If I have states numbered 1 through 10, I want to be able to go 1-4-2-5-6-2-6-1-10 etc. in no particular order. I want the transition to the next state  (and actions) to be determined by the streaming data, which can be random and require access to any of my 10 states at any time and in any sequence.
    I saw this picture on the "Application Design Patterns: State Machines" white paper, but, it leaves out some important details.  How does one create the structure in BLUE shown in 3C?  When I try to create this array of enums, all of them are the same. I am not able to make a list of different enum values.  In other words, when I type in "2", then, all the values in the array display as "2."
    There is a nice, simple video example of a state machine for dispensing soda for $0.15, however, this state machine moves in a single sequence, from 5 cents, to 10 cents to dispense; it does NOT illustrate how to select a state "out of order."  I need to understand how a state machine can move from "5 cents" state to dispense directly, with the addition of 10 cents to the "5 cents" state.
    Can anyone suggest a really good tutorial on how to make the selector work in a state machine?  I have been reading some of the available material on ni.com, but, I can't find a good detailed explanation of how to do it.  I remain confused. 
    Or, can you just explain how they created the BLUE array in the attached picture?  Maybe I can figure it out from there.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    next state.jpg ‏75 KB

    Hi Kathryn,
    Yes, this is EXACTLY what I want to accomplish...
    So it would basically run:
    State 1
    Read input
    Determine next state (say 3)
    State 3
    Read input
    Determine next state
    State
    Read input
    Determine next state
    And so on...
    But, I am quite new to programming Labview state machines, and can't figure out how to even start when the sequence of states is random instead of fixed!!! I can do 1,2,3,4, like the vending machine VI example, but,  not 1,3,2,2,2,5,2,1 etc. based on external input.  Is there some simple example case I can study?  I can't believe I am inventing this for the first time.
    "select the state to run" 
    But, HOW do I do this???????   This is exactly the question I am asking...how is this done?  Please see the attached 3-state system....how do I hook this up????  I am totally lost here...can you help me understand how to wire this thing??  In this simpe RED/GREEN/BLUE case, my input is just the number a user would input on the front panel....  Apparently, there are two files necessary... a vi and .ctl???  What  is .ctl?
    Thanks,
    Dave
    Attachments:
    forum nov 12 red green blue.vi ‏7 KB
    forum nov 12 red green blue.ctl ‏5 KB

  • Creating a structure, knowing the name and the type of the components

    hi, following problem:
    i have uploaded an excel file from a different system with the information about the names and the types of the components of several structures.
    how can i create a structure with this informatin on my system?

    ok, i think i have to give you some more details:
    i want to update a table from a table saved on another system using a report.
    (only inserts are important, no updates)
    the problem is, that tables may not have the same components.
    therefore i have created several excel sheets with following content (using mehtod gui_download):
    name1      ; name2        ; name3....                 | name of the component
    typ1         ;  typ2           ; typ3 ...                     | type of the component
    content11 ;  content12   ; content13
    content21 ;  content22   ; content23
    uploading the file into table <uploadtable>
    now need dynamic structure:  let' s say dynamicwa
    name1   typ1
    name2   type2
    then: loop at <uploadtable> into dynamicwa.
                move-corresponding dynamicwa to destinationwa.
                insert destination_wa into destination_table.
            endloop.
    but how can i create this dynamicwa?
    Message was edited by: Michael
            Michael  Dirndorfer

  • Help me on to create a structure for Datatype

    Dear XI experts,
    Please suggest me how can i create the structure for creating a datatype for Sender side.
    Header Information:
    1) UDFString4 /
       <C88> value where C106="PICKUP"
    2) UDFString1 /
       <C83> value where <C106> = u201CPICKUPu201D
    3) UDFString1 /
       <C83> value where <C106> = u201CDROPOFFu201D
    4) CompletedDate /
       <C97> value where <C106> = u201CDROPOFFu201D
    5) CompletedDate /
       <C97> value where <C106> = u201CPICKUPu201D
    etc.,,
    ITEM information
    1) UDFString8 /
       <C86> value where <C106> = u201CPICKUPu201D
    2) Quantity /
      <C95> value where <C106> = u201CPICKUPu201D
    3) UDFString7 /
       <C85> value where <C106> = u201CPICKUPu201D
    Thanks & Regards,
    Y.Raj.

    Hi,
    This is the split criteria for creation a new messages
    Split and matching criteria:
    1)For ea. New value in xml tag <C93> a new IDoc must be created.
    2)Within the XML messages two sections will be received per SAP line item xml tag <C98> will contains the link between the u201CPICKUPu201D and u201CDROPOFFu201D which must be match together in the mapping via <C106> for ea. Material number <C94>.
    Here i would like to provide some of the fields for source side.
    Header Information:
    1) UDFString4 /
    C88 value where C106="PICKUP"
    2) UDFString1 /
    C83 value where C106 = u201CPICKUPu201D
    3) UDFString1 /
    C83 value where C106 = u201CDROPOFFu201D
    4) CompletedDate /
    C97 value where C106 = u201CDROPOFFu201D
    5) CompletedDate /
    C97 value where C106 = u201CPICKUPu201D
    etc.,,
    ITEM information1) UDFString8 /
    C86 value where C106 = u201CPICKUPu201D
    2) Quantity /
    C95 value where C106 = u201CPICKUPu201D
    3) UDFString7 /
    C85 value where C106 = u201CPICKUPu201D
    Thanks & Regards,
    Y.Raj.
    Edited by: YeswanthRaj Kumar on Nov 3, 2008 9:39 AM

  • How do I create a second user on my MacBook pro?

    I am a new user to the Mac family, and I'm loving it! I bought my MacBook Pro 15" with retina display with the intention of me being its only user. I am now reluctantly thinking of letting my almost 15 year old daughter use it. She has used it as a "Guest User", but upon logging off, all of her information gets erased. How do I create a second user? I want to make sure she cannot access my files, alter my settings, etc. But I want her to be able to save whatever she is working on. And I also want to be able to access her user to monitor her internet usage, and also add parental controls. Mahalo folks!

    Open System Preferences -> Users & Groups and use the plus sign to add a new user. You can elect to give your daughter admin privileges or not, etc.
    Good luck,
    Clinton

  • Steps to Create a structure in  t.code se11

    hi,
    I want to know the steps to create a structure in se11.
    i want to include these fields:
    <u>Table</u>    <u>field</u>
    ekpo         -     ematn
    v_024        -     ektek
    ekko         -     verkf

    Hi,
    1. Go To SE11
    2. Select the radio button "Data Type"
    3. Enter the structure name "ZXXX"
    4. Click create button
    5. Dialog box will appear
    5. Select the radio button "Structure" from that dialog
    6. A new screen "Dictionary: Maintain Structure" will appear
    7. Enter the short description
    8. Create components ( means fields ) by clicking Buit-in type / component button.
        Built-in means SAP standard DATA types
        Components means using existing Domain/Data element
        Ex:
        Component: ABC
        data Type: CHAR
    9. Now click the save button (Control + S)
    10. Click the "Activate" button (Control + F3)
    11. Now your structure is ready to use.
    Note:
    In your case you can go for Component type to declare the fields. Since you have EMATN, EKTEK and VERKF.
    Regs,
    Venkat Ramanan N
    Message was edited by: Venkat Ramanan Natarajan

  • How do I create a new folder in my documents?

    Hi there, I'm new on Mac.
    How do I create a new folder when I want a new folder in my documents?
    I also want to create folders on an extern harddrive, but I can only create a folder on the launchpad...

    See my orginal post - it answered the OPs question just fine:
    When you have any window open, you can press the Shift-Command-N keys to create a new untitled folder. Same with on an external hard drive. Also works on the Desktop.
    Maybe I should have said, to your reply:
    "and you don't have to open any windows to use the command on the Desktop."
    Would that have worked for you?
    Clinton

  • How can I create a jar file

    Hello!
    How can a create a jar file?
    I want to run an application just clicking in a icon.
    How can I do this?
    Thanks a lot.
    K�tia.

    Get to the command prompt
    change directories to the directory where the main class resides.
    Open your text editor and type the following in it:
    Manifest-Version: 1.0
    Main-Class: NameOfMainClass //Just name without ".class"!!!
    Created-By: Your Name Here
    Save this file as whatever you want to name it with ".mf" as the extension.
    Then go back into the command prompt and type the following:
    jar cfm "NameOfJarFile".jar "NameOfManifestFile".mf *.class
    (without the quote marks of course)
    Hit "Enter"
    This will jar it up and make it executable.
    If you have any images associated with the program you can add them in the same way as above. Just add *.gif or *.jpg after the *.class portion.
    Good luck!
    LEEMAX I. T.

  • How can I create  a conditional  break  in webi  ?

    Hello Mister and Misses
    Can somebody explain me how i can  create a conditional break , because i want to limit the number of lines to 9 l ines in a bloc
    each 9 lines  I want to create a break
    Thank you
    example  :
    1   toto
    2   titi
    3   taa
    4   tutu
    5   papa
    6   popo
    7   tata
    8   momo
    9   mimi
    (break)
    10  mumu
    17  maxe
    18 fax
    (break)
    19..
    My first column is not a dimension  so, i can't manage to make a break
    How is it possible to tranform a measure to a dimension in order to make a break  on each  9 lines
    thank you

    Tien,
    Try myFile.WriteText('\x0c'); instead of myFile.WriteText('\f');
    Regards
    Richard Stobart
    -----Original Message-----
    From: Wang, Tien [SMTP:[email protected]]
    Sent: Friday, September 12, 1997 6:09 PM
    To: Glen A. Whitbeck
    Cc: forte-users; owner-forte-users
    Subject: RE: How can I create a page break in a file?
    Thank you, Glen. I tried WriteText. But it didn't work.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    From: Glen A. Whitbeck
    Sent: Thursday, September 11, 1997 11:59 AM
    To: Wang, Tien
    Cc: forte-users; owner-forte-users
    Subject: Re: How can I create a page break in a file?
    Instead of using "WriteLine," try using "WriteText" ("WriteLine" writes
    TextData into an open file, while "WriteText" writes data to a stream)
    like this:
    <method 1>
    myFile : file = new();
    myFile.WriteText('\f');
    Glen
    Wang, Tien wrote:
    Hi,
    I am creating a text file for a report which contains multiple pages.
    How can I create a page break in my file? I tried to use the
    following
    two methods, but neither of them works. Specifically, it seems a
    special
    character printed in the file. But when I print the file through a
    WordPad, it didn't separate pages.
    I am currently using version 3.0.C on Windows NT 4.0 with a HP Plus 4
    printer. Any help will be greatly appreciated.
    Tien Wang
    Indus Consultancy Services
    [email protected]
    >
    <method 1>
    myFile : file = new();
    file.writeLine('\f'); --- \f is the form feed in the C language
    <method 2>
    myFile : file = new();
    j : IntegerData = new( value = 14 );
    c : char = j.IntegerValue; -- c now contains ascii 14 (form feed)
    p : pointer to char = &c; -- Set a pointer to the character
    pageBreakTxt : TextData = new();
    pageBreakTxt.Concat(p);
    myfile.writeLine(pageBreakTxt);

  • How to create custom structure in smart forms & use them in interface

    hi experts....
    can anyone tell me how to use  custom structure in
    form interface (parameters) without creating any structure
    in the dictionary.

    Hi Shrama,
    If you want to use the structure in interface. You have to create structure in dictionary.
    if you create in form or in report ..they won't recongnize the local structures.
    Thanks,
    Sunil

  • How do I create a physical structure in the data dictionary ?

    Hi all,
    How can I create a data structure using ABAP ? (prefrebly by using a class)
    I want to create a physical data dictionary structure, just like using se11 (data type -> structure).
    Thanx ahead.
    -Tonni

    To create a dynamic table at runtime I use the code below.
    DATA: gt_fcat          TYPE slis_t_fieldcat_alv,
          gs_fcat          LIKE LINE OF gt_fcat,
          gt_fieldcat      TYPE lvc_t_fcat,
          gs_fieldcat      LIKE LINE OF gt_fieldcat. 
    CLEAR: gt_fieldcat, gt_fieldcat[], gs_fieldcat.
      gs_fieldcat-fieldname     = 'SIGN'.
      gs_fieldcat-ref_field     = 'XMSTU'.
      gs_fieldcat-ref_table     = 'T007A'.
      gs_fieldcat-fix_column    = space.
      gs_fieldcat-no_zero       = space.
      APPEND gs_fieldcat TO gt_fieldcat.
      gs_fieldcat-fieldname     = 'OPTION'.
      gs_fieldcat-ref_field     = 'SEQN'.
      gs_fieldcat-ref_table     = 'T159W'.
      gs_fieldcat-fix_column    = space.
      gs_fieldcat-no_zero       = space.
      APPEND gs_fieldcat TO gt_fieldcat.
    Create a new Table
      CLEAR : gt_range2.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fieldcat
        IMPORTING
          ep_table        = gt_range2.
    Create a new Line with the same structure of the table.
      ASSIGN gt_range2->* TO <range>.
    To create a structure like this table I use
      CREATE DATA gs_range2 LIKE LINE OF <range>.
      ASSIGN gs_range2->* TO <range1>.

Maybe you are looking for

  • How do you select a clob column in an SQL query report?

    I must be missing something fundamental as there is practically no help on this on the forum. All I want to do is ... select numcol,aclob_col from table in an SQL Query report. Sounds easy??? I get no data appearing in the clob column. Doesn't work i

  • System is not generating a spool request for Dep.?

    Hi, When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message "!! This processing can only be carried out as background processing !! But when

  • How to post the Down payment for assets using the investment measure?

    Hi, We want to post the down payment using the investment measure for some of the assets. Please tell me how to post it and how to clear it. I have searched the net but till now I am unable to find something with which I can do that. Thanks in advanc

  • Can I get a discounted Creative Suite 6 Design & Web Premium for Mac if I already own the Windows ve

    I have a desktop computer with the Windows version of Creative Suite 6 Design & Web Premium. I have a Mac laptop and would like to run the suite from it too. Is there a way to get a discounted suite for this second computer?

  • Isqlplus service is not starting

    I have oracle 10.1.0.2.0 installed in my windows xp..I have worked with isqlplus the week before,but unfortunately now it's not displaying.when i see the isqlplus in windows services,it is always displayed as starting..What might be the problem Thank