AffectsFormMode property of User defined field in system matrix

Hallo
I added one UDF in System matrix of  service call id at panel  Solution.
I  set formated search for that UDF field to populate Symptons data from  system knowldge base form (table).
I set the fromatted search property for that UDF Column is Automatic.
So when i nevigate record on Service call form, this UDF column fetch the value and so form goes in Update Mode.
Please i want to   AffectsFormMode  property for that column, so i  have to get the form mode is "OK"
How it is possible.
Pleaase help me
Narendra
Edited by: NarenKD on Dec 28, 2010 12:24 PM

Hi H2
It is true,
But When i  open 'Service Knowledge Base'  child form  by clicking ID Link Button in Solution Tab of Service Call Form
and update that form (here symptoms field important for me),
it does not change the state of Parrent Service call form  to update.
Also there is not any link between this two table SCL1 service call  and OSLT Solution knowldege table In PLD.
so i create Symptoms  UDF in matrix at solution tab of Service call form.
also i create formatted search to fill this column.
I set that formatted search as "auto refresh when field change"
so when i navigate through service call records. it featches and put value in that UDF column and make form state "Update"
I want to avoid it.
means when i navigate the service call, when the value of  that UDF Is different then OSLT table then that Service Call goes to update state otherwise it have OK state.
I used query in formatted search to fetch the value for UDF
What will be the solution for this problem.
Also tell me Can i call formatted search through program means can i give formatted search command (shift F2. or press formatted seach button) in program.
Regards
Narendra
Edited by: NarenKD on Dec 29, 2010 9:41 AM
Edited by: NarenKD on Dec 29, 2010 9:50 AM

