PT_ABS_REQ - Deactivate Standard Implementation

Hi All,
I have  a requirement to restrict the employee from applying Privilege Leave in previous financial year through the ESS.
For this I have implemented PT_ABS_REQ with a Z BADI - ZHR_PT_ABS_REQ.
I have copied the existing class CL_PT_ARQ_REQ_EXIT code into my Z-class and added my logic to the required method.
However, after activating and adding my BADI through PTARQ I am getting an error in ESS:
RFC_SYSTEM_FAILURE.
The problem is I am unable to deactivate the standard implemention, even though my Z-BADI is activated and getting called.
In both PTARQ and SPRO, I see my Z-BADI asActive and Implemented. (I am unable to see the standard implementation here).
Anyone can throw some light on this??
Thanks.

whenever you use the badi you need to ensure that you copied all the standard
methods of the badi and enhanced which one you need
Please check your coding.
IF_EX_PT_ABS_REQ~CHECK_TIME_CONSTR_FOR_SUBTY to control the leave
combination.ie for example
Create  a custom implementation Z* method
IF_EX_PT_ABS_REQ~CHECK_TIME_CONSTR_FOR_SUBTY to check the leave
combinations..

Similar Messages

  • Deactivate standard BADI implementation

    hi,
    How to Deactivate standard BADI implementaion
    Mohammadi.

    FYI - I dont think its possible to deactivate the implementation if its a kernel BADI.
    It must be done through the switch framework.
    Im not sure about this.. Anybody here correct me if im wrong.

  • De-activate standard implementation for New BADI ES_FIN_EBPP_MAIL_PUT_DATA

    Hi All,
    I have a requirement where i need to deactivate the standard implementation for the New BADI 'ES_FIN_EBPP_MAIL_PUT_DATA'
    and activate my Z-Implementation. I have been able to activate the Z-implementation (i.e. by checking the checkbox Default implementation it allows me to activate the Z-implementation).
    Also, the BADI ES_FIN_EBPP_MAIL_PUT_DATA is a single use BADI, so technically multiple implementations should not be possible. bus somehow it has allowed me to activate my Z-Implementation along with the standard implementation being active.
    But the problem is although the Z-implementation is active, as the standard implementation is also active, the standard implementation overwrites the Z-implementation, therefore my code is never executed.
    Please advise on how to deactivate the standard implementation and implement the Z-Implementation.
    Thanks!

    cl_def_im_address_subscreen is only a sap default class that you can use for creating your own implementation. If you want to see the existing implementations, transaction SE18, enter Classic BAdI ADDRESS_SUBSCREEN and click menu enhancement implementation, overview. Check if the existing implementation corresponds to a custom implementation (then you can modify it), or to a sap or partner product (then you can't modify it, or you can use the enhancement framework to enhance it).

  • Reg: Can I code in standard implementation of a BADI "WCM_DECOUPLING"

    Hi all,
    I'm trying to use a  BADI (WCM_DECOUPLING) for transaction IW32. But when I tried to create an implementation for this BADI in SE19, it is throwing the following error "BADI definition WCM_DECOUPLING is only provided for SAP internal use".
    Then I've checked the attributes of this BADI in se18, an option "within SAP" is checked.
    I've checked the old threads also, but I couldn't find any help to use this BADI somehow.
    MY QUESTION: later, I've found using transaction SE84 that this BADI is already implemented by standard SAP in the name
    "WCM_DECOUPLING_IMPL" and activated. But, it's runtime behavior is shown as "EA-PLM is deactivated; implementation will not be called". Can I use this standard implementation to code my changes or validations.
    Thanks,
    Rajan U

    Dear Shahin,
    Thanks for your prompt reply.
    I've adapted the same method (SE24) to find this BADI. I see other BADIs doesn't have the required parameters flowing in. That is the reason why I am trying to some how implement this BADI.
    My requirement: After creating work order in Iw31, a list of people has to approve the work order by using permit (ech one will have the unique permit key). For this a pop window containing table control of permit keys listed in the order is provided.
    I've to place a check/validation to ensure that these permits are approved in the same order as it has to be done.
    for example: 1) Functional head 2) General manager 3) Managing director
    I've also searched for user exits, but, on that is suitable for this req is not working.
    Please suggest me a method to do this.
    or
    if I create ZBADI i.e. ZWCM_DECOUPLING, will this be called inside the standard program? will the exit handler call this?
    Please give me your suggestion.
    Thanks,
    Rajan U
    Edited by: Rajan Usman Basha on Jun 2, 2011 5:45 AM

  • Sourcing 7.0 Standard Implementation Estimate

    Hello,
    We are looking to implement following standard features of SAP Souring 7.0 (on premise) for one of our customers:
    - Strategic Sourcing
    - CLM
    We will use Global Text Search without Optimizer and Contract Generation. Based on what I have read I have made a high level plan as follows
    Plan
    Installation and Requirements - 2 weeks
    Configuration - 4 weeks
    Data Load, Customization, 1 Integration with SRM and 1 workflow - 4 weeks
    Testing  - 2 weeks
    Training - 2 weeks
    Resources
    PM - 1
    Sourcing and CLM Consultant - 2
    Basis - 1
    Data Load and Testing - 2
    PI for Integration - 1
    Beanshell JAVA - 1
    XPDL Workflow - 1
    If the experienced people who have done such implementation can validate the same, it will be of great help.
    Regards,
    Jai

    HI Jai
    Plan
    Installation - 4 weeks
    Configuration - 4 - 6 weeks
    Data Load, Customization, Integration with SRM and workflow  6 - 8 weeks
    Testing - 2 - 4 weeks
    Training - 2 weeks
    Total: 5 - 6 months approx
    Resources
    PM - 1
    Sourcing and CLM Consultant - 1
    Basis - 1
    Data Load and Testing - 1
    PI for Integration - 1
    Beanshell JAVA - 1
    XPDL Workflow - 1
    Above plan and resources would be fine for any standard implementation. Assuming its for E-Sourcing without CLM and Optimizer
    Regards
    ~Ankush Mittal

  • BADI TRIP_POST_FI - Standard Implementation

    Hello Experts,
    I am trying to use the BADI TRIP_POST_FI, this is related to interface IF_EX_TRIP_POST_FI.
    But the standard class CL_EX_TRIP_POST_FI  is already using this interface, and has imple-mentation for all methods.
    So, although I can create a new implementation using definition TRIP_POST_Fi it is never exe-cuted because the system is is using the standard implementation.
    What can I do in this case ?
    Thanks
    Francisco

    Definition TRIP_POST_FI had been modify, that´s why the exist never was called. 
    Thanks any way.

  • Deactivate standard Funtion key assignment (F11)

    Hallo experts,
    I would like to deactivate the standard assignment of the F11 key to the 'REFR'  function code.
    The reason is that that I am using a program which is a copy of a standard, and which uses the function module FI_ITEMS_DISPLAY, which in turn calls the ALV.
    This FM returns the control to its caller only for specific function codes, and 'REFR' is one of them. I wanted to activate the save option and the only way I managed to do it without having to copy the FM, was to assign 'REFR' to tge standard toolbar. It works fine, but the problem is that the actions take place if the user presses F11, which I want to stop.
    I searched a lot but I didn't find a way to negate the assignment in the Menu painter.
    Thanks for your patience.
    BR,
    Panayotis

    Hi
    What exactly, you want to do, when the user presses F11 Key ?
    Please elaborate.
    Have you implemented this BADI - <b>BADI FI_ITEMS_MENUE01</b> ?
    Either you can note the disable the F11 and its associated button from the standard toolbar
    OR the
    first find the relevant, fucntion code associated with F11 key and then
    Do this code inside the custom function moduleinclude program. <b>(LFI_ITEMSF01)</b>
    CASE Sy-UCOMM.
    WHEN 'F11'.
    *--- Do nothing.
    ENDCASE. 
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Deactivate standard toolbars

    Hi;
    i want to deactivate some or all of the standard toolbar functions (like file download,
    sum etc) of ALV grid. How can i do this?
    Thx in advance.
    Ali

    Hi,
    Go to SE24 give the class name as CL_GUI_ALV_GRID..
    In the attributes tab there are constants available for the Function code..
    It starts with MC_FC
    For Export to local file it is MC_FC_PC_FILE..
    Thanks,
    Naren

  • Deactivate standard objects in BI content

    Hi guyz,
    Just want to ask if I can deactivate objects I have already activated in BI content? If so, how will I do it?
    For example, how will I deactive 0CALMONTH or 0TCT_C01 cube?
    Thank you!
    Loeda

    Hi,
    once you activated the info objects or target if not possible to deactivated them ex- 0CALMONTH or 0TCT_C01
    but you want deactivate go to change mode then just check and save don't activate after any changes adding the attr into 0CALMONTH.
    you want deactivate the 0TCT_C01 add the some more objects to target don't activate just save.
    other take the system restore.
    don't want the objects create the one info area maintain the objects.
    not using the objects don't transport to QAS, PRD.
    transport only used objects.
    Thanks,
    Phani.

  • PT_ABS_REQ - Std Implementation - Deactivation

    Hi,
    I am implementing a Badi (PT_ABS_REQ) under
    Personnel Management>employee self service>service specific settings>working time>Leave Request -> Badiu2019s -> Control Processing of leave request.
    When I go to SE18 and see the Badiu2019s PT_ABS_REQ implementation, I can see two active versions of Badi :
    1.     CL_PT_ARQ_REQ
    2.     Z PT_ABS_REQ (Which I have implemented)
    However this BADi does not allow multiple implementations but still I am able to activate and hence I am getting runtime error.
    My question is How can I disable/deactivate standard implementation? If I go to SPRO and check again,  I can see only my BADi implementation and a check box to Activate/Deactivate but for standard BADi I canu2019t see anything like this.
    Can anybody help me on this? Is I am missing something? We are on ECC 6 Ehp 4. 
    Regards,
    AB

    Hi Rajat,
    Sorry for this late reply. No doubt your suggestion was helpful (& infact I was missing this part completely u2013 So big Thanks). However this was not the solution for the problem I was looking for.
    As I said I tried to implement the BADi thru the SPRO and was successfully able to activate my Badi but I was not able to u201CDeactivateu201D the SAP provided implementation as this was not visible when you click the activity u201CPersonnel Management>employee self service>service specific settings>working time>Leave Request -> Badiu2019s -> Control Processing of leave requestu201D
    However below solution worked for me:
    Go SE19 and select your BADi, and on u201CEnh. Implementation Elementsu201D, click the check box u201CDefault Implementationu201D. Now save & activate this. This might throw error as there are two active implementations but select u201CActivate Anywayu201D.
    Now redo this step i.e is uncheck the u201CDefault Implementationu201D checkbox and activate again.
    After doing this go to SPRO u201CPersonnel Management>employee self service>service specific settings>working time>Leave Request -> Badiu2019s -> Control Processing of leave requestu201D Now you will be able to see two implementation of BADi (Std & Z). Now deactivate the std implementation which otherwise was not visible in SPRO and hence we are not able to deactivate the same.
    Not sure this is a bug or something else but I can proceed further now.
    Hope this will be helpful for others as well.
    Rajat : Thanks again.
    Regards,
    AB

  • Activate standard implementaion in BADI

    Hi all,
      I followed the statement below by someone in the development forum to deactivate standard implementation in BADI.
    ""u can implement ur badi using TCODE SE19.
    if u have system provided implementation name then u have deactivate it by using TCODE se19.
    Goto SE19 tcode enter system provided implementation and click on deactivate butto, it will ask u for request, that request u will get from BASIS person. once u deactivate standard Impklementation u can create ur own Z implementation, and modify the methods of the class which has mentioned in that inplementation.""
    Now i want to activate the standard implementaion. if i try to activate ,iam asked for access key. How can i activate the stanrdard implementaion in BADI.
    Please help,
    Raj.

    Hello Rajesh
    In cas of an emergency you may change the activation attribute in the DB table directly (but you should definitely know what you are doing!!!).
    Table SXC_EXIT contains the implementations of your BAdI. Assuming that you can have only a single active implementation of your BAdI you will find the implementations in table SXC_ATTR. Select for the active implementation using ACTIVE = 'X'.
    Regards
      Uwe

  • Implementation of BADI  ME_GUI_PO_CUST

    We want to add warranty subscreen on the item detail tab by using BADI ME_GUI_PO_CUST. When i deactivate standard implementation ZSCM_IM_WARRFIELDS & activate my implementation, it does not show my subscreen that i have created below.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    We want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
      CLEAR re_subscribers[].
      ls_subscriber-name = SUBSCREEN1.
      ls_subscriber-dynpro = '0500'.
      ls_subscriber-program = 'SAPLZSCM_FG_WF'.
      ls_subscriber-struct_name = 'CI_EKPODB'.
      ls_subscriber-label = text-001.
      ls_subscriber-position = 3.
      ls_subscriber-height = 10.
      APPEND ls_subscriber TO re_subscribers.
    Please help me.

    Hi Abhishek,
    The code looks fine. But please check whether you have appended the 'CI_EKPODB' structure in the EKPO table and adjusted the table in SE14.
    Do adjust and activate database with save option.
    But while you are adjusting the table make sure you dont select the delete option as it will delete all you data.

  • Query in Badi Implementation!!!!

    Hi all,
                     I have a requirement which requires me to Implement the Badi 'DOC_PERSONALIZE_BCS' .
    This is a filter dependent Badi.
    When I try to Implement this Badi , I am required to give a filter value.
    When I give the filter value and try to activate the Badi , I get a message as follows:
    "There are already Active Implementations for these Filter types"
    I checked and found out that there is already a Standard Implementation for this Badi.
    I want my Badi to get activated.
    Please tell me how I can activate my Badi for the Filter type.
    Kindly reply immediately as this is bit urgent.
    Regards,
    Vijay

    Hi,
    You can get your BADI activated even though the filter value is already defined in other implementation. This condition should not give any problem in activitating the BADI. But this condition should be avoided. Because if two implementations are present in BADI with same filter value then whenever the BADI is called, all implementations with the given filter value are executed which is not desirable.
    You need to deactivate the std implementation and then create new implementation or copy the std implementation and make changes in it as per your requirement.
    Please reward if useful.
    Regards,
    Ashlesha

  • Multiple active implementations for filter value EXEC_METHODCALL_PPF

    Hi,
    I have created an implementation for the EXEC_METHODCALL_PPF badi which is triggered from an action in a transaction.It is working fine in the development system but while transporting it to the quality system I am getting the following error.
    Multiple active implementations for filter value EXEC_METHODCALL_PPF definition
    Errors occurred during post-handling AFTER_IMP_SXCI for SXCI L
    AFTER_IMP_SXCI belongs to package SECE
    The errors affect the following components:
    BC-DWB-CEX (Customer Enhancements)
    When i refer to the documentation of the error message it says....
    Multiple active implementations for filter value EXEC_METHODCALL_PPF definition
    Message no. ENHANCEMENT474
    Diagnosis
    There are multiple active implementations of the same business add-in definition, even though this is not allowed.
    System Response
    This is not correct and should not occur.
    Procedure
    Deactivate the implementations active for this BAdI definition one by one until there is only one active implementation left.
    You should use transaction SE18 (Utilities -> Adjustment -> Multiple-use interfaces) to solve these conflicts systematically.
    But I am apprehensive if deactivating all the standard implemenatations of the badi will create any problem.Please can any one suggest as to how to resolve this issue....
    Any help would be highly appreciated.

    Hello,
    Please check the following suggestions
    a) go to se18 -> enter your definition name and see if "Multiple" call check box is ticked in Quality
    b)compare your transports since some objects in development may not have found it's way to the quality server
    c)Please see if for the same definition,for different filter values...implementations are done...if so,is multiple checkbox marked? in quality also?if you have multiple implementations with the check box not marked..the message conveys u cannot have multiple implementations of the same badi....
    d)also check if the filter being passed to the BADI is ok
    Hope it was useful in some way
    Reward if helpful
    Regards
    Byju

  • Deactivating function key "Cancel" in standard transaction me38

    Hi,
    I need to deactivate standard function key cancel in a screen in me38,...
    Is it possible through any exit ?? if yes please explain in detail ...or will i have to modify the gui status using access key?
    Thanks in advance.
    Regards,
    Kashyap.

    Hi,
    I dont think that there are any Function exits/ BADI's that would meet your requirement.
    But you can try using the Include MM06EO0P_PF_STATUS of Program SAPMM06E. The PF Status for each screen is set here based on certain condition checks.
    In this include there are a number of Enhancement Points. You can find the suitable Enhancement Point here and write your code in it. Or else you could also find a suitable Implicit Enhancement and write your code in the Implementation.
    If you can mention the exact screen in which you need to disable the csncel button, then I might be able to suggest the correct Enhancement Point/Implicit Enhancement.
    To remove a button or exclude a function code you have to populate the function code for that particular function/button in the structure EXCL. I think that the function code for cancel button in ME38 is 'XIT'.
    So your requisite code would look something like this
    excl-funktion = 'XIT'.
    APPEND excl.
    Hope this helps.
    Regards,
    Abhisek.

Maybe you are looking for

  • How to extend the material in the material master?

    hi all gurus i have to change and add the MRP tabs in the existing material which is not availble in the material. so, how can i add it in the master data. thnx in advance. rgrds, rajesh

  • 20" or 23" Cinema Display contrast ratio and models

    I am searching for a used Cinema Display, either 20 or 23". I want to ensure that I am getting a recent model, and I have seen mention of older 400:1 units, and newer generation 700:1 units. How can I tell what I'm looking at when I am searching? Are

  • System crashes after mountain lion install

    I installed Mountain Lion this weekend and my 2008 iMac has crashed twice with the following messages logged: 2012-07-30 17:44:05 -0700 coresymbolicationd[351]: /Library/Caches/com.apple.coresymbolicationd/data did not validate, resetting cache 2012-

  • My preview panel in lightroom book module has no "create save book button". Where is it?

    My preview panel in lightroom book module has no "create save book button". Where is it? Is there a workaround to save my book?

  • Where is the "Add New Thread" link?

    I want to add a new thread to the SAP Auto ID Infrastructure forum.  However, there is no "Post New Thread" link to select.  I am logged in.  The instructions say all you need to do is log in and start posting.  How do I find the Post new thread link