The structure _name in the resue_alv_filedcatalog_merge.

Hi
In
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
  I_PROGRAM_NAME = ALV_PROG_NAME
  I_INTERNAL_TABNAME = ALV_ITAB_NAME
   I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
  I_INCLNAME = ALV_PROG_NAME
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
  CHANGING
  CT_FIELDCAT = L_FIELDCAT
  EXCEPTIONS
  INCONSISTENT_INTERFACE = 1
  PROGRAM_ERROR = 2
  OTHERS = 3
In parameter    I_STRUCTURE_NAME =
if we define the structure like mara ,then filedcatalog is being prepared,
but if we define the structure in the program with types and write that structure in this parameter it is not taking.
but if we want to prepare the filedcatalog with program structure how can we prepare it?
what is the possible cause on not preparing the filedcatalog with the program structure
Thanks
Jatender

u can prepare the field catalog with program structure by using the FM REUSE_ALV_FIELDCATALOG_MERGE.
Check this code sample:
1. 1st declare the type for the internal table
types: begin of ty_purchasing,
        vrsio like s012-vrsio,                 " Version number in the
                                               " info structure
        spwoc like s012-spwoc,                 " Period to analyze-week
        ekorg like s012-ekorg,                 " Purchasing organization
        lifnr like s012-lifnr,                 " Vendor no.
        matnr like s012-matnr,                 " Material no.
        werks like s012-werks,                 " Plant
        basme like s012-basme,                 " Base unit of measure
        menge like s012-menge,                 " Purchase order quantity
        netwr like s012-netwr,                 " Effective order value
        name1 like lfa1-name1,                 " Vendor name
        maktx like makt-maktx,                 " Material description
        ekgrp like marc-ekgrp,                 " Purchasing group
       end of ty_purchasing.
All fields must be declared with LIKE not with TYPE otherwise FM
REUSE_ALV_FIELDCATALOG_MERGE will not work.
2. Define the internal table
data:       i_purchasing type standard table of ty_purchasing initial size 0.
3. Pass the internal table name to fm REUSE_ALV_FIELDCATALOG_MERGE
  call function 'REUSE_ALV_FIELDCATALOG_MERGE'
   exporting
     i_program_name            = sy-repid      " Internal table
                                               " declaration program
     i_internal_tabname        = 'I_PURCHASING'" Output table name
   changing
     ct_fieldcat               = i_fieldcat    " Field catalog with
                                               " field descriptions
   exceptions
     inconsistent_interface    = 1
     program_error             = 2
     others                    = 3
  if sy-subrc <> 0.
    message i000 with text-012.                " Error using function
    " module REUSE_ALV_
    " FIELDCATALOG_MERGE
    leave list-processing.
  endif.
Regards,
joy.

