Adding a field in already existing query layout

Hi All,
I have a requirement where I have to add couple of fields in an already existing query layout.
Through SQ01 and layout painter I have added the fields to the layout. When I test from query painter it displays the newly added fields. But when I execute the transaction that is designated to run the query its not displaying those fields.
What am I missing here?
Thanks in advance.
Thanks,
Arun

Arun,
As you have done some changes to the query,the internal report generator will generate a new program correspponding to the Query which should be attached to the T-code.
Currently the t-code might be having the earlier program name ie the program generated by the query before changes were made hence it is not displaying.
Just check the program name of the Query and the  program name attached to the tcode.
K.Kiran.

Similar Messages

  • Adding new custom field in already existing custom tab for MM01

    Hello Guru,
    I have a requirement that add a custom field in already existing custom view of MM01. I did the following steps :
    1. I have cerated a new field in MARA using APPEND structure.
    2. I have found the function group(Y_FE_MARA) that already there other subscreens, so that I have added another subscreen in that function group and created a field from MARA in the screen.
    3. in SPRO went for the path Logistics General->Material Master->Configuring the Material->Define Structure of Data screens for Each Screen sequence
    In the 3rd step, I have choosen already existing screen sequence(Y1) and went for Data Screens and choosen for Custom tab and double click on subscreens and then I have added the program as SAPLY_FE_MARA and subscreen number(011) and saved it.
    After all the above steps, I have run MM02/MM03 then the field is not getting displayed in the screen of custom view.
    Did I miss any steps here? Please suggest me if I did something wrong.
    Thanks and Regards,
    Muralikrishna Peravali

    Hi Raymond,
    Thank you for the reply. As per the note some one already implemented the Screen Enhancement with 2 custom views. I need to add the field in any one of existing custom view. So for this I have created a Subscreen in copied function group of MGD1(Y_FE_MARA). But in the function group already 10 Subscreens were created. Is this is the problem? or else copy the FG MGD1 into another FG and create the subscreen will be feasible to my scenario?
    Please suggest me.
    Thanks and Regards,
    Muralikrishna Peravali

  • Adding a field to rhe join query

    Dear Friends,
    I need your help in adding a field to a join query.
    I have created a reort using join(SQVI). Now i want to add an addition field to that report. The issue is the field i am looking at is stored in structure. Is there any way i can add this field....
    Sanjay

    It is not possible here (in SQVI).
    you have to Go with Query.
    SQ02 using this Create infoset, add all the tables , here include that structure field, and then add the logic to populate the field.
    Now go to SQ01 and create Query.

  • Adding additional fields to an Infoset Query

    Hi Experts,
    I have added a couple of additional fields to an infoset query using SQ02.
    I have also written code for filling in the fields.
    I have also added them to some Field Groups.
    Despite this, when I run the query, they are not being displayed in the output list.
    What could be the reason for this?
    Kindly help with your inputs.
    Thanks in advance.
    Regards,
    Keerthi

    goto sq01,
    give the query name...
    goto change.. just below output, you have a drop down for field group and field catalog. select field catalog.
    select the fields you want to show in output

  • Adding New Fields to a BEx Query does not show up in the CR field explorer

    This could be a silly question.
    I have a CR report based on a BEx query.  I had to add a couple of new fields to the BEx query, and when i want to add those fields to the CR report, I don't see them even after I do a refresh in the field explorer. 
    How do i see this new fields in the CR report?
    Help Please
    Thanks

    Hi,
    you can open the report and go to the menu Database > Verify Database.
    that should add the new fields to the list of fields in CR
    Ingo

  • Adding threshold values in an existing query

    Hi All,
    I have to update an existing query.
    The original query gives me the value of Debtors to sales ratio for each division (DTR value).
    Now, I want that for each division, there be a threshold value which should be compared with the debtor's value and if found higher than the threshold, the result should be in red.
    The result being in red can be done at the front end, which in my case is Cognos.
    But to store different threshold values for diffrerent divisions and then compare them with the debtor's values of the query, do I need to have a separate cube wherein I should store the divisions and their threshold values?
    Or how can I go about it?
    Thanks and best regards,
    Sharmishtha

    Hi Nagesh,
    I do not have those values in the system but will be getting as external data only.
    Divisions and debtors are separate info objects.
    I have 12 debtors KFs (for 12 months) which get filled by an APD (data source is a query).
    So, my final query has divisions in the rows and 12 debtors in the colm.
    So, now i'll be given some threshold debtor value for each division which I need to bring in the query as a KF which can be compared in the query output.
    So, what you suggested will it work in this requirement?
    Also, can you elaborate on the method I need to follow?
    Thanks a lot,
    Sharmishtha

  • Adding additional fields to an existing Infoset.

    Experts,
    I got a requirement to add additional fields to an existing info set which belongs to different Logical Data base.
    The existing info set is based on PNPCE LDB and the fields are from PD (i.e PCH ldb).
    Please let me know hw to add those fields...
    Thanks,
    Shrini

    Hi Shrini,
    You can add fields from PD infotypes (1000-1999) to a PNPCE infoset if the object has a relationship to a Person.  Example would be Position which has the relationship Holder.  You go to Change the Infoset.  Edit --> Change infotype selection.  Scroll down to the bottom and open Infotypes of Related Objects.  Open Position.  There you will see the possible relationships between a Position and Person.  Select Holder.  There you have the list of infotypes assigned to a Position that you can add by checking each.  You can then add whatever fields are in that infotype to the Infoset. 
    Problem comes in if there is no direct relationship between a Person and the object - such as Job that you want to include in the Infoset.  A Job describes a Position and a Person holds a Position, but a Person does not have the direct relationship to the Job except as a Dislike or Successor.    In this case you would need to create a new PCH Infoset with the root object Position.  Then using the relationships between Position and Job and Position and Person, you can access the infotypes from PA as well as PD.
    Paul

  • Adding extra Field to a Infoset Query

    Hi Experts,
      I need to add an extra field to a SAP Query(infoset). SInce the code uses a dynamic program call, how do I add my code . Can I have some example code used to add extra field to a SAP Query

    Hi Mithun and gurus,
    My code is working now for these 3 new additional fields. The thing is it works if these fields were selected solo. but if all of these 3 or 2 of it simultaneously, an error occurs.
    Error when generating the report (see long text)
    Message no. AQ_AD_HOC221
    Diagnosis
    The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
    Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
    If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
    If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
    Procedure
    If the selection screen is too large, you need to reduce the number of your selections.
    Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.
    Output at least one field. Otherwise you will not be able to save or generate reports.
    If you do not have this problem, execute the query using the 'Output' function.
    Otherwise, there is an error in the InfoSet Query.
    >>>I checked and the code seems fine at least. I think there must be something I need to configure. I tried the SEQUENCE for Codes but nothing happens..
    I hope you could helop me with these..Thanks a lot!!!

  • Adding new field in an existing condition table

    Dear friends,
    I have an existing condition table for material exclusion with the combination of Plant and material.
    Is it possible to change this table and add a field of division also?
    Regards,
    Ronnie

    Hi,
    The optimzed solution is to better create a new sequence of fields including the division, so that a new condition table is created based on the key combination or access sequence.
    You can add a new field to an existing condition table using APPEND structure facility in Se11. But once on activating the table, how will this division field get populated in the table.
    But whereas if you create a new key combination, the data for this condition tables will automatically gets filled up while creating master data thro VK11.
    So, its better to go for a new access sequence combination
    as a new table is created for this key combinations.
    Regards,
    JLN

  • Adding Additional Tables to an Existing Query

    Dear All
    I have the following tables and relationships:
    I have the following query that returns records from the table SENAlert where the StudentID and the TeacherUsername are passed in as parameters.
    Also, records are only returned if there isn’t a corresponding record in the SENAlertHistory table (i.e. SENAlertHistorySENAlertID IS NULL).
    This query is returning the results that I would expect:
    SELECT       
    SENAlert.SENAlertID, SENAlertType.SENAlertTypeDescription
    FROM           
    SENAlertHistory RIGHT OUTER JOIN
    Teacher INNER JOIN
    Class ON Teacher.TeacherCode = Class.ClassTeacherCode INNER JOIN
    ClassMember INNER JOIN
    SENAlert INNER JOIN
    SENAlertType ON SENAlert.SENAlertType = SENAlertType.SENAlertTypeID INNER JOIN
    Student ON SENAlert.SENAlertStudentID = Student.StudentID ON ClassMember.ClassMemberStudentID = Student.StudentID ON
    Class.ClassClassCode = ClassMember.ClassMemberClassCode ON SENAlertHistory.SENAlertHistorySENAlertID = SENAlert.SENAlertID AND
    SENAlertHistory.SENAlertHistoryTeacherCode = Teacher.TeacherCode
    WHERE       
    (Student.StudentID = 011763) AND (Teacher.TeacherUsername = 'dsmith') AND (SENAlertHistory.SENAlertHistorySENAlertID IS NULL)
    However, I need to extend this query to include additional teachers who may also teach this student. I am trying to add in 3 additional copies of
    the Teacher table as Teacher_1, Teacher_3 and Teacher _3 in order to include them in the query also.
    However, when I add these tables in I no longer get any results returned.
    I have managed to do this on other queries but not this one.
    SELECT SENAlert.SENAlertID, SENAlertType.SENAlertTypeDescription
    FROM SENAlertHistory INNER JOIN
    Teacher ON SENAlertHistory.SENAlertHistoryTeacherCode = Teacher.TeacherCode INNER JOIN
    Teacher AS Teacher_1 ON SENAlertHistory.SENAlertHistoryTeacherCode = Teacher_1.TeacherCode INNER JOIN
    Teacher AS Teacher_2 ON SENAlertHistory.SENAlertHistoryTeacherCode = Teacher_2.TeacherCode INNER JOIN
    Teacher AS Teacher_3 ON SENAlertHistory.SENAlertHistoryTeacherCode = Teacher_3.TeacherCode RIGHT OUTER JOIN
    Class INNER JOIN
    ClassMember INNER JOIN
    SENAlert INNER JOIN
    SENAlertType ON SENAlert.SENAlertType = SENAlertType.SENAlertTypeID INNER JOIN
    Student ON SENAlert.SENAlertStudentID = Student.StudentID ON ClassMember.ClassMemberStudentID = Student.StudentID ON
    Class.ClassClassCode = ClassMember.ClassMemberClassCode ON Teacher_3.TeacherCode = Class.ClassTeacherCode AND
    Teacher_2.TeacherCode = Class.ClassTeacherCode AND Teacher_1.TeacherCode = Class.ClassTeacherCode AND
    Teacher.TeacherCode = Class.ClassTeacherCode AND SENAlertHistory.SENAlertHistorySENAlertID = SENAlert.SENAlertID
    WHERE (Student.StudentID = 011763) AND (SENAlertHistory.SENAlertHistorySENAlertID IS NULL)
    AND (Teacher.TeacherUsername = 'admin\dsmith' OR Teacher_1.TeacherUsername = 'admin\dsmith' OR Teacher_2.TeacherUsername = 'admin\dsmith' OR Teacher_3.TeacherUsername = 'admin\dsmith')
    No results are returned from this adapted query. I have noticed that by adding the additional tables, it keeps changing the type of joins that I
    have between certain tables. I have tried all sorts of combinations but haven't been able to make it work.
    I would be really grateful for any advice that you may be able to offer.
    Many thanks
    Daniel

    Dear All
    I followed the advice and created the query again from scratch, one table and relationship at a time checking that I am getting the expected result. I have put much of the query back together with the correct output:
    SELECT
    SENAlert.SENAlertID,
    SENAlertType.SENAlertTypeDescription
    FROM dbo.SENAlert
    INNER JOIN dbo.SENAlertType
    ON SENAlert.SENAlertType = SENAlertType.SENAlertTypeID
    INNER JOIN dbo.Student
    ON SENAlert.SENAlertStudentID = Student.StudentID
    INNER JOIN dbo.ClassMember
    ON ClassMember.ClassMemberStudentID = Student.StudentID
    INNER JOIN dbo.Class
    ON ClassMember.ClassMemberClassCode = Class.ClassClassCode
    INNER JOIN dbo.Teacher
    ON Class.ClassTeacherCode = Teacher.TeacherCode
    LEFT OUTER JOIN dbo.Teacher AdditionalTeacher1
    ON AdditionalTeacher1.TeacherCode = Class.ClassAdditionalTeacherCode1
    LEFT OUTER JOIN dbo.Teacher AdditionalTeacher2
    ON AdditionalTeacher2.TeacherCode = Class.ClassAdditionalTeacherCode2
    LEFT OUTER JOIN dbo.Teacher AdditionalTeacher3
    ON AdditionalTeacher3.TeacherCode = Class.ClassAdditionalTeacherCode3
    WHERE Student.StudentID = 011763
    AND (Teacher.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher1.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher2.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher3.TeacherUsername = 'admin\dsmith')
    The problem arises when I try to add the SENAlertHistory table back in. I only want to show results where a related record does not exist in SENAlertHistory. I have tried every combination of relationship but none have been successful.
    I think maybe I need to be using a subquery instead.
    Thanks for your help
    Daniel
    do you mean this?
    SELECT
    SENAlert.SENAlertID,
    SENAlertType.SENAlertTypeDescription
    FROM dbo.SENAlert
    INNER JOIN dbo.SENAlertType
    ON SENAlert.SENAlertType = SENAlertType.SENAlertTypeID
    INNER JOIN dbo.Student
    ON SENAlert.SENAlertStudentID = Student.StudentID
    INNER JOIN dbo.ClassMember
    ON ClassMember.ClassMemberStudentID = Student.StudentID
    INNER JOIN dbo.Class
    ON ClassMember.ClassMemberClassCode = Class.ClassClassCode
    INNER JOIN dbo.Teacher
    ON Class.ClassTeacherCode = Teacher.TeacherCode
    AND NOT EXISTS ( SELECT 1
    FROM SENAlertHistory
    WHERE SENALertHistoryTeacherCode = Teacher.TeacherCode
    AND SENAlertHistorySENAlertID = SENAlert.SENAlertID)LEFT OUTER JOIN dbo.Teacher AdditionalTeacher1
    ON AdditionalTeacher1.TeacherCode = Class.ClassAdditionalTeacherCode1
    AND NOT EXISTS (SELECT 1
    FROM SENAlertHistory
    WHERE SENAlertHistoryTeacherCode = AdditionalTeacher1.TeacherCode
    AND SENAlertHistorySENAlertID = SENAlert.SENAlertID
    LEFT OUTER JOIN dbo.Teacher AdditionalTeacher2
    ON AdditionalTeacher2.TeacherCode = Class.ClassAdditionalTeacherCode2
    AND NOT EXISTS (SELECT 1
    FROM SENAlertHistory
    WHERE SENAlertHistoryTeacherCode = AdditionalTeacher2.TeacherCode
    AND SENAlertHistorySENAlertID = SENAlert.SENAlertID
    LEFT OUTER JOIN dbo.Teacher AdditionalTeacher3
    ON AdditionalTeacher3.TeacherCode = Class.ClassAdditionalTeacherCode3
    AND NOT EXISTS (SELECT 1
    FROM SENAlertHistory
    WHERE SENAlertHistoryTeacherCode = AdditionalTeacher3.TeacherCode
    AND SENAlertHistorySENAlertID = SENAlert.SENAlertID
    WHERE Student.StudentID = 011763
    AND (Teacher.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher1.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher2.TeacherUsername = 'admin\dsmith'
    OR AdditionalTeacher3.TeacherUsername = 'admin\dsmith')
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • CRXI - Adding SQL subtables to already existing tables in a report

    Crystal Reports XI
    SQL 2005
    I have a SQL 2005 set of tables and subtables with their respective fields.  In one of a pre-existing CRXI report there's an Opportunity table which now has a new "Opportunity_Details" subtable related to the original Opportunity table.  This is a 1:1 relationship so that for each and every Opportunity record in the Opportunity table there exists only one Opportunity_Details record.. and vice versa.  I can see the Field Explorer on the lower right of the screen but how do I ADD (connect?) the Opportunity_Details table to the pre-existing Opportunity table so I can use BOTH tables in a report?  I've looked into Data Source Location but that didn't do anything.  I can see all the respective fields in all tables in the Field Explorer.  I just need to ADD a new table to the Field Explorer either 'under' the Opportunity table or 'under' the Database Fields area.
    Once the connection is made is this connection valid for any and all sub-reports also?
    My experience is primarily on v8.5 so some 'easy' assistance here would be helpful. I've looked around but nothing seems to jump out!
    TIA!!

    >
    total1 wrote:
    > I don't follow you on this request!
    > What I have just tried is to go through the Set Datasource Location>Create New Connection>OLE DB (ADO)>Microsoft OLE DB for SQL Server and then connected to the server, then selected the MySQLDB.  VISUALLY, this seemed to work but I may have TWO connections to MyServer and MySQLDB.  The Field Explorer dialog box with Database Fields now shows an additional table (the table I desire) BUT I'm not convinced that what I did IS the correct methodology/process.  [This is under a single Database Fields in alphabetical order.]  Performance or even correct functionality may be sacrificed.  Is there a way to know if what I've done IS correct?  I have doubts...  For example the Set Datasource Location>Current Data Source shows TWO (2) MyServers with Properties and the respective tables for each as selected for each connection.  That is, the second MyServer shows the table I just selected and the table I just selected isn't listed in the first MyServer connection.  It still has the original tables.
    > HTH
    > Thanks...
    It sounds right. Verify your database for the connection that does not show the table. If it does not show up, try setting the location again, setting the original connection list of tables to the new connection (I hope that makes sense).
    I can not see the document you listed as my IT department has that web side blocked

  • Adding a field to existing collective search help

    we tried to add a custom field to already existing collective search help
    for this we tried to copy the search help exit "F4IF_SHLP_EXIT_VENDOR_EXP",
    but we are unable to activate the copied function module since it's throwing a error that
    a statement in one of the includes that was created by the system is inactive.
    Thanks in advance,
    Raj

    Hi Venkata,
    Datasource Enhacement:
    Please check : [Enhancing LO DataSource u2013 Step by Step|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46]
    after adding new field to datasource, need to populate using ABAP code in User Exit.
    Adjust update and transfer rules of 0Customer and load data.
    how can I add that field in 0SD_C03 cube.
    --> In 0Customer infoobject, make Sales District as Navigational attribute and also activate as navigational in CUBE: 0SD_C03. Then it will be available for reporting for navigation, filtering.
    Hope it Helps
    Srini

  • Adding a field to an sql statement in Oracle Reports error ORA-00933

    We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
    ORA-00933:SQL command not properly ended
    ORDER BY Program ==> NAME
    Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
    SELECT p.person_uid PIDM_KEY, p.id_number ID,
                   p.full_name_lfmi name,            
                    p.BIRTH_DATE, p.GENDER Sex,
                    Decode(a.residency,'D',p.Primary_ethnicity,'F')  Ethn,
                    a.academic_period TERM,        
                    CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
                                 ELSE ' '
                    END AS Program,
                    a.COLLEGE, a.degree, a.major, ' ' rule,
                    a.STUDENT_POPULATION,a.STUDENT_LEVEL,    a.application_status Status,  a.application_status_date app_sts_dte,
                    ad.decision_date1 Last_Dec_Date,
                    ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
                    /*  Deposit Date uses the last term entered in :p_term parameter string */
                    (SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid)   AS "DEPOSIT DATE",     
                    ph.phone as PHONE,
                    CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
                     ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
                                ELSE '  '
                                END
                    END AS FIRST_CONTACT,
                    DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,'  ',' '),' ') as  address, adr.nation, adr.state,
                    goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
    FROM MST_ADMISSIONS_APPLICATION A,
               MST_PERSON p,mst_pre_student PS,  Admissions_Cohort c, usf_v_phone_pr_ma ph,
               MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
    WHERE a.PERSON_UID = p.person_uid
            AND a.curriculum_priority  = 1
            AND a.person_uid = ps.person_uid
           AND a.person_uid = ad.person_Uid(+)
           AND a.person_uid = goremal_pidm(+)
           AND a.person_uid = adr.pidm(+)
           AND a.person_uid = ph.pidm(+)
           AND ph.rnum(+) = 1
           AND a.person_uid = c.person_uid(+)
           AND a.academic_period = c.academic_period(+)
      &Where_Clause
           /*    TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP  */
            AND NOT(p.id_number = '00000000'   OR SUBSTR(p.id_number,1,1) = 'B'  OR UPPER(p.full_name_lfmi)  LIKE '%TESTING%')
           AND  a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
           AND a.academic_period = ad.academic_period(+)
            AND a.application_number = ad.application_number(+)
            AND a.degree <> 'ND'    /*   AND a.college <> 'LW'                         --  Does not need non-degree and law students    */
           &Cohort_Clause 
    ORDER BY Program  &ORDER_CLAUSE

    Hi Denis,
    I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
    ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
    p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
    Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
    CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all.

  • Added new field to ALV but not  displaying the ouput

    Hi guys,
    I'm adding one more column to be displayed on an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
    DATA : BEGIN OF itab OCCURS 0,
      matnr LIKE eina-matnr,
      extwg LIKE mara-extw,
      matkl LIKE mara-matkl,
      mtart LIKE mara-mtart,
      maktx LIKE makt-maktx,
      lifnr LIKE eina-lifnr,
      wglif LIKE eina-wglif,
    <span style="color:red">idnlf like eina-idnlf,          " <----
    new field</span>
      name1 LIKE lfa1-name1,
      profl LIKE mara-profl,
    END OF itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-cprog
          i_internal_tabname     = 'ITAB'
          i_client_never_display = ''
          i_inclname             = sy-cprog
         i_bypassing_buffer     = 'X'
        CHANGING
          ct_fieldcat            = t_cat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    I've added in a new field inside the ITAB internal table, but it wouldn't appear in the t_cat, only all the old fields will appear. What have i done wrong?

    Hi
      Facing similar kind of issue.. added one field to the existing internal table. This is not getting populted by the field catalog merge FM. Tried with the suggested solution also of running programs BALVBUFDEL,
    BCALV_BUFFER_DEL_SHARED then logging off  and logging in..
    But the newly added field is not getting populated. Any suggestions would be of great help.
    Regards,
    sridevi S

  • Adding additional fields to Existing query

    Hi all,
    There is an existing query in our system and now the requirement is to add and insert few fields to the existing fields of output of that query.
    Please let me know step by step procedure to achieve this.
    Thanks in advance-

    It depends upon the type of Query you have.   Is it a Quick View, an ABAP Query, or are you trying to make changes to an ABAP Report?

Maybe you are looking for