Adding Field through BADI

Hi All,
I want to add a field using standard BADI HRHAP00_ADD_HEADER in  Performance Apprisal. I am using ECC 6.0. Can any one pls let me know how to modify the standard badi.
Thanks,
Raju

Hi, I had similar questions and very little experience with the topic.
I learnt the hard way and wrote a blog about it here: Challenge yourself (HR-PD Appraisal BADIs)
Would be cool to know that it helps people and nobody has to reinvent the wheel again:))
Cheers Otto

Similar Messages

  • Adding field in BADI CRM_COND_COM_BADI

    Hi,
    After adding a field in FIELD CATALOG of PRICING(SPRO) I have to add the field in BADI CRM_COND_COM_BADI.
    Can anyone tell me how to add the field in BADI.
    Thanks in Advance

    Hi Ginger,
    After adding the field on the field catalog, the standard structure:CRMT_ACS_I_COM is automatically updated. On BAdI:CRM_COND_COM_BADI, the changing parameter CS_ACS_I_COM is prepared and this is based by CRMT_ACS_I_COM. So you can fill the CS_ACS_I_COM on BAdI. So the field will be transfered to IPC.
    Regards,
    Masayuki

  • Adding custom fields  through SE51

    Hi All!
    This is with regards to adding custom fields through Se51 to standard screens.I had added custom field KNVV-ZZKVGR6 to the screen.
    After drawing the text and I/O buttons.When I activate I am getting an syntax error saying Field KNVV-ZZKVGR6 is defined differently in screen (ABAP/4 field,Dictionary field).
    What does this mean.
    Also if i activate with a SAP standard field instead of the custom it is getting activated.
    But for both the ways I could not able to see the output on the actual transaction.Also the new drawings which i am drawing are in brown color(different form the existing one)
    Please advise.
    regards
    Praneeth

    hi Praneeth,
    what is the program name,screen number you are trying to modify..,and after appending the field <b>ZZKVGR6 to KNVV</b> , now go to table and choose menu <b>Utilities->Data base Utility-></b> now click on  <b>Activate and Adjust the Data base</b>, then try to add the field.
    and are you adding the field from Dictionary (i.e you have option Get From Dictionary in that give KNVV table name it will list the fields, choose zzkvgr6 from it, and place it in your screen.)
    the exit which you are adding should be appropriate one
    or else you won't get the desired results. what is the exit..
    Regards
    vijay

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • UDM_SUPERVISOR: Adding fields and data at customer item level

    Hi
    I am having the same issue with newbie82_c; I need to populate the added fields in transaction UDM_SUPERVISOR.
    I know that the previous thread was tagged as answered already but the solution to the issue was not indicated in the thread.
    Here are the scenarios:
    - i've added fields in the item level invoice worklist of the customers by enhancing structure FDM_COLL_INVOICE_ALV (appending fields to FDM_COLL_INVOICE)
    - thru the implementation of the BADI FDM_COLL_SEND_ITEMS, i was able to retrieve the data specified by the user (Reference Keys in FB05)
    - i've populated CT_EXT_ITEMS with the retrieved data
    Now I need these data to be displayed in the added fields in UDM_SUPERVISOR.
    What ABAP object/s is/are responsible for populating the process receivable details?
    Thank you in advance for the assistance.
    Edited by: JPLCaliuag on Dec 19, 2008 8:31 AM

    Hi K.R.Reddy,
    Can you kindly provide me with a working solution for this? I'm currently facing a similar issue for a similar BAPI (in my case it's BAPI_CUSTOMERRETURN_CHANGE) and can't seem to update the custom fields in VBAK. I have put in necessary values in the EXTENSIONIN table as well as updated the UPDATEFLAG indicator to 'U' and although it says that the order is saved, it seems to overwrite the custom field with its original value.
    The custom field seems to get updated correctly when I use BAPI_CUSTOMERRETURN_CREATE but when I make changes using BAPI_CUSTOMERRETURN_CHANGE, it gets overwritten with the original value.
    Any help is appreciated.
    Thanks and regards,
    Adeline.

  • Update ZPURCHASE THROUGH BADI .. at the time of saving Purchase Order

    Dear All Gurus,
    I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    Can some one guide me how can i achieve this..
    I tried doing it through User Exits.. i have written a piece of code when saving the purchase order but my problem is .. The purchase order numbers are generated only after SAVE is complete..
    The other alternative i want to try is through BADI.
    Looking forward for your reply.
    Thanks !!

    > I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    > Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    I have no solution for your actual problem (wrong forum, you should try the MM forum) but I wonder why you just don't use the data that is already there in EKKO and EKPO?
    Markus

  • Additional tab at header level  in ME21N through BADI ME_GUI_PO_CUST

    Hi,
    I want to have additional tab at header level  in ME21n through BADI ME_GUI_PO_CUST.  But after all effort I am not getting display of  tab.  Let me explain what i did till now
    1. Appended  table EKKO with field
    2. Create one function Group -under that
    A. Created one Include u2013Paste the code given
    DATA: call_subscreen   TYPE sy-dynnr,
          call_prog        TYPE sy-repid,
          call_view        TYPE REF TO cl_screen_view_mm,
          call_view_stack  TYPE REF TO cl_screen_view_mm OCCURS 0,
          global_framework TYPE REF TO cl_framework_mm,
          global_help_view TYPE REF TO cl_screen_view_mm,
          global_help_prog TYPE sy-repid.
    FORM SET_SUBSCREEN_AND_PROG *
    --> DYNNR *
    --> PROG *
    --> VIEW *
    --> TO *
    --> CL_SCREEN_VIEW_MM *
    FORM set_subscreen_and_prog USING dynnr TYPE sy-dynnr
    prog TYPE sy-repid
    view TYPE REF TO cl_screen_view_mm.
    call_subscreen = dynnr.
    call_prog = prog.
    call_view = view.
    ENDFORM. "set_subscreen_and_prog
    B. Created one screen  (9000)
    3. Implemented BADI ME_GUI_PO_CUST and paste the code.
    data: ls_subscribe like line of re_subscribers.
    CHECK im_application = 'PO'.
    CHECK im_element = 'HEADER'.
    CLEAR re_subscribers[].
    ls_subscribe-name = ' ZMMSCR1'.
    ls_subscribe-dynpro = '9000'.
    ls_subscribe-program = ' ZMMSCR1'.
    ls_subscribe-struct_name = 'EKKO'.
    ls_subscribe-label = text-001..
    ls_subscribe-position = 15.
    ls_subscribe-height = 7.
    append ls_subscribe to re_subscribers.
    Please help me what s going wrong .and what else I will do to get success.
    Edited by: Vishal A Vijaywargia on Jul 29, 2009 2:24 AM

    Hi Prosengit,
    I am not aure about u r BADI,
    BUt last week i have custom tab in the PO header data using this enahncement 'MM06E005'.
    IN thi senhancement u have thrre screen exits.In this enhancement
    SAPMM06E        0111 CUSTSCR1 SAPLXM06        0111 Subscreen: PO item
    u can add subscreen and u can add u r own fields here .
    and u can write u r code in 'EXIT_SAPMM06E_006'.
    if u want to change the title of the program.
    Go to program SAPLXM06 then go to text element give text symbol no as '111' and u can change the title of u r tab.
    I hope this solves u r problem.

  • Cannot update new field through SharePoint properties on re-pubished InfoPath form

    Hello,
    I would truly appreciate any help with this problem. I've searched the forum for answers to this issue, but none of the ones I've found seem to
    apply.
    We are using SharePoint 2007. 
    When I re-publish a form with a new field, I am unable to modify that new field through SharePoint properties on older forms. I have tried re-linking the old forms but that does not resolve the issue. I can re-create this problem consistently in new
    and old InfoPath form libraries.
    Here are the latest steps I have taken to re-create the error:
    Created Form Library called Error Testing.
    Created new form (from blank template) with three data fields in the data source: name, occupation and address.
    Added section and all fields onto the form.
    Published form to Error Testing library. All fields were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page” option.
    Created and saved Form 1 in library with no issues.
    Opened edit properties and was able to modify and save the content in all three fields.
    Added a new field to the form template: City.
    Published form to Error Testing library. The original fields, and the new field were promoted and selected the “Allow users to edit data in this field by using a datasheet or properties page”
    option.
    Created and saved Form 2 in library with no issues.
    Opened edit properties in Form 2 and was able to modify and save the content in all three fields.
    Opened edit properties in Form 1, modified all fields and got the following message when I tried to save: 
    "Changes could not be saved into the document. The property to change is read-only for the document's content type, or the document is missing XML elements or attributes where
    the changes would be saved. Try editing the document in a Windows SharePoint Services-compatible XML editor such as MicroSoft Office InfoPath."
    Modified each field one at a time and determined the field I could not edit and that was causing the error message was
    the new City field.
    I re-linked Form 1 and got same error message when I tried to modify the City field.
    I opened Form 1 entered the city and saved.
    The content of the city field appears in the SharePoint column and I am able to edit the content through the Edit Properties field.
    This is an issue when we run a workflow that tries to update the new field on an old version of an InfoPath form.

    You can certainly add the fields manually by using SharePoint Designer, but a more effective way to Open the form template in "Design Mode" Click "Tools" and then "Form Options" Choose "Versioning".
    InfoPath defaults to not Upgrade forms automatically. If different versions are not a historical issue for this solution, then Change the default to "Automatically Upgrade Old Forms". Then republish form... The Next time you open a from in
    the library with this content type it will upgrade the old forms in the library.
    Have a look at this post on the same topic:
    http://social.msdn.microsoft.com/Forums/en-US/cffd3fa0-0a53-4ef2-8c62-0764cbe9f0e2/adding-new-fields-to-existing-infopath-form-template?forum=sharepointcustomizationlegacy

  • Hiding Customized fields through Config - T88M

    Hi,
    My system parameter is : ECC 6.0.
    As per requirement in my project, I have customized IT7 and added a new field - Annual Time . I am populating that field by default using some logic which wrote in the PBO of the newly created module pool and everything is working fine !!
    Query :
    Business wants this field to be displayed only for Ausy employees and not for Indonesian employees AND they want this to be done through config only. How can I do that ?
    What I have tried :
    I can very well go to the PBO and hide this screen reading the WERKS from PA1 for that employee but this is not what is reqd.
    They require to hide this using Infotype screen modification.
    When I go to SM30 and maintain the Infotype screen modification view : V_T88M and give the newly created module pool name : ZMPA0007 ...it doesnt list down the new;y created fields in this screen !! :-s
    So my query is - Is T88M can Only be used to hude standard fields and Not custom fields ?? If it can be used for custom fields also, please let me know how can I see my field there in the list ??
    Note : After creating the new field in PM01, I have assigned it to the standard MP00007 screen 2000. So now for all employees this std screen is getting displayed and also my little field at the end.
    I tried to modify the feature for this std screen and then I tried to create a new variable based on WERKS and assign some other screen 3000 for all employees and 2000 only for Indonesian employees, but it is not working ... at all the times the screen 2000 with my newly added field is getting displayed.
    What am I doing wrong or what do I need to do extra ?? or is it not possible to hide custom fields through Config I have to do it using coding only ??
    Experts, please put some light !!
    Many Thanks,
    Cheers.

    Hi Sourav,
    In table T588M create two entries for MP000700 with different variable key say according to the molga of the country one aus(xx) and other bagladesh(yy).
    Now make the field visible/invisible depending on the country req.
    Now go inside the entry, click on feature and give feature name as P0007. Now change the feature according and return the variable key what you assigned to the module pool.
    Take the help of functional people to change the feature.
    Br/Manas

  • Adding fields from KOMK structure to screen painter.

    Hello Everyone,
    i have created an Extra tab(like ADDITIONAL DATA B) using BADI, i have added fields from VBAP table, its working fine. But when i add fields from KOMK structure(KOMK-STCEG) only empty field is showing. Do i need to code something in PBO or PAI?
    Thanks & Regards,
    NarsiReddy Cheruku.

    Hello NarsiReddy,
    I assume that you have linked the field KOMK-STCEG using "Get from Dictionary" option from your above screenshot.
    In PBO section, make sure to write the logic to update the value in the field. The logic which you would build, would be based on your requirement. For instance, you can use BELNR to check and its corresponding STCEG could be found in the structure KOMK.
    But if the KOMK structure itself is not filled with any value, then there is some problem with your code. Try to check your BADI and its corresponding structures which would get updated at runtime and use them appropriately.
    Thank you.
    Regards,
    Naresh

  • Problem in adding fields in ADRC

    We are finding problem in adding and deleing fields n ADRC. We have added few fields to ADRC however when we are adding same through Append structure and adjust its giving problem.
    We are suspecting field created in data dictionary but not added in database (Oracle).
    Please let us know your views and suggest proceeding further.

    We are suspecting field created in data dictionary but not added in database (Oracle).
    So let's make sure:
    Check ABAP dictionary in SE11.
    Check Oracle dictionary in sqlplus:
    sqlplus <schema>/<password>
    describe ADRC

  • Date Added field blank in attachment

    Hi All,
    I am adding an attachment (through coding ) to an UDO.
    The attachemmt attaches fine but the Date Added field is blank and non editable.
    Moreover I cannot find any APIs to fill this field with the current date.
    As a result, my UDO does not get saved.
    Please provide pointers to fill the Date Added field either automatically or through coding.
    Regards,
    Himanshu

    Since there are no standard API's to set the date added field., you can use getExtensionField to set the date. The field ID for date Added within AttachmentSubIBeanIfc is "MODIFIED".
    You can use this line of code to set the date added:
    attachmentBean.getExtensionField("MODIFIED").set(TypeFactory.createSysDatetime(new java.util.Date()));
    where attachmentBean is of type AttachmentSubIBeanIfc.
    regards,
    Immanuel
    Edited by: immanuel farrar on Mar 23, 2010 5:42 AM

  • Collections Management - Adding Field to Customer Invoice Level View

    Hello,
    Has anyone successfully added additional fields available in FBL5N to the invoice level view of a customer when drilling into the customer invoice detail from a worklist?
    Thanks, Kevin

    Hi Kevin,
    The BadI for adding fields when displaying worklist items is UDM_WL_ITEM_DISP_C. You will need to add your fields to the customer include C_ATTRIBUTES in order to get them to display. Drill into the changing parameter of the method BEFORE_ALV_DISP to see more detail on that.
    Once you have added your new fields you will need to fill them with data within that BadI method and also add the field to the displayed ALV when you go into your worklist from the front-end.
    Any questions just let me know.
    Cheers,
    Brenton.

  • Custom fields ofr BADI

    Can any one tell me how to create custom fields in BADI ..I am using BADI ME_GUI_PO_CUST.
    Thanks

    You mean adding new field into expost & import varible to existing methods?
    You can NOT change the interface of existing methods..
    But you can create the global attribute in implementaion class.
    <i>*Reward each useful answer</i>
    Raja T

  • Adding field in Report Painter

    Hello Gurus,
    I am working in the Report Painter PR20-001.
    My requirement is to add a new column in the output of the report but even when i am able to add a new field and save it on the reports execution i am unable to view the added field in the output.
    Kindly tell me the entire procedure to add a new field in the output of the respective report painter output.
    Regards,
    Swati.

    Hi,
    Go to Global Parameters Definitaion in report painter, variable will be used only along with the field, just in global paramerters enter your desired field and click in next column, system will show you a pop up select your variable for that field...
    now its just done run the report and test it!
    If you still not make it refer to standard report of such kind, you will surely get it....
    Regards,
    Sayujya

Maybe you are looking for

  • Quicktime will not install with Polonizator

    I have tried to install the newest quicktime update. The Software update preference panel did not show the update, but I downloaded it manually. The installer says "Cannot install QuickTime on this volume. This software does not contain support for y

  • Iphoto 09 and yosemite osx

    I'm running maverick and iPhoto 09 (8.1.2 build 4.2.4). I have 2 photo libraries. (45GB and 28GB)  Thinking of upgrading to yosemite osx. Tried to update the iPhoto to version 9.6 but it says "iPhoto can't be installed on "Macintosh HD" because OS X

  • Query to display all records count of all tables in a schema

    Hi, I need to count all the records of all my tables in a certain schema and display the max amount of the record count. Do you have a script for this one??

  • Can't open photoshop cs4...error message 148.3

    error message 148.3 pc windows vista

  • I need help with error code 32812:

    Hi. I am trying to read in some voltages using FP-AI-112. A while ago, I developed a Labview program to do that, and it worked fine. Now, I'm going back and using it again, and I keep getting the error code 32812: "the specified tag name is not found