Cost center in FB01 - User exit or BADI

Hi,
I would like to change the cost center field data in transaction FB01 with some other data based upon some conditions.
Please suggest with user exits or badi.
thanks.

Thanks for reply.
In the user exits mentioned, checking for cost center value in the import parameter DOC_ITEM_TAB and based on some validations i have changed the it to other value. But this new value is not considered by the program still it is creating with the old value.
The changed value has to be exported from the user exit right? this is not happening as we know dont have cost center field in export or changing parameters
Please suggest

Similar Messages

  • User-exit or BADI to fill cost center if we know personal number in FB60

    Hi experts,
    When we enter a vendor invoice in FB60, if we know Personal Number, can we get its Cost Center automatically from PA0001 when we press "Enter"?
    Is there an user-exit or Badi which can be triggered when we press "Enter" or how we do the configuration?
    Thanks for your helps.

    Hi
    I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
    FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
    ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
    <KOSTL> = .......
    Max

  • User Exit or BADI on saving of Sales order cost estimate (CK51N)

    Hi,
    Can any one share with me what are the User Exit or BADI that gets triggered on saving of Sales order cost estimate (CK51N).
    Regards,
    Bijay

    Hi
    Check the link
    Need Enhancement Spot or BADI for transaction ck51n
    Regards
    Sanil

  • How to delete Remittance Advice through FB01 - which User exit or BADI?

    I have created a BDC program for transaction FB01 to create an FI posting.  During this BDC session, i need to delete the associated remittance advice using the function REMADV_DELETE.
    Is there a user exit or BADI that i can use to call REMADV_DELETE once the FI posting is successful?
    Thanks,
    Jay

    Jay,
    In BTE there are two types of exit - Publish and Subscribe (P&S) and Process.  Generally P&S give access to read data from a transaction and trigger your own processing as a result, while Process give access to change parts of the data in the SAP transaction.  For what you want, P&S probably gives the functionality you need.
    You need to copy the sample function to a Z function in a Z function Group.  Put in your code, and activate the function and function group.  As an initial test just a break-point in the code is useful to see when the exit executes and what data is available.
    Then in transaction FIBF you need to insert customising to link in and activate the exit.
    In the FIBF transaction, go to menu option Settings>Products>Of a Customer.  Select New Entries and create a Z... entry with appropriate text. Leave other fields at this time and save.
    Go to Settings>P/S Modules>Of a Customer. Select New Entries and create an entry for the relevant event number with the Z product you just created and add your function module name. Country and Appl can be filled or left blank for "All". Save the entry.
    Go back to the Settings>Products>Of a Customer entry and selct the activate check box and save the entry.
    Your function should now get executed at the relevant point.  Remember this will get executed in all posting transactions, so include appropriate checks for your transaction code, document type, etc.
    One note.  Transaction FB01 performs some of its updates using "IN UPDATE TASK" so some records may not be created at the time some exits are executed.  In the old style debugger a commit is performed when you debug so the update is triggered, but then when you run without the debugging things work differently.  The new style debugger lets you debug these exits without the commit and thus gives a better picture of what will really happen.
    Andrew

  • User Exit or BADI to change the product cost

    Hi All,
    My requirement is to change the product cost when the costing engine is running via ck11n or ck40n. Iam looking for user exits and BADI's for this requirement.
    I did look into the BADI DATA_EXTENSION_CK but this particular BADI does not have export or changing parameters. Can anyone suggest any user exit or BADI's for this requirement. I also looked into other BADI's like
    CK_KALAMATCON2_CI
    COSTINGRUN_CK
    COST_APPORTION_CK
    CO_PROD_COSTING_CK
    DYNPRO_EXTENSION_CK
    ORDER_COSTING_CK
    QUANTITY_STRUCT_CK
    SUR_STOCK_TRANSF_CK
    VALUATION_CK
    But none of them served the purpose. Plz help...Thanks in advance...
    Regards,
    Nirmal.

    Hi,
    Check followinf enhancement spots:
    CO_PROD_COSTING_CK              Cost Management for Joint Products (Costing, Target Costs)
    COSTINGRUN_CK                         Edit Costing Run
    ES_CAL2TYPE                             ES_CAL2TYPE
    ES_LCK40VWS
    ES_SAPLCK00                            es_SAPLCK00
    ES_SAPLCK01                            es_SAPLCK01
    ES_SAPLCK04                            SAPLCK04
    ES_SAPLCK2U                            es_saplck2u
    ES_SAPLCK36                            es_saplck36
    ES_SAPLCKCC02                        ES_SAPLCKCC02
    ES_SAPLCKDI                             ES_SAPLCKDI
    ES_SAPLCKKK
    ES_SAPRCKCU
    ESC_CL_COSTING_PERSISTENCE
    LCKDIO2M_01                             ES_SAPLCKDI
    LCKDIO2T_01                              ES_SAPLCKDI
    ORDER_COSTING_CK                 Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK               Enables Quantity/Structure Changes in Costing
    VALUATION_CK                           BAdI for Valuation in Product Costing
    Hope this may be useful..
    Regards,
    Prashant

  • User Exit or BADI to update the service order  in R/3

    Hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1. Planner Group
    2. PMActType – Plant maintenance activity type
    3. Cost/Profit Centre
    4. WBS element
    5. Work center
    so my requirement is there any function module or Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ramana

    Hi Ramana,
    Go to SPRO Transaction and follow the below path
    Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
    Check these BADI's useful for you.
    Regards,
    Lijo Joseph

  • User exit or BADI for MIGO to Update a field in MSEG-KOSTL

    Hi,
    I want to update/change the KOSTL (Cost center) value before creating/posting  the document.
    Please let me know is there any user exits or BADI,  which will export the MSEG structure.
    Regards,
    Ganesh

    Hi
    I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
    FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
    ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
    <KOSTL> = .......
    Max

  • User Exit or BADI  to update the  service order

    hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1.     Planner Group
    2.     PMActType – Plant maintenance activity type
    3.     Cost/Profit Centre
    4.     WBS element
    5.     Work center
    so my requirement is there any function module or  Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ram
    Message was edited by:
            RAMANA MYLAPALLI

    Best Possible way is.
    go to se24 -> type in CL_EXITHANDLER -> Go to get_instance method.
    Put a breakpoint on CALL METHOD cl_exithandler=>get_class_name_by_interface.
    Now run the transaction and check which all BADI and user exits are invoked when u call the transaction.
    Idenitfy the BADI which can be useful to you.
    Reward if u find it useful.
    Thanks
    Kartavya

  • User Exit or BADI for IW31

    I would like to populate the cost center in work order to PR. Is there any user exit or BADI ? I had try IWO10009, it doesn't work.
    Please help on this. Thanks.

    Hi all
    I am from FICO but I have quite the same issue. I would really appreciate if PM gurus can help me in this. From FICO point of view, the Cost Center from t/code iw31 needs to be populated so that later, auto-created PR then PO followed by GR, will be reflected in Cost Center Reports such as Cost Center:Actual/Plan/Variance. This is important for accurate management reporting. In addition, t/code FBL3n Display Line Items for that G/L account, will show which Cost Center expenses are posted into.
    Eva
    Does this why you need the Cost Center to be populated?
    Thanks & regards
    Fauzi

  • User exit or BADI available for the CAPP in CA03.

    Hi,
                I have a requirement to populate the standard CAPP values to the work center activities of the routing only when all the activities are having a blank value.Please see the below paragraph for better understanding.         
    Currently in SAP when executing CAPP for a work center of the routing it over writes the existing values populated on the routing for the setup,labor,standard labor,man occupation,machine occupation…etc whether the values are blank or not. An enhancement needs to be made to only populate operations standards when all the values are blank.
    If routing is not populated with setup, machine, labor standards, man occupation, machine occupation and work center is setup for default standards in CAPP, then run the CAPP process to apply standards from work center zcappstds table. The program that is run to apply these standards currently is SAPLCETO. Potentially ca96 and the batch process that updates the material master RCPMAU01 will have to be adjusted as well.
    Please help me if anybody knows the user exit/Badi for this requirement.Please reply me soon this is an urgent requirement
    thanks in advance,
    Samyuktha.

    I dont have details abt exact user Exit or badi which will suit ur requirement. But below info will give you the way to find out the same.
    Have a look at below link,
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • User Exit or BADI for catch the document number after saving the document

    Hi ,
    I am working on data conversion where Document number(BELNR),BKPF and BSEG  data should
    transfer to my Z table(Containes fileds of BKPF and BSEG) after SAVE the document related to
    Tcodes F-01 , F-22 , F-28 , F-43 , FB01 , FB02, FB60 ) . It need to go through by any user-exit or
    BADI.So Could you please suggest me any User exit or BADI ASAP.
    Waiting for reply.
    Thanks
    Lakshmi

    You should use BTE (Business transaction event). This concept is used especially for FI related enhancements...
    Study this document to know how to use BTE
    http://www.todoabap.com.ar/archives/FI%20Enhancement%20Technique%20-%20How-To-Guide%20on%20the%20Usage%20of%20Business%20Transaction%20Events%20(BTE).pdf
    Let me know if you face any specific issues..

  • F110 - Automatic Payment (User Exit, BTE, BADI)

    I have requirement after generating payment document by F110 automatic payment. I need to send data to other system.
    How to get all payment documents? Can I use a BTE, User Exit or BADI? Kindly help me.

    Hi ,
    You can create a DMEE  or genrate Idoc  to another system .
    If you want to send excel file then you can create a dmee file in transaction DMEE with same formt provided by bank/ another system .
    many Thanks

  • User-Exit or BADI for MB51

    Dear all,
    In MB51 report, sale order value is not showing values even though it actually has.
    What could be the reason?
    If the answer is User-exits or BADI, can u suggest me the correct user-exit or BADI.
    I have already tried the following user-exits by placing BREAK-POINT in the includes. But no where the execution is breaking.
    MBCF0002            Customer function exit: Segment text in material doc. ite
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc
    Plz give some suggestions.
    Regards,
    Prem

    Hi ,
    U need to change the layout of MB51 in order to get the SO no.
    goto MB51---> give some inputs ---> in the o/p screen ->click on the variant button-> on the pop screen u, top of it u will get 2 options
    1.Header
    2.Position
    click Position Button ---> here u will get all Fields avail. for this Report O/P , so u can add SO field and save the variant.
    regards
    Prabhu

  • How to find the user exits and BADIS from SPRO

    Hi all,
    please let us know how to find the User exits or BADIS for an application from SPRO.
    Regards,
    Madhavi

    Hi Varisetty,
    Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
    For User Exit:
    Put "/h" in the command box (to start debugging)
    Execute your transaction
    When you enter debugging - put a breakpoint at statement
    CALL CUSTOMER-FUNCTION
    the control will stop at all calls to User Exits
    For BAdi (it's simpler)
    Go to class CL_EXITHANDLER in SE24
    Enter method GET_INSTANCE
    Put a breakpoint in this method
    Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
    Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
    Cheers,
    Adi

  • User Exit or BADI for Material,BOM,Customer,Vendor

    Dear All,
    I have requirement where if User A changes a Material X .It should go for approval by workflow.
    When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
    and restrict him from changing the Material.
    Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
    I need exit or BADI for BOM, Vendor and Customer also.
    Thank you.

    Hi,
    You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
    BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
    Thanks and Regards,
    Prabhakar Dharmala

Maybe you are looking for

  • IPhone shows up in itunes when try to sync, disappears

    iPhone 5s, iOS8.2 Plugged in, on same wifi network Device shows up in itunes.  When I added a playlist for my phone to sync and clicked sync, it said "looking for device," then that dialogue box disappeared and nothing happened.  Then an error messag

  • GL Query Help

    Dear All, I need to retrive the je_jeader_id and je_line_number in GL for a range of account code combinations, for a range of periods, for a ledger, for a currency. I am using below query .. but which gives me values which doesnt belong to the perio

  • ITunes for Mac OS 10.4.11

    Is there an iTunes version that will still allow me to use the iTunes Store? I have iTunes 8.2. When I go to use the iTunes store it forces me to download 10.3, but I do not meet system requirements. There is no other way to bypass the update. I trie

  • Database selection through use of a parameter

    Post Author: jmetaxas CA Forum: Publishing I am currently using Crystal Server.  I would like to know if there is a way to use parameters to allow the end user to select which database source to use when running a report.  We have a number of databas

  • Tsnlistener

    hi, i am new to oracle and i just installed version 8.0.5 on linux. when starting the listener, i get the following message LSNRCTL> status Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=sid0)) TNS-12224: TNS:no listener TNS-12541: TNS:no listener TNS-125