Error in Custom Field

Hello ,
I have created a custom field in Opprutiny BT111H_Oppt under the node BTopporth
created a field as Drop down List and marked as mandatory value for that Drop down will filled from Ztable all are working fine
problem is in front end WEBUI value are also populated from Ztable in the drop down the
but still the Error is 'Enter a valid value for the field'.
how to elimate these Error.
Thanks

Hello Thanks for your Reply
i have created a Get_V Method for the drop down field
DATA : lt_ddlb_seg TYPE bsp_wd_dropdown_table.
  CASE iv_mode.
    WHEN 'D'.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_crm_uiu_ddlb EXPORTING iv_source_type = 'T'.
    WHEN 'R'.
      IF ZZFLD00001L_DDLB_SEG   IS NOT BOUND.
        CREATE OBJECT ZZFLD00001L_DDLB_SEG   EXPORTING iv_source_type = 'T'.
        ZZFLD00001L_DDLB_SEG->set_selection_table( it_selection_table = lt_ddlb_seg ).
      ENDIF.
      rv_valuehelp_descriptor = ZZFLD00001L_DDLB_SEG.
  ENDCASE.
and created the event handler to get the values from the table
IF lr_btopporth IS BOUND.
      CALL METHOD lr_btopporth->if_bol_bo_property_access~get_property_as_value
        EXPORTING
          iv_attr_name = 'ZZFLD000011'
        IMPORTING
          ev_result    = LV_ZZFLD000011.
    ENDIF.
          SELECT  seg segdecs
            FROM zoppv
            INTO corresponding fields of table lt_seg where
            busunit = lv_zzfld000011.
Loop at lt_seg into wa_seg.
append wa_seg to lt_ddlb_seg.
endloop.
FIELD-SYMBOLS: <ddlb> TYPE REF TO cl_crm_uiu_ddlb.
ASSIGN me->typed_context->btopporth->ZZFLD00001L_DDLB_SEG TO <ddlb>.
IF NOT <ddlb> IS BOUND.
    CREATE OBJECT <ddlb>
      EXPORTING
        iv_source_type = 'T'.
ENDIF.
<ddlb>->set_selection_table( it_selection_table = lt_ddlb_seg ).
Thanks

