Custom field accepts unlisted values

We have a customer filed "location" maintained in coding block. The values of this field are maintained in Z table. While making entry to this filed, it accepts invalid / unlisted values as well. If location Pune is not maintained in Z table, still in document entry and documnet change transactions "Pune" is accepted in location field and also gets saved.
How can we avoid this issue and have only values from table be able to enter ?

Hi,
Check the coding block table COBL in transaction SE11.
Go to tab "Entry help/ Check". In this tab, againest your field "Location" your ztable should be entered in the columnn "Check Table" and activate the check box in column "Foreign Keys" for this line.
It should solve your problem.
Regards,
Gaurav

Similar Messages

  • Custom field - Local Net Value Billing

    Hello,
    Could you please help me to understand how calculate correctly, in a query, the net value of billing in the system currency?
    I've created the custom field Local-Net Value = VBRP-NETWR * VBRK-KURRF.
    But, when i executed the query i had the following situations:
    - The correct value when the exchange rate is from EUR to another currency.
    - The value incorrectly when the exchange rate is from another currency to EUR, (the exchange rate, VBRK-KURRF, is expressed as a dividend).
    Thank you in advance.
    Best regards.
    Antonio

    Hi Antonio ,
    DATA: V_LA  type vbrk-netwr,
          V_FA type vbrk-netwr,
          rate type vbrk-kurrf.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
      EXPORTING
      CLIENT                         = SY-MANDT
        date                         = SY-DATUM
        foreign_amount               = V_FA              " Foreign Amount
        foreign_currency             = 'USD'             " Foreign Currency Key
        local_currency               = 'EUR'             " Local Currency Key
        RATE                         = Rate              " Exchange Rate
    IMPORTING
       LOCAL_AMOUNT                  = V_LA              " Local Amount
    IF sy-subrc = 0.
    *Map this V_LA  value to your final field .
    ENDIF.
    Regards,
    Maruthi
    Edited by: maruthi kona on Oct 25, 2011 10:27 PM
    Edited by: maruthi kona on Oct 25, 2011 10:28 PM

  • How to get custom field name and value in data table using csom

    i am using using this code but iam not getting FieldValues property..
     internal void ReadProjectCustomFields(string strProjectName)
                string url = "https://techwhizepm.sharepoint.com/sites/rnd/";
                using (ProjectContext projContext = new ProjectContext(url))
                    SecureString passWord = new SecureString();
                    foreach (char c in "Pass@word123".ToCharArray()) passWord.AppendChar(c);
                    projContext.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
                    projContext.Load(projContext.Projects, o => o.Where(i => i.Name == strProjectName));
                    projContext.ExecuteQuery();
                    foreach (PublishedProject _t in projContext.Projects)
                        DraftProject dftproj = _t.Draft;
                        //CustomFieldCollection custs = dftproj.CustomFields;
                        CustomFieldCollection custfs = dftproj.CustomFields;
                        projContext.Load(dftproj);
                        projContext.Load(custfs);
                        projContext.ExecuteQuery();
                        ddlcfields.Items.Clear();
                        if (!custfs.Count().Equals(0))
                            ddlcfields.DataSource = custfs.AsEnumerable().Select(o=>o.Name);
                            ddlcfields.DataBind();
                        DataTable dt = new DataTable();
                        dt.Columns.Add("Name", typeof(string));
                        dt.Columns.Add("InternalName", typeof(string));
                        dt.Columns.Add("FieldType", typeof(string));
                        //dt.Columns.Add("FinishDate", typeof(string));
                        DataRow dr = null;
                        foreach (CustomField _cust in dftproj.CustomFields)
                            dr = dt.NewRow();
                            dr["Name"] = _cust.Name;
                            string intername = _cust.InternalName;
                            dr["FieldValue"] = dftproj[intername].ToString();
                            //dr["FinishDate"] = _task.Finish;
                            dt.Rows.Add(dr);
                        GridView1.DataSource = dt;
                        GridView1.DataBind();

    I am looking through the API calls in FDM Workbench, but cannot see the table (tPOVPartitions) you mentioned listed. Is this the correct name? And do I just use the function listed in the object browser to run the query?
    Furthermore (going back to my initial thoughts of using strFile), it appears that although the variable contains the .Dat filename and path, the actual file is non-existent when "BefExportToDat" is executed:
    Error:
    Error: Export failed.
    Detail: File not found.
    This would make sense, but it does make the variable "strFile" a little pointless since one cannot make use of the file in this particular event script. Do you please have any thoughts on this?

  • Security using custom field in PCUI

    We would like to create a custom field on the header of the business partner to store information that would then be used in the security roles.
    For example, we want to create a branch field on the header of the business partner and then use this field to restrict access to specific accounts within the sytem using a CRM Security role.
    Does anyone know if you can use a custom field in the CRM system to restrict security within the PCUI application?
    If anyone has any information, I would greatly appreciate it as we are on a crunch to get this implemented!
    Thanks!

    Hi Darcie,
    If you add custom field and maintain value in it, i'm not sure if you can restrict access by CRM Security role.
    If your users are going to be entirely based only on portal/pcui (i.e. they would not use SAP-GUI log-in) then you can consider the option of tweaking your Accounts advanced search and not letting users see certain accounts (based on the value in EEWB / custom field)
    Hope this helps.
    Regards,
    Raviraj

  • SRM Portal - Search help for a custom field

    Hi,
    I have added a custom field to the SRM Portal (5.0) shopping cart, by adding the field to structures INCL_EEW_PD_ITEM_CSF INCL_EEW_PD_ITEM_CSF_SC.
    However, I need to filter the search help for that custom field, based on values & relationships stored in a Z table.
    Is this possible? How? Please help.
    Thank You.

    Currently, my idea would be to create a search help for the custom field & filter the values in a search help exit. However, would I be able to get other field values (standard) from SRM into my search help exit?

  • Data entered in the custom field in the SRM portal not getting saved..

    Hi Experts,
    I have added a custom field in Contract Screen of the SRM portal by adding the field as an append structutre in structure INCL_EEW_PD_HEADER_CSF_CTR.
    The custom field now appears in the header (basic data ) of the 'Process contract' screen.
    NOw It allows me to enter data in the custom field .
    The problem is ..
    When I  'CHECK' or "RELEASE'   the contract, the value entered in the custom field disappears..
    How do i capture the data entered in the custom field ...please HElp!!!
    Thanks in Advance.
    Vidya

    Hi Pradeep,
    Thanks for the reply!!
    We have upgraded our SRM system from 3.0 to 5.5
    I have added the custom field in structures INCL_EEW_PD_HEADER_CSF_CTR  and
    INCL_EEW_PD_HEADER_CSF  as the field has to appear in the basic data tab of 'Process Contract'.
    Regarding debugging:
    1. I tried to debug in BBP_DOC_CHECK_BADI by calling the FM BBP_PD_CTR_GETDETAIL. inside the badi and the parameter e_header of the function module contained the custom field but had no value...!!
    2. I tried to debug the badi BBP_CUF_BADI_2  method MODIFY_INPUT..
       The import variable iv_fieldname contains the field name amd the variable iv_value has the value entered in the custom field .........but another import structure ls_header also contains the custom field but no value....
    Method  MODIFY_INPUT has only one export parameter ev_value,,,,,,,,,,,,,,,,!!!!!!!!!!!!
    Edited by: vidya vidya on Apr 24, 2009 6:06 PM

  • Populating Custom Field in T005

    Hi All,
    I have a question... I recently appended a custom field in table T005 (countries table) (under ZAT005 structure).
    So I want to popualte this field... How do I expose for edit? I don't want to do SE11 edit mode... and I was hoping some way I can do it thru SPRO under countries section. That way, I can made modification on country all at once.
    But I don't know how to add my field to those SPRO screens. Ideas anyone?
    Charlie

    Hi,
    I believe the only option is to get the access key for the view V_T005 which has the table maintenance..
    Then go to the change mode and re-generate the table maintenance..
    But the danger in doing this is you might loose the screen layout of the detail screen...Meaning arrangement of the fields..
    How often are you going to change this data...It is just master data right...
    Also I would prefer to have a custom view to maintain this data...
                                          OR
    Another Idea...You can use the SM30 events to trigger a popup with a input field when they save the data..Then update T005 in the custom field with the value given in the popup.
    Thanks,
    Naren

  • Changed document for custom fields

    Hi All,
    For business transactions we can see <b>changed documents</b> under <b>Extras</b> menu.
    I have custom tabs & custom fields in business transaction. We need to see the custom field changes by value & user in the above menu. Is it possible? how?
    thanks,
    Bhushan

    Hi Murlidhar,
    My question is related to SAP CRM. The notes you suggested are not for CRM.
    Others, do you have any idea how to add/show records in "Extras-> Change Documents" of business transactions like Sales order, activities for custom fields not using EEWB.
    thanks,
    Bhushan

  • Updating Custom field in Table BUT000 using BAPI 'BAPI_ISUPARTNER_CHANGE'.

    Hi,
    I have added a new custom field in table BUT000. Now i want to update that field with 'X' and i have used EXTENSIONIN parameter in the BAPI 'BAPI_ISUPARTNER_CHANGE'. i have populated the field name(Custom field name) and value 'X' to that structure and passed to BAPI. But that field value was not getting updated. So can any one help me how to resolve this issue.
    Thanks,
    Sushma

    Hi Ravi,
    Thanks for your response.
    I have passed the Structure name  in parameter EXTENSIONIN, but still i am facing the same problem.
    Thanks,
    Sushma

  • Related to CJ20N custom fields

    Hi Everybody,
    Its a query related to CJ20N.There we have created Project definition and WBS element wth the help of data transfer technique.Now later on we have added some more custom fields.For that respective Project and WBS element we need to upload the data from the excel sheet.
    Please let me know how to approach.
    Thanks in advance,
    Sreeharsha Singuru

    Hello,
    To update Customer fields in a WBS element you can use LSMW recording mode for Tx: CJ02
    Enter the WBS element definition on the initial screen and cheese 'enter'
    in the WBS element overview, choose first line and select from menu: ' Details -> <Customer Fields> (This is an exit and you may see a different text over here) and you see the customer fields. fill the values in the fields and save.
    Hope this helps.
    Best Regards, Murugesh AS

  • Instantis 9.0 - Can Custom Fields be updated on import

    Pretty sure the answer is no, but thought I would check to make sure.
    The Project Custom Field are available on the Instantis_Financial_Parameters tab when exporting the Financial Template for a project. That is a one way push, right?  You can't update the field within Instantis by changing it on the spreadsheet and importing, correct?

    I did not wish to create an API interface for this.
    When using the Finances Import / Export feature Instantis generates a spreadsheet.  The second tab of the spreadsheet (Instantis_Financial_Parameters) lists custom fields and their values.  I was hoping that by updating the values in the spreadsheet, importing it will auto-magically update the custom fields.
    I don't believe that is possible.

  • Project server 2013----new custom field value is not synced between my work assignment view and project professional

    Hi All,
    I would like to add a new custom enterprise field in project server to caculate the effective work. I hope it can work as the default field "work" and "overtime work". And I add my custome enterprise field to my work assignment and the
    related details view. User can update the values in "my task" but after PM accept the updates, these values are not synced to the project center as well as project professional. Any idea?
    Regards,
    Anna

    Yes, I am saying that the PM cannot see the updated values in the enterprise project in Microsoft Project 2013. It is a task custom field. No errors for it. Would you please help create a task custom field on your side to see whether you can reproduce
    this issue? After creating the field, please add it to the "My task" related views so that project members can update the value for the task when they update the task information under "my tasK" page. After that, open the project plan as
    project manager to see whether you get the updated value. Thanks a lot!
    Regards,
    Anna

  • Negative values for Custom field in SAP coding block !

    Hi All,
    Hope all of you are doing fine.
    I need your valuable suggestion/possible workaround for the following requirement.
    u2022 The project requires me to add a custom new field to SAP coding block, which can take negative numeric values.
    u2022 The standard u201Caddition of custom fieldu201D configuration allows me to have the data type of the newly added custom field as either NUMC or CHAR. NUMC data type does not allow negative values. Standard configuration does not allow me to choose other data types (for custom field addition) like QUAN which can allow negative values (by checking the Sign at domain level in data type).
    u2022 Moreover, once I have added the custom field, itu2019s not possible to change the data type of the newly added field (say from NUMC to QUAN).
    I wanted to know if anyone of you have any project experience/knowledge about possible workaround, where we can add a custom field in SAP coding block, which can accept negative numeric values (through standard configuration or otherwise).

    No experience on that, but I strongly advise you to not trying to do something else than what was designed by SAP. So, you can create a character type field, with for example a field exit (though this technology is obsolete, it's very useful in that case) to validate its content (and reformat it if needed).
    Note that from a functional perspective, I think an amount is strange in the coding block, so maybe ask the functional people to know why they need it...

  • Customized field values

    Hi Masters,
    How can we make customized field values and keep track who and when they are changed.
    Regards,
    Aryendra

    What exactly do you mean by "customized field values"?
    Some transactions will show changes to fields in their change history, some will allow you to flag changes to critical fields, others you may need to activate table logging (and accept the consequences) - without knowing a lot more, it's hard to make a call

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for

  • ALV list like FBL1N output

    Dear all,      I am developing a report for vendor line items details like FBL1N report.     It means the vendor name as header and respective account details as item in alv and again next vendor name as header and respective account details in alv i

  • Customer service request

    I need to fill out a form sent to me in my email. It won't pull up. It has come up as a blank screen or a black screen that says "couldn't load plug in". I have uninstalled Adobe reader and reinstalled and shut my computer off and on. I have also gon

  • Best way to deal with photos from the start? (Bridge CS5 and iPhoto)

    Hi all, I'm just learning the ropes of the whole CS5 suite, and was starting to add keywords etc. in Bridge when I realized I couldn't access the files in my iPhoto ('09) library. I've read a few threads about this issue, but haven't really found a c

  • What is the best consumer financial software pakage to use on a Mac?

    What is the best consumer financial software to use with a Mac?

  • Airport Autoconnect Fixed with 10.4.6 !!!

    Title says it all folks. My MBP would not autoconnect to my wifi networks, but now with the 10.4.6 update ... fixed !!! Still whines ... still screen issues ... still runs super hot ... keyboard still needs to be replaced. 1 out of 5 ain't bad. Blue