Similar Messages

  • To bold the descriptions for the structure members in the BEX Query

    HI Experts,
    Could any one please advise on how to BOLD the descriptions of the structure members in the BEX query.
    Thanks in advance,
    Jeswanth

    Are you looking at making the same BOLD in the web display ..?
    To do this :
    Execute your query - go to display source for the page and you will see the structure members identified with a particular CSS class.
    Open the CSS file from the MIME repository and then identify the class that is used for the structure elements and then change th CSS to make it bold and then upload the changed CSS into MIME .
    Refresh the HTTP global cache from SMICM and then run your report again - you should be able to see the structure elements in BOLD.

  • Where is the structure option under the insert tab in Dreamweaver?

    I was watching the tutorial of Mike Powers for the Bayside Website and he continually uses the structure option under the insert tab. I can not find where this is at in all of Dreamweaver. Does anyone know where this is at?

    http://helpx.adobe.com/creative-cloud/learn/start/dreamweaver.html
    It is the second video down. At about 1:03 he will talk about selecting the structure option and I really want to because it looks extremely helpful!
    Wyatt Ackerman
    816.559.0664 T • 785.534.0465 M
    [email protected]<https://mail.marketsphere.com/owa/redir.aspx?C=56df372cf3f44f3fa455b8f3864b1b80&URL=mailto %3amekaela.kramer%40marketsphere.com>
    MarketSphere Consulting, LLC
    114 W. 11th Street • Suite 700
    Kansas City, MO 64105
    This email message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return email and permanently delete this message and any attachments. MarketSphere makes no warranty that this email is error or virus free.

  • Display construction type on the structure list within the work order

    I have a work order written against an equipment which has a construction type assigned to it.  When using the structure list from the components tab of the work order, the construction type does not display under the equipment in the list.  If I run the same structure list from transaction IH03, the construction type does display under the equipment.  How can I add the construction type to display on the structure list within the work order?  We are on release 4.7
    Thanks,
    Terry Gaskin

    Thanks PeteA, we know we can do that, but we are looking to get it consistent with IH03, where the construction type shows without being added to the BOM.  The construction type is listed immediately below the equipment in IH03.
    Thanks

  • I cannot find the "structure" tab within the insert panel of DW CS6

    I have student and teacher version on Dreamweaver SC6 and am trying to complete the part 2 of the creating your first website turtoral. When I get to the part that deal with insert sub-panels I do not see "structure sub-panel" help!

    This question has been answered several times before. See http://forums.adobe.com/thread/1334537?tstart=0.

  • Pages: how can I see the structure of a document?

    Hi, I'm a new user, I just bought my first mac last week.
    I have a problem with Pages. How can I see the structure (organization) of the document I'm working on? I mean headings, headings 2, etc? In Microsoft Word you see it on the left. I don't mean thumbnails, but the construction of the document.
    I know how to mark headings and other parts of a typical document but how can I see the structure afterwards?
    Thanks in advance.

    What you are asking for is Outlining, and that has been removed from Pages 5.2 along with 110 other features.
    Use Pages '09 if you can.
    Peter

  • How to find out the structure stored field  value in a standard program

    Hi Gurus,
    Please suggest me how to find out the structure field stores the value in which table.
    Exanple : i have a strutured field in T.code cj31 is BPDY-WERT1 and it is stotring value 10,000,000.00. know i need to find out in which table this value is storing .
    Please suggest me its urgent.
    Thanks in Adavance!!!
    Points will be rewarded.......
    Regards,
    Kranthi

    hi,
       Go to transaction ST05,Click activate trace with filter,Give the transactio name as cj31,Go to the transaction and navigate to the place where the particular field is present, then again go to st05 ,Deactivate the trace and display the trace.
    Now u can see how the data is fetched ,U can even go to display mode of the same transaction cj33
    Thanks
    San

  • Enhance the structure of marketing attributes in the WebUI

    Hi,
    I want to enhance two attributes u201Ecreated_byu201C and u201Ecreated_atu201C in the assignment block u201Cmarketing attributesu201D. This data are in the component = BP_DATA and in the view = MarketingAttributesEOVP.
    When I take the CRM Tx BSP_WD_CMPWB or when I use the Application Enhancement Tool in CRM 2007, I canu2019t choose the attributes u201Ecreated_byu201C and u201Ecreated_atu201C in the view MarketingAttributesEOVP, component BP_DATA.
    Note:
    The attributes u201Ecreated_byu201C and u201Ecreated_atu201C sill exist on a other place. You can find this attributes in the MARKETINGPRO profile, when you create an external list. Itu2019s the component: ELMOE, view: VEGeneralData, attributes: STRUCT.CREATED_BY_TEXT, STRUCT.DATE_CREATED_ON
    I tried two things:
    1.
    I started the Application Enhancement Tool in the WebUI (CRM 2007) and selected the desired area. Then I was in the configuration mode. There I wanted to use the function u201CCreate New Fieldu201D, but it didnu2019t work, because this function is inactive.
    2.
    I used the CRM Tx SE11, data type: CRMT_MKTBP_ATTRIBUTE. In this structure I want to enhance the two attributes. So, I create an append-structure, but I canu2019t enhanced it.
    The problem is that the structure CRMT_MKTBP_ATTRIBUTE has the category u201Ccannot be enhancedu201D (menu u201CExtrasu201D, u201CEnhancement Categoryu201D  à u201Ccannot be enhancedu201D). You canu2019t change this.
    This two trials wasnu2019t successful. So, I think it is not possible, to add attributes to this structure. It this correct?
    Or has anybody a solution? Is there an option to enhance attributes u201Ecreated_byu201C and u201Ecreated_atu201C?
    Thank you in advance!
    Best regards, Jasmin

    >
    neelambari naik wrote:
    > Try using package in select query.
    How would that help??

  • How do I get to know the structures stored in a cluster table

    Dear fellow developers,
    this question is about Cluster Tables of the INDX-type which need to be read with
    IMPORT/EXPORT FROM/TO ...
    I need some advice concerning the question of how to find
    out the definition of a structured field in such a cluster.
    To be more precise:
    By using the command
    IMPORT DIRECTORY ...
    I know that in the table/cluster
    VARI
    section
    VB
    there are two structured
    fields the content of which I'm interested in for reading and writing purposes:
    %_VARI40C
    and
    %_VARIVDAT
    I already know the structure of the first one, but only because I found a Standard FM that reads it with an appropriately defined WA-structure, but I cannot find something similar to find out the structure definition for the other one (%_VARIVDAT). It can't be possible that this is so difficult to find out. There must be some better and easier way to find this out that I don't know yet...
    Thanks in advance for your appreciated help
    Andreas

    Hi Andreas,
    I think you have nothing into SAP to find the structure of a cluster table.
    The way I use, is to find a standard program that use this cluster, and I look in the ABAP code the structure used by SAP.
    You just have to use the ST05, and use the option to see the code where the cluster has been readed.
    Rgd
    Frédéric

  • Is it possible to modify the tag structure tree and the role map via scripting?

    We use unstructured FrameMaker to produce training materials which we distribute as tagged PDF to meet accessibility requirements.
    When FrameMaker creates a tagged PDF, it does a fairly good job of populating the structure based on the PDF setup information for the paragraph formats in the FrameMaker documents. However, there are some limitations in the support that FrameMaker provides. For example, almost all paragraphs are assigned to the P role even if they are headings and should be mapped to H1-H6.
    We want to be able to easily post-process a PDF that has been generated from FrameMaker to fix some of the tag structure issues (including tag names and the role map) so that the PDF will provide the optimum experience for a user of the JAWS screen reader.
    I spent some time reading the SDK documentation but didn't find much information about manipulating a tagged PDF via the API, especially via scripting.
    Does anyone have any examples or references which explain how to do it?

    AFAIK, it's not possible with a script. You might want to ask in the SDK forum, as it could be possible with a plugin.

  • How to convert a note in pdf and put the data in the structure SOOD4

    Good day!
    I'm using CONVERT_OTFSPOOLJOB_2_PDF.
    This function SO_DOCUMENTS_MANAGER selects a note from uploading and fills the structure SOOD4 with the file data.
    Need to do this automatically, convert to pdf and fill the structure SOOD4

    If I got your point correctly, you may use the function module SO_OBJECT_CREATE. Take a look at the thread below for an example on how to use it.
    Attachments to Material Master
    Regards,
    Felipe

  • Exporting an Pdf file to Excell while retaining the structure

    Hi
    I have a bunch of archival inventories on which I ran OCR. When trying to export them as excell documents the structure was lost.
    The structure is always the same and I am wondering wether there is a script I could write and run before the export in order to retain the structure.
    Or for instance could I create a structures excell document and make the export match it? I did try the auto export with Acrobat Pro X1 and it is a disaster with such documents I am pretty sure it works well in other instances.
    As I am looking for specific type of archival materials (inventories, wills, sales..) I need to be able to count them and retrieve the info attached to them in the inventory.
    Typically an inventory line would be as follow
    Calendro,            Francisco                                June 8,1780               P-400   being the page number  in the actual notarial book          
                                  by Pedro Portal
                                  Sale of Property
    Thanks

    I would suggest that there may be something in JavaScript that would help. However, for an individual file you can use the alt key during selection to select a table. There are also some options to try to recognize a table, but it works better if it is tagged -- not something you get from a scan.
    I just did OCR to an image of an excel sheet. I was not able to save as tables in Excel with a message that no table could be found. This is where the tags would come in. I tried adding tags (in AA9 this is under Advanced>Accessibility), but it did not help.
    I was able to select each column with the Select Text and Images tool. To select a column, hold down the alt key as you use the cursor for selection. You can copy the column to a spread sheet and repeat it for each column. This is cumbersome, but does the job. It may be that you can you JavaScript to select text in a window and copy it to an Excel file. I am going beyond my skill set, but suggestion what might be possible. In the meantime, you can work with the individual files.
    Good luck.

  • Show all the structure in the Query

    Hi people,
    I would like to know if there is some way to show all the structure I created by hierarchy to my query, enven if some nodes there isn´t any data.
    I have configurated to show only the lines there is amount. It means it won´t show the lines that have zeros.
    But the structure (all of the nodes) I would like to show, include that one there aren´t any datas.
    Thanks in advance,
    Rosana.

    Jaya,
    You are 10. It worked!.
    I only will leave opened this request yet because I would like a new suggestion.
    For exemple, I have the hierarchy but on the side "colum"  I already have a structure where is restricted by data because it is a report  "Year to Date".
    On this case, is it possible to do something to show all the structure of the hierarchy?
    Ps.: If it is necessary close this request and open a new one, you can tell me ok?
    Thanks a lot,
    Rosana.

  • SQ02 Create a query whit the structures.

    Dear gurus ,
    i create a query SQ02 whit the initial impostation " Data retrieval by program"  and insert in the field "data structure" the name of the structures where are the value, example ( AFVGD).
    When run the query the value is blanck .
    I must for case to modify the program generated  from the system :
    REPORT  RSAQDVP_TEMPLATE.
      declarations
      (insert your declarations in this section)
    data:
      AFVGD                          type AFVGD                         ,
      it_data type standard table of AFVGD                         .
    field-symbols: <struc> type AFVGD                         .
      selection screen statements
      (define your selection-screen here)
    !! the following comment MUST NOT BE CHANGED !!
    *<QUERY_HEAD>
      read data into IT_DATA
    (select your data here into internal table IT_DATA)
      output of the data
      (this section can be left unchanged)
    loop at it_data assigning <struc>.
      move-corresponding <struc> to AFVGD                         .
    !! the following comment MUST NOT BE CHANGED !!
    *<QUERY_BODY>
    endloop.
    You could advise to me like?
    Thanks a lot for your help
    Daniel Pistilli

    Dear gurus,
    i need of display the data result of the transaction of the leveling capacity in the transaction (CM22).
    I find that this data is present in the structures RCYPP_GEN and after i create a inforecord and a query ( SQ02 and SQ01 ) whit this structures, but don't see the date in the query report.
    In the SQ02 this code abap don't is present in the area coding "in Record Processing section" but the system created a pulsant "data reading program" for link a the area where is present this abap code.
    Are there the soluction for my problem?
    Thanks a lot for you important help
    Daniele Pistilli

  • Is it possible to to import Finder folders and subfolders into Photos and retain the structure

    Seems like this is not possible but here's hoping!! I am new to Mac and have more than 100GB of photos sorted into folders, sub-folders then files. Since Photos is structured by folders, albums and then files, it seems logical at least that there should be a way to import from Finder without losing the structure. I have nothing against the new photos app, indeed it looks like it will be perfect for me but of course I am reluctant to recreate the structure and indeed the 'filename' to 'Title' conversion manually (this does not appear to be automatic either) for obvious reasons. Is there a relatively easy fix I have just missed or is it better to assume this is a huge oversight by Apple that they will fix in due course, to bring more customers into the Photos and presumably higher storage space, iCloud fold.

    Currently can't be done automatically.
    You can request features, point out bugs, etc, at Apple Feedback pages: 
      http://www.apple.com/feedback/
    Or directly for Photos:
    https://www.apple.com/feedback/photos.html

Maybe you are looking for