BADI/Exit help for FI-CFM

Hello Everyone,
How r u guys? I need some help in BADI/User Exit. I am working on FI - CFM. There is a transaction with TCode- TS01 (Create Securities) / TS04 (settle securities).
I need a BADI/Exit which gets activated when the user clicks on the save button. I tried to locate them but couldnt find anything suitable. I emailed sap and they told me that there is a BADI - FTR_CUSTOMER_EXTENT which I
could use to solve my problem. I did try that and wrote a code in that badi;s EVT_TRANSACTION_SAVE_CHECK method.
But unfortunately when i clicked on save button the badi didnt run. I am in a fix as to what do I do ? The system I am working on is a bit old its SAP R3 4.7C. In that I created a Z badi implementation and embeded the original
badi definition and wrote code and activated everything.
Either the badi I am using (which sap guys told) isnt correct or something. Can anyone guide me as to whats the next step.
Thanks,
JG

Hi,
           To add a new custom tab in TM_XX transactions you have to follow these steps:
1. (SE80) Create a dynpro as SUBSCREEN, with the structure (fields, tablecontrols...) you want in the new tab, located in a modul-pool.
Example: Program: ZCFM001
Dynpro: 1010
2. (SE18) Create your custom implementation of BADI FTR_CUSTOMER_EXTENT. This will create a Z class where you can program the new tab management.
Example: Implementation: ZAMPLIACIOTM001
Class: ZCL_IM_AMPLIACIOTM001
3. (SE24) Implement method EVT_APPLICATION_START of your new class. This method is called when the transaction is going to be painted, and manages (among other things) which tabs need to be shown. In general terms, you will have to assign your dynpro to a function code.
This BADI offers you 2 custom function codes, and so, the ability to add two custom tabs. These function codes are OPEN_TRTM_CUST_01 and OPEN_TRTM_CUST_02.
To add your dynpro to a function code, you have to identify this relationship in the internal table (parameter) PC_TAB_BADI_TABS. This is the table that contains the custom tabs to be added.
To do this, you have to add the following piece of code:
DATA: LS_BADI_TABS TYPE FTROP_BADI_SUBSCREEN.
4.1. Modify the tab structure.
LS_BADI_TABS-REPID = ZCFM001. "Report
LS_BADI_TABS-TEXT_TAB = 'New Tab'. "Text (max. 30 CHAR) to display
LS_BADI_TABS-DYNNR = '1010'. "Subscreen
4.2. Add the new tab.
MODIFY PC_TAB_BADI_TABS
FROM LS_BADI_TABS
TRANSPORTING REPID DYNNR TEXT_TAB
WHERE FCODE = 'OPEN_TRTM_CUST_01'.
And that's it! Now you will be able to see you new tab in these transactions.
I hope this helps you.
<b>Reward points</b>
Regards

