BADI @ APPCREATE

I have an appraisal created in transaction OOAM. I need to have the fields "validity period" filled with a badi. I've implemented 2 badis at SE19 but none of them is called by the standard transaction APPCREATE. They are: HRPDV00APPRAISAL0001 and HRHAP00_DOC_DEF_DV that I think are the only ones appropriated by this transaction. I think that are some feature that was not activated at the moment of the creation of this appraisal at OOAM.
The second BADI mentioned have a filter. At debbug time the standar program can't find some key related to this BADI at HRP5025 and HRT5025. Any help ? Thanks a lot !

Hello,
My first guess is that you are creating old appraisals. The BAdI's and infotype you mentioned belong to the new Objective Setting and Appraisals.
Creation of a template is done via phap_catalog_pa, creation of a document (where then the BAdI's are triggered) is phap_create_pa.
Regards and Groetjes,
Maurice

Similar Messages

  • User exit / badi for transaction appcreate

    Hi,
      Can nyone help me in getting user exit / badi for transaction appcreate .
    Cheers
    kamlesh

    Hi Kamlesh,
    Try below code to know the userexits for the given trxn code.
    Regards,
    Raj
    *& Report  ZTESTRAJ_USEREXITS
    REPORT  ztestraj_userexits
            NO STANDARD PAGE HEADING
            LINE-SIZE 200
            MESSAGE-ID zz.
           T A B L E    D E C L A R A T I O N S                          *
    TABLES: tftit,
            e071,
            e070.
                  S T R U C T U R E  D E C L A R A T I O N S             *
    TYPES: BEGIN OF x_tstc,
            tcode TYPE tcode,
            pgmna TYPE program_id,
           END OF x_tstc.
    TYPES: BEGIN OF x_tadir,
            obj_name TYPE  sobj_name,
            devclass TYPE devclass,
           END OF x_tadir.
    TYPES: BEGIN OF x_slog,
            obj_name TYPE sobj_name,
           END OF x_slog.
    TYPES: BEGIN OF x_final,
            name TYPE smodname,
            member TYPE modmember,
            include(15),            "Include name
           END OF x_final.
           I N T E R N A L    T A B L E    D E C L A R A T I O N S       *
    DATA: it_tstc  TYPE STANDARD TABLE OF x_tstc  WITH HEADER LINE.
    DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
    DATA: it_jtab  TYPE STANDARD TABLE OF x_slog  WITH HEADER LINE.
    DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
               V A R I A B L E S      D E C L A R A T I O N S            *
                    U S E R   I N P U T S   S C R E E N                  *
                      S E L E C T I O N    S C R E E N                   *
    SELECTION-SCREEN:  BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
    PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk01.
                    S t a r t    o f    S e l e c t i o n                *
    START-OF-SELECTION.
      PERFORM get_tcodes.  "Get Tcodes
      PERFORM get_objects. "Get Objects
                    E n d    o f    S e l e c t i o n                    *
    END-OF-SELECTION.
      PERFORM display_results. "Display Results
    *&      Form  get_tcodes
          Get Tcodes
    FORM get_tcodes.
      SELECT tcode
             pgmna
         INTO TABLE it_tstc
         FROM tstc
         WHERE tcode = p_tcode.
      IF sy-subrc = 0.
        SORT it_tstc BY tcode.
      ENDIF.
    ENDFORM.                    " get_tcodes
    *&      Form  get_objects
          Get Objects
    FORM get_objects.
      DATA: l_fname LIKE rs38l-name,
            l_group LIKE rs38l-area,
            l_include LIKE rs38l-include,
            l_namespace LIKE rs38l-namespace,
            l_str_area LIKE rs38l-str_area.
      DATA: v_include LIKE rodiobj-iobjnm.
      DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
      DATA: l_line TYPE string,
            l_tabix LIKE sy-tabix.
      IF NOT it_tstc[] IS INITIAL.
        SELECT obj_name
               devclass
            INTO TABLE it_tadir
            FROM tadir FOR ALL ENTRIES IN it_tstc
            WHERE pgmid = 'R3TR' AND
                  object = 'PROG' AND
                  obj_name = it_tstc-pgmna.
        IF sy-subrc = 0.
          SORT it_tadir BY obj_name devclass.
          SELECT obj_name
            INTO TABLE it_jtab
            FROM tadir FOR ALL ENTRIES IN it_tadir
            WHERE pgmid = 'R3TR' AND
                  object = 'SMOD' AND
                  devclass = it_tadir-devclass.
          IF sy-subrc = 0.
            SORT it_jtab BY obj_name.
          ENDIF.
        ENDIF.
      ENDIF.
    *- Get UserExit names
      LOOP AT it_jtab.
        SELECT name
               member
           INTO (it_final-name, it_final-member)
           FROM modsap
           WHERE name = it_jtab-obj_name AND
                 typ  = 'E'.
          APPEND it_final.
          CLEAR  it_final.
        ENDSELECT.
      ENDLOOP.
    *- Process it_final contents.
      LOOP AT it_final.
        l_tabix = sy-tabix.
        CLEAR: l_fname,
             l_group,
             l_include,
             l_namespace,
             l_str_area.
        l_fname = it_final-member.
        CALL FUNCTION 'FUNCTION_EXISTS'
          EXPORTING
            funcname           = l_fname
          IMPORTING
            group              = l_group
            include            = l_include
            namespace          = l_namespace
            str_area           = l_str_area
          EXCEPTIONS
            function_not_exist = 1
            OTHERS             = 2.
        IF sy-subrc = 0.
          IF NOT l_include IS INITIAL.
    *- Get Source code of include.
            CLEAR: v_include, e_t_include, e_t_include[].
            v_include = l_include.
            CALL FUNCTION 'MU_INCLUDE_GET'
              EXPORTING
                i_include   = v_include
              TABLES
                e_t_include = e_t_include.
            IF sy-subrc = 0.
              LOOP AT e_t_include.
                IF e_t_include-line CS 'INCLUDE'.
                  CLEAR l_line.
                  l_line = e_t_include-line.
                  CONDENSE l_line NO-GAPS.
                  TRANSLATE l_line USING '. '.
                  l_line = l_line+7(9).
                  it_final-include = l_line.
                  MODIFY it_final INDEX l_tabix TRANSPORTING include.
                ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " get_objects
    *&      Form  display_results
          Display Results
    FORM display_results.
      FORMAT COLOR COL_HEADING.
      WRITE:/1(150) sy-uline.
      WRITE:/ sy-vline,
            2(23) 'Extension Name',
            24 sy-vline,
            25(39) 'Exit Name',
            64 sy-vline,
            65(74) 'Description',
            140 sy-vline,
            141(9) 'Include',
            150 sy-vline.
      WRITE:/1(150) sy-uline.
      FORMAT RESET.
      SORT it_final BY name member.
      LOOP AT it_final.
        CLEAR tftit.
        SELECT SINGLE  stext
          INTO tftit-stext
          FROM tftit
          WHERE spras = 'EN' AND
                funcname = it_final-member.
        WRITE:/ sy-vline,
                it_final-name COLOR COL_KEY, 24 sy-vline,
                25 it_final-member, 64 sy-vline,
                65 tftit-stext, 140 sy-vline,
                141 it_final-include, 150 sy-vline.
        WRITE:/1(150) sy-uline.
      ENDLOOP.
    ENDFORM.                    " display_results

  • How to add column in table control for transaction APPCREATE

    Hi All,
    How can i add the additional column in table control for transaction APPCREATE.
    There is structure PT1045_EXT present behind table control. But not found any customer exit or badi to display on screen.
    Please help...

    You can add new columns
    If you add new columns in tr. PHAP_CATALOG

  • Restrict creation of appraisals for inactive employees using BADI

    Please could someone guide or assist me.
    When we use Tx APPCREATE to create an appraisal for an employee, it allows us to create an appraisal for an inactive employee. When we drop down the appraisee field (search for the appraisee), we can view & select employees that are inactive.
    I would like to exclude the inactive employees from the appraisee list.
    I have tried to use BADI HRHAP00_TMPL_RESTR, and created an implementation, but it doesn't seem to be called when i created the appraisal, i have tried debugging it to see if i get out to this badi, but no luck.
    Any help in this regards will be greatly appreciated.
    Regards,
    Chantal

    Hi Chantal
    As far as I know, you are using the right BADI for your requirement. Can you plz. try creating appraisal documents through PHAP_CREATE_PA or PHAP_PREPARE instead of APPCREATE Tcode.
    BTW, have you incorporated the BADI (filter) to your appriasal template?
    Hope this helps
    Best Regards
    Reddy

  • Trigger Appraisal WF when ever Appraisal document created in APPCREATE

    Hi Experts,
                      I am working on Appraisal workflow. When ever Appraisal document is created through APPCREATE I have to trigger wf and work item should be send to Reporting manager for starting the workflow. My problem is WF is not getting triggered when Appraisal document is created. In BO APPR_DOC there is no event for Appraisal document create. Here in this workflow appraisee will not initiate the process and appraisal will be completed by Reporting manager, Parat appraisal and Reviewer.
    Can anybody please suggest me how to proceed now.
    Regards.
    Ranganadh.

    Hi Vikram,
                    Thank you for the reply. Now I can able to trigger the wf when appraisal doc creted through phap_create. In my requirement appraisee is not required in the process. when I click on other appraisers I am getting the appraisee name by itself from the employee field. and when ever I click reporting officer I should get the Reporting officer name by default.
    Can you please suggest how can I default the Reporting officer in the Reporting Officer field of appcreate's first screen and to delete the appraisee name when I click on other appraisers.
    I am getting the reporting officer name in "Other Appraisers" by selecting the reporting officer inthe listbox. but not the initial screen of appcreate. Can you please specify any BAd's for this.
    Thank you.
    Regards.
    Ranganadh.

  • BADI -- HRHAP00_DOC_DEF_D1 -- Default Appraiser

    Have implemented the BADI HRHAP00_DOC_DEF_D1 and in the code kept the break-point.
    In Attributes tab, App.Enhn. "Default manager" is set.
    Config: In the appraisal template, processing tab, in further template behaviour, default manager is also set.
    When I run the transaction "APPCREATE" or "PHAP_CREATE_PA" it is NOT stopping at the break-point. Is there anything which i am missing to activate the BADI?

    Hi Satish,
    Have you kept the HTML Break Point, For BSPs only HTML break points will work.
    Regards
    <u><i><b>Anil.C</b></i></u>
    <i><b>Reward the points if my answer helps you out.</b></i>

  • Appraisal Template BAdi HRHAP00_DOC_DEF_DE

    Hi All,
    Does anyone know how the Badi HRHAP00_DOC_DEF_DE is trigger? My requirement is to default the appraisal review dates.
    I tried to create a break-point in standard implementation of this badi and run APPCREATE or PHAP_PREPARE, but both did not trigger this badi.
    Looking forward to hear from you.
    Thanks
    SP

    Hi Satish,
    Have you kept the HTML Break Point, For BSPs only HTML break points will work.
    Regards
    <u><i><b>Anil.C</b></i></u>
    <i><b>Reward the points if my answer helps you out.</b></i>

  • Prior OM settings for "appcreate" transaction

    hi appraisal experts,
    Before we execute "appcreate" transaction for giving appraiser and appraisee    and part appraiser for running the appraisal document, what O.M ( organisational management submodule) settings should we ensure that is required for this template and getting finally defaulted in infotype 25 .?
    In OM, i have
    1. Position and orgunit assigned for appraisee
    2.Position and orgunit assigned for  final appraiser
    3.Position and org unit assigned for part appraiser
    also
    appraisee has position to position relationship with part appraiser and final appraiser: appraiser A002 appraiser (s-s)
    appraisee and appraiser are in the same orgn units ( O)
    should we need  Badi's to activate the above  OM relationships and bring it to appraisal templates .
    My problem is i am not getting completed document defaulted in infotype 25 of each and every person who are either appraisee, apraiser or final appraiser

    Hi,
    the requirement is bit surprising to me.
    transaction currency is normally related to FI related transactions.  Because either the you might bill to the customers in a currently other than co.code currency if it is required by the contract with customer or you might get bills from the vendor in a currency other than your co.code currency
    This should not have any bearing on the controlling stuff.
    When you post the values to CO, the values will be converted in to object currency and controlling area currency.
    Result Analysis calcution will necessarily be in co.code and controlling area currency.  There is no transaction currency involved here.
    Hope this clarifies your question
    Best Regards
    surya

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

  • Implementing BADI MD_ADD_COL_EZPS for MD04 custom column

    Hi there,
    I'm using BADI MD_ADD_COL_EZPS to display 3 new buttons and three new columns in MD04.
    For each line item that is displayed, the custom column is filled, after the button is hit -This works fine.
    My Question is:
    Is there any way to limit the value that is filled into the new column so that it only appears on the FIRST line item/row?
    (At the moment it is repeated all the way down the page - the new value is a material characteristic, so doesn't change, will always be the same for each line)
    I've looked at all the available structures/tables in the FILL_ADD_COLUMNS method of the BADI, and none seem suitable
    to determine the "first" row. (ie. something like the way SY-TABIX or SY-INDEX might be used)
    Any help appreciated.
    Thanks,
    David.

    Hi Shubhendu,
    in the method 'ACTIVATE_ADD_COLUMNS', you can set the flag EZ1_MODE to '1' to make the first column visible always. (it's been a while, but I think setting it to '2' makes it visible when the button is pressed.)
    Same applies to EZ2_MODE for second column, EZ3_MODE for third.
    look at the flags/parameters in this method, and also in FILL_ADD_COLUMNS, to fill the data.
    here you need to fill structure EMDEZX_USEX1 (for column 1) etc.
    The code is hit for each record displayed in MD04
    Hopefully this helps you.
    Regards,
    David

  • Help Needed Badly | BlackBerry INC000025111306 | BlackBerry PlayBook - Tablet button does not work, almost stuck, copper under screen, seventh repair

    I was really Humilitated my RIM on this Ticket whcih i rasied.
    1) I bought a new tablet in last november in 2 months i had a Charger issue 
    2) They said this charger issue we cannot replace with new tablet and gave me a refurbished Tablet to me .
    3) Which also had same charging issue and they exchanged 2 more tablets and the last tablet which was given to me by RIM have a safety concern
     - 1 Small mesh of wire is poping out from the Tablet 
     - Power Button is very hard and its not that easy to press,
    So i raised the above ticket and was esclated internally with RMA as well and i got an update from the esclation agents that we will reply back in 2 Days i waited almost 3 weeks and called 2 times in this 3 weeks for an Update asking for a new tablet so that atleast once in all i can jeep a good 1 Tablet.
    But they never bothered to call me and today i called them again and RIM gave me a call back mentioning we cannot give a new tablet we can again check this tablet repair it and give it back , If we cannot repir then give a replacement new/Old tablet,
    I was wondering how can a tablet from RIM can go out without such safety concern ? How a mesh of wire can comeout of tablet so what safety norms RIM is follwoing for customer.
    AM i not humilitated? since after taking all these struggle tto get a good tablet i have been considered as bad.
    What RIM have to say for this, I am planing to take this to Legal department to follow how i can get a justice for this.

    I would have deleted this but can't find a delete?
    At any rate. got the Blackberry going again but it reset it and lost all the info, pictures and so forth.. oh well. at least it is still working.
    Thanks.

  • Error message in a BADI getting displayed in a popup instead of status bar

    Hello All,
    I have implemented a BADI in ECC6 to prevent the change of formula in ERP from transaction O3I8.
    The BADI gets called on clicking 'Save' from transaction o3I8.
    Within the  BADI i am giving an error message using the following command:
    Message e000(ZABC) .
    However , the message gets displayed in a pop up instead of the status bar .
    The same is for information and warning messages.
    Any suggestions on how to display them in the status bar ?
    TIA
    Regards,
    Vartika

    Hi Brad,
    The checkbox to display messages in pop-up  is already switched off.
    Still themessages are getting displayed in pop-up.
    Regards,
    Vartika

  • Error message from a BAD PDF

    I am using Adobe Reader to render PDF documents as a part of a process and then convert it into TIFF. Some of the documents that come in are corrupt PDF documents and cannot render itself in the reader and hence cannot be converted. This is the error that the reader throws:
    ADobe reader could not open "test.PDF" because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded)
    Now, the process is automated with no human intervention. with the advent of this error message, since there is a modal dialog box waiting for a response from the user, the process is interrupted and needs human intervention.
    My question is simply this. Is there an API i could use where i can figure out beforehand if the PDF is bad so i can reject such files early on? research shows that using the adobe forms server which has the PDF utility services, there is a query "Is a PDF document" that is available. I do not want to use a server product.
    Is there any other ADOBE product that exposes something similar?

    I guess i forgot to add that piece of information. WE do not create the PDFs. We receive PDFs from external sources over which we have absolutely no control  and that explains why we get such corrupt documents in the first place. I was just wondering if there was a simple API event/method/means attached to any ADOBE product which is compatible with .net that tells me if the PDF is corrupt UPFRONT.

  • Error while transporting infospoke with BADI in BW7.0

    Hi:
    We have an infospoke with Transformation ( ie with BADI) in BI7.0.
    While transporting to Quality box it gives error.
    "Transfer structure /BIC/CZZTXXXXX3 could not be generated
    Error when activating InfoSpoke ZTXXXXX3.
    Message no. RSOH010 "
    Could you please help in rectifying the error.
    PS: we tried transporting BADI first and then the infosoke but still its failing.
    Regards!
    Saniya

    Hi
    Check the forum link below
    Transport Problems with Spokes that have BADIs
    Thanks

  • IPod can no longer sync or charge, bad pin connectors?

    I've got an iPod touch thats a year old now that suddenly no longer will charge/sync to anything. I'm thinking maybe the pins are bad?
    I've had difficulty inserting chargers into it since I got it, I've been careful to not handle it too roughly but it does take a strong push to get the charger in there. Of all the ipods I've had (and i had the first gen iPod touch before this too) over the years, never had that problem.
    Before I get a bunch of "just reset it" kinds of replies, it is functioning properly other then that. Last night I did have it hooked up and synced to my Mac so it fully charged, but just now I went to connect it and now it refuses to connect at all. I've tried 2 cords, and with the same cords I plugged my iPhone in as well and it all worked fine, so it's definitely not my other hardware. iPod software is also up to date as well.
    I haven't had a real issue of it not syncing with my computer before today, but in the past month it's had issues staying properly synced to my car radio (play it through USB). It would sometimes drop off or glitch up and not want to work correctly, though in the past week it started working more normally again.
    I listen to my ipod as much as humanly possibly, so I'm wondering if this something I can take to the Apple Store and see if its fixable or replaceable. I've been looking for a great excuse to get the new red ipod touch but I've been unemployed since August.. Of course it has to break before I get a new job
    Has anyone else had the issue of having difficulty getting the sync cords into their ipod touches/problems where the pins just die?
    EDIT: Nevermind. My imac suddenly wont sync my iphone either but I plugged the ipod into the iphone charger and it synced immediately. It's something on my computer's end.
    Message was edited by: Arei

    *all the songs are there, but there are shown in light grey and not able to be high lighted.*
    *I'm also not able to play from my ipod list, only from my itunes??*
    Grey text when you look at the content and a lock symbol at the bottom of the screen just indicates that the iPod is set to sync automatically with iTunes. If you want to play the iPod songs through iTunes, delete songs from the iPod, drag songs from iTunes, add playlists to the iPod etc. you need to change the update setting to "manually manage songs and videos" as per the link above. The text will change from grey to black and everything will be directly accessible through iTunes
    *I have seen a friend plug his ipod into some one elses computer and the same thing happened, it showed all the content but he was not able to access it, or modify it.*
    Again that's most likely because the iPod was set to auto-sync with his home library. If you want to connect and use an iPod on more than one computer or with more than one library you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    *Before I backed up my itunes libary from my external hard drive, and itunes was empty, it would not allow itunes to be copyied from my ipod?*
    iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    For everything else (music from CDs, other downloads etc) there are third party utilities that you can use to retrieve the music files and playlists from your iPod.

Maybe you are looking for