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

Similar Messages

  • BAPI_BUS2054_CREATE_MULTI - Populating custom fields

    Hi,
    I am using BAPI BAPI_BUS2054_CREATE_MULTI for creating WBS Elements.
    We have 18 custom fields at WBS element level.
    I am trying to populate the data for those 18 custom fields through EXTENSIONIN table parameter. 
    I am passing BAPI_TE_WBS_ELEMENT to the structure name & values to VALUEPART1. But after the BAPI call,
    its not creating any error or saving the data for WBS Element. 
    Note: i am passing WBS Element at starting position i.e., 0(24)  .  My custom fields starts from 25(3) position onwards.
    Below is the code how i am populating the data to the EXTENSIONIN tables.
    data: lwa_extin       TYPE bapiparex.
    MOVE 'BAPI_TE_WBS_ELEMENT' TO lwa_extin-structure.
      lwa_extin-valuepart1+0(24) = wa_data-posid.
      lwa_extin-valuepart1+25(3) = '1'.
      lwa_extin-valuepart1+28(4) = 'BSUB'.
      lwa_extin-valuepart1+32(4) = 'CONT'.
      lwa_extin-valuepart1+36(3) = '132'.
      lwa_extin-valuepart1+39(6) = 'AUTH'.
      lwa_extin-valuepart1+45(6) = '301'.
      lwa_extin-valuepart1+51(26) = '1'.
      lwa_extin-valuepart1+77(5) = '1'.
      lwa_extin-valuepart1+82(21) = '1'.
      lwa_extin-valuepart1+103(11) = '1'.
      lwa_extin-valuepart1+114(15) = 'IL'.
      lwa_extin-valuepart1+129(50) = '1'.
      lwa_extin-valuepart1+179(50) = '1'.
      lwa_extin-valuepart1+229(11) = '1'.
      lwa_extin-valuepart2+0(10) = 'C'.
      lwa_extin-valuepart2+10(8) = sy-datum.
      lwa_extin-valuepart2+18(8) = sy-datum.
      lwa_extin-valuepart2+26(4) = '1'.
    APPEND lwa_extin TO li_extin.
        CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
          EXPORTING
            i_project_definition = lwa_pspid
          TABLES
            it_wbs_element       = li_wbsele_data
            et_return            = li_return
            extensionin          = li_extin
            extensionout         = li_extout.
    Can any one help me about this issue.
    Regards,
    Kris.

    Hi,
    Are you using 'BAPI_TRANSACTION_COMMIT' after BAPI call?
    If not then try to use as below,
    data: lwa_extin TYPE bapiparex.
    MOVE 'BAPI_TE_WBS_ELEMENT' TO lwa_extin-structure.
    lwa_extin-valuepart1+0(24) = wa_data-posid.
    lwa_extin-valuepart1+25(3) = '1'.
    lwa_extin-valuepart1+28(4) = 'BSUB'.
    lwa_extin-valuepart1+32(4) = 'CONT'.
    lwa_extin-valuepart1+36(3) = '132'.
    lwa_extin-valuepart1+39(6) = 'AUTH'.
    lwa_extin-valuepart1+45(6) = '301'.
    lwa_extin-valuepart1+51(26) = '1'.
    lwa_extin-valuepart1+77(5) = '1'.
    lwa_extin-valuepart1+82(21) = '1'.
    lwa_extin-valuepart1+103(11) = '1'.
    lwa_extin-valuepart1+114(15) = 'IL'.
    lwa_extin-valuepart1+129(50) = '1'.
    lwa_extin-valuepart1+179(50) = '1'.
    lwa_extin-valuepart1+229(11) = '1'.
    lwa_extin-valuepart2+0(10) = 'C'.
    lwa_extin-valuepart2+10(8) = sy-datum.
    lwa_extin-valuepart2+18(8) = sy-datum.
    lwa_extin-valuepart2+26(4) = '1'.
    APPEND lwa_extin TO li_extin.
    CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
    EXPORTING
    i_project_definition = lwa_pspid
    TABLES
    it_wbs_element = li_wbsele_data
    et_return = li_return
    extensionin = li_extin
    extensionout = li_extout.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.

  • Populating custom fields

    I'd like to be able to populate a custom field with keyboard commands. This would be analagous to using option-1, etc., to add keywords to the Keyword field.
    My custom field is called 'Type', and the population consists of Tree, Palm, Patio Tree, Shrubs, Vines, Aquatics, Annuals. I want to assign keyboard shortcuts for each of these terms and have the term populate 'Type'.
    Is this even possible? I spend a fair amount of time with the Command Editor, but didn't see anything. Of course my fallback is to simply use keywords, but as I am already about a third through 5000 images, I'd like to continue.
    Thanks.

    The organizational uses are important.  Grouping like Keywords as children makes them much easier to find and use when using the Keywords HUD.  And being able to collapse your Keyword HUD into a manageable number of top-level categories (just like an outline) is helpful in many situations.  But the big advantage is this:
    Using a parent Keyword as a category puts an entry in the Filter HUD whenever any on of its children Keywords are assigned to an Image in the currently active container.  Thus you can filter any container easily using the Rule {"Keyword" "includes any of the following" "yourParentKeyword"}, and the filter will select all images that have a Keyword that is a child of "yourParentKeyword".  (This saves you having to troubleshoot the results when you forget to click "Vines" while hunting down and clicking "Tree, Palm, Patio Tree, Shrubs, Aquatics, Annuals".)  With a well-structured Keyword hierarchy, this can be extremely useful.  At its simplest, you could filter Photos view as {"Keyword" "does not include" "Type"} and immediately identify all Images to which you have not added a "type" Keyword.
    As a general practice, I promote specificity over concision.  In this case, you should, imho, avoid the un-specific label "Type" in favor of something that will always specify its meaning to any user, such as "Type of Plant".

  • ABAP query using logical database KDF is not populating custom fields

    Hi Experts ,
    I created two following queries
    1.       VENDORCATKDF – uses KDF logical database
    2.       VENDORCATLFA1 – uses table = LFA1
    I’m pulling the same information in both queries:
    ·         Vendor Number
    ·         Country
    ·         Vendor Name
    ·         Vendor Category  (custom fields added to LFA1)
    The results for the query that uses the logical database KDF is incorrect.  It doesn’t pull in the flag on the custom field LFA1-ZMRO.   Even though the logical database KDF is made up of the table LFA1 and has these fields. 
    Is there something that can be done – so that all of these “custom” category fields under LFA1 (such as LFA1-ZZMRO) – get pulled into queries – when we use the logical database KDF ?

    Hi,
    I have got the error removed by ensuring that fields from one table are a part of one line ( taking help of ruler) only. But the underlying problem remains, the output is not ALV but List output.
    I do not think having additional fields in the query is reason for this.
    Is it bcoz iI am adjusting the output length of columns to ensure no hierarchical error ?
    Can we not have a query using LDB which is shown as SAP List?
    Regards,
    Garima.

  • Populating Customized fields in Sales Order Creation using BAPI

    Hi All,
    I have a requirement that, I need to populate 2 customized fields which are appedned in the VBAK tables through Append structure. I am using BAPI_SALESORDER_CREATEFROMDAT2 FM for creating it.
    Could anybody tell me how to send these 2 coustomized field values in this BAPI using EXTERNIN parameter.
    Regards
    Rajesh
    [email protected]

    Hi,
    To add data to custom fields there are two appraoches.
    <b>1)</b>Using the <b>EXTENSIONIN</b> in the Tables option in the FM <b>BAPI_SALESORDER_CREATEFROMDAT2</b>
    Check the Documentation for the same,
    <b>Customer Enhancement for VBAK, VBAP, VBEP</b>
    <i>Description</i>
    You can use this parameter to transfer user-specific enhancments to a BAPI. The customer has to complete the EXTENSION structure and the system automatically continues processing it. If you have not defined any user-specific fields, then you can transfer a blank EXTENSIONIN structure.
    <b>Technical information about Customer Enhancements</b>
    The following description uses an example to explain how to proceed with customer enhancements to the SD tables VBAK, VBKD, VBAP and VBEP.
    The customer has added their own fields to table VBAP using the INCLUDE structure CUTEST. This structure contains 2 fields:
    CFIELD1, CHAR 10
    CFIELD2, CHAR 3.
    The customer also requires that these two fields can be maintained with the BAPI.
    1. Maintain structure CUTEST in table VBAP
    2. Because the BAPIs work with checkboxes, you must also define a CUTESTX checkbox for the customer structure. It should be structured like this:
    Field name       Data element
    CFIELD1            CHAR1
    CFIELD2          CHAR1
    3. Define these customer structures in the structures VBAPKOZ und VBAPKOZX using INCLUDE or APPEND.
    4. Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI structures using the APPEND technique.
    5. Adjust the following structures for customer enhancements to table VBAK:
    a) VBAKKOZ
    b) VBAKKOZX
    c) BAPE_VBAK
    d) BAPE_VBAKX
    6. Adjust the following structures for customer enhancements to table VBEK:
    a) VBEPKOZ
    b) VBEPKOZX
    c) BAPE_VBEP
    d) BAPE_VBEPX
    7. Generally, the data should be added to the BAPI interface in the internal communication structures (VBAKKOM, and so on). There, you can process the data in the SD tables (VBAK, and so on).
    8. If the EXTENSIONIN parameter contains customer data, you must complete at least the key fields in the relevant standard parameters.
    <i>For example:</i>
    You want to change customer field VBAP-CFIELD2 for item 20 to "XYZ" in order 4711.
    The following entries are expected:
    Import:     BAPIVBELN-VBELN       = '0000004711'  Document number
                BAPISDHD1X-UPDATEFLAG = 'U'           UPDKZ for doc header
    Tables:     BAPISDITM-ITM_NUMBER  = '000020'      Item number
                BAPISDITMX-ITM_NUMBER = '000020'      Item number
              + BAPISDITMX-UPDATEFLAG = 'U'           UPDKZ for item
    You must complete the EXTENSION table as follows:
    STRUCTURE                          VALUEPART1       1234561234567890123
    BAPE_VBAP                       0000004711000020                 XYZ
    BAPE_VBAPX                      0000004711000020       X
    <b>Further Information</b>
    You can find more information in the BAPI programming guide in the chapter for enhancements to BAPIs.
    Notes
    You must complete the STRUCTURE field with the name of the relevant enhancement structure (BAPE_VBAK, BAPE_VBAP, BAPE_VBEP). You can complete the remaining fields with the append structures from the enhancement structures.
    At the moment, you can use the BAPI to store enhancements in the following structures:
    VBAK : An enhancement to header data requires an append structure to BAPE_VBAK and an enhancement to structure VBAKKOZ.
    VBAP : An enhancement to item data requires an append structure to BAPE_VBAP and an enhancment to structure VBAPKOZ.
    VBEP : An enhancement to schedule line data requires an append structure to BAPE_VBEP and an enhancement to structure VBEPKOZ.
    VBKD : If you are using an enhancement for header data, you must add an append structure to BAPE_VBAK. You also need to enhance structure VBAKKOZ. If it is for item data, you need to add an append structure to BAPE_VBAP. You must also enhance structure VBAPKOZ.
    If you also want to work with checkboxes, each X-structure must also contain an append structure.
    For example:
    A customer has created an order and wants to include the material long text (50 digits long).
    The EXTENSIONIN structure must be completed with BAPE_VBAP. Two fields have fixed definitions in this structure. These are in the VBAP host key (VBELN, POSNR). The customer sets up an append structure that contains field ZMAT50.
    Because the VBELN is normally blank when you create an order, the data can look like this:
    STRUCTURE   |BAPE_VBAP
    <b>2)</b> Create the Sales Document using the FM and when successfully craeted you will get the Sales Document No in the Export parameter <b>SALESDOCUMENT</b>.
    After its created and Committed using <b>BAPI_TRANSACTION_COMMIT</b> , do a <b>BDC</b> recording for the same to (<b>VA02</b> Change Sales Order) update the fields only and save the document.
    Regards,
    AS

  • BADI  ME_GUI_PO_CUST not populating custom fields

    Hi!
        I've created my custom fields in the Line item level for ME21n transaction. The custom fields are in the include structure CL_EKPODB for EKPO. I'm unable to populate my custom fields. Help needed.
        My screen fields are named EKPO-ZZSTREET ,EKPO-ZZCITY etc.  
    Thanks
    Shubha!

    Hi Shubha
          You have to set the mode ( editable / display only etc ) in method FIELDSELECTION_ITEM of BADI ME_PROCESS_PO_CUST to populate custom fields in  ME_GUI_PO_CUST.
    By default system will take display mode. So u can your customer field in Me23n.
    Regards
    Jeevi

  • Populating custom field in an existing sap query

    HI,
    I am making changes to existing query . Query already had a qty field, now I need to display the % of qty delivered for every
    vendor  as a subtotal text for every vendor.
    I added the custom field to query and can display it as subtotal text. But I am not able to populate the value into it.
    Because, When I sort by Qty and sum by Qty, I am getting value. Now I need to divide the sum of qty / number of items, which i dont get until I display the output, So my subtotal text field is always zero.
    I
    I debugged the program generated by query, it is using select--endselect and putting in %dbtab(which is not defined in query) .
    To get the final value, i cannot change standard code generated from Query/Infoset and add teh LOOP ..ENDLOOP and make At new logic for vendor.
    Any suggestion on calculating the % of delivered qty,..
    Thanks

    if your query is based on an infoset, you just have to put the formula in code of infoset

  • Problem in posting Custom fields in Purchase Order using BAPI_PO_CREATE1

    Hi friends,
    Did any body tried populating custom fields using BAPI_PO_CREATE1?
    I am trying to populate custom fields in Header.
    I am populating EXTENSIONIN-STRUCTURE with 'BAPI_TE_MEPOHEADER' and EXTENSIONIN-VALUEPART1 with respective values of fields using the code below.
    T_CUSTDATA_IN-PROJECT_ID_NUM = '543211'.
    T_CUSTDATA_INX-PROJECT_ID_NUM = 'X'.
    MOVE 'BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-STRUCTURE.
    *CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.
    MOVE-CORRESPONDING T_CUSTDATA_IN TO T_BAPI_TE_MEPOHEADER.
    MOVE 'T_BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-VALUEPART1.
    APPEND T_EXTENSIONIN.
    MOVE 'BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-STRUCTURE.
    *CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.
    MOVE-CORRESPONDING T_CUSTDATA_INX TO T_BAPI_TE_MEPOHEADERX.
    MOVE 'T_BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-VALUEPART1.
    APPEND T_EXTENSIONIN.
    But still it is not populating the custom fields.
    Can some body help me on this?
    Thanks & Regards,
    Ramesh Kodavati

    Hi,
    You require to implement the Badi ME_BAPI_PO_CUST
                                               Method MAP2I_EXTENSIONIN or INBOUND
    for changing the parameter CH_EXTENSIONIN in method INBOUND
                                       or  CH_STRUC in method MAP2I_EXTENSIONIN.
    in addition to passing the extensionin parameters in bapi.
    implement the above said bapi and put a break point in both of the methods (exactly i don't remember)
    and check values are populating in the CH_STRUC structure.
    Regards,
    Dwaraka.S

  • Custom Field value is not getting populated in Display mode

    Hi Experts ,
    I have created a custom field on sales tab for BP Role Bill to prty in BP transaction in SAP CRM. The problem i am facing is that , after i chose my sales area field value is not populating in first time no matter whether i am in display or change mode but the moment i switch to the other mode the value is being populated. Kindly help me in solving this.
    Regards,
    Ameet

    Dear Chetan,
    If the field is added through AET, can you please check the Get & Set Methods?
    If the field value has fixed values which you have defined while creating, then check GET_V & GET_P methods.
    Thanks & Kind Regards,
    Ravi Kumar A R

  • Custom field not getting populated in the "Show Results where" drop down

    Hi all,
    In appointment detail page by clicking on Add button on the user related information section , it takes us to a search layout showing the list of available users.
    Here we have to filter the user's based on a custom field which has already been created in the user object. But I am not able to add the custom field in the "Show results where" drop down for which the search has to be done.
    It is getting reflected in the normal search layouts.So Can any one tell me why the change is not getting reflected in the user related info search layout?

    I tested your use case and you are correct. I would recommend that you submit a service request to CRM On Demand customer care in reference to this issue.

  • User exit MM06E005 - Customer fields in purchasing document

    Hi,
    I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
    My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a tab (customer tab) in that the value should get displayed.
    likewise for each and every line items the value should keep on changing.
    And
    I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
    Regards
    Manoj

    Hi,
    Indeed the exit which you have specified MM06E005 comprises the enhancement for customizing fields and screens associated with it. may be you might not have activated the screen associated with the exit. the screen might have been created but missed while activating.
    Regards,
    Jagath

  • MM06E005 - Customer fields in purchasing document

    Hi,
    I am using user exit MM06E005 - Customer fields in purchasing document to validate the line items in PO and display the value at header level.
    My requirement is when the user enters the line items and press enter the validated value should get populated at header level.I had included a  tab (customer tab) in that the value should get displayed.
    likewise for each and every line items the value should keep on changing.
    And
    I the field that i had added at header shows the value during the save but once we come out and enter again,it is not displaying the same.
    Regards
    Manoj

    got my solution...

  • 0CO_OM_OPA_6: Custom fields added, Data - available in RSA3, but not in PSA

    Hi Friends,
    I have added some custom fields to the 0CO_OM_OPA_6 data source. Following are the details.
    1) Custom fields: ZZEBELN (Purchasing Doc), ZZUSNAM (Username)
    2) Code populated in SE19 (BADI for this Datasource)
    3) RSA3: Test extraction pulls the records for both the custom fields correctly.
    4) RSA5, and RSA6 - Fields are unchecked for hidden and field only. They are made available.
    5) Extract Structure replicated into BW and its pulled over from extract structure into Transfer structure.
    6) Mapped to corresponding fields in BW update rule and transfer rules. (No routines or formulas exist)/
    7) When load extracted into BW, data is blank for both the fields in PSA itself.
    Our BW is 7.3 but we still use this datasource as 3.x transfer rules and datasource. In BW, it is connected to the Cube 0OPA_C11 via update rules and 3.x transfer rules only.
    Is there any reason for the data being populated into the RSA3, where as not into PSA. Please consider the above points, and let me know if I have done or missing anything here in my steps. I have gone thru several forums and havent got any specific replies for such issues. Have you come across such issues, please share your thoughts and views.
    Any of your replies will definitely help. Really appreciate your inputs.
    Thanks!!
    Prasith

    Hi Prasith ,
    After reading all the answers , what i feel we are  missing a major step ie  Re-initialization of the cube .
    As you changed the extract structure and added new fields and for this Data source i assume that deltas were  running already  , the BW  system cannot pull these new fields directly from ECC unless you have not done a  re-INit again .
    The Re-init is pretty simple and not as complex as LO.
    I would advise you to re-init for 01.2014 till 016.9999  , run full load and then delatas  will flow in later on . Check during the full load if you are able to see these fields in BW in (PSA/ Cube) .
    But be careful you need to do Re-init only on week ends when there are no transactions happening else you might end up in duplicate data .
    Hope this helps !
    Let me know how it goes .
    Regards
    Zeenath

  • F4 help for custom field

    Hi Experts,
    we have created custom field in SAles order and try to maintain a F4 help for that.
    we have created Search help with search help exit,when we click on F4 help the values are getting populated currectly in the pop-up in UI.  issue is when we select value from the multiple values the value is not getting replicated in the custom field.
    can you please let me know what the issue will be.
    Thanks in advance.
    Regards,
    Anil

    Hi Sheshagiri,
    Thanks for the reply.
    but the issue i think is not with the search help.
    search help we have created and the values are retrived correctly.
    when we select a value from the populated values the values is not been replicated in the specific field.
    please help me on this.
    Regards,
    Anil

  • SRM 7 - How to make a custom field dynamically retrieved trigger a refresh?

    Hi all,
    we're working on a brand new installation of SRM 7.
    For contracts and purchase order, we created an enhancement on the webdynpro that manages header document data; in such view, custom fields are obtained dynamically and populate a Transparent container; by code, some tray group visually all the custom fields related to a specific section.
    Now, the task is quite general; some of these "dynamically retrieved" fields should refresh, when populated, the view.
    That is to say, in our context, that some custom field should automatically trigger the WDDOMODIFYVIEW method (which has been extended via overriding with an enhancement) when a value is inserted.
    This would be a simple task if the field is explictly visible in the layout screen, since I could easily associate an event to the field itself.
    But, since these custom field are automatically extracted in the WDDOMODIFYVIEW method, we don't know how to manage these field's behavior, e.g. after an input value has been inserted.
    Each dynamic custom field is a type ref to cl_wd_uielement; we wonder if we have a way to associate an event (e.g., onEnter) to such an element.
    Thanks in advance for any suggestion or help you will give us
    EDIT: I guess this could not be the best section for such a kind of question ... I'd gently ask moderators eventually to move the thread to the Webdynpro section, if necessary. Thanks in advance.
    Edited by: Matteo Montalto on Oct 7, 2010 6:01 PM

    Closed. I opened a thread on this topic in a more convenient section of SDN forums (Specifically, web dynpro abap). Thanks anyway:)

Maybe you are looking for