Similar Messages

  • Badi / Exit / Enhancement for replacing INSMK during PO creation

    Hi Gurus,
    we want to default the INSMK field (stock type) during Purchase Order creation..
    Can someone help me findind the right BAdI / exit / enhancement for it?
    Thanks in advance,
    Regards,
    Alessio

    Hi Alessio,
    You may check these first:
    Re: Negative postings to MVER table
    Re: select stock type
    Thanks,
    Gordon

  • Enehancement point/BADI/exit required for CO11 save after MSEG entry

    Hi Experts,
    I need a BADI/enhancement point(or include file)/user exit for CO11 production order confirmation for the following situation:
    1. After the 'save' button is pressed for order confirmation post   And
    2. After the insertion of  entry at MSEG table for the order no. is done.   Or
    3. after It just commits the 'save'd order confirmation at last before completing the CO11.
    where the values of the structure AFRUD(or any other name but same thing) i.e. the entered value of order no. and yield quantity,scrap quantity, rework quantity are available.
    Is there any one enhancement?
    [My enhancement will be triggered after the save button is clicked for CO11 tcode and an entry at MSEG for the order is inserted]
    Many many thanks in advanced.
    with warm regards,
    Samy

    What i can suggest is you need to debug it and implement it using the implicit enhancement concept.Its very much possible.
    Just debug it and find the point where data of mseg is updated after in subroutine creat an implicit enhancement and implement the logic.
    In case you need any more help for the same please do let me know.
    Regards,
    Nabheet Madan

  • BADI/Exit..for me21n

    Hello All,
    I need to know BADI for this particualr requirement...i have searched many but they are not seems to give the results....
    requirement is regarding ME21N (Create PO) transaction....
    there is organization tab in create po..there you will find purchasing group.........detailed requirement is as written below.
    Need to have a Trigger with BOTH of the following of 2 variables in order to trigger
    1.     Purch Group=u201DOTBu201D AND
    2.     Total of the PO is > $25,000 USD  (this field is net currency value i.e. netwr)
    Once both of these 2 triggers are hit, there needs to be a POP-UP window to the user that says:
    TITLE:  u201COTB BUDGET WARNINGu201D

    hello ahsan..thanks for your reply...
    i have gone by way u suggested...at first i did write my logic in EXIT_SAPMM06E_006...but as i am creating new PO ..this
    FM does not give me any item data (i.e EKPO details in import)
    then i used this EXIT_SAPMM06E_017  here i coded in this way ..here i have both structures for header and items as import parameter  ..here i coded like this
    BREAK C5133392.
    if I_EKKO-EKGRP = 'OTB' AND I_EKPO-NETPR >= '25000'.
       CALL FUNCTION 'POPUP_TO_INFORM'
         EXPORTING
           TITEL         = ''
           TXT1          = 'OTB Warning Message'
           TXT2          = ''
         TXT3          = ' '
         TXT4          = ' '
    ENDIF.
    this is working fine when i am changing my PO..but i need to work it for PO create.......
    while PO creat i am  getting value of I_EKPO-NETPR  same as that of quantity i entered.....it shd not happend as it shd take value of net price....
    any help...or may be any other method BADI..or anything we can do for this requirement????????

  • BADI/EXIT required for FB60 ..

    Experts,
    While doing entry through FB60, if the payment to the vendor is applicable for TDS (Withholding Tax) and vendor does not have PAN card (J_1IMOVEND-J_1IPANNO is initial for that vendor) then we have to give the error message....
    Please suggest the solution for the same......

    Hi,
    Try to create the validation in the OB28 transaction.
    1. in prerequisite enter the tcode = FB60. and create the user exit .
    2. you need to create the user exit  by copying the program RGGBR000 into Y and Z program and need to configure this program   in T80D table.
    3. in exit use the structure BKPF, BSEG and write the required logic.

  • BADI/User Exit suggestion - for determining Partner in PO header

    Hi All,
    I want to be able to automatically populate and determine a manual partner function within the header of a purchase order creation.
    Example, when PO is allocated against account assignment 'P' then go to the WBS element assigned and retrieve the specific partner number for partner function type XX. Then populate this into the relevant header partner function of the PO.
    Any ideas of which BADI/User exit could be used in ME21N?
    Thanks
    Steve

    Hi Steve
    Before going to search the UserExit/BADI, please remember your account assignment will be at item level and the partner will be at Header level.If you have number of line items with different account asssginments or different WBS elements under account assignment P, it is difficult to determine the partner functional at Header level.Please think on how can you build logic? There are number of BADI/Exits available for Purchase order.
    Regards
    Ramakrishna

  • Search help for the CJ20N trn

    Hi,
        I want to populate the search help for the CJ20N Transaction for the fields in the user fields tab. Can you pl tell the suitable user exit for this.
    Thanks,
    Joe

    Hi,
    I hope the below BADI must help for your requirement.
    Definition Name - WBS_USER_FIELDS_F4
    Interface Name - IF_EX_WBS_USER_FIELDS_F4
    Method - AT_F4
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

  • BADI/Exit for transaction FB05/F-36

    Can anybody help me regarding exit/BADI for transaction FB05/F-36?
    I have tried exits in CMOD such as: F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002 FIDCC1: Change IDoc/do not send
    F050S003 FIDCC2: Change IDoc/do not send
    F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001 Balance Sheet Adjustment
    FARC0002 Additional Checks for Archiving MM Vendor Master Data
    FEDI0001 Function exits for EDI in FI
    RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00 Line item display: Checking of selection conditions
    RFKORIEX Automatic Correspondence
    SAPLF051 Workflow for FI (Pre-Capture, Release for Payment)
    But none of these seem to work.
    Can anybody tell me which BADI or Exit that I can use?

    To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
    Double click on method GET_INSTANCE, put a break point on case statement.
    Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
    You can find the exits in many ways.
    Get the developement class of the transaction code from SE93.
    Then go to transaction SMOD and press F4 and give the Development class in Press ENTER, then it will show all the exits available for that transaction.
    Or
    Go to transaction SE80 and give the development class name and then expand the enhancements tree view then you will get the list of userexits for that corresponding dev class.
    Reward if it is useful.
    Thanks,
    Srinivas

  • BADI OR USER-EXIT NAME FOR CJ20N

    Hi GURU ,
    Is there anyother BADI which is triggre in the time of Confirmation .
    The process is - CJ20N -
    > Internal Activity -
    > User Field -
    > U can select or Not Check box ( I need when we will not select Check Box ) -
    > EDIT -
    > Activity -
    > Confirm .
    In this time which BADI / EXIT is trigger .

    Hi,
    Please check in package CJBADI....there u will get relavent BADI for T.CODE CJ20N....
    hope this will help a lot...
    Regards,
    Kranthi.

  • Search help for BADI

    Hi,
    Is there any search help to get a list of program names. That can be used in the BADI's.
    Or else atleast provide me some steps for creating a search help using search help exit.
    Thanks & Regards
    Santhosh
    Message was edited by:
            Santhosh DS

    Here is how to create search helps..
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm
    you can create new search help for displaying program names.. it is easy...

  • What to do if there is no relavent BADI/EXIT for standard transaction

    Hi,
    Can any one say,What to do if there is no relavent BADI/EXIT for standard transaction.
    Helpful Answer will be rewarded.

    SAP provide some hooks to add our code to the standard program. This is what we called enhancement.
    It has following types:
    1. Personalization ( here the fields can be hide, display only etc. )
    2. Customer Exit ( Function module Exit, Menu Exit and Screen Exit )
    3. BTE
    4. BADI( Function module Exit, Menu Exit and Screen Exit )
    5. User Exit
    Suppose all these are not helpful, then you could create the code from scratch. But it is too difficult to develop because of its complexity.
    So what you can do is get SAP access key and change the code in the standard program. This is called as modification. Advantage of Enhancement and modification is whenever there is a new version come the changes made by us in standard code will be attached in the newer version also. 
    The final way is copy the source code into customer namespace and make changes according to your criteria. Eg. in the standard PO creation if you do like this, several disadvantages are the user has to give a new t.code, BASIS guy has to restrict the standard PO create T.code and you can't avail the new features of future versions.
    Hope this gives you complete picture and solution.

  • Any standarad badi exits for tranction for bp ie in crm

    any standarad badi exits for chnaging or writing code in sap-crm standard tranction bp(busness patner) tr code is bp

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • BADI/EXIT for changing line items (F-02)

    Hi All,
    I want to know any BADIs/EXITs which allow changing of G/L line items in transaction f-02. I have tried substitution it does not work for my requirement.
    My requirement is copying of PRCTR from offset line item to the Vendor/customer line item which always appears as line item 001.
    Thanks,
    Preetham S

    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)

  • EXIT/ BADI/ Enhancement point for User Status change in Order

    Hi all,
    I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
    I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
    I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
    Thanks and Regards,
    Sonal

    Hi,
    Use this Enhancement IWO10009 and call these function module to change the User Status
    STATUS_TEXT_EDIT --> To Read the existing status.
    STATUS_CHANGE_INTERN_VB --> to change the status.
    Regards,
    Satish

