Dropdown in standard field

Hi,
I  would like transform a standard field input in a dropdown list.
This dropdown list will be reference to a Z table.
Thanks for your help.
Regards.

Hello Marc
Assuming that the standard field belongs to a SAP standard screen then you have to modify this standard object (for which you will need a modification key => Repair ). Within the screen painter you can define the dropdown property for the screen field. And here you can also define you search help which points to your z-table.
Regards
  Uwe

Similar Messages

  • Handle standard dropdown by key field dynamically.

    Hi Experts ,
    I'm enhancing dropdown by key field in web-dynpro from editable to read only state.
    The default value is already set in init method.
    but i am not able to handle it dynamically, purpose is that user can not change the drop down in create/edit mode.
    Already tried below code but getting errors:
    data: lo_inp type ref to cl_wd_DROPDOWN_BY_KEY.
    lo_inp ?= view->get_element( 'FOLLOW_ON_DOC_KEY' ).
    call method lo_inp->set_read_only( exporting  value =  abap_true ).
    please help.

    Hi Purushottam,
    You code looks okay.
    What kind of error are you getting? Please share the details.
    Regards,
    Rama

  • Standard field label change and drop down

    Hello,
    I need to change a text field label and create a drop down for a input down field. The problem is that they are standard fields in sap. I am not sure if by code i can do this change.  Because I tried doing the change through cmod to change the field text and  append for the drop down in the domain, but for some reason it did not work. Any help would greatly appreciated.

    >
    David Rivera wrote:
    > Hello,
    >
    > I need to change a text field label and create a drop down for a input down field. The problem is that they are standard fields in sap. I am not sure if by code i can do this change.  Because I tried doing the change through cmod to change the field text and  append for the drop down in the domain, but for some reason it did not work. Any help would greatly appreciated.
    What is the program?
    You can change the field text in CMOD but you cannot do a dropdown in CMOD.
    Dropdown is for the screen element and you need to change the screen for this and need to populate the field. Find if there is any user exit for your requirement.

  • Display value in custom field selection of standard field

    Hi,
    I want to display the country value based on the Account selection, that is the country associated with the selected Account.
    I created Contact extension BO and added country field with data type CountryCode. Account is a standard field.
    I am able to fetch country value but assigning the value to Country field can be done in only BeforeSave.absl
    I have also provided validation for this country field.
    Issue here is:
    First Validation-OnSave.absl gets called and then BeforeSave.absl.
    I want the country value to be displayed once the user selects Account.
    Regards,
    Vijaya Chavan

    Hi Vinod,
    I got the issue.
    AfterModify.absl gets called when the Contact Quick Create screen gets loaded and not after selecting the Account field value.
    So I tried geting the value directly from the following path without firing a query in BeforeSave.absl.
    this.CurrentDefaultIsContactPersonFor.BusinessPartnerRelationship.FirstBusinessPartner.AddressInformation.GetFirst().AddressSnapshot.PostalAddress.GetFirst().CountryCode;
    But BeforeSave.absl gets called when I click on "Save". I wanted the value to be displayed soon after the Account Value is selected.
    Regards,
    Vijaya Chavan

  • Add search help/drop down list to a standard field in MIR7

    Hi All,
    I have a requirement to add  a search help on one of the strandard field in MIR7. This field has no search help in dictionary (SE11). Do you have any idea on how to do this? Is there any exit that i can use to?
    Please help!
    Thanks in advance.

    Hi Akira,
    Please check the below threads.
    [how to create F4 for the standard transaction]
    [F4 HELP for standard field..;
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/daeda0d7-0701-0010-8caa-edc983384237]
    [Re: Adding a field in standard search help;
    Edited by: Prasath Arivazhagan on Apr 13, 2010 5:38 AM

  • F4 HELP for standard field..

    i want to put F4 help for standard field FERTH in mm01 and mm02 ...
    is there any way to put F4 help for this field..

    try this
    1. First go to SE11 and create your own search help( if you dont know how to create a search help please feel free to ask me, it is very easy).
    2. Now in your module pool program program go to the layout of your screen.
    3. Now when you see the attributes of this field in the Dict tab you will find the field Search Help. Now here you can specify the name of the search help you created in SE11.
    There is also another mehtod to create the dynamic search help. eg:- in a posted document data get the Document nos related to that company code.
    The sample code is like this:-
    First of all declare the module below in the flow logic of your screen then create it in your main program.
    You declare the module in the PROCESS ON VALUE-REQUEST.
    PROCESS ON VALUE-REQUEST.
    FIELD TXT_DOCNO MODULE VALUE_BELNR.
    You also need to create an internal table where you wil store results of the select query fired below in the module.
    here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
    MODULE VALUE_BELNR INPUT.
    progname = sy-repid.
    dynnum = sy-dynnr.
    CLEAR: field_value, dynpro_values.
    field_value-fieldname = 'TXT_CODCO'.
    APPEND field_value TO dynpro_values.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'BKPF'
    fieldname = 'BUKRS'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_CODCO'.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = progname
    dynumb = dynnum
    translate_to_upper = 'X'
    TABLES
    dynpfields = dynpro_values.
    READ TABLE dynpro_values INDEX 1 INTO field_value.
    SELECT BUKRS BELNR
    FROM BKPF
    INTO CORRESPONDING FIELDS OF TABLE it_doc1
    WHERE BUKRS = field_value-fieldvalue.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BELNR'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_BELNR'
    value_org = 'S'
    TABLES
    value_tab = it_doc1.
    ENDMODULE. " VALUE_BELNR INPUT

  • Adding a new SAP standard field to complaints result BOL

    Hi Experts,
    There is a requirement to add SAP standard field 'Posting date' to Advance search result BOL of complaints.
    This field already exists in search BOL and visible on WEB UI advanced search.
    The field is added as attribute in result context node of BT120S_CPL/AdvSearchComplRL through wizard.
    But, unable to see the values getting populated. Could you please let us know if any code to be written for getting values populated.
    Regards,
    Santosh

    Hi Santosh ,
    My previous post was based on the fact that you have added a model attribute. Since you have added the field as a value attribute and you want to use it for querying , then you would have to do the following
    a) Extract the value from the value node.
    b) Add the selection param so that 'posting date' is passed to the GENIL. You can use add selection param method in the Advanced query. Use the name of the field in the BOL & the value as yours.
    c) Get the result & show it on the way you want.
    This is same as it would have been when you had a model field. In that case also you would have extracted the value from model node. I see no difference here except that fetching the field. Rest of the steps remain the same if the field is available in BOL for advanced query.
    Yes the difference lies in showing it in the WebUI as now you would have to fill this value node manually. If you had a model node , the framework would have done this for you.
    But don't base your choice of model/value node on the ease of coding but on the business case.
    Regards
    Kavindra

  • Mapping of CRM BP standard field to ECC Standard field

    Hi Experts ,
    We have a requirement in which we need to copy "Identification Type" field (table field BUT01D-TYPE) in "Identification Tab" of Business Partner from CRM into ECC Standard Field 'Corporate Group' in Control Data in XD01 (Table Field KNA1-KONZS).
    Please let me know where I can do the mapping of the CRM field to ECC field for this requirement .
    thanks in advance.
    Anil

    Go to se19 and choose name for the implementaion and click create. Definition is 'CRM_DATAEXCHG_BADI'. Choose description for the implementation and Save your implementation. Next you have to implement method CRM_DATAEXCH_R3D_MBDOC_FILL by doubleclicking on it. Data coming from r3 are witen in table TI_BAPIMTCS. And to write data to crm you can use direct logic or fill structure of CT_BUS_TRANS_MSG.
    For more information about the badi goto SE18 and open badi CRM_DATAEXCHG_BADI and hit Documentation button.

  • MM - Material master data - move standard field to another view

    Hi everyone,
    ÉCC 6.0 - release 7.0.
    I've been adding many custom fields in Material master data MM01/02/03. Now I got a problem because we have to use a standard field in another view.
    The field MARA-HERKL is set up to 'SV'(attribute V_130F-PSTAT):
    Warehouse management = S
    Sales = V
    I want to add 'K - Basic data' in this field's attribute at OSMR Tcode , but this attribute is disactivated. I can not change this value.
    I've check this note 306966 that mention: You cannot create new entries and delete entries in client 000. This client contains only the entries delivered by SAP which are used for distinguishing customer-specific fields and SAP standard during the maintenance of the other clients.
    Is there any problem whether I delete this field and afterwards create it with the new values?
    I'm not in client 000. So, I want to just make sure I will do a legal change.
    thank you in advance,
    Alexandre

    None tips, Closed.

  • Map a custom SRM field to a standard field in R/3

    Hello All,
    We have created a custom field in SRM and it needs to be transferred to one of R/3's
    standard field. it has to be done in both the classic and extended classic scenario.
    For the extended classic scenario I tried using the BADI BBP_ECS_PO_OUT_BADI
    but this is not getting called in the creation of local purchase order neither
    does it transfer the changes made to r/3
    As for classic scenario I tried using the BADI BBP_CREATE_BE_PO_NEW ~ FILL_PO_INTERFACE1
    but the structure cs_po1_document-IT_POITEM does not get filled up with the item_guid
    which needs to act as a reference field to read the table.
    At the backend i tried using the bbp_po_inbound_badi and tried to change the value in the
    debuggung mode. But it didn't carry the value to the field either.
    Thanks in advance,
    Prasanna

    1. The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic
    scenario wherein the purchase order is directly created in the backend
    R/3 system.
    For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI
    instead.
    Please be sure that you have filled  BBP_CREATE_BE_PO_NEW  with these lines:
    CS_CTRL_ATT-BE_DOC_TYPE = 'SRM'.
    CS_CTRL_ATT-BE_STORAGE_CAT = 'DMS_C1_ST'
    Please also check the settings in the customing of the backend (DC10, DC20, DC30).
    2.  Please create test data in BAPI_PO_CREATE1 in backend system according to note 539978 As in the note described, please 
      - set the Parameter FBGENDAT 'X' in the backend system for the
        RFC user of the SRM system
      - execute the report FBGENDAT in the mode 'A'.
        after activating this report, test data will be created by every
        BAPI_PO_CREATE(1) call.
      - once you have a new entry in the SM13 of the backend system,
        please deactivate the generation of test data in report FBGENDAT.
    Please check the Data transfered from SRM.
    3, There are some field with will be cleared during MM processing when
    you run the BAPI_PO_CREATE1 with the data transfered from SRM.
    Examples : 
    Classic scenario.
    In this case you create service purchase order.
    For service purchase orders fields WEMPF and ABLAD(GR_RCPT and UNLOAD_PT in BAPI) are not filled when creating the document. It is absolutely not possible to have this unloading point/ Recepient on item level service documents. The account assignment is entered on service level and it is then used to determine the account assignment on item level.  So even if you were able to pass from SRM the unloading point/Recepient on item level in service documents it would be overwritten from the account assignment of services. This functionality won't be available in standard R/3.
    Please see note 118008 for more information.
    Extended classic scenario.
    As soon as you pass delivery address The system clears field EMLIF (supp_vendor in the BAPI interface). Do not pass delivery address and you will be able to have Vendor in the purchase order. Due to the fact that delivery address exist, a lot of fields in lt_item are cleared, including supp_vendor.
    Call stack:
    8 SAPL2012 FORM PROCESS_ADDR_TABLE
    7 SAPL2012 FORM CREATE_ITEM_ADDR
    6 SAPL2012 FORM PROCESS_NON_INTEGRATED_COMP
    5 SAPL2012 FUNCTION BAPI_PO_CREATE1
    Please see code in subroutine PROCESS_ADDR_TABLE:
                    CLEAR imt_item-kunnr.
                    imt_itemx-kunnr = bapi_yes.
                    CLEAR imt_item-emlif.            !!!!!!!!!!!!!!!!!!!!
                    imt_itemx-emlif = bapi_yes.
                    CLEAR imt_item-lblkz.
    If you have the fields cleared in MM process , it is not a SRM-EBP-POR issue , but a MM-PUR-PO-BAPI  The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic scenario wherein the purchase order is directly created in the backend R/3 system. For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI instead.
    I hope this information will help you .
    Summer Wang
    Edited by: Summer Wang on Nov 24, 2009 2:50 AM

  • How to change search help for standard field in me51n.

    hi frnds,
              I want to change search help option for 'Advice code' field under Additional DFPS tab in me51n. But i dont know how to change or add search help for standard field. so plz help..
    best regards,
    sudip biswas

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • SC Workflow not updating standard field

    Hi,
    I am using SRM 5.0 .After approval of SC which have multiple item not updating standard field of source_ind to all the line items .
    It's getting updated in only first line item .
    Recent Package : SAP_ABA SAPKA70011
    Thanks ,
    Sachin

    Hi,
    DO you mean to tell that after the shopping cart is approved , only the first item is send to the sourcing cockpit?
    ANd the other items of the shopping cart are not send to the sourcing cockpit?
    Can you please compare the category for the two lines? is it the same?
    can you check wether the category mentioned for the second line has got category which has been configured for sourcing cockpit?

  • Userexit at Purchase Order Save to influence SAP Standard field

    Hi All,
    I am looking for a userexit/BADI that will allow me to influence the value of a SAP standard field in EKPO right before save of a Purchase Order in Create mode.
    I have not yet found anything that lets me do it.
    Could you help me please?
    Regards,
    Atul

    Hi Atul,
    in standard way you can influence SAP fields in the beginning of the transaction. In later user-exits / BADI you aren't allowed to change e.g. EKPO any longer. Of course you might do it anyway (see dynamical assign), but it's as bad as a modification.
    Regards,
    Christian

  • How to Conditionally make some standard fields read only in OSC Simplified UI?

    Hello everyone, We have a requirement to make certain group of fields read only based on the value in another field. For example if the status changes to "Closed" then make the Name and Address fields read only. All these fields are standard fields. Is this possible in Oracle Sales Cloud?

    Post your problem in the forum for LiveCycle Designer.

  • Copying custom fields from SRM PO to ECC PO standard fields

    Hi All,
    There are three custom fields which are added in SRM SC and PO at item level. My requirement is to map these three custom fields to three standard fields in ECC PO. Can any one please explain me, how the replication of SRM PO to ECC PO happens? I could find a function module "B470_PO_CREATE". Can any one tell me through which transaction or program this FM will be triggered.
    Any useful answer will be rewarded
    Thanks,
    Deepthi

    Hi Kumar,
    Sorry for the late reply. I have the solution for this question.
    For copying the custom fields code is to be written in the BADI "BBP_ECS_PO_OUT_BADI", method "BBP_B46B_PO_OUTBOUND". This BADI has both ECC PO fields and all the SRM fields(including the custom fields added in PO and SC) in separate structures.IS_HEADER, IT_ITEM etc has all the SRM PO values. CS_BAPI_POHEADER, CT_BAPI_POITEM etc has ECC PO values.
    There are two function modules, BBP_PD_PO_TRANSFER_EXEC and BBP_PD_PO_TRANSFER_EXEC_V2. Execute these function modules with the GUID for PO after PO change or create in SRM system. Once the FM is executed the BADI will be triggered and the additional functionality carried out and PO replication from SRM to ECC happens.
    Hope this helps you. Please let me know if you need any more information.
    Thanks,
    Deepthi

Maybe you are looking for