Adding a field in table

Following is my scenario....
1. There is a Z table which has 7 fields.
2. Table Z has a Function group attached to it with all the necessary includes and Function modules.
3. Also there is a code written to populate 3 fields of Z tables when a user enters a key field. These 3 fields are populated
    from other tables by lookup for the keyfield.
4. Also there are screens attached to the Z table.
5. I have created a copy of Z table say Y table.
6. I have added one more field to table Y.
7. Also I have copied the function group, by right clicking on existing function group in SE80 and selecting copying option.
8. Now I have modified the code in includes and other necessary programs to change the references to the Y table. I have also
    changed all the  necessary parameters.
9. When I enter in SM30, I can see the new added field. But when I enter the keyfield, corresponding 3 fields are not populated.
10. I have checked all the necessary code and references, but yet not gettin anything.
Can any help me....is there somethg I am missing....

Hi,
If I understand you, the problem is that the maintenance of this table with SM30 is before to adding new fields. So, you must do newly the maintentenance with tcode SE54. Think that it do a function module and the screens with the fields that in this moment had the table.
Regards,
Eduardo

Similar Messages

  • Adding custom fields to table view assignment block

    Hi All,
      I want to add two news fields to 'Service Contract Item Level' in 'Object List' assignment block. How can i add these two custom fields to table view assignment block using AET. I have tried to add new fields using AET but there is no business object supports to my requirement.
    Thanks & Regards
    Nitish

    Hi Nitish,
    As naveen sadid use Cutomer_i object . I guess it will be more appropriate.
    And following link will be helpful for AET creation.
    CRM 7.0 How to --4 Adding Custom Fields With The New Application Enhancement Tool (AET)
    Regards
    Loks

  • Adding custom fields in table control of infotype 0591

    Dear Experts,
    My requirement is to add custom fields x y z  in the Table contol of the standard infotype 0591 (Nominations) screen in PA30 tcode.
    Is it possible to add the fields in table control after the fields share,guardian's address, without using access key.
    if  so, help me to know the procedure.
    Please suggest.
    Warm Regards
    Sinde.

    hi..
    a thread already exists with the same Subject.. pls check if it helps u....

  • Adding New Field in table control

    Hi all,
    I am going to add one new field in existing table control ,which already contains nearly 20 fields, so my field should be21st field,
    here when I am going to add new field , I need to add the field from work are from the same program. So , I am  selecting the option Get from Program, here I am getting the error the field  does not exist in the generated version of the program.
    Regards,
    Siddivinesh Jogu

    Hi,
      I think you forgot to activate the program after creating the new field in the internalt able so first ensure the program is properly activated and then try the same.
    Regards,
    Himanshu

  • Adding custom fields in table control of PO

    Hi Everyone,
    I have a requirement which i need to display the custom fields in the Table Control(Item Overview) of PO. Since our Version is 4.6C there is no badi's avilable to do the changes. Please let me know how can we solve this problem.
    Mentors: Forgive me if it is repeated Post...
    Edited by: subas  Bose on Feb 5, 2010 12:10 AM

    Hi,
    Search for user exit...either screen or field exit..this will solve your problem.
    Small help on how to find a exit;
    1. find out the package
    2. go to se84 with the help of package in the cutom exit tab look for all the exit.
    3.put the brek point and tack where you can get the solution.
    Pooja

  • Adding extra fields to Table Control?

    Hi Experts,
    Here I hv a table control, with 5 fields, 1,2,3,4,5.
    So, I need to add extra 3 fileds to the above said existing table control i.e.
    6th field in between the 3 & 4,
    7th field in between the 4 & 5,
    8th field in the last i.e. after 5th,
    I tried with Table Control Wizard, but not succeeded. So, pls, mention the steps to b followed to achieve this?
    ThanQ.<b></b>
    Message was edited by:
            Sridhar

    Hi,
    Go to SE51
    Give the program and screen number..
    In the menu..choose..utilities -> settings..
    Uncheck the graphical painter check box..press enter..
    Choose the layout radion button..
    Press change..
    Double click on the table control..
    THen press the CTRL Elements button..
    In the popup...insert (+ button) to place the input field
    THanks,
    Naren

  • Adding dinamic fields into table control..

    hi friends,
    i wan to knw , is it possible to add fields dynamically in table control? actually the requirement is like, it is not fixed how many fields will be their in table control, it may change depending upon date. so if u knw, please help me out....
    good points will be awarded to helpful answer.....
    Thanks,
    Brij

    HI,
    at the design time of the screen make all possible columns or fields in the table control,make sure you are having all the fileds in the itab.
    now go to the pbo of the screen.
    inside the loop endloop of table control write loop at screen .
    inside this loop for all the fields base dupon condition you dont want to appear make screen-invisible = '1'.
    modify screen.
    hope this solves your query...
    thanks
    vivekanand

  • Adding field to Table Control

    Hi Folks,
         I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
         The field is also not existing in the table, it is also added to the table using Append Structure.
        Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Poorna,
       Thanks for the reply.
       I have to add field to the txn QM02. User will specify the value for the custom field in this txn and the same should be updated in the database table.
       The field is not a std SAP field, it is added to the table using append structure.
    Thanks,
    Punit

  • Adding field to Table Control using screen exit

    Hi Folks,
    I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
    The field is also not existing in the table, it is also added to the table using Append Structure.
    Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Punit,
    There are various screen user exits(QQMA0001,QQMA0008,QQMA0010,
    QQMA0011,QQMA0012) available for this transaction but all are related to adding a subscreen.So, I am not very sure whether we can modify a table control for this transaction. So, If possible if u r requirement still can be acheived with creation of a subscreen then it would do only if the exits which were mentioned above belongs to u r main screen..
    Regards,
    Swaroop

  • Dynamic Field in Table TCJ1

    Hello Experts,
    I have doubt how the description get automatically populated in Table TCJ1.
    When I see the fields in TCJ1, I see only 2 fields present. But when I see the table value another field Description gets automatically populated. It fetches the description from TCJ1T and populate the table TCJ1.
    How actually this happens? How does TCJ1 table know, its description is present in TCJ1T? Is it specified in Table?
    Well reason I am asking is I have simillar requirement in report KKRC.
    I have added some fields in table PSMERK (For summarization characteristic tab tcode CJ20n). Now customs fields are added in KKRO ( Customization for KKRC report) .
    Currently when KKRC gets executed , description of the custom fields is not getting populated. I dont know how will KKRC know description of the custom fields needs to be fetched from another table.
    Thanks,

    Hi Sankar ,
    In tables there is a concept called Text Tables , which usually is used to store description.
    Now you might think my we need a text table  , the reason is the text can be stored in a number of diffrent languages, so a text table will have value for which description is to be stored , language and the description.
    Now how u see the text table
    SE11--> Enter the table name TCJ1 --> GoTo(In the dropdown there is some thing called text Tables , click on it you go to a table called TCJ1T )
    Another very comman example is for MARA , see what is the text table for MARA.
    Regards
    Arun
    Reward with point if found helpful

  • Error while adding user fields to user table using vb6.0

    Hi,
    I am adding a user tables using vb6.0 using DIAPI.
    I am able to add the user table successfully.
    I am getting the following error when i am adding the fields to the table.
    "The metadata object for this object cannot be updated, since it's ref count is bigger than 0."
    My code is as follows:
        oUserFieldsMD.TableName = TABLE_NAME_ITEM_LOCN
        oUserFieldsMD.Name = vTableFields(0, lCount)
        oUserFieldsMD.Description = vTableFields(1, lCount)
        oUserFieldsMD.Type = vTableFields(2, lCount)
        oUserFieldsMD.EditSize = CLng(vTableFields(3,lCount))
        lRetCode = oUserFieldsMD.Add
    This error does not come up when i try to add the field to my table using the vb sample provided by SAP.
    Your help will me much appreciated.
    Thanks.

    Hi Satish,
    The problem is that you added the table and the objetc that you used to add the table is not freed properly. You need to free the object and then the reference count to that table will be 0 - which will enable you to add the fields
    e.g
    Dim pUTables As SAPbobsCOM.UserTablesMD
    'Do your stuff
    Set pUTables = Nothing
    Dim pUFields As SAPbobsCOM.UserFieldsMD
    'Do your stuff
    Set pUFields = Nothing

  • Adding custom fields to the condition table in CRM

    Hi all,
    Our requirement is to download the sales conditions type from R3 to the CRM system. In one of the condition table we are trying to add shipping point( VSART ) and Special processing indicator (SDABW).
    For that we have added the fields in the structure CND_MAPT_ACS_REM_CUST (Comm. Structure Condition Exchange Customer Exit R/3 Fields) and we have added the fields in the field catelog in transaction ( /SAPCND/CTCT - Maintain Condition Tables). Then we have mapped these fields in the view V_CND_MAP_CNVFLD.
    Finally we run the adapter object of that particular table to download the details from R3, but the condition table in CRM is not getting activated, so the adapter object is giving the error.
    Please help in this.
    Thanks & Regards,
    Raghuram.

    Hello Raghuram,
    I feel that your issue is similar what i have faced, refer to my post:
    Link: [Issue in customer specific price;
    For solving this you can refer to detailed steps in,  Note 514952 - Download of customer-specific tables.
    Also additionaly you may need to run the report /sapcnd/rv12n001, as i also had to do so.
    If not solved then let me know the relevant message in SLG1
    Regards

  • Adding new field in the table for Output

    Hi ,
    I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
    regards,
    Ragu

    Hi Refer below link on sdn for adding new Field
    Adding New Field to Catalog
    Adding New fields to field catalog

  • Problem with adding user fields to user table

    hi everyone,
    i have written code to create user tables and some user fields to that table....
    its working fine...
    in the code i have some conditions like if the table is already created.. then it should execute the code written for creating table..?
    udTables1 = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
                If udTables1.GetByKey("FA_MASTERDATA") Then
                    udTables1 = Nothing
                Else
                    udTables1.TableName = "FA_MASTERDATA"
                    udTables1.TableDescription = "Fixed Assets Master Data"
                    udTables1.TableType = SAPbobsCOM.BoUTBTableType.bott_MasterData
                    ret2 = udTables1.Add()
    System.Runtime.InteropServices.Marshal.ReleaseComObject(udTables1)
                    udTables1 = Nothing
                    GC.Collect()
                End If
    but how to check the same condition for adding fields????
    udfields1 = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                '' 1st field
                udfields1.TableName = "FA_MASTERDATA"
                udfields1.Name = "Alias"
                udfields1.Description = "Alias"
                udfields1.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                udfields1.EditSize = 20
    '''how to write condition to check whether the field is already creatd or not????
                ret3 = udfields1.Add()
    System.Runtime.InteropServices.Marshal.ReleaseComObject(udfields1)
                udfields1 = Nothing
                GC.Collect()

    hi try this..
    oUserFieldsMD = muc_ParentAddon.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                '********Adding 1st Field
                If Not IsFieldExist("POR1", "PINo") Then
                    oUserFieldsMD.TableName = "POR1"
                    oUserFieldsMD.Name = "PINo"
                    oUserFieldsMD.Description = "Purchase Indent No"
                    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                    oUserFieldsMD.EditSize = 20
                    lRetCode = oUserFieldsMD.Add
                    If lRetCode <> 0 Then
                        muc_ParentAddon.SBO_Company.GetLastError(lErrCode, sErrMsg)
                        MsgBox(sErrMsg)
                        Return False
                        Exit Function
                    Else
                        Fields = True
                    End If
                End If
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
      Private Function IsFieldExist(ByVal as_TableName As String, ByVal as_FieldID As String) As Boolean
            Dim flag As Boolean
            Dim businessObject As SAPbobsCOM.Recordset
            Try
                businessObject = DirectCast(Me.muc_ParentAddon.SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset), SAPbobsCOM.Recordset)
                businessObject.DoQuery(String.Concat(New String() {"Select * From CUFD Where TableId = '", as_TableName, "' AND AliasID='", as_FieldID, "'"}))
                If (businessObject.RecordCount > 0) Then
                    flag = True
                Else
                    flag = False
                End If
            Catch exception1 As Exception
                Me.muc_ParentAddon.SBO_Application.SetStatusBarMessage(exception1.Message, SAPbouiCOM.BoMessageTime.bmt_Short, True)
            End Try
            System.Runtime.InteropServices.Marshal.ReleaseComObject(businessObject)
            Return flag
        End Function
    hope it helps

  • Adding Custom Fields to FAGLFLEXP Table

    Hello,
    We have a requirement to update WBS Element for Planning related Data. So have added custom field(WBS Element)  in structure CI_FAGLFLEX04.
    The field is visible when I open FAGLFLEXP table, but when I post data The custom field (WBS Element) is not being updated. Could you please let me know the process to update this field?
    Thank you in advance.

    Hi.
    The procedure isn't so simple. There are several posts on the subject SCN. I suggest research before you start developing.
    Start here:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    However, the most important is: a) Is it really necessary to change the standard? b) There could be a Z table containing the new information and referencing FAGLFLEXP? c) What is the transaction that will keep the data? It has Exit´s for what you need?
    As Vadamalai said below,
    Actually your approach may be wrong, first as an ABAPer should ask to functional team, which transaction and where to insert the fields, it could be header or item level(I am saying example)
    Based on tcode, you need to enhance the table level as well as the screen exit/BADI we need to pass screen to internal programming structure. the structure type will be table type of FAGLFLEXP.
    Regards.
    Douglas

Maybe you are looking for