Maybe you are looking for

  • Error while updating JTable

    WHAT I WANT TO DO: I display a list of items and their characteristics in a JTable (the content is in a DefaultTableModel). Each time a user buys items, I refresh the list for all the users currently connected to the server. The client buying the ite

  • One of my iPad Mail accounts doesn't work

    I recently changed the password on one of my Apple accounts, and update the settings for my iMac, MacBook Pro, and iPod Touch - with no incident. However, my iPad Mini's Mail account is acting up for some reason. I can access email from two other iPa

  • Workshop for weblogic and spring 2.0.6 not working on weblogic 92

    Hi, I try to use workshop for weblogic 10.1 to create a web project using spring mvc framework and deploy it to a weblogic 9.2 server, and it gives me the error. Here's what I have done: Create a 9.2 server. Create a web project with spring facet, I

  • How to filter a spark datagrid using a checkbox?

    Hi i want to know how can i filter a spark datagrid using  a check. I have a column by the name status on the datagrid, which can be active or inactive. When i check the checkbox i should be able to see all the records and when i uncheck it i should

  • Safari and in-page find

    Safari appears not to search within iframe documents if you use the browser command-f (find). The search box is presented but does not find text embedded in an iframe. This appears to be a bug. The case I am testing is a pdf displayed in an iframe. W