Getting the no of items in the layout collections

Hi friends,
IS there a way to get the no of elements in the layout collection. Help needed please....

Use the
StructCount
function.

Similar Messages

  • How do I get the layout guides (A,B,C column headers and 1,2,3 Row Headers) to print with my spreadsheet?

    How do I get the Layout Guides (A,B,C column headers and 1,2,3 Row Headers) to print on my spreadsheet? They are invaluable for discussing the data with my clients over the phone.
    They appear while I am editing, but don't print with the spreadsheet. I know how to do it in Excel, but I am transitioning to Numbers. I can't imagine I have to type them into their own columns and rows. It must be a difference in vernacular that I can't find the solution in the User Guide. Can anyone help?

    Hi ktjobauer,
    Numbers is not Excel and Excel is not Numbers. Numbers is WYSIWYG (at least in File > Print and the actual printout).
    I can't imagine I have to type them into their own columns and rows.
    No, you don't. You can use the charm of Numbers to create cell references for your Excel clients.
    In this Numbers Table, I have added some extra Columns that you can hide later.
    Column B =COLUMN(A2)
    Column C =HLOOKUP(B2,'Table 1-1' :: $1:$2,2,FALSE)      [explanation later]
    Column D =ROW(B2)
    Column E =C2&D2
    Add those formulas to the first Body Row (below the Header Row) and Fill Down.
    Column C refers to another Table which you need only create once, to convert a Column number to a letter:
    and so on from 1-26, A-Z.
    You can move the second Table to another Sheet to hide it. Formulas will automatically adjust to keep the links between Sheets.
    Now in the first Table, select and Hide Columns B,C,D. Formulas will continue to work with hidden cells:
    Regards,
    Ian.

  • HT201269 My computer crashed and had to be restored to factory settings. My ipad has my ituned library. how do i get the music collection from the ipad to the computer?

    my computer crashed and had to be restored to factory settings losing ituness collection of music. My ipad has my itunes library. how do i get the music collection from the ipad to the computer?

    You should be able to copy iTunes purchases over to your computer's iTunes via File > Devices > Transfer Purchases. For music from other sources (e.g. copied from CDs) you will need a third-party program to copy them back from your iPad - there are some listed half-way down this page which should work : https://discussions.apple.com/docs/DOC-3991

  • How to get the layout values in F4 help from Other program ?

    Hello All,
           I have a program P1which calls other program P2 .
    When I execute P1 I have a parameter for Layout with F4.
    When I press  F4 I want the help values which are there in the lay out of the other program P2.
    For this I'm using the following code :-
    DATA  spec_layout        TYPE  disvariant.  "specific layout
    DATA  v_save             TYPE  c.           "Save mode
    DATA  gs_variant         TYPE  disvariant.  "for parameter IS_VARIANT
    DATA  gv_exit            TYPE  c.
    PARAMETERS:  p_vari  TYPE disvariant-variant.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
    *  gs_variant-report  = sy-repid.
    *  gs_variant-variant = p_vari.
      CLEAR gs_variant.
      MOVE  '/BSHP/FP_CALL_OF_PLAN' TO gs_variant-report. "Report von Original CALL_OF_PLAN
      gs_variant-variant = p_vari.
      CALL FUNCTION 'LVC_VARIANT_F4'
        EXPORTING
          is_variant = gs_variant
          i_save     = v_save
        IMPORTING
          e_exit     = gv_exit
          es_variant = spec_layout
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF gv_exit NE 'X'.
    *     set name of layout on selection screen
          p_vari    = spec_layout-variant.
        ENDIF.
      ENDIF.
    But still I'm not able to get the values.
    Can anyone help me out ?
    Regards,
    Deepu.K
    null

    This question has been asked and answered many times before.  Please read the following blog for a good start:
    /people/yohan.kariyawasan/blog/2009/03/18/ui-framework-news-f4-help
    Before posting further please do a search in this forum and also read the rules of engagement listed here:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement
    I'm now locking this thread as it is a duplicate of an already answered question.
    Thank you,
    Stephen
    CRM Forum Moderator

  • How to get the layout by the layout name

    Dear guys:
        I had a program show the oo alv, and it could change the layout and download file with the layout format. My user want to run it in the background now,but the background enviorment not support the GUI,so i want to get the default layout setting when the sy-batch = 'X',I kown the layout name was saved in the table LTDX,but how can I get the field , or any other method ??

    Hi,
    check FM REUSE_ALV_VARIANT_SELECT. Probably you will have to convert field catalog from this FM to your type used in your classes. There are small difference but conversion is pretty straightforward.
    Good luck

  • How to get the layouts in ABAP program/Query

    Hi -
    I had created some layouts for a ABAP query and I can see them in the table LTDX as well.
    But I had deleted the layouts while changing the query settings.
    How can I get those layouts back in my query? Please suggest. Thanks.

    Hi,
    Did you check with the below function modules,
    ALV_LAYOUT_GET
    REUSE_ALV_VARIANT_F4
    Also try executing the report, RSVARDOC_610, which will enable the variants sometimes after some modifications.
    I am not sure, but may be you can have a look.....

  • How to get the layout field setting from the oo ALV

    Hi:
        My user want me to save the data to the email attachment when he change the alv layout.
        For example there are 10 fields in a alv report ,and the user change the layout setting to 5 fields,I need to know which field is he need first, how can I get it ?
        Pls help me ,thanks a lot !

    Hello Jerry
    When you call method go_grid->GET_FRONTEND_FIELDCATALOG you can retrieve the current layout of the ALV list.
    LVC_S_FCAT-COL_POS = Position of column
    LVC_S_FCAT-NO_OUT = 'X' = not visible
    LVC_S_FCAT-TECH = 'X' = technical column, neither visible nor selectable
    Regards
      Uwe

  • In fnd_request.add_layout how to get the layout in user login language

    Hi All,
    I am using fnd_requet.add_layout
    function add_layout (template_appl_name in varchar2,
    template_code in varchar2,
    template_language in varchar2,
    template_territory in varchar2,
    output_format in varchar2,
              nls_language in varchar2 default null) return boolean;
    how to pass these template_language and template_territory to get the output in user login language.
    Thanks in advance
    Jana

    You can get the values from NLS_SESSION_PARAMETERS
    Query for language
    SELECT LOWER(FL.iso_language)
    FROM NLS_SESSION_PARAMETERS NSP
    ,fnd_languages FL
    WHERE NSP.parameter = 'NLS_LANGUAGE'
    AND NSP.value = FL.nls_language;
    Regards
    Nishka

  • In fnd_request.add_layout how to get the layout in EXCEL Format

    Hi All,
    After applying the patch (5688014), in WSH_DOCUMENT_SETS package fnd_request.add_layout is getting called as below. I am getting the output in PDF format, when called from Document sets.
    But my requirement is i want the report to be in EXCEL Format. Is there any other patch is available to get the report in EXCEL when called from Document Sets/ Or any other alternative solutions to acheive this..
    Can any body help me on this...
    l_print_pdf := 'N';
    IF(l_output_file_type = 'XML' ) THEN
    IF l_debug_on THEN
    WSH_DEBUG_SV.logmsg(l_module_name, 'template' || l_template_code);
    END IF;
    IF (l_template_code is not NULL) then
    IF l_nls_lang.COUNT <> 0 THEN
    select iso_language,iso_territory into l_language, l_territory
    from fnd_languages
    where language_code = l_nls_lang(l_nls_count).lang_code;
    ELSE
    select iso_language,iso_territory into l_language, l_territory
    from fnd_languages
    where language_code = userenv('LANG');
    END IF;
    IF l_debug_on THEN
    WSH_DEBUG_SV.logmsg(l_module_name, ' language ' || l_language || ', territory ' || l_territory);
    END IF;
    l_ret_status :=fnd_request.add_layout(l_appl_short_name,
    l_template_code,
    l_language,
    l_territory,
    'PDF');
    IF l_ret_status THEN
    l_print_pdf := 'Y';
    ELSE
    IF l_debug_on THEN
    WSH_DEBUG_SV.logmsg(l_module_name, 'Error returning from fnd_request.add_layout :'||x_return_status);
    END IF;
    wsh_util_core.add_message(x_return_status);
    END IF;
    ELSE
    IF l_debug_on THEN
    WSH_DEBUG_SV.logmsg(l_module_name, 'No template was specified for this report. Hence could not generate the pdf output' );
    END IF;
    fnd_message.set_name('WSH', 'WSH_NO_DEFAULT_TEMPLATE');
    fnd_message.set_token('CONC_PROG_NAME', document.user_concurrent_program_name);
    x_return_status := wsh_util_core.g_ret_sts_error;
    wsh_util_core.add_message(x_return_status);
    END IF; --} If template_code is not null
    END IF; --} If l_output_file_type = 'XML'
    Thanks in Advance..

    Hi,
    I tried your approach and got the following error..
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 14808954 on node FAHQSNA09SFTD07 at 24-JAN-2012 04:13:08.
    Post-processing of request 14808954 failed at 24-JAN-2012 04:13:09 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    After analysing the log i found there is some issue in OPP Service log.
    Below is the service log error..
    It says there is 'No corresponding LOB data found' in below query
    SELECT l.file_data file_data, DBMS_LOB.getlength (l.file_data) file_length,
    l.LANGUAGE LANGUAGE, l.territory territory,
    b.default_language default_language,
    b.default_territory default_territory,
    b.template_type_code template_type_code,
    b.use_alias_table use_alias_table, b.start_date start_date,
    b.end_date end_date, b.template_status template_status,
    b.use_alias_table use_alias_table,
    b.ds_app_short_name ds_app_short_name,
    b.data_source_code data_source_code, l.lob_type lob_type
    FROM xdo_lobs l, xdo_templates_b b
    WHERE l.application_short_name = :1
    AND l.lob_code = :2
    AND l.application_short_name = b.application_short_name
    AND l.lob_code = b.template_code
    AND (l.lob_type = 'TEMPLATE' OR l.lob_type = 'MLS_TEMPLATE')
    AND ( (l.LANGUAGE = :3 AND l.territory = :4)
    OR (l.LANGUAGE = :5 AND l.territory = :6)
    OR ( l.LANGUAGE = b.default_language
    AND l.territory = b.default_territory
    But i see the data for this query.
    Please let us know is there any setups that needs to be done to achieve this..
    below is the OPP log error...
    Thanks in Advance.
    [1/24/12 4:13:09 AM] [710131:RT14808954] Executing post-processing actions for request 14808954.
    [1/24/12 4:13:09 AM] [710131:RT14808954] Starting XML Publisher post-processing action.
    [1/24/12 4:13:09 AM] [710131:RT14808954]
    Template code: EMP_DETAILS
    Template app: EMP_DETAILS
    Language: en
    Territory: US
    Output type: EXCEL
    [1/24/12 4:13:09 AM] [UNEXPECTED] [710131:RT14808954] java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA,DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ))
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:402)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:235)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:1163)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3450)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)

  • Function to get the layout and variant info of a report

    Hi ,
    I have report zmm4. I have created a variant 'var1' .
    The output format of the report is defined in the layout
    'lay1'. Which is the function which gives the complete info about the displaying coulmns of those layout ?  because I need replicate these functionality in EP .
    Please don't say USE "SAP transaction Iviews'.
    any hint is appreciated
    thanks
    pkiran

    Hi Prashant,
    Does your report should look like portal format? or is it ok if you show SAP report in portal then easiest would be having a layout variant in the report selection.
    Assuming you are using ALV display. Specify the layout variant 'lay1' and save the variant 'var1'.
    Create Iview using SAP Transaction Iview and pass the  Tcode  - 'Start_Report'
    Application Parameters - D_SREPOVARI-REPORT=ZMM4 & D_SREPOVARI-VARIANT = VAR1.
    Choose option process first screen.
    Other suggestion would be to create a function module which is RFC enabled and pass the report values in the specified format to the FM output table and use SAP RFC IVIEW and report would look in portal format.
    You can also use com.sap.pct.srv.portaldataviewer par file and choose PortalALVTemplate. PortalALVTemplate is FM in R3 and gives u an idea how you can present the ALV report in Portal.
    Hope this helps,
    Thanks,
    Praveen
    PS.Dont forget to reward points for useful/solved answers

  • Anyone know how to get the Nik Collection of plugins to work with PSCC?

    As above..

    Info from Nik:
    From Nik:
    On a Windows:
    1. Make sure all versions of Photoshop are closed.
    2. Run the Nik Collection installer from the file you received via email and downloaded. If you no longer have this file, you may email customer support ([email protected]) to have the file sent to you again.
    3. During the installation process when you get to the Host Application window, you will notice a plus sign to add an install location. Click that button and navigate to C:\Program Files\Adobe\Photoshop CC\Plug-Ins\.
    4. Complete the installation, then open Photoshop CC to ensure that the plug-ins have successfully been installed.
    On a Macintosh:
    1. Make sure all versions of Photoshop are closed.
    2. Run the Nik Collection installer from the file you received via email and downloaded. If you no longer have this file, you may email customer support ([email protected]) to have the file sent to you again.
    3. During the installation process when you get to the Host Application window, you will notice a plus sign to add an install location. Click that button and navigate to Mac HD|Applications|Adobe Photoshop CC|Plug-Ins and paste the Google folder into this location.
    4. Complete the installation, then open Photoshop CC to ensure that the plug-ins have successfully been installed.

  • How do I get the layout to MATCH the options set for Google Toolbar (why do buttons I have DESELECTED in the Options interface persist in appearing)? I have no interest in USA, News, Orkut, et cetera.

    Google Toolbar: Manage> Google Toolbar Options> Buttons> USA [DESELECT] does not function properly, and persists in appearing, despite the empty Check-Box. Why is the option there if it does not work? Have these coders ever heard of Testing Before Release? While I cannot claim familiarity with the coding in Firefox, I AM an application and web writer (¡Hasta 1984!); this is something every Programming 101 student learns if it wishes to pass the course, let alone become professionally employed in such a field.

    I ran into the problem you have after trying to update to 7.1.2 the phone updated, but got stuck in recovery mode, and none of the reset methods worked. I did some searching and came up with a simple method, and it got me out of the loop.
    Once i used this app, My phone booted and The update was in place.
    http://jaxov.com/2010/05/recboot-iphone-recovery-mode/

  • How can i change the Layout of the standard Discussion iVIew

    Hello all,
                 Most of my questions still remain unanswered.But this time i hope i will get some satisfactory reply. I want to create a Discussion iView(not Discussion group or Admin Discussion Group iViews) . However i am not getting the layout used here.I want to remove buttons like "Add To Favourites" Subscribe TO Discussion" and also ,once you click on any topic ,on the second screen commands like "Send To","Subscribe" etc .I want this to look simple as per requirement.How is that possible? Where exactly can i find them ? If there is any xml file ,where to find the XML file ?I do not know how to use NWDS ,as i work in KM and Collaboration area .SO if there is anyone who can guide me from configuraion point of view.I can also open the XML file and do the changes but how to execute it I do not know.Thanks in advance for any valuable input.
    Edited by: Arijit Bhattacharya on Feb 25, 2008 2:57 PM
    Edited by: Arijit Bhattacharya on Feb 25, 2008 2:59 PM

    Hi Arijit,
    try these links
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/01/ed0f412d72f323e10000000a155106/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504e31fc-f46f-2910-98b4-dd94478c22f8]
    hope this helps you
    Regards,
    vv.

  • I want to change the layout of my email messages so that the message is at the side of the headers not below them

    i want to change the layout of my email messages so that the message is at the side of the headers not below them. i have just downloaded mozilla thunderbird on to my new laptop at i cant get the layout that I prefer back. please help . thanks june

    ''queenofpersia [[#question-1050056|said]]''
    <blockquote>
    i want to change the layout of my email messages so that the message is at the side of the headers not below them. i have just downloaded mozilla thunderbird on to my new laptop at i cant get the layout that I prefer back. please help . thanks june
    </blockquote>
    thank you so much Airmail. I had been told this was the way to do it but couldnt find the menu bar, but now I have. thank you so much for your help, so simple and yet it has made my day! best wishes june

  • How to attach the layouts or variants to the alv report

    hi all,
    i have seen that using FM  REUSE_ALV_VARIANT_F4 for some reports iam
    getting the layouts
    for some reports its giving message that NO LAYOUTS FOUND.
    is there any way to define new layouts or else how can i use existing layouts.
    any help will be greatly appreciated,
    thanks and regards,
    cnu.

    Hi cnu,
         First set <b>I_SAVE = 'A'</b> in the alv  grid or list display FM. You can create new layouts by using 'change layout' button.but to save those layouts you have to set the save attribute. see below ex code.So that you can create some layout sets
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = V_REPID
                IS_LAYOUT          = WA_LAYOUT
                IT_FIELDCAT        = IT_FIELDCAT[]
                IT_SORT            = IT_SORT[]
                IT_EVENTS          = IT_EVENTS[]
                I_SAVE             = 'A'
           TABLES
                T_OUTTAB           = IT_MLGT[]
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    plz reward points if helpful
    thanks,
    Suma.

Maybe you are looking for

  • 4s syncing with itunes (apparently), but no music found on phone, help

    Just bought a new Iphone 4s. This is my first iphone (but i have ipods).  I also have a new computer which I downloaded Itunes onto.  I have not trasferred the music from my old laptop onto the new laptop/new itunes so everything is fresh and empty. 

  • Any way to re-index Artists in itunes

    I have my music collection in folders on my PC in A-Z, then subfolders under "A" for all of my Artists that start with "A". Is there a way to clean this up in itunes so it doesn't show "All Artists" under the artists tab? I would like to have A, B, C

  • How do I reset Usernames in autofill on my Keychain?

    How do I reset Usernames in autofill on my Keychain? I have two that are the same & Keychain autofill will not let me change. And How do I evenfind the list of USN and PSW that Keychain has?

  • Oracle Client 9i

    Where can I get the Oracle 9i to Windows Vista?

  • Customizing kernel [RESOLVE]

    I just downloaded the kernel26 pkg from the repos and executed all the instructions apeiro wrote, i havent rebooted yet, and i did it mainly to see if my system is ready for the 2.6 as i wasnt sure what i needed to update/change... Now i was thinking