Adding User Field

Hello to all,
Is it possible to add the User Field in Table OACP/OFPR (Financial period)
regards
Bikram

Hello
From SDK, via DI API you can add user defined fields to any tables. Otherwise you may test it is appearing or not in the GUI. Example: You can add UDF on Price lists (OPLN, ITM1), but UDF on ITM1 is not visible in the GUI.
Regards,
J.

Similar Messages

  • Added user field to CJI3 - missing in column set until post

    Hello,
    We added a user field to the CJI3 report using these instructions:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/400fbf3d-4be0-2d10-2d85-bbaf27f72258?QuickLink=index&overridelayout=true&49563922669358
    We added a user defined field in our WBS structure, PRPS-USR001, to the CJI3 report.
    On page 8 it says that once the change is made, the column will become availble.  We haven't found that to be the case.  What I found was that the field does not show up until 1) there is a value in it for a project and 2) there has been a new posting to that particular WBS element.
    So it appears that after we update the master data for the particular WBS on each project, we will not be able to use the data in CJI3 until there is a posting to that WBS element for each relevant project.
    Is there any way to "activate" or "push" SAP such that once the master data is updated in the project it is available in CJI3?  Or do we have to wait until something has been posted to that WBS?  Historically there are postings to the WBS but it doesn't appear in CJI3 until there is a new posting since we updated the field.
    Thanks much,
    Andrea

    Hi Andrea
    cji3 is the actual cost/revenue line item report of ps. In order for the new column to appear you need to satisfy both pre-requisites:
    1.actual line item in your wbs
    2.the user field to have a value.
    If you satisfy just one of the pre-req's i am afraid you will not get it in your cji3 output.
    Hope it helps somehow
    Panagiotis

  • 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

  • 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 Include fields to "user fields"

    Hi...
    I made an Include adding some fields to PRPS...
    Now I want these fields to show up in the CJ20N - > "User fields"  Tab...
    How should I proceed??
    PS:
    I've made a screen-exit, but I need the fields to show up in the Substitution Rules.
    How can I do that??
    Any solution would fit my need...
    Thanks,
    Eric
    Edited by: Eric Shimabukuro on Mar 23, 2011 9:15 PM

    I don't know how come this is not working for you. Just confirm the steps once again as following:
    - Your UDF is USR_UDF_CUSTOMERID (let's assume)
    - You have made an entry is the section *<!-- User Self Registration and User Profile Modification section -->* of FormMetaData.xml like below:
    *<Attribute name="USR_UDF_CUSTOMERID" label="global.label.customerid" displayComponentType="TextField" dataLength="30" map="USR_UDF_CUSTOMERID"/>*
    - In addition to it you have also made an entry like following in section *<!-- Definition of the form that will be displayed to the user for profile modification -->* of the same xml:
    *<AttributeReference editable="true" optional="false">USR_UDF_CUSTOMERID</AttributeReference>*
    This should work perfectly.
    Thanks
    Sunny

  • Adding user defined field in print layout design of Bill of matrial Report

    I want to add "Drawing No" which is user defined field in Bill of Material report need immediate help .

    Hi,
    If you add the UDF in BOM-Title then the UDF will be in OITT table.
    If you add the UDF in BOM-Rows then the UDF will be in ITT1 table.
    You will find BOM-Title or BOM-Rows in Production Module (ie., in User Defined Fields --> Manage User Fields)
    In PLD, You can print the UDF if you search in the above said tables.
    Raja.S

  • Error while Adding user to  'SunAccessManager' Resource

    Hi,
    I configured SAM Resource adapter in SIM 6.0. When I create a user and assign SAM Resource getting the following Error,
    com.waveset.util.WavesetException: An error occurred adding user 'uid=SIMUser2,ou=People,o=Employee,dc=nl,dc=dap,dc=com' to resource 'SunAccessManager'. com.waveset.util.WavesetException: An error occurred creating user. java.lang.IllegalArgumentException: Invalid parameters
    Pls help me to resolve this issue
    Thanks,
    Deva

    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 new field in Sales order

    Hi frnds,
    i need to add a field (LIFNR) in item level of sales order. can any body tell me thru which screen exist i can add the field? i hope i need to add the field in VBAP first then i need to go the screen.
    actually i have done the similar in PO. in that i found one screen exist and in include tables i have added the field, but in SO i am not able to find the screen exist as well as include tables.
    points will be rewarded for help ful answers.
    thanks in advance.
    regards,
    Balu

    Reddy,
    You can make use the belowsaid code for identifying user exits pertaining to any transaction.
    Source Code to find User Exits 1
    * REPORT YSMOD2
    * SELECTION TEXTS : INPUT1 ----> Enter search term for Trxn.
    *                   INPUT2 ----> Enter type of exit
    REPORT YSMOD2 .
    TABLES: MODSAP, MODACT, TSTC.
    PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
                INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    DATA: SEARCH1(6),
          SEARCH2(3),
          SEARCH3 LIKE MODSAP-MEMBER.
    DATA : FIRST_ROW VALUE 'Y'.
    CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
                 '%' INPUT2     INTO SEARCH2.
    SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
      FIRST_ROW = 'Y'.
      CHECK TSTC-PGMNA NE SPACE.
      CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
      SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
                           AND MEMBER LIKE SEARCH3.
        SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
        IF FIRST_ROW EQ 'Y'.
          WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
                                           45 MODSAP-MEMBER, 70 MODACT-NAME.
          FIRST_ROW = 'N'.
        ELSE.
    WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME.
        ENDIF.
        CLEAR : MODSAP, MODACT.
      ENDSELECT.
      IF SY-SUBRC NE 0.
        WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
      ENDIF.
      CLEAR TSTC.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Regards

  • Adding New Field Under Sales Tax/Service Tax Tab in XD01

    Hi Experts,
    I want to Add new Field in CIN Details under Sales Tax/Service Tax Tab.
    Is it Possible to Add Field under Standard Tab.
    Thanks & Regards,
    Sandip Kokate

    hello,
    yes there are two ways:
    1) change standard screen. (that's the bad one).
    2) Use GuiXt tool which provides you with a possibility to add your custom objects into standard screens, change layout, visibility and so on.
    http://www.****************/Tutorials/Others/GUIXT/Page1.htm
    http://www.synactive.com/tutor_e/tutor.html
    i had personally used this third party tool without license ( you will be able to use only basic commands. adding  input fields is one of them). I think it is the best way to enhance old transactions which don't have appropriate BADi's,  user exits and so on.
    br,
    dez_

  • Adding user fieds to logical database ADA - solution?

    Hi,
    I have problems with adding (by append structure) my user fields (which are added to standard SAP table ANLA) to logical database ADA which is used in AM reporting.
    I have found this solution:
    Thru SE30 I found, that logical database ADA using view V_ANLAZ (ANLA + ANLZ tables) for selecting data from DB. So I have created append for this view with my added fields to ANLA. Then I added the same append to structure ANLAV of logical database ADA.
    My added field are now selected in AM reporting!
    Can this solution break some SAP functionality?
    Many thanks for answer!

    So probably NOT...

  • Work Manager 6.1: Adding custom field for notification creation

    Hi,
    I already added new fields in the past, and also in WM6.1 for fetch BAPIs, but now I'm trying to do it for the NotificationAdd Transaction and I'm not able to make it work. I guess I forgot some step but I don't know which, so I will describe what I did:
    Agentry:
    Added new field to the Notification object
    Added new field to the NotificationAdd Transaction
    Added new field to the NotificationAdd Detail Screen
    Java:
    Created class Notification.java extending com.syclo.sap.component.lam.notification.object.Notification
    Added new field to the new Notifciation class
    Copied constructors calling super method.
    Override method setProperties(User u, NotificationPostBAPI bapi). Now is calling the super method and afterwards setting the new field. Here is where I have the error when I debug, the u.getString("transaction.Z_NewField")) i returning an empty string because it's not finding the value when reading from the transaction.
    Created class NotificaitonPostBAPI extending from com.syclo.sap.component.lam.notification.bapi.NotificationPostBAPI.Override method setHeaderParameters to set the value in the ABAP structure for the new field after calling the super method.
    Configuration Portal:
    Changed global parameter to assign the customer NotificationPostBAPI class
    Created global parameter to assign a BAPI wrapper to the new customer NotificationPostBAPI class
    Change the global parameter to assign the class for Notification object in order to use the new customer class
    Do you know why during the setProperties method created in Java, Step1 the transaction value for the Z field is empty? It seems I'm forgetting something quite simple here.
    Thanks in advance.

    Hi,
    May be the setter and getter methods, the value from transaction is not captured in the properties
    public void setProperties(User u, NotificationPostBAPI bapi)
    throws Exception
       setABC(u.getString("transaction.notification.ABC"));
    public String getABC()
      return this.ABC;
    public void setABC(String ABC)
         this.ABC= ABC;
    Regards,
    Sravanthi

  • Adding Form Fields to Structure

    I am working with Adobe Acrobat Pro v9 with a PowerPoint document that I converted to a PDF.  I'm working on making it accessible.  It is a simple course certificate with one form field, a text box that the user simply types their name in.  When I run Accessibility: Full Check I get one error message relating to adding form fields to structure.
    It says I need to choose Adanced Accessibility: Add Form Fields to PDF Tags.  When I do that and run the Full Check again, I continue to get the same message.
    Am I missing a step?  Or is there anything else I need to do?
    Thanks!

    Just some nattering here, but -
    After any edits/changes save the PDF before running Full Checker again.
    Open the Tags panel, expand the structure tree, from the Options menu turn on Highlight Content.
    Walk down the tree. Look for <Form>.
    From the Options menu (for the Tags panel) use "Find".
    Look for Unmarked Annotations.
    Note that "Run Form Field Recognition" will add <Form> to the structure tree.
    However, the OBJR beneath it is "generic" and not "your" form field.
    For this situation you'd have to add yours (use Find - the dialog has a button to permit tagging an item).
    Once the form field annotation is "in" the structure tree you'll want to ensure it is positioned appropriately; in context of the page's logical hierarchy.
    Be well...

  • Adding date field in cv01n very urgent

    hye all,
                  can plz anybody send any document or any screen shot or link for adding date field in cv01n(dms).
    mail id      [email protected]
    thanks.

    Hi Ankit,
    check exits for CV01
    Transaction Code - CV01                     Create Document Info Record                                                                               
    Exit Name           Description                                                                               
    CV000001            Check-in enhancement for document management                            
    CV110001            DMS: Enhancements for DMS Dialog (FB: CV110)                            
    CVDS0001            User exits for ALE DMS (DOCMAS)                                                                               
    No of Exits:          3      
    Rewards if useful..............
    Minal

  • 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

  • Added new field in SC Item table but after Check/Enter the value disappears

    I have added a field in the SC Item table in view V_SC_DOTC_BASIC. Everything works perfectly well except that when a value is entered into that field and ENTER or CHECK is selected, the value goes away and the field becomes a read-only field with nothing in it.
    I know I am missing something, but what?
    All help is appreciated and rewarded.

    Thank you for your reply Masa.
    There is currently an implementation of that BADI that is in use. Brief detail on it. We added a field to the SC Item and included it in the table view for WBS Element. This will allow the users to enter the WBS Element on the item line and not have to go to the Account Assignment section.
    The BADI implementation takes whatever is entered in that field and applies it to the account assignment for that item.
    The actual value in the field is never changed. It is just used to update the account assignment.
    It is not a tabular addition, so the ET_ICF does not come into play.
    Is there anything else you can think of that would allow for the field to display its entries once the CHECK/ENTER is activated?