Similar Messages

  • Error adding custom field in POWL

    Hi all,
    I've added a custom field in POWL for SC.
    The problem is when I fill this custom field and push the search button an error is displayed:
    "Last query refresh failed due to internal errors; contact your admin."
    I've seen there is a short dump in st22. SAPSQL_INVALID_FIELDNAME
    I've seen that the select statement is being built dynamically (include LBBP_PDF80).
    Within the conditions of the where clause is adding a line with the correct value but is adding another senseless line .
    In the custom fields range is always adding a line like this; LOW = space OPTION = CP.
    I don't know why. The problem is in the form GETLIST_CUF_ADD_LINE.
    If I delete this second condition in debug mode is working fine.
    I've tried to find some OSS note but I couldn't find any...
    This are the steps I've followed to add the custom field in POWL:
    - Add the field to structure /SAPSRM/S_SEARCHFIELDS. (with the same name that it have in st. INCL_EEW_PD_HEADER_CSF_SC )
    - Add the field in view /SAPSRM/V_SRC_CR.
    - Add the field in DB criteria in the transaction /SAPSRM/POWL_CUST.
    - Use the report POWL_D01 for refresh the query.
    Do you know what can be the problem?
    Thanks in advance.

    Which version of SRM are you using ?
    Pls. check the attached note, which describes the similar problem :
    [Note 1555113 - Dump occurs when searching for customer fields|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1555113]

  • "The selected cells are read-only" error on Custom Field when trying to insert in Datasheet mode

    I have a custom field that works completely fine. Yesterday our QA team found out that when trying to insert in Datasheet format, the error "The selected cells are read-only" was thrown. Any ideas? I tried passing the following property to my fldtypes_field.xml file:
        <Field Name="ReadOnly">FALSE</Field>
    No luck.Victor Palma

    Unfortunately it did not work. I also developed the code and access the field and checked its property called "ReadOnlyField"  which is already set to false.
    Below is the xml that i am using. Can you please share the xml that you had used?
    <?xml version="1.0" encoding="utf-8"?>
    <FieldTypes>
      <FieldType>
        <Field Name="TypeName">MyCustomField</Field>
        <Field Name="ParentType">Text</Field>
        <Field Name="TypeDisplayName"> My Custom Field</Field>
        <Field Name="TypeShortDescription"> My Custom Field</Field>
        <Field Name="AllowBaseTypeRendering">True</Field>
        <Field Name="ReadOnlyField">False</Field>
        <Field Name="UserCreatable">TRUE</Field>
        <Field Name="ShowInListCreate">TRUE</Field>
        <Field Name="ShowInSurveyCreate">TRUE</Field>
        <Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
        <Field Name="ShowInColumnTemplateCreate">TRUE</Field>
        <Field Name="FieldTypeClass">My Assembly Information goes here</Field>
      </FieldType>
    </FieldTypes>

  • 'BuilHeader not bound' error for custom field added by AET

    Hi,
    We created a Custom field through AET in IC Web UI Screen
    The field is in the Accont Identification screen
    But the field is showing 'Buiheader nto bound error' on loading of the screen.
    We generated the GETTER and the SETTER Methods for the corresponding field in the context node CONTACT PERSONS of the ICCMP_BP_SEARCH Component.
    While Debugging its seen that the
        DATA: current TYPE REF TO if_bol_bo_property_access.
    if iterator is bound.
          current = iterator->get_current( ).
        else.
          current = collection_wrapper->get_current( ).
        endif.
    current  is not getting populated and thats reason why its giving the 'Buiheader not bound error'
    Any suggestions on this will be highly appreciated.
    Regards,
    Sijo
    Edited by: sijokjohn85 on Oct 21, 2009 3:01 PM

    Hi Masood,
    I checked the method create_contactpersons but I couldnt find anything unusual there.
    The code below is present in the  CREATE_CONTACTPERSONS Mehtod of the context class
    model = owner->create_model(
            class_name     = 'ZL_CRMCMP_B_BUPASEARCHB2B_CN01'
            model_id       = 'ContactPersons' ). "#EC NOTEXT
        ContactPersons ?= model.
        CLEAR model.
    * bind to custom controller
      owner->do_context_node_binding(
               iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_CUSTOM
               iv_name =
               'ICCMP_BP_SEARCH/CuCoSearch' "#EC NOTEXT
               iv_target_node_name = 'CONTACTPERSONS'
               iv_node_2_bind = CONTACTPERSONS ).
    Any suggestions like how to fix this issue.
    Regards,
    Sijo

  • Services procurement - Pricing Access sequence error for Custom fields

    Hi Experts,
    We have created 3 custom fields in KOMP structure. Which is required to create condition tables, access sequence. We have successfully created condition tables with the 3 fields along with the standard fields.
    While creating access sequence we are getting the error as 'Select a document field'. Even after providing the document field, getting some other errors. Please find the attached document for steps we followed.
    We are awaiting for your reply to rectify the error.  Thanks.
    Regards,
    Ganesh R K.

    Hi Vijay,
    Thanks you very much for your valuable reply.
    We have added the custom field in KOMK, KOMG & KOMP structures. I have added the ZZITEMGROUP before KFRST and its working fine.
    Need to understand what is the implication of KFRST.
    As per our requirement the ZZPRODUCT should come first, followed by ZZITEMGROUP. Please advice how to achieve this.
    Thanks.
    Regards,
    Ganesh R K.

  • Remove / Hide CUP Custom Field

    GRC Experts,
    I am wondering. Ho
    w can I modify, hide, or delete a custom field that has been a part of our request workflow in production. We get the error: "Updating custom field to non-workflow field failed because it has been used as a workflow field".
    I havenu2019t tested but if I close all requests in the workflow and archive does anyone know if it will work?
    Thanks,
    Kyle

    Hi Kyle,
    I faced a similar issue when I tried to change the "company ID" under CUP-> Configuration ->Roles->Attributes->Company.
    In this case, this field is not modifiable, so I decided to delete it and create a new one. But when I tried to delete the old company, I couldn't do it because this value was used in requests. Then, I canceled the open requests, archive and delete all the corresponding request and after that I was able to delete the company and to create a new one.
    Please, note this (config guide):
    "Archiving Requests is a way to view only the current periodu2019s requests during normal viewing.
    All requests for access are stored in the Compliant User Provisioning database. The system closes the requests after they are approved or rejected. The Archiving Requests functionality
    helps you archive the closed requests. The archived requests remain in the database but are not visible when the users run searches or reports."
    After I performed the archiving I tried to delete the company name again, but I couldn't until I deleted the request. Note that you have the option to download the request before delete them.
    Here you'll also find a thread regarding another problem deleting fields: Re: CUP - Cannot delete since referred in request data header
    Perhaps if you contact SAP Support they can give you a better option. The option to download and save the request before deleting them was OK in my case but maybe it isn't a nice option for your situation. If you open a support message to SAP, please let us know if they suggest you another option...I'm looking forward to know it
    Cheers,
    Diego.

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • Error while adding custom fields in ERP quotation

    I am trying to add custom fields to ERP quotation. So picked up ERP_H and added view BTCUSTOMER_H/CustomerH to its views. I have added the relevant custom fields to BTCUSTOMER_H/CustomerH. Now when I try displaying this, I get the following error..
    Context generation failed in view BTCUSTOMER_H/CustomerH of UI Component ERP_H
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTAdminH' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Initialization of view BTCUSTOMER_H/CustomerH of UI Component ERP_H failed
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTAdminH' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Cannot display view ERP_H/HeaderOverviewpage of UI Component ERP_H
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - There is no node text 'BTAdminH' in controller ''. 
    Method:  CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING 
    Source Text Row:  39
    Window ERP_H/MainWindow of UI Component ERP_H cannot be displayed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View BTCUSTOMER_H/CustomerH in component ERP_H could not be bound 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  165
    I have no prior experiance in UI development. Could someone explain me this error and how to fix this?
    Regards,
    Amar.

    closing this unresolved

  • Getting error while adding a custom field (with input help) through AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running while I am testing it
    While adding fsecond field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Please help me out.Kindly be detailed as I am new to SAP CRM.

    Thanks for very helpful reply. After implementing the suggested SAP note, I am able to see the getter and setter methods.
    So one of my problem has got solved with your kind help:)
    As per your another suggestion,I have created the enhanced fields without the search help from AET in the node BTAdminI with names Plant(ZZPLANT) and Storage Location(ZZStoarge_Loc).
    Now I am facing below problem:
    Since Plant needs to autopopulated by Storage Location (search Help ZOFI_SHLP_STORAGE_LOC),So I need to Implement Getter setter method.
    I have written below code into Get_V_ZZStorage_Loc Method:
    method GET_V_ZZSTORAGE_LOC.
      DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
        ls_map-context_attr = 'ZZSTORAGE_LOC'.
        ls_map-f4_attr      = 'STORAGE_LOC'. (Storage_loc is the parameter defined in search help)
        APPEND ls_map TO: lt_inmap, lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = 'ZOFI_SHLP_STORAGE_LOC1'
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_callback
          iv_input_mapping  = lt_inmap
          iv_output_mapping = lt_outmap.
    endmethod.
    But its not working.Should I write some code in Get_P_XX or some other method also?
    Kindly suggest .

  • Error when add a custom field to source 2LIS_12_VCHDR

    Hi Experts,
    I'm trying add a custom field to source 2LIS_12_VCHDR. The fields are in LIKP table's append. That are
    zz fields. I can see the fields in MCLIKP structure, but I can't see these fields in LBWE transacction when I try update the structure MCLIKP. I don't know if this last is important because when I replicate of the source the fields, they are visible in BW.
    The problem is when I try activate the transfer structure. I Can add the fields from the data source to the transfer structure but If try activate the source the error is:
    "Error when creating transfer structure /BIC/CCBA2LIS_12_VCHDR in source system XXXX"
    I'm forgetting some step?
    somebody know other way for do it?
    thanks for your help.
    Manuel.

    Hi
    May be the datasource is not active, do the following obviously in development
    goto LBWE and click on your datasource; system will ask you for a transport request number give it a name. now save the datasource.
    replicate and activate your t/r
    hope this helps
    Regards

  • Error in BSEG partially active after removing the custom field CI_COBL in ECC 6.0

    Hello SAP Gurus,
    I added one custom field in CI_COBL and activated ,the all the connected DB tables like BSEG etc activated successfully. But after that I deleted the field from CI_COBL but the BSEG and CI_COBL could not be activated. It is still in partially active .
    Please suggest how to resolve this issue. Its very urgent.
    Thanks in advance
    Regards,
    HP

    Hi,
    I hope you are going to do in Development system then check any errors in SE11.
    if its fine then got to SE14
    Check the status whether    Active or partially active
    if its other then Active, you may get help from BASIS team or yourself can do it in SE14
    Click the button 'Activate and adjust database' please ensure that the radio button save data should be selected and which is default or else the entire DB records will be deleted along with DB table activate.
    In development you can choose processing type as Direct/Background.
    Please post if you have further query.
    Regards,
    Vadamalai A

  • "500 internal server error" after adding custom fields to Address page

    I need to display custom fields on the "Addresses" and the "Personal Data" pages. For that, we added custom CI_INCLUDE fields in both PA0006 and PA0002 tables as per instructions below
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/essPersonalInformationUIenhancementwithoutmodification&focusedCommentId=28278867
    we also extended the Badi HRPAD00INFTYUI
    custom fields show up OK in page "Personal Data". However when trying to browse to page "Addresses"
    we get the following error:
    "500 internal server error - com.sap.tc.webdynpro.progmodel.context.ContextException: MappedNodeInfo(DetailView.SelectedInfotype): unknown child node Area8 ".
    "Area8" is one of the custom fields we added in PA0006 (Address infotype).
    any idea what is wrong?  maybe Badi HRPAD00INFTYUI cannot handle 2 infotypes in the same time?
    T.

    Hi Sasu,
    Its clearly saying contect binding error. Have you mapped  correctly from FcComponent to VcComponents.
    FcCompoenets for Model logic.
    Check the mappings correctly.
    If it is complete custom or new field then there will be could of steps.
    1) Reimport the model
    2) map new field to FcComponent
    3) Bind new Fields from Fc to Vc
    Rgds
    -SS

  • Error while adding custom fields using EEWB.

    Hi
    While trying to add custom fields using the transaction EEWB i got an error message
    'No Logsys040 transport request exists for system workbench.Please let me know why it happens.
    Thanks
    sureshpaul

    closing this unresolved

  • Runtime error in CRM_DATAEXCHG_BADI after adding customer fields using EEWB

    Hi gurus,
    I am getting short dump in ZCL_IM_EEW_DATAEXCHANGE06~CRM_DATAEXCH_AFTER_BAPI_FILL.
    I've added 3 custom fields in ORDERADM_I structure using EEWB. ( created in ECC also ).
    Now when i create a sales order, its not flowing to ECC as i am getting the below error.
    UC_OBJECTS_NOT_CONVERTIBLE
    Error occured while executing below statement
    MOVE <ls_bape> TO ls_bapiparex_wrk+lc_offset.
    <ls_bape> is having all the custom fields i've created using EEWB.
    Error short text i am getting in st22: ' Data objects in Unicode programs cannot be converted.'
    Kindly help.
    regards,
    Arun N K.

    Hi Robert,
    Thanks for the reply.
    I was not able to use move-corresponding as there was no matching fields in the destination structure.
    Anyway we found out the issue. One of the custom fields generated using EEWB, used INT4 data element. I deleted the field and created it again using character (NUMC) data element, and it worked fine.
    I still don't know the exact problem of using integer data element. Kindly share if anyone find the reason.
    Thanks,
    Arun N K.

  • Custom Field error in RPM

    Hi All
    I am trying to add a new custom field under the Item. I have done the following steps for the same.
    1. Create Domain and Data Element.
    2. Added this Data Element in structure CI_RPM_ITEM_ATT and activated the same.
    3. Then i added the field into the Global Field Settings -> Define Custom Field Configuration as field needed questionnaire and also added under the UI configuration as read only field.
    4. Added the field under 'Define Fields for dashboards'
    5. Also added the field under 'Assign Field to Tab Pages'.
    Now i am able to fill the questionnaire and the value of the field is being calculated correctly.
    Field is also appearing in the dashboard for Item Dashboard.
    But when i am trying to open the Item Overview, i am getting the following error.
    "DataNodeInfo(ItemDetailsView.DynamicCustomFieldNode): unknown child node ZZ_XXXXXXX"
    This custom field is also not showing up under the custom configuration for creating charts.
    Thanks
    Rajesh

    Hi Rajesh,
    Once custom fields are set up in the backend, you will have to restart the J2EE Engine.
    Let me know if that helps.
    Regards,
    Vivek Pandey

Maybe you are looking for

  • Need Information on Support  Project

    Hi, I am new to Production and support  project whta r the points we need to discuss with the clints in support prj.. what r the responsibilities in support prj Any one of u send me the docs for the Production and support project Thanks in Advance, P

  • Component materials incorrectly assigned to superior operation in process order

    One of my manufacturing facilities is having a problem with components not printing on process order output. In all cases, the master recipes themselves look fine when reviewed in C203.  The components are properly allocated to phases (not superior o

  • Macbook keeps on freezing whole laptop just stops

    My mac has been doing this for about 1 and half weeks now i don't know why it's happening, i'm just useing it like i always do like checking emails, editing videos, looking at the web and then it just stops the only thing i can do is move the mouse,

  • Downloading stalls using Itunes 7.01

    I am trying to download an album having upgraded to Itunes 7.01. (6.05 worked perfectly). The tracks on the album start downloading then stall and my wireless connection disconnects, this causes all sorts of error messages. I have Norton Internet Sec

  • Lens Profile Downloader Feedback

    I'm curious to know what people think about Adobe's Lens Profile Downloader. Are people using it? What do you think of it? Are people even aware of it? I think it has great potential. Adobe's been trying to play catch-up after releasing the Profiler