How can I modify Time dimension to create a Top member above year members ?

Hi experts,
I would like to modify Time dimension to add a Top member above year members.
I already did a test:
I added a member in Time dimension which is the parent of all year members. I granted it these property values:
- ID = TOTAL
- EVDESCRIPTION = Total
- LEVEL = TOTAL
- HLEVEL = 1 (and I added 1 to all the other members)
- TIMEID = 10000001
All other properties were left blank for this member.
I processed the dimension. It went well. But when I tried an evdre in BPC excel it failed.
Any idea of something missing ?
I am working on SAP BPC MS 7 SP4
Thanks for your help
Ludovic

Hi Petar,
Thanks for your answer. No doubt that we could solve the issue using on of the way you suggested.
However, even though I had the evdre issue right after applying time dimension modifications, it occurs that the evdre issue was not due to time dimension modifications. I tested it better and I can tell that using "total" as a level works.
Best regards,
Ludovic

Similar Messages

  • How can I modify this makefile to create proper ARMV7 dylibs?

    I need to modify this makefile in order to create proper dylibs for inclusion in my IOS projects. If I just using the dylibs generated without changing this file, I get this error trying to use the dylibs:
    ld: warning: ld: warning: ignoring file Undefined symbols for architecture armv7s:
      "_mongo_connect", referenced from:
          -[ViewController viewDidLoad] in ViewController.o
    libbson.dylib, file was built for unsupported file format
    ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (armv7s):
    Undefined symbols for architecture armv7s:
      "_mongo_connect", referenced from:
          -[ViewController viewDidLoad] in ViewController.o
    libbson.dylibignoring file
    Undefined symbols for architecture armv7s:
      "_mongo_connect", referenced from:
          -[ViewController viewDidLoad] in ViewController.o
    libmongoc.dylib, file was built for unsupported file format
    ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (armv7s):
    Undefined symbols for architecture armv7s:
      "_mongo_connect", referenced from:
          -[ViewController viewDidLoad] in ViewController.o
    libmongoc.dylib
    Undefined symbols for architecture armv7s:
      "_mongo_connect", referenced from:
          -[ViewController viewDidLoad] in ViewController.o
    The makefile:
    # MongoDB C Driver Makefile
    # Copyright 2009, 2010 10gen Inc.
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    # http://www.apache.org/licenses/LICENSE-2.0
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    # Version
    MONGO_MAJOR=0
    MONGO_MINOR=6
    MONGO_PATCH=0
    BSON_MAJOR=$(MONGO_MAJOR)
    BSON_MINOR=$(MONGO_MINOR)
    BSON_PATCH=$(MONGO_PATCH)
    # Library names
    MONGO_LIBNAME=libmongoc
    BSON_LIBNAME=libbson
    # Standard or posix env.
    ENV?=posix
    # TODO: add replica set test, cpp test, platform tests, json_test
    TESTS=test_auth test_bcon test_bson test_bson_subobject test_count_delete \
      test_cursors test_endian_swap test_errors test_examples \
      test_functions test_gridfs test_helpers \
      test_oid test_resize test_simple test_sizes test_update \
      test_validate test_write_concern test_commands
    MONGO_OBJECTS=src/bcon.o src/bson.o src/encoding.o src/gridfs.o src/md5.o src/mongo.o \
    src/numbers.o
    BSON_OBJECTS=src/bcon.o src/bson.o src/numbers.o src/encoding.o
    ifeq ($(ENV),posix)
        TESTS+=test_env_posix test_unix_socket
        MONGO_OBJECTS+=src/env_posix.o
    else
        MONGO_OBJECTS+=src/env_standard.o
    endif
    DYN_MONGO_OBJECTS=$(foreach i,$(MONGO_OBJECTS),$(patsubst %.o,%.os,$(i)))
    DYN_BSON_OBJECTS=$(foreach i,$(BSON_OBJECTS),$(patsubst %.o,%.os,$(i)))
    # Compile flags
    ALL_DEFINES=$(DEFINES)
    ALL_DEFINES+=-D_POSIX_SOURCE
    CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
    DYN_FLAGS:=-fPIC -DMONGO_DLL_BUILD
    # Endianness check
    endian := $(shell sh -c 'echo "ab" | od -x | grep "6261" >/dev/null && echo little || echo big')
    ifeq ($(endian),big)
        ALL_DEFINES+=-DMONGO_BIG_ENDIAN
    endif
    # Int64 type check
    int64:=$(shell ./check_int64.sh $(CC) stdint.h && echo stdint)
    ifeq ($(int64),stdint)
        ALL_DEFINES+=-DMONGO_HAVE_STDINT
    else
        int64:=$(shell ./check_int64.sh $(CC) unistd.h && echo unistd)
        ifeq ($(int64),unistd)
            ALL_DEFINES+=-DMONGO_HAVE_UNISTD
        endif
    endif
    $(shell rm header_check.tmp tmp.c)
    TEST_DEFINES=$(ALL_DEFINES)
    TEST_DEFINES+=-DTEST_SERVER="\"127.0.0.1\""
    OPTIMIZATION?=-O3
    WARNINGS?=-Wall
    DEBUG?=-ggdb
    STD?=c99
    PEDANTIC?=-pedantic
    ALL_CFLAGS=-std=$(STD) $(PEDANTIC) $(CFLAGS) $(OPTIMIZATION) $(WARNINGS) $(DEBUG) $(ALL_DEFINES)
    ALL_LDFLAGS=$(LDFLAGS)
    # Shared libraries
    DYLIBSUFFIX=so
    STLIBSUFFIX=a
    MONGO_DYLIBNAME=$(MONGO_LIBNAME).$(DYLIBSUFFIX)
    MONGO_DYLIB_MAJOR_NAME=$(MONGO_DYLIBNAME).$(MONGO_MAJOR)
    MONGO_DYLIB_MINOR_NAME=$(MONGO_DYLIB_MAJOR_NAME).$(MONGO_MINOR)
    MONGO_DYLIB_PATCH_NAME=$(MONGO_DYLIB_MINOR_NAME).$(MONGO_PATCH)
    MONGO_DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(MONGO_DYLIB_MINOR_NAME) -o $(MONGO_DYLIBNAME) $(ALL_LDFLAGS) $(DYN_MONGO_OBJECTS)
    BSON_DYLIBNAME=$(BSON_LIBNAME).$(DYLIBSUFFIX)
    BSON_DYLIB_MAJOR_NAME=$(BSON_DYLIBNAME).$(BSON_MAJOR)
    BSON_DYLIB_MINOR_NAME=$(BSON_DYLIB_MAJOR_NAME).$(BSON_MINOR)
    BSON_DYLIB_PATCH_NAME=$(BSON_DYLIB_MINOR_NAME).$(BSON_PATCH)
    BSON_DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(BSON_DYLIB_MINOR_NAME) -o $(BSON_DYLIBNAME) $(ALL_LDFLAGS) $(DYN_BSON_OBJECTS)
    # Static libraries
    MONGO_STLIBNAME=$(MONGO_LIBNAME).$(STLIBSUFFIX)
    BSON_STLIBNAME=$(BSON_LIBNAME).$(STLIBSUFFIX)
    # Overrides
    kernel_name := $(shell sh -c 'uname -s 2>/dev/null || echo not')
    ifeq ($(kernel_name),SunOS)
        ALL_LDFLAGS+=-ldl -lnsl -lsocket
        INSTALL_CMD=cp -r
        MONGO_DYLIB_MAKE_CMD=$(CC) -G -o $(MONGO_DYLIBNAME) -h $(MONGO_DYLIB_MINOR_NAME) $(ALL_LDFLAGS)
        BSON_DYLIB_MAKE_CMD=$(CC) -G -o $(BSON_DYLIBNAME) -h $(BSON_DYLIB_MINOR_NAME) $(ALL_LDFLAGS)
    endif
    ifeq ($(kernel_name),Darwin)
        ALL_CFLAGS+=-std=$(STD) $(CFLAGS) $(OPTIMIZATION) $(WARNINGS) $(DEBUG) $(ALL_DEFINES)
        DYLIBSUFFIX=dylib
        MONGO_DYLIB_MINOR_NAME=$(MONGO_LIBNAME).$(DYLIBSUFFIX).$(MONGO_MAJOR).$(MONGO_M INOR)
        MONGO_DYLIB_MAJOR_NAME=$(MONGO_LIBNAME).$(DYLIBSUFFIX).$(MONGO_MAJOR)
        MONGO_DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(MONGO_DYLIB_MINOR_NAME) -o $(MONGO_DYLIBNAME) $(ALL_LDFLAGS) $(DYN_MONGO_OBJECTS)
        BSON_DYLIB_MINOR_NAME=$(BSON_LIBNAME).$(DYLIBSUFFIX).$(BSON_MAJOR).$(BSON_MINOR )
        BSON_DYLIB_MAJOR_NAME=$(BSON_LIBNAME).$(DYLIBSUFFIX).$(BSON_MAJOR)
        BSON_DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(BSON_DYLIB_MINOR_NAME) -o $(BSON_DYLIBNAME) $(ALL_LDFLAGS) $(DYN_BSON_OBJECTS)
    endif
    # Installation
    ifeq ($(kernel_name),SunOS)
        INSTALL?=cp -r
    endif
    INSTALL?= cp -a
    INSTALL_INCLUDE_PATH?=/usr/local/include
    INSTALL_LIBRARY_PATH?=/usr/local/lib
    # TARGETS
    all: $(MONGO_DYLIBNAME) $(BSON_DYLIBNAME) $(MONGO_STLIBNAME) $(BSON_STLIBNAME)
    # Dependency targets. Run 'make deps' to generate these.
    bcon.o: src/bcon.c src/bcon.h src/bson.h
    bson.o: src/bson.c src/bson.h src/encoding.h
    encoding.o: src/encoding.c src/bson.h src/encoding.h
    env_standard.o: src/env_standard.c src/env.h src/mongo.h src/bson.h
    env_posix.o: src/env_posix.c src/env.h src/mongo.h src/bson.h
    gridfs.o: src/gridfs.c src/gridfs.h src/mongo.h src/bson.h
    md5.o: src/md5.c src/md5.h
    mongo.o: src/mongo.c src/mongo.h src/bson.h src/md5.h src/env.h
    numbers.o: src/numbers.c
    $(MONGO_DYLIBNAME): $(DYN_MONGO_OBJECTS)
        $(MONGO_DYLIB_MAKE_CMD)
    $(MONGO_STLIBNAME): $(MONGO_OBJECTS)
        $(AR) -rs $@ $(MONGO_OBJECTS)
    $(BSON_DYLIBNAME): $(DYN_BSON_OBJECTS)
        $(BSON_DYLIB_MAKE_CMD)
    $(BSON_STLIBNAME): $(BSON_OBJECTS)
        $(AR) -rs $@ $(BSON_OBJECTS)
    install:
        mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH)
        $(INSTALL) src/mongo.h src/bson.h $(INSTALL_INCLUDE_PATH)
        $(INSTALL) $(MONGO_DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(MONGO_DYLIB_PATCH_NAME)
        $(INSTALL) $(BSON_DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(BSON_DYLIB_PATCH_NAME)
        cd $(INSTALL_LIBRARY_PATH) && ln -sf $(MONGO_DYLIB_PATCH_NAME) $(MONGO_DYLIB_MINOR_NAME)
        cd $(INSTALL_LIBRARY_PATH) && ln -sf $(BSON_DYLIB_PATCH_NAME) $(BSON_DYLIB_MINOR_NAME)
        cd $(INSTALL_LIBRARY_PATH) && ln -sf $(MONGO_DYLIB_MINOR_NAME) $(MONGO_DYLIBNAME)
        cd $(INSTALL_LIBRARY_PATH) && ln -sf $(BSON_DYLIB_MINOR_NAME) $(BSON_DYLIBNAME)
        $(INSTALL) $(MONGO_STLIBNAME) $(INSTALL_LIBRARY_PATH)
        $(INSTALL) $(BSON_STLIBNAME) $(INSTALL_LIBRARY_PATH)
    scan-build: clean
        scan-build -V -v make
    test: $(TESTS)
        sh runtests.sh
    valgrind: $(TESTS)
        sh runtests.sh -v
    docs:
        python docs/buildscripts/docs.py
    clean:
        rm -rf src/*.o src/*.os test/*.o test/*.os test_* .scon* config.log
    clobber: clean
        rm -rf $(MONGO_DYLIBNAME) $(MONGO_STLIBNAME) $(BSON_DYLIBNAME) $(BSON_STLIBNAME) docs/html docs/source/doxygen
    deps:
        $(CC) -MM -DMONGO_HAVE_STDINT src/*.c
    32bit:
        $(MAKE) CFLAGS="-m32" LDFLAGS="-pg"
    test_%: test/%_test.c test/test.h $(MONGO_STLIBNAME)
        $(CC) -o $@ -L. -Isrc $(TEST_DEFINES) $(ALL_LDFLAGS) $< $(MONGO_STLIBNAME)
    %.o: %.c
        $(CC) -o $@ -c $(ALL_CFLAGS) $<
    %.os: %.c
        $(CC) -o $@ -c $(ALL_CFLAGS) $(DYN_FLAGS) $<
    .PHONY: 32bit all clean clobber deps docs install test valgrind

    Hi Petar,
    Thanks for your answer. No doubt that we could solve the issue using on of the way you suggested.
    However, even though I had the evdre issue right after applying time dimension modifications, it occurs that the evdre issue was not due to time dimension modifications. I tested it better and I can tell that using "total" as a level works.
    Best regards,
    Ludovic

  • I am trying to update my time machine backup on time capsule, but time machine keeps trying to create an entirely new backup (evidenced by the 200GB backup size). How can I get time machine to modify my old backup rather than create a new one?

    I am trying to update my time machine backup on time capsule, but time machine keeps trying to create an entirely new backup (evidenced by the 200GB backup size). How can I get time machine to modify my old backup rather than create a new one?

    It must have found the old backup corrupt.. so you will more than likely have little choice. You can archive off the old backup if it is still useful.
    You can also verify it. See A5 http://pondini.org/TM/Troubleshooting.html
    He also has some info on this problem. eg C13.

  • How can I modify the text of the automatically created emails of WAS 6.40.

    Hi community,
    I have a question. How can I change the text of then email which ist automatically send by the EP6/WAS6.40 when I create a new user. The email displays the message "Dear Sir or Madam, your user xzy was created with the following password xxx."
    How can I modify this text. Where is it located in the Enterprise Portal / WEBAS 6.40 .
    Thank you.
    Best Regards,
    Olaf Reiss

    Not easily or readily available as of now. It WILL be part of the new features in the NetWeaver 04 release. (*This same question was asked in my EP6 certification class one week ago and this is the answer I got.)
    Found this guide in another post...it should help doing what you need manually...
    http://help.sap.com/saphelp_nw04/helpdata/en/33/d494c86203ea40b7b44ddd471baab1/frameset.htm
    Hope this helps!
    CS

  • How can i modify lable of texfield on create user page

    Hi,
    How can i modify lable of texfield on create user page of oracle identity manager administrative console ?
    e.g. display Sponsor ID inplace of Manager ID
    Thanks

    Hi Nitesh,
    I changed in xlWebadmin.properties file and restarted the server but still it is reflecting the old lable e.g.
    In xlWebAdmin.properties file
    - global.lable.managerid= Manager ID
    I changed it to global.lable.managerid= Sponsor ID
    But still it is displaying Manager ID on User form. I am using OIM 9.1
    regards
    Edited by: YMI on Nov 26, 2009 2:45 AM

  • When I logon for XP, if I am no actively doing something for several minutes I am logoff and must reenter my logon again. How can I modify the time it stays active?

    When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?

    You can find that in control panel

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

  • How can I modify the High Speed Data Reader VI to show correct time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    First, I couldn't seem to find that example either on computer or on the NI sites.
    The problem that we're running into is stated in the article that I pointed to - when real time VIs are running, then the OS will stop updating the OS clock. TO us it looks like the clock is losing time. There is a hardware clock on the PXI and it is read only during boot up to set the OS clock. Our discussions with NI have not led to a solution for this problem without checking the time on start and then checking the tick count (which does not lose time) and calculating what the current time is. No access to the hardware clock is supplied.
    We're still working on a simpler way to get accurate time.
    Rob

  • How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    How can I make Time Machine use the ethernet cable to Time Capsule instead of the wireless connection? Wireless is too slow; has been taking 40 hours to create an initial 142 GB backup.

    Plug in ethernet .. in the computer.. turn off wireless.

  • How can i modify the text created by create_text FM

    Hi Gurus,
    How can i change a long text created using create_text FM?
    I couldn find any FM to modify the text!
    Thanks.

    Hello Umit,
    Sorry...I mislead you. the function to edit the content of a long text is SAVE_TEXT and not RENAME_TEXT.
    In SAVE_TEXT FM, fill this information.
    In HEADER parameter, enter your TDOBJECT, TDNAME, TDID, TDSPRAS and TDTITLE information.
    In SAVEMODE_DIRECT parameter put an X value
    In LINES table, put your new content.
    Execute it.
    Confirm it after, using READ_TEXT function.
    Regards,
    Bruno

  • How can I modify the email who is send when I create a new user in EP6

    Hi community,
    I have a question. How can I change the text of the email which is automatically send by the EP6/WAS6.40 when I create a new user. The email displays the message "Dear Sir or Madam, your user xzy was created with the following password xxx."
    How can I modify this text. Where is it located in the Enterprise Portal / WEBAS 6.40 .
    Thank you.
    Best Regards,
    Olaf Reiss

    Hi,
    Here you can find the required steps on how to change the texts of notification emails:
    http://help.sap.com/saphelp_nw04/helpdata/en/33/d494c86203ea40b7b44ddd471baab1/frameset.htm
    Good luck,
    René

  • In "find my iPhone" i entered the functional "delete data". now i found my iPhone. it was not online. How can i modify it? nothing is deleted at this time

    in "find my iPhone" i entered the functional "delete data". now i found my iPhone. it was not online. How can i modify it? nothing is deleted at this time

    If you selected to erase the device using the find my iPhone erase feature, as soon as your iPhone reconnects with apple systems, it will erase.  This command cannot be cancelled.  However, you will be able to restore your device using the most recent icloud or itunes backup.
    Hope this helps.

  • How can we modify alv output list

    Hi
    this is fazil.
    Please tell me any body How can we modify alv output list.
    Thanks & Regards
    Fazil
    [email protected]

    Fazil,
    check the program,
    You can find the code in this program 'BCALV_FIELDCAT_TEST'
    *& Report  BCALV_FIELDCAT_TEST                                         *
    This report allows to modify the fieldcatalog of a corresponding
    output table and to view the effects of your changes directly.
    Note that for some changes you need to newly display the whole
    ALV Grid Control, e.g., DDIC-Fields are read only the first time
    you call SET_READY_FOR_FIRST_DISPLAY.
    Note also that not all scenarios can be tested since the output
    table does not comprise all fields to test available features
    of the fieldcatalog. Copy this program and extend the output
    table accordingly if you want to test such a special feature.
    (The field CARRNAME in 'gt_sflight' was added to test field REF_FIELD
    and TXT_FIELD of the fieldcatalog - see what happens if you
    calculate subtotals by carrier-id).
    report  bcalvt_fieldcatalog           .
    data: ok_code               type sy-ucomm,
          save_ok_code          type sy-ucomm,
    fieldcatalog for output table
          gt_fieldcat           type lvc_t_fcat,
    fieldcatalog for fieldcatalog itself:
          gt_fcatfcat           type lvc_t_fcat,
          gs_fcatlayo           type lvc_s_layo.
    Output table
    data: begin of gt_sflight occurs 0.
    data: carrname type s_carrname.
            include structure sflight.
    data: end of gt_sflight.
    data: g_max type i value 100.
    data: g_all type c value SPACE.
    Controls to display gt_sflight and corresponding fieldcatalog
    data: g_docking type ref to cl_gui_docking_container,
          g_alv     type ref to cl_gui_alv_grid.
    data: g_custom_container type ref to cl_gui_custom_container,
          g_editable_alv     type ref to cl_gui_alv_grid.
    LOCAL CLASS Definition
    class lcl_event_receiver definition.
      public section.
        methods handle_data_changed
          for event data_changed of cl_gui_alv_grid
          importing er_data_changed.
    endclass.
    class lcl_event_receiver implementation.
      method handle_data_changed.
    at the time being, no checks are made...
      endmethod.
    endclass.
    data: event_receiver type ref to lcl_event_receiver.
    end-of-selection.
      set screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    module status_0100 output.
      set pf-status 'BASIC'.
      set titlebar 'BASICTITLE'.
    create ALV Grid Control in the first run
      if g_docking is initial.
        perform create_and_init_controls.
      endif.
    endmodule.                             " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    module user_command_0100 input.
      save_ok_code = ok_code.
      clear ok_code.
      case save_ok_code.
        when 'SUBMIT'.
    set the frontend fieldcatalog
    ATTENTION: DDIC-Fields are not updated using this method!
    (see 'RESTART')
          call method g_alv->set_frontend_fieldcatalog
               exporting
                 it_fieldcatalog = gt_fieldcat.
          call method g_alv->refresh_table_display.
          call method cl_gui_cfw=>flush.
        when 'RESTART'.
    Destroy the control currently visible and display it again
    using the changed fieldcatalog.
          perform restart_sflight.
        when '&ALL'.
          perform switch_visibility.
      endcase.
    endmodule.                             " USER_COMMAND_0100  INPUT
    *&      Form  CREATE_AND_INIT_CONTROLS
          text
    -->  p1        text
    <--  p2        text
    form create_and_init_controls.
      create object g_docking
          exporting
               dynnr = '100'
               extension = 150
               side = cl_gui_docking_container=>dock_at_bottom.
      create object g_alv
          exporting
               i_parent = g_docking.
      create object g_custom_container
          exporting
               container_name = 'CC_0100_FIELDCAT'.
      create object g_editable_alv
          exporting
               i_parent = g_custom_container.
    register events
      create object event_receiver.
      set handler event_receiver->handle_data_changed for g_editable_alv.
      call method g_editable_alv->register_edit_event
                    exporting
                       i_event_id = cl_gui_alv_grid=>mc_evt_modified.
      perform build_fieldcatalogs changing gt_fieldcat gt_fcatfcat.
      perform modify_fieldcatalog changing gt_fcatfcat.
      perform select_data.                 "CHANGING gt_sflight
      call method g_alv->set_table_for_first_display
              changing
                   it_outtab       = gt_sflight[]
                   it_fieldcatalog = gt_fieldcat[].
    optimize column width of grid displaying fieldcatalog
      gs_fcatlayo-cwidth_opt = 'X'.
    Get fieldcatalog of table sflight - alv might have
    modified it after passing.
      call method g_alv->get_frontend_fieldcatalog
                importing et_fieldcatalog = gt_fieldcat[].
      call method cl_gui_cfw=>flush.
    Display fieldcatalog of table sflight:
      call method g_editable_alv->set_table_for_first_display
              exporting
                   is_layout       = gs_fcatlayo
              changing
                   it_outtab       = gt_fieldcat[]
                   it_fieldcatalog = gt_fcatfcat[].
    register events
      create object event_receiver.
      set handler event_receiver->handle_data_changed for g_editable_alv.
    endform.                               " CREATE_AND_INIT_CONTROLS
    *&      Form  restart_sflight
          text
    -->  p1        text
    <--  p2        text
    form restart_sflight.
      data: ls_fieldcat type lvc_s_fcat.
    free g_docking and thus g_alv
      call method g_docking->free.
      clear g_docking.
      clear g_alv.
    create new instances
      create object g_docking
          exporting
               dynnr = '100'
               extension = 150
               side = cl_gui_docking_container=>dock_at_bottom.
      create object g_alv
          exporting
               i_parent = g_docking.
    This is an internal method to invalidate all fields in the fieldcat
      loop at gt_fieldcat into ls_fieldcat.
        clear ls_fieldcat-tech_comp.
        modify gt_fieldcat from ls_fieldcat.
      endloop.
    Newly display the list with current fieldcatalog.
      call method g_alv->set_table_for_first_display
              changing
                   it_outtab       = gt_sflight[]
                   it_fieldcatalog = gt_fieldcat.
    Get fieldcatalog - it might be changed by ALV in the last call
      call method g_alv->get_frontend_fieldcatalog
              importing
                   et_fieldcatalog = gt_fieldcat[].
      call method g_editable_alv->refresh_table_display.
      call method cl_gui_cfw=>flush.
    endform.                               " restart_sflight
    *&      Form  select_data
          text
    -->  p1        text
    <--  p2        text
    form select_data.
      data: lt_sflight type table of sflight with header line,
            ls_scarr type scarr.
    select data of sflight
      select * from sflight into table lt_sflight up to g_max rows.
    copy data to gt_sflight and update CARRNAME
      loop at lt_sflight.
        move-corresponding lt_sflight to gt_sflight.
        select single * from scarr into ls_scarr
           where carrid = gt_sflight-carrid.
        gt_sflight-carrname = ls_scarr-carrname.
        append gt_sflight.
      endloop.
    endform.                               " select_data
    *&      Form  BUILD_FIELDCATALOGS
          text
         <--P_GT_FIELDCAT  text
         <--P_GT_FCATFCAT  text
    form build_fieldcatalogs changing p_fieldcat type lvc_t_fcat
                                      p_fcatfcat type lvc_t_fcat.
      data: ls_fcat     type lvc_s_fcat.
    Fieldcatalog for table SFLIGHT: p_fieldcat
    generate fieldcatalog automatically
      call function 'LVC_FIELDCATALOG_MERGE'
          exporting
               i_structure_name       = 'SFLIGHT'
            I_CLIENT_NEVER_DISPLAY = 'X'
           changing
                ct_fieldcat            = p_fieldcat[]
       EXCEPTIONS
            INCONSISTENT_INTERFACE = 1
            PROGRAM_ERROR          = 2
            OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    shift all column positions to the right except for MANDT
      loop at p_fieldcat into ls_fcat.
        if ls_fcat-fieldname ne 'MANDT'.
          add 1 to ls_fcat-col_pos.
          if ls_fcat-fieldname = 'CARRID'.
            ls_fcat-txt_field = 'CARRNAME'."link CARRNAME to CARRID
          endif.
          modify p_fieldcat from ls_fcat.
        endif.
      endloop.
    create a new line for CARRNAME in p_fieldcat
      clear ls_fcat.
      ls_fcat-fieldname = 'CARRNAME'.
      ls_fcat-ref_table = 'SCARR'.
      ls_fcat-col_pos = 1.
    insert new line before CARRID (do not forget MANDT!).
      insert ls_fcat into p_fieldcat index 1.
    Fieldcatalog for table LVC_T_FCAT:p_fcatfcat
    Generate fieldcatalog of fieldcatalog structure.
    This fieldcatalog is used to display fieldcatalog 'p_fieldcat'
    on the top of the screen.
      call function 'LVC_FIELDCATALOG_MERGE'
          exporting
               i_structure_name       = 'LVC_S_FCAT'
            I_CLIENT_NEVER_DISPLAY = 'X'
           changing
                ct_fieldcat            = p_fcatfcat[]
       EXCEPTIONS
            INCONSISTENT_INTERFACE = 1
            PROGRAM_ERROR          = 2
            OTHERS                 = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Hide all fields that are not documented (valid for release 4.6A)
      perform hide_fields changing p_fcatfcat.
    endform.                               " BUILD_FIELDCATALOGS
    *&      Module  EXIT_PROGRAM  INPUT
          text
    module exit_program input.
      leave program.
    endmodule.                             " EXIT_PROGRAM  INPUT
    *&      Form  MODIFY_FIELDCATALOG
          text
         <--P_GT_FCATFCAT  text
    form modify_fieldcatalog changing p_fcatfcat type lvc_t_fcat.
      data ls_fcat type lvc_s_fcat.
      loop at p_fcatfcat into ls_fcat.
        ls_fcat-coltext = ls_fcat-fieldname.
        ls_fcat-edit = 'X'.
        if ls_fcat-fieldname = 'COL_POS' or ls_fcat-fieldname = 'FIELDNAME'.
          ls_fcat-key = 'X'.
        endif.
        modify p_fcatfcat from ls_fcat.
      endloop.
    endform.                               " MODIFY_FIELDCATALOG
    form hide_fields changing p_fieldcat type lvc_t_fcat.
      data: ls_fcat type lvc_s_fcat.
    Only show documented fields of fieldcatalog.
    For a documentation choose "Help->Application Help" in the menu.
      loop at p_fieldcat into ls_fcat.
        if not (
             ls_fcat-fieldname eq 'CFIELDNAME'
        or   ls_fcat-fieldname eq 'COL_POS'
        or   ls_fcat-fieldname eq 'COLDDICTXT'
        or   ls_fcat-fieldname eq 'COLTEXT'
        or   ls_fcat-fieldname eq 'CURRENCY'
        or   ls_fcat-fieldname eq 'DD_OUTLEN'
        or   ls_fcat-fieldname eq 'DECIMALS_O'
        or   ls_fcat-fieldname eq 'DECMLFIELD'
        or   ls_fcat-fieldname eq 'DO_SUM'
        or   ls_fcat-fieldname eq 'DRAGDROPID'
        or   ls_fcat-fieldname eq 'EDIT_MASK'
        or   ls_fcat-fieldname eq 'EMPHASIZE'
        or   ls_fcat-fieldname eq 'EXPONENT'
        or   ls_fcat-fieldname eq 'FIELDNAME'
        or   ls_fcat-fieldname eq 'HOTSPOT'
        or   ls_fcat-fieldname eq 'ICON'
        or   ls_fcat-fieldname eq 'INTLEN'
        or   ls_fcat-fieldname eq 'INTTYPE'
        or   ls_fcat-fieldname eq 'JUST'
        or   ls_fcat-fieldname eq 'KEY'
        or   ls_fcat-fieldname eq 'LOWERCASE'
        or   ls_fcat-fieldname eq 'LZERO'
        or   ls_fcat-fieldname eq 'NO_OUT'
        or   ls_fcat-fieldname eq 'NO_SIGN'
        or   ls_fcat-fieldname eq 'NO_SUM'
        or   ls_fcat-fieldname eq 'NO_ZERO'
        or   ls_fcat-fieldname eq 'OUTPUTLEN'
        or   ls_fcat-fieldname eq 'QFIELDNAME'
        or   ls_fcat-fieldname eq 'QUANTITY'
        or   ls_fcat-fieldname eq 'REF_FIELD'
        or   ls_fcat-fieldname eq 'REF_TABLE'
        or   ls_fcat-fieldname eq 'REPREP'
        or   ls_fcat-fieldname eq 'REPTEXT'
        or   ls_fcat-fieldname eq 'ROLLNAME'
        or   ls_fcat-fieldname eq 'ROUND'
        or   ls_fcat-fieldname eq 'ROUNDFIELD'
        or   ls_fcat-fieldname eq 'SCRTEXT_L'
        or   ls_fcat-fieldname eq 'SCRTEXT_M'
        or   ls_fcat-fieldname eq 'SCRTEXT_S'
        or   ls_fcat-fieldname eq 'SELDDICTXT'
        or   ls_fcat-fieldname eq 'SELTEXT'
        or   ls_fcat-fieldname eq 'SP_GROUP'
        or   ls_fcat-fieldname eq 'SYMBOL'
        or   ls_fcat-fieldname eq 'TECH'
        or   ls_fcat-fieldname eq 'TIPDDICTXT'
        or   ls_fcat-fieldname eq 'TOOLTIP'
        or   ls_fcat-fieldname eq 'TXT_FIELD' ).
          ls_fcat-tech = 'X'.
        endif.
        modify p_fieldcat from ls_fcat.
      endloop.
    endform.
    form switch_visibility.
    data:  lt_fcatfcat type lvc_t_fcat,
            ls_fcat type lvc_s_fcat.
    call method g_editable_alv->get_frontend_fieldcatalog
                 importing ET_FIELDCATALOG = lt_fcatfcat.
    if not g_all is initial.
         perform hide_fields changing lt_fcatfcat.
         g_all = SPACE.
    else.
        loop at lt_fcatfcat into ls_fcat.
           if ls_fcat-tech eq 'X'.
               ls_fcat-tech = SPACE.
               ls_fcat-no_out = 'X'.
               modify lt_fcatfcat from ls_fcat.
           endif.
        endloop.
        g_all = 'X'.
    endif.
    call method g_editable_alv->set_frontend_fieldcatalog
                exporting it_fieldcatalog = lt_fcatfcat.
    call method g_editable_alv->refresh_table_display.
    endform.
    Don't forget to rewaard if useful..

  • In Address Book, how can i modify several contacts (several cards) at the s

    Hello,
    In Address Book, how can i modify several contacts (several cards) at the same time ?
    for exemple : I have 100 contact which live in Paris, I select all of them together, but when I put "Paris" in the field "city", it puts "Paris" only in the fisrt contact !
    how to edit several contact at a time ?
    And I would like to put some kind of "tags", or words, in "remark", also by selecting several contact and edit them together...
    Thanks by advance !
    Alexandre.

    Welcome to the discussions, Alexandre1975 et bonjour.
    Just using Address Book this can't be done, but if you are prepared to try a little Applescript it is easy. This script will set the city for example - but only if there is already an address.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set ContactList to the selection
    repeat with ThisOne in ContactList
    set city of first address of ThisOne to "Paris"
    end repeat
    end tell</pre>
    (The recent upgrade to the discussions has disabled the link that allows direct opening of a script, so run Script Editor and copy in the script.)
    Message was edited by: Austin Kinsella1

Maybe you are looking for