Maybe you are looking for

  • Mouse over HTML link causes single frame to display at top of page Netscape only

    Having a wierd problem. When you run the mouse over HTML links on the page a single frame of the flash movie apears at the top center of the page. It only happens in netscape in firefox mode. IE, Opera, and Firefox do not have the problem. Problem si

  • Cirrus Logic sound card not working - Just a quick question (iMac 27-inch)

    Hi, so as many have experienced, my sound card is not registering on my new iMac, on the Windows Vista side. I get sound out of the Mac side, just nothing from Windows. I was wondering, would a USB sound card or sound pod solve the problem? I am not

  • How to Report on transactions performed in SRM_MDM catalog (SRM5 MDM2)

    What is the recommended way to do reporting for transactions performed INSIDE SRM_MDM catalog ( SRM5,  MDM2.0) Users inside SRM_MDM catalog can search for and select Product ABC and u201Ccompareu201D between 2 or more suppliers. Where do I get report

  • Import anomalies

    Hi all: I am pleased to announce that someone who did not know an SQL statement from a serial number just four years ago did write 100% of the code and deploy successfully a highly customized, secure major internet application to a user base of close

  • Getting SSD Drive for my Core i5 Laptop

    still-learning wrote: I am sorry Sid, I didn't get your last sentence. " it literally turns them into another computer". I am sorry I am very confused and my another reason for upgrading to 2.5" SSD drive is to welcome the new Windows 10 and ofcourse