Similar Messages

  • Is it Possible to link user defined column of system matrix ?

    HI All,
    Is it possible to link (with ExtendedObject) user defined column  of system matrix?
    For Example, In purchase order form, I have added one column called U_ItemCode (through Tools-User Defined Fields-Marketing Doc). I want to give drill down to Item master.
    Here is the code:
    OColumn = OMatrix.Columns.Item("U_ItemCode")
    olink = OColumn.ExtendedObject
    olink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
    the last line gives me 'Object refrence not set to an instance of the object' error.
    For user form, it works fine (since it has the column defined as LinkedColumn in screen painter). How can we do this in system matrix?
    thanks in advance
    regards,
    Binita

    Hi Binita,
    nice to see you
    i mean the following:
    1.) add the field in marketing document lines -> you need this to store the values in database
    but this user field column will not have the arrow so we do ...
    2.) you also add a linked column to the system matrix. you can copy the values from the udf column
    to your manual added column and than you can use the arrow. (maybe you should disabled this column)
    the result is you have two columns - the udf column and the linked manual column
    i hope you know what i mean - very complicated
    regards
    David

  • Is posible to do a choosefromlist in a user defined column of system matrix

    Hi all,
    I have a question that i can´t solve. Is posible to do a choosefromlist in a
    user defined column of system matrix?How can i do it?and i can use a datatable?How? 
    Thank you all again!
    Regard.

    The answer is No , that I know of.  The matrix permits ony the it_EDIT, it_COMBO_BOX, PICTURE, and CHECKBOX types.  Additionaly it has an LINK_BUTTON type
    Choosefrom list works best with UDOs.  Which means that you have to create your table and specify it in an UDO in order for the choosefromlist to have access to it.
    Maybe there's a manual workaround, like say for instance that if the user clicks the Tab button you can then pop up another screen with a list of items.
    Hope it helps!

  • User Defined Fields on System Form

    Dear All,
                   I want to know that how much User Defined Fields can be added on a system form. My problem is that I am developing an add-on for the Item Master Data. And I have used a lot of User Defined Fields on Item Master Data Forms which contains table 'OITM'. Now if I am trying to add any extra User Defined fields in OITM Table, I am not able to do so. I am getting an error as  'Internal Error Occurred'. What can i do regarding this problem.?  Help me. It is something very important.
    Thanks and Regards

    Hi,
    There is theoretically no limit on the number of UDF for a table. there is however a maximum number of characters for a record in SQL Sever.
    As far as I know this is 4000 in SQL Server 2005 and older and 8000 in SQL Server 2008.
    pls check Microsoft for the exact numbers
    Regards
    Ad

  • User defined fields reference in Matrix VB6

    I have a couple of user defined fields on the Delivery Details Matrix that I need to update.  I know that I need to reference them by index as follows:
    Set oEditText = oDelDetMatrix.Columns("Index").Cells.Item(ivlRowCounter).Specific
    oEditText.Value = CCur(dvlSomePrice)
    The problem is even if I check Watch window for the indexes I can not be certain what indexes to use for these columns.  Is there a way to get exact index number?
    Is there a way to reference matrix columns by by field names?

    Spoke too soon.....I just solved it ->
    Set oEditText = oDelDetMatrix.Columns("U_DolPerOz").Cells.Item(ivlRowCounter).Specific
    oEditText.Value = dvlSomePrice

  • Add data in a user defined column in System matrix

    Hello All,
    I have created a User defined column in the Goods Issue Form
    When I choose a particular order, I get values in the matrix defined by system
    Based on this selection, I fire a query which returns a value and this value has to be
    displayed in the user defined column.
    I am trying to add a value to this column but I get the following error message
    Form Item is not Editable
    Here is the code written in form activate event
           code = (EditText)matrix.Columns.Item(1).Cells.Item(i).Specific;
                    string strcode = code.Value.ToString();
                    string str;
                    str = "select itemCode from owor where Docnum='" + strcode + "'";
                    RecSet.DoQuery(str);
                    e = (EditText)matrix.Columns.Item(15).Cells.Item(i).Specific;
                    strcode = RecSet.Fields.Item(0).Value.ToString();
                    try
                        matrix.Columns.Item(15).Editable = true;
                        e.String = strcode;
                        matrix.Columns.Item(15).Editable = false;
                    catch (System.Runtime.InteropServices.COMException com_err)
    Regards
    Nirmala B

    On system forms, you cannot update the DataSource (DBDataSource) of system matrixes, SAP blocks it.
    The only solution is to set the column visible and editable, and write in it with the matrix cell set value method.
    The downside is that the user will be able to see and edit the values (unless you catch all edit and click events to that cell).

  • Missing user-defined fields (project definition) in project inform. system

    Dear PS friends,
    I have extended the CI_PROJ structure with some user-defined fields.
    I have started report RCNCT001 (to analyze these new fields in the project information system). The include RCNPROJR was generated and contains the new fields (table XXL_DATA). Include RCNSOM00 was generated too. This is described in note 43493.
    But Iu2019m still missing the new user-defined fields in the dynamic selection of reports (e.g. CN40).
    What else I have to do? We use SAP_APPL : SAPKH60009
    Thanks in advance for any suggestions!

    have you used user defined field or custom field via exit CNEX......
    User defined fields are activated by configuration using field key
    If you added custom fields then check out OSS note 188663 on how to create a CUS view for dynamic selection.

  • Passing user-defined field to Backend system

    Hi All,
    Please advice how we can pass user-defined fields of shopping cart to same user-defined fields in purchase requisition/purchase order in backend R/3 system.
    I know there is parameter IT_CUF_ITEM in BADI BBP_CREATE_REQ_BACK. If anyone know how to pass field values by this parameter or otherwise, it will be very helpful to me.
    Thanks & Regards,
    Kamaljit Singh

    Hello Kamaljit,
    If you want to pass the custom parameters then you can use the badi BBP_CREATE_PO_BACK/BBP_CREATE_REQ_BACK to fill the header/Item level parameters.
    while building the item level parameters internal table, make sure that you are passing the header guid and the item number and the R/3 BackEnd table name,Fieldname(R/3 Custom Fieldname) with the value(SRM Custom field value).
    Hope this information will be useful to you.
    Regards,
    Mani.
    Please assign points for usefull answers
    Message was edited by: Mani Sreedharala

  • User defined field with Linked Table property

    Hi All,
    I know this has been posted several times but I cannot get this to work.  I am trying to add a user defined field and link it to a table. 
    I am getting the error "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values " 
    Everything I check says that the code I am using is correct.  Is it possible the problem is that I am trying to connect to an SAP table instead of a user defined table.  Is it possible to link a user defined field to an SAP table?
    My code below:
                    oUserFieldsMD.TableName = "OITM"
                    oUserFieldsMD.Name = "SHP"
                    oUserFieldsMD.Description = "Must ship via"
                    oUserFieldsMD.LinkedTable = "OSHP"
                    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                    oUserFieldsMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
                    oUserFieldsMD.EditSize = 8
                    oUserFieldsMD.Size = 8
                    oUserFieldsMD.Mandatory = SAPbobsCOM.BoYesNoEnum.tNO
    Thanks
    Karen

    Hello  Karen,
    you cannot link a userfield to a system table. it has to be link to a user table.
    oUserFieldsMD.LinkedTable = "OSHP"
    when you have error, just try to do it using the same value in the application. If you cannot do it, it means you cannot do it neither with the DI
    Sebastien

  • Error: property is not set correctly for User Defined Fields.

    Hi Gurus,
    I am trying to define a new field Department of type Lookup. For this i have created a new field in user defined fields. But when i click on create user in web console it give me "property is not set correctly for User Defined Fields."
    I created a lookup field for department , but looks like i have to some kind of mapping. How can it be done?
    Thanks,
    sat

    Hi Kevin,
    I couldnt get it done. This is what I had done so far.
    Created Lookup.Users.Dept ( with code code=23 & decode=treasury)
    Added two field in xlwebadmin.properties & xlwebadmin_en.properties
    lookupfield.header.users.deptcode=Department code
    lookupfield.header.users.deptname=Department name
    In my lookfield properties in
    column caption=Department code,Department name
    Column query= Not sure what to give? here
    Thanks,
    sat

  • User defined field that looks up a system table?

    I want to create a user defined field that looks up parts in the items table (i.e. OITM).
    I know I can use a formatted search and that works, but I don't want users to be able to edit the field after the item has been looked up and pasted into the field.
    In the user defined field menu, there doesn't seem to be a solution to this. The only solution I can think of is to create a user defined table and then move over the items, and then periodically have the table be updated from the master item table (OITM).
    Thoughts?

    Here is the stored procedure I wrote, but it doesn't seem to work:
    IF @transaction_type IN ('A', 'U') AND @Object_type = '97'
    BEGIN
    IF NOT EXISTS (SELECT T0.ItemCode, T1.U_Part FROM [dbo].[OITM] T0, [dbo].[OOPR] T1
    WHERE T0.ItemCode = T1.U_Part AND T1.DocEntry = @list_of_cols_val_tab_del)
        BEGIN
            SELECT @error = 1, @error_message = 'Testing'
        END
    END
    So basically, I have a UDF called U_Part in the Sales Opportunity form, which will have a formatted search to look up parts, but if a user changes the text to something else (which is possible because it's a basic text field), then this should look up what is in that UDF and check it against the Item Master and give an error if it doesn't exist. However it isn't doing anything.
    Any ideas?
    Edited by: Gary Rey on Jan 21, 2009 4:56 PM

  • Use of user define field in Task list

    Hi,
    Please give the solution for the strange requirement of the client as:
    My client wants to define the operation for preventive maintenace in two parts like
    check temperature  :  45 deg celcius.
    check temperature should be like operation and rest what he has to check to be defined in other field  i.e. both should not be together.
    so i find the solution as user defined fields in the task list where i can define this second parameter.
    But the problem is that system is not proposing this second field in the preventive order, only operation field is proposed.
    Please suggest some solution, how can this requirement can be mapped.

    Both operations of the inspection lot will need to be completed at some point.  They are in the same lot so they belong together.  Both operations should be available to the user.  (Unless you used workcenters and security to limit users to specific workcenters).
    Once set up, it will only be available to new inspection lots.  Few things in SAP are retroactive.
    Craig

  • How to add a User Defined Field in OUBI

    Dear Experts
    I would like to find out how to add a user defined field into OUBI from a Customer Care & Billing source system. If anyone could list the steps involved or point me toward a source of documentation that sets out the steps involved it would be much appreciated.
    Cheers
    Tim

    Is there anyone out there who has had experience using OUBI with CC&B?

  • Creating a user-defined field in VL06

    Dear all ,
    Please guide me how to add few user defined fields in the output list of standard VL06 transaction code - (Delivery Monitor Report - WS_DELIVERY_MONITOR) - I have to add in the option of 'List Outbound deliveries' -
    Pls revert.
    Thanks in Advance.
    P.G.R

    Hai
    Follow the bellow steps for creating User Defined Field Exit
    Step by step procedure for creating Field Exits
    There are eight steps to creating a field exit:
    Step 1: Determine Data Element
    Step 2: Go To Field Exit Transaction
    Step 3: Create Field Exit
    Step 4: Create Function Module
    Step 5: Code Function Module
    Step 6: Activate Function Module
    Step 7: Assign Program/Screen
    Step 8: Activate Field Exit
    Step 1: Determine Data Element
    - Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
    - An easy way to determine the data element associated to a particular screen field is to:
    Go the appropriate screen.
    Position the cursor in the appropriate field.
    Press ‘F1’ for field-level help.
    Click on the ‘Technical info’ pushbutton (or press ‘F9’) on the help dialog box.
    On this Technical Information dialog box, the data element will be specified if the field is 'painted' from the ABAP/4 Dictionary.
    Step 2: Go To Field Exit Transaction
    - The transaction to create field exits is CMOD.
    - You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
    - From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
    - After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
    NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
    Step 3: Create Field Exit
    - From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
    - After choosing this menu path, a dialog box will prompt you for the appropriate data element .
    - Enter the data element name and click the ‘Continue’ pushbutton.
    - Now, you will be able to create the function module associated to the data element’s field exit.
    Step 4: Create Function Module
    - You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the ‘Continue’ pushbutton.
    - In the ‘Function module’ field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
    FIELD_EXIT_<data element>
    - You can add an identifier (an underscore followed by a single character ).
    - The first function module for a data element’s field exit must be created without an identifier.
    - To create the function module, click on the ‘Create’ pushbutton, choose menu path Function module -> Create, or press ‘F5’.
    - After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing ‘Enter’, you will be able to go ahead and create the function module.
    - Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
    Step 5: Code Function Module
    - From the function module’s attributes screen, click on the ‘Source code’ pushbutton or choose the Goto -> Function module menu path to the code of the function module.
    - Here you will add your desired functionality for the field exit.
    - Remember that field exit’s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
    - You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
    Step 6: Activate Function Module
    - After coding the function module, you must remember to activate it.
    - Use the Function module -> Activate menu path to activate the function module.
    - At this point, you can return to the field exit transaction.
    - You should be able to 'green arrow' back to this transaction.
    - When you return to the field exit transaction, you will see an entry for the newly created field exit.
    - At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
    - Also, the field exit will not be triggered yet because it is inactive.
    Step 7: Assign Program/Screen
    - This step is only needed if you want to make a field exit local.
    - To make a field exit local, select the field exit and click on the ‘Assign prog./screen’ pushbutton.
    - In the dialog box , indicate the appropriate program name and screen number.
    This information indicates that the field exit is local to the specified screen in the specified program.
    - In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the ‘Fld. Exit’ field.
    - If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
    - If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
    Step 8: Activate Field Exit
    - The field exit must be active for it to be triggered by the system.
    - Activate the field exit by choosing the Field exit -> Activate menu path.
    - After assigning the field exit to a change request, its status will change to ‘Active’ and it will be triggered automatically on the appropriate screen(s).
    NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
    Regards
    Sreeni

  • Modifying/Updating User Defined Field in a Scheduled Task

    I've written a notification task to send an e-mail to a manager who has a contract employee with a contract that is about to expire.
    Once we isolate a user who has a contract about to expire, we send a notification to the manager. The date that the notification is sent out should be stored in the USR table in a user-defined field, "USR_UDF_LASTSENT."
    Updating this USR_UDF_LASTSENT field is where I'm having difficulty.
    I've tried using the UserManager in a couple of ways. Suppose I've isolated a single user using SearchCriteria and the UserManager and have a single User object called "currentUser." I want to store a Date object in the user defined field "USR_UDF_LASTSENT". Date today = new Date();
    I've tried: currentUser.setAttribute("USR_UDF_LASTSENT", today); //This will run without error, but when I check the DB there is no change to the attribute.
    With a defined instance of UserManager userManager, I've tried: userManager.modify("USR_UDF_LASTSENT", today, currentUser); //This errored out with this error - oracle.iam.identity.exception.NoSuchUserException: IAM-3054135:No user found for the criteria USR_UDF_LASTSENT-9/24/13 2:58 PM.:USR_UDF_LASTSENT:9/24/13 2:58 PM. It looks like it's doing a search rather than a modification.
    I've also tried using the entity manager in the following way:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("USR_UDF_LASTSENT", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    But it returns with this error: Failed: oracle.iam.platform.entitymgr.UnknownAttributeException: User : [USR_UDF_LASTSENT]
    Is my entityType, "User" inappropriate in this case? What should be used here?
    How can I Set or Update this user defined field from a scheduled task?

    Thanks guys. I did go to Identity System Administration console and chose 'Export' from under "System Managment" which I believe Kevin may have been hinting at. I got an xml export of the AttributeDefinitions for our user defined fields. In this file, there was a header for the attribute I was looking for:
    <AttributeDefinition repo-type="API" name="LastSent" subtype="User Metadata">
       <multiValued>
       <backendName>usr_udf_lastsent</backendName>
    I put the string "LastSent" in place of USR_UDF_LASTSENT in the EntityManager version of my attempt at this task. I believe this is what Kevin and delhi were getting at.
    This didn't work:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("USR_UDF_LASTSENT", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    But this did:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("LastSent", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    I wonder if currentUser.setAttribute("LastSent", today); would work... Hmm.

Maybe you are looking for

  • Creating a new field in an exisiting info cube ?

    Hi All ! How do I create a new field in an exisiting Info cube ? rgards Tom.

  • VPN Access on 10.4 Server

    Hi All, I'm hoping someone can help me? I'm trying to setup VPN on OSX Server 10.4, I have enabled the service and specified the IP range to use etc. I have a static IP on the router which is supplied by O2 UK, however when I try and connect from out

  • Database can not startup!

    Suse linux 10 Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production Sat Feb 24 01:21:07 2001 I: oracle: [activate] [opt/HUAWEI/cgp/omu_mirror/workspace1/server/bin/db/dbcmd *'shutdown abort'] (ORA-03113: end-of-file on communication

  • ATI Graphics Driver for G62-B53se laptop

    I have bought G62-B53se laptop. Core-I5, 4GB RAM. Windows 7 installed. On device manager shows Display Adapeter is Standard VGA Graphics Adapter, but It should be ATI Graphics 5470. I couldn't find the driver on website. How can I get this? Windows r

  • Cannot see pick list on releasing production order for WH managed material.

    Hi guys I created workcenters, routing, bom, control cycle record and prod. verison for the material before creating the Prod. order. Now, I am neither able to see the Pick List nor Material Staging (Simulation) after releasing my Prod. Order. The ex