BAdI for fee calculation

Hi, to all specially Joachim
In other threads I have been advised by Joachim to use a different BAdI to derive the account information for the fee calculation. (other than IF_EX_CMAC_DELTA_GENERATE)
I ran a trace using (ST05) to learn which BAdIs could be use during the fee calculation. I found the following BAdI involved in the calculation fee.
BADI_FMDERIVE
CMAC_BADI_DDS
CMAC_BADI_DDS
CMAC_DELTA_GENERATE
IF_EX_CMAC_DELTA_GENERATE
FM_AUTH_OLD_ACTIVITY
FM_AUTHORITY_CHECK
FAGL_PERIOD_CHECK
FAGL_DERIVE_SEGMENT
FAGL_DERIVE_PSEGMENT
EAPS_HRKFT_EXTENSION
IF_EX_EAPS_HRKFT_EXTENSION
BADI_LAYER
IF_EX_EAPS_HRKFT
CMAC_DELTA_FEE
I don´t really which BAdI I can use to derive the company code and the business area by using registration data.
Thank you very much
Sergio
null

Sergio,
In the IMG, there is an area called Campus Management -> Student Accounting -> Fees -> Pricing -> Fee Distribution to Several Company Codes.
You should look here as there is another step just below it called 'Define CO Elements and Assign Function Modules'.  Here you can see how you can define a function module that should be called to determine the Company Code and other Controlling data.
Look at the function module CMAC_ACC_DERIVE_ORG to see the import/export/tables/changing parameters that you should model.
Hopefully this addresses your issue. (It is not really a BAdi.)
Michael

Similar Messages

  • Document type change during fee calculation

    Hi SLCM gurus,
    Our customer wants to change document type for spesific type of students during the fee calculation.
    Is there a badi or event to change the document type for a spesific situation?

    Hi,
    You can enhance event P903 maling a copy of FM CMAC_SAMPLE_P903 to change the document type.
    Hope this helps you.
    Regards.
    Cristóbal.

  • Fee calculation if fee calculation data change after start of academic year

    Hi,
    If I change "Fee calculation data" on student file (piqstm) after start of academic year, fee calculation doesn't use new data even I enter a fee calculation date later than new fee calculation data valid date. If I adjust validity date of "fee calculation data" at the beginning of start date of academic year It works. But I couldn't manage changes on fee calculation data after "start date of academic year".
    Is it possible to calculate fees with new "fee calculation data" if the data changes after start of academic year?
    Thanks

    Hi Joachim
    We have not yet implemented the BAdI, we are using the standard to do the fee calculation. I guess we are gonna have to post a OSS message, cause as soon as I calculate the fee for a student and I run again the fee calculation for the same student without any changes at all, the system creates 2 new documents. I had this effect in the past but only as if you stated I changed something, like a condition or something but now is without any changes that this happens.
    About the BAdI, the problem is that in our college they have more than 70 SC per campus (and the school has more than 12 campuses). The Campus Management team decided that they were going to use only 70 central SC instead of (12 x 70). By doing that we have to use a new derivation system cause the SC is attached a central school. But the reports have to be per campus. So we have plan to derivate the company code and the business area using some registration data (instead of getting it from the SC links). The same will be happening to the cost centers and profit centers.
    Thank you Joachim
    Sergio Artinano

  • How to create a BADI for the sceanrio

    Hi abapers,
    I have a scenario as follows.
    I create a Transaction where in i put the details of the product and quantity for a particular project's site. The amount gets calculated based on the products  unit value and its displayed in net value field. Now the user saves the transaction and a number gets generated. If the net value amount is less than 500 then the user can approve , if its greater than 501 and less than 1500 then a mail should be generated to his superior who is able to approve and ifs amount is greater than 1501 then a mail should be generated to the top of hierarchy who should approve it.
    Now the real challenge is if the same project card  has more than 1  new request and the amount is less than 500 the user should not be able to approve  instead it should generate a mail to his hierarchy for approval  since  the site has already been exceeded its limit of approval. bcoz earlier 500 and current 400 which will make it to greater than 500.similarly for the hiearchy.How do i go about  it.
    Now i want to create a BADI  on the save event of transaction to check the net value amount as well as check for earlier amounts saved for the particular site.
    Any help will be appreciated.
    Regards,
    Navin .

    hai navin
    r u using ECC 6.0 or 4.7 if 4.7 u can create badi defintiion directly form se18 transaction
    and define the interface and its methods , once u define them activate them
    and to use in ur code u create an instance of ur badi name
    and then use
                     cl_exithandler=>get_instance  method in instance name parameter just pass ur badi name and this will create a badi defintion in ur code, and an oen can implement it
    if u r usign ecc6.0 then u can either create new badis usign enhancments or classical badis
    for clasical badis just go to menu  utilites and create classical badis and follw the sam eprocedure
    regards
    m.a

  • BADI for Address Check in PA30 in ECC6.0

    Hi Friends,
    Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0.
    Thanks,
    Pradeep

    check these...
    Enhancement/ Business Add-in            Description
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    PARA0001                                Enhancement for Determining the Number of Periods
    HRRPAI01                                User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPC0001                                HR: PC download authorization
    HRPBAS01                                User Exit for HR Master Data
    Business Add-in
    HRPAD00_PREM                            Definition of User Exit for Collective Search Help PREM
    HRPAD00_RECOG_SCREEN                    Employee Recognition Screen
    HRPADUS_PBAS_0001                       Customer Exit for Message handling
    HRPAD_SUBTY_CHECK                       HR: Master Data, Subtype Check
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HRPAYXX_DELETE_PERNR                    BAdI for Reports Deleting Personnel Numbers
    HRPAD00_PAPM                            Definition of User Exit for Collective Search Help PAPM
    HRPAD00_GET_AF_0008                     Additional Fields for Basic Pay Infotype (0008)
    HRPAD00_ENTRY_LEAVE                     HR_ENTRY_DATE and HR_LEAVING_DATE
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00MGEACTIVATION                    Activation Action BAdI for Global Employees
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_TIME                        Time Logic in the PA Authorization Check
    HRPAD00AUTH_RECORD                      Spanish Data Privacy Law: Exit for Recording
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    HRIV_REDUCE_AMOUNT                      Reduction within Indirect Valuation
    No.of Exits:          8
    No.of BADis:         19

  • User Exit Or Badi for Framework Release PO

    Anyone could tell me about any user exit or BADI for storing the calculated value in Frameork order.
    Since it is storing the GNETW in CEKKO and that is used in releasing procedure.
    First of all i want to calculate the total price according to srat date and end date and then only for framework order put that value in CEKKO-KTWRT field.
    Please Help and suggest some thing about this.
    Thanks & Regards,
    Nitin Malhotra

    Hi,
    Check the following PDF .
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    May be useful to you.
    Regards
    Sachin

  • User exit/BADI for Return PO item delivery Address

    Hi Guyz,
    We have a requirement where in when a PO item is marked as return PO item(In ME21n/ME22n/ME23n We have check box at item level) and click on enter/Check/Save, In delivery address of item details we have to populate Vendor address. By default SAP populates Plant address. If we manually give Vendor number in item details=>Delivery address tab then it populates vendor address. We want to automate this functionality.
    Is there any Exit/BADI which serve this purpose.
    Note: We need this functionality for few doc types(i.e PO doc type should also be available in the exit).
    Any ideas could be really helpfull.
    Thanks,
    Vinod.

    Hi,
    there are some user-exit & enhancements....
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number
    Some BADI s:
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer
    ME_PO_PRICING                           Enhancements to Price Determination: Internal
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    SMOD_MRFLB001                           Control Items for Contract Release Order
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active
    ME_COMMITMENT_RETURN                    Commitment for return item
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking
    ME_CHECK_OA                             Check BAdI for Contracts
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    No.of Exits:         35
    No.of BADis:         55
    Arunima

  • User Exit/BADI for Purchase Order and Purchase Requisitions

    HI,
    I have a requireent where i have to check the the user does not enter both Subitems and Over a Limit for a Service Purchase Requisition.
    Is there a User Exit or Badi that i can use where this information is availaible.
    also i have to check that release strategy is assigned to every purchase order where the version has been completed.
    Is there a User Exit or Badi where Information of EREV table is availaible.
    Regards,
    Tarun Bahal

    For Purchachase requisition , the BADIs and USER EXITS are
    ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
    ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
    ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
    try with the above BADI's
    MEREQ001 Customers' Own Data in Purchase Requisition
    for Purchase order , the BADIs and USER EXITS are
    ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
    ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
    EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
    MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
    ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
    ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
    ME_BAPI_PO_CREATE_01
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PR_CREATE_02
    ME_BSART_DET Change document type for automatically generated POs
    ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
    ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
    ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
    ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
    ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
    ME_CHECK_OA Check BAdI for Contracts
    ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
    ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
    ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
    ME_CIN_MM06EFKO Copy PO data for use by Country version India
    ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
    ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
    ME_COMMITMENT_RETURN Commitment for return item
    ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
    ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
    ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
    ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
    ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
    ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
    ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
    ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
    ME_PO_PRICING Enhancements to Price Determination: Internal
    ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
    ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
    ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
    ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
    ME_PURCHDOC_POSTED Purchasing Document Posted
    ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
    ME_REQ_POSTED Purchase Requisition Posted
    ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
    ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
    ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
    MM_DELIVERY_ADDR_SAP Determination of Delivery Address
    MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
    SMOD_MRFLB001 Control Items for Contract Release Order
    AMPL0001  User subscreen for additional data on AMPL             
    LMEDR001  Enhancements to print program                          
    LMELA002  Adopt batch no. from shipping notification when posting
    LMELA010  Inbound shipping notification: Transfer item data from 
    LMEQR001  User exit for source determination                     
    LMEXF001  Conditions in Purchasing Documents Without Invoice Rece
    LWSUS001  Customer-Specific Source Determination in Retail       
    M06B0001  Role determination for purchase requisition release    
    M06B0002  Changes to comm. structure for purchase requisition rel
    M06B0003  Number range and document number                       
    M06B0004  Number range and document number                       
    M06B0005  Changes to comm. structure for overall release of requi
    M06E0004  Changes to communication structure for release purch. d
    M06E0005  Role determination for release of purchasing documents 
    ME590001  Grouping of requsitions for PO split in ME59           
    MEETA001  Define schedule line type (backlog, immed. req., previe
    MEFLD004  Determine earliest delivery date f. check w. GR (only P
    MELAB001  Gen. forecast delivery schedules: Transfer schedule imp
    MEQUERY1  Enhancement to Document Overview ME21N/ME51N           
    MEVME001  WE default quantity calc. and over/ underdelivery toler
    MM06E001  User exits for EDI inbound and outbound purchasing docu
    MM06E003  Number range and document number                       
    MM06E004  Control import data screens in purchase order          
    MM06E005  Customer fields in purchasing document                 
    MM06E007  Change document for requisitions upon conversion into P
    MM06E008  Monitoring of contr. target value in case of release or
    MM06E009  Relevant texts for "Texts exist" indicator             
    MM06E010  Field selection for vendor address                     
    MMAL0001  ALE source list distribution: Outbound processing      
    MMAL0002  ALE source list distribution: Inbound processing       
    MMAL0003  ALE purcasing info record distribution: Outbound proces
    MMAL0004  ALE purchasing info record distribution: Inbound proces
    MMDA0001  Default delivery addresses                             
    MMFAB001  User exit for generation of release order              
    MRFLB001
    Regards,
    Anirban

  • Is there any BTE or Badi for Vendor Outgoing payment posting

    Hi Experts,
    My client who want the bank commission deduction at the time of vendor outgoing payment on the net values. the bank commission is fix of Rs. 0.07 Paise Per Rs. 1000/-
    The scenario is as below:
    Client who deduct the deduction at the time of Invoice for e.g. can bhade, Sanstha anamat , Prakriya Kharch ,Vahtuk Bhade, Share anamat etc. this deduction are directly update the Accounting GL .
    after that the client pay the vendor dues amount. in this they deduct some deduction through Account (FI) (E.g. Sanstha Audit fee, Shikshan fund, machine anamat) & After deducting the Accounting deduction they calculate bank commission on the net amount (Invoice amount - FI deductions = Net amount)
    Dear Expert, Please help me to work out this problem. in sap at the time of invoice we deduct the deduction as per client required & get the vendor due amount properly.
    but at the time of vendor outgoing payment i had done the FI side deduction manually but i can't get the bank commission on the net dues amount. client required automatic bank commission deduction on the net amount.
    is there any BTE or BADi for Vendor outgoing payment?
    Please help me to workout this issue.
    Warm regards,
    Dhananjay Rahane.

    ok

  • BADI for PM Order data change

    Dear all,
    In one of our requirements, we need to update the data present on the CAUFVD structure before AUFK is updated.
    There is an existing Z bespoke field on the table AUFK added through an include. As a part of the Order creation, this field remains empty and is generally filled in through a workflow that runs after the order is saved.
    The requirement now is to update this field as a part of the Order creation process and it has to be calculated using a Function Module.
    I was trying to see if we can use WORKORDER_UPDATE BADI for this purpose, but seems like this BADI doesn't allow users to Modify/Update the contents of CAUFVD structure. And we haven't found any user exits for the same purpose.
    Is there any way I can update the Z field on the CAUFVD structure through a BADI or an User Exit please?
    Warm regards,
    Vijay.

    Hi,
    After upgardeecc5.0 to ecc 6.0  BADI_SD_SALES_ITEM badi is migrated to spot with same name,so now this spot not working and its saying SAP internal use,but in ecc5.0 we have a code its not effecting on ecc6.0.
    Please help on this .
    Regards
    Mahesh

  • User Exit or BADI for ME21N

    Hi All,
    We are in a situation where in we need to Change the Distribution Channel in the Shipping tab of ME21N transaction.
    Previously, the distribution channel is being picked up form the config (SPRO - Shipping data for plant) but before it picks up from the config we need to change it and update the other distribution channel in the PO.
    We have tried with most of the User exits and BADIs but all of those are of no use for our requirement, as these user exits and badis are triggered after we click on save button. But we need to change the Distribution channel at the point of determination of Shipping data by the system i.e. before save.
    Can any one please help me out with this situation with some User exits or BADIs that are triggered before save button.
    Note: The Shipping data is in EKPV table. We need to change the VTWEG field in EKPV.
    Thanks in Advance,
    Asif Ali Khan

    Asif,
    see these are Exits and BADI for ME21n,
    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)      
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.    
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N                   
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance    
    MM06E001                                User exits for EDI inbound and outbound purchasing documents   
    MM06E003                                Number range and document number                               
    MM06E004                                Control import data screens in purchase order                  
    MM06E005                                Customer fields in purchasing document                         
    MM06E007                                Change document for requisitions upon conversion into PO       
    MM06E008                                Monitoring of contr. target value in case of release orders    
    MM06E009                                Relevant texts for "Texts exist" indicator                     
    MM06E010                                Field selection for vendor address                             
    MMAL0001                                ALE source list distribution: Outbound processing              
    MMAL0002                                ALE source list distribution: Inbound processing               
    MMAL0003                                ALE purcasing info record distribution: Outbound processing    
    MMAL0004                                ALE purchasing info record distribution: Inbound processing    
    MMDA0001                                Default delivery addresses                                     
    MMFAB001                                User exit for generation of release order                      
    MRFLB001                                Control Items for Contract Release Order                       
    LMEKO001                                Extend communications structure KOMK for pricing               
    LMEKO002                                Extend communications structure KOMP for pricing               
    MM06E011                                Activate PReq Block                                            
    AMPL0001                                User subscreen for additional data on AMPL                     
    LMEDR001                                Enhancements to print program                                  
    LMELA002                                Adopt batch no. from shipping notification when posting a GR   
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC    
    LMEQR001                                User exit for source determination                             
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt                                                                               
    LWSUS001                                Customer-Specific Source Determination in Retail             
    MEETA001                                Define schedule line type (backlog, immed. req., preview)    
    ME590001                                Grouping of requsitions for PO split in ME59                 
    M06E0005                                Role determination for release of purchasing documents       
    M06E0004                                Changes to communication structure for release purch. doc.   
    M06B0005                                Changes to comm. structure for overall release of requisn.   
    M06B0004                                Number range and document number                             
    M06B0003                                Number range and document number                             
    M06B0002                                Changes to comm. structure for purchase requisition release  
    M06B0001                                Role determination for purchase requisition release                                                                               
    Business Add-in                                                                               
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.    
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer 
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting                    
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer                
    ME_PO_PRICING                           Enhancements to Price Determination: Internal                
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use     
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation          
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order               
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO               
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests  
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields                   
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions       
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions       
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer   
    SMOD_MRFLB001                           Control Items for Contract Release Order                     
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order    
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address                            
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder      
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV             
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE                   
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address                     
    ME_REQ_POSTED                           Purchase Requisition Posted                                                                               
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions     
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu. 
    ME_PURCHDOC_POSTED                      Purchasing Document Posted                                 
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer          
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal          
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders          
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant          
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active                
    ME_BSART_DET                            Change document type for automatically generated POs       
    ME_BAPI_PR_CREATE_02                                                                               
    ME_BAPI_PR_CREATE_01                                                                               
    ME_BAPI_PO_CREATE_02                                                                               
    ME_BAPI_PO_CREATE_01                                                                               
    ME_BADI_DISPLAY_DOC                     BAdI for Internal Control of Transaction to be Invoked     
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level    
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI                              
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data              
    ARC_MM_EKKO_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EKKO)          
    ARC_MM_EKKO_CHECK                       BAdI: Enhancement of Archivability Check (MM_EKKO)         
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders          
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active       
    ME_COMMITMENT_RETURN                    Commitment for return item                                 
    ME_CIP_REF_CHAR                         Enables Reference Characteristics in Purchasing            
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control         
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India              
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details                   
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges                      
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking         
    ME_CHECK_OA                             Check BAdI for Contracts                                   
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO    
    ME_CHANGE_OUTTAB                        Enrich ALV Output Table in Purchasing                      
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    Amit.

  • Fee calculation triggered by an event.

    Hi again to all,
    We have a new request from our client, they want that the system calculates automatically a fee for any student which SC is changed. This means for example that if a student´s registration was to Architecture, in the minute you change that registration for Medicine, the systems launches a fee recalculation.
    I have explored the SPRO and found:
    Campus Management -> Student accounting -> Fees -> Event-triggered fee calculation
    My problem is that there are no examples in how to configure the 4 items in there.
    In redefine event types for SAP Business Objects, I tried this:
    Object type      CS
    Infotype           1771
    Subtype           0001
    Update op.       UPD
    Object tyoe      PDOTYPE_ST
    I tried to use the the function module CMAC_FEE_CALCULATE, but i get the next error
    "Interface for function module does not follow convention"
    Could someone send me an example of how can this be done.
    Thanks
    Sergio

    Hi Michael,
    Do you know which is the sub-type for SC related to the student?
    I have been doing some tests with this configuration of the Infotype opertation
    - Object type: ST
    - Infotype: 1001
    - Sub-type: A513 (pursues)
    - Update op:  
    - Activity:
    - Sequence no.: 0
    Event Data  OBJECT TYPE: PDOTYPE_ST (THIS IS MANDATORY) (student)
    Probably I´m expecting something which is not correct. What I´m expecting to see is the following:
    If I have a student which has registration to a certain SC and has already a fee calculation, and then I cancel the registration for the SC, I would like to see the financial info and watch that what owed is now canceled, (without doing it manually), afterwards If I register this same student to different SC I´m expecting that the system has already calculated the fee automatically.
    Is this possible? Am I expecting too much from the fee calculation triggered by an event process?
    How does it works??? Do it cancel fees if student unregister from SC or SMs?
    Thank you
    Sergio

  • Exit or BADI when Tax Calculation in MIRO from Purchase order

    Hi Gurus,
    I Need a Exit or BADI when Tax Calculation in MIRO from Purchase order.
    The problem is the tax is automatically calculated from tax code in PO but I want it to be calculated
    from PO condition. Is there any exit available by which I can modify the value of tax when ticking the check box of tax calculation in MIRO.

    BADI has method COPY_DRSEG_SELKZ but since there only importing paramters and no exporting or changing parametrs you cannot change the values of rseg here.
    Try using proper Implicit enahncement by debugging .
    For implicit enhancement check
    Re: How do we search enhancement point/section
    Edited by: Gautam Totekar on May 29, 2009 5:56 PM

  • Userexit/BAdi for CBIH102  (HR-EHS module)

    Hi guru's,
    Please help find the userexit/BAdi for Transaction code: CBIH102. The Requirement is to auto-populate the Accident Category  (CCIHT_IPEVA-IALPCAT) field  during the Creation/Change mode. I tried the below exits/BAdi & set all the breakpoints, activated CMOD projects and even implemented BAdi. It is not triggering. Enhancement Framew
    Object Name                                 Description
    EHSIAHM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Header
    EHSIAHM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Header
    EHSIAPM1                                     EH&S: Menu Exit 1 for Incident/Accident Log Person
    EHSIAPM2                                     EH&S: Menu Exit 2 for Incident/Accident Log Person
    EHSMPHM1                                   EHS: Menu Exit 1 for Measurement Project Header Data
    EHSMPHM2                                   EHS: Menu Exit 2 for Measurement Project Header Data
    EHSMPJM1                                    EHS: Menu Exit 1 for Measurement Project Measurements
    EHSMPJM2                                    EHS: Menu Exit 2 for Measurement Project Measurements
    EHSSARA                                     EHS: Check/Edit Lines in SARA List Before Printout
    BAdi Name                                    Description
    EHSI_AC_COSTC                          EHS: Cost Calculation in Safety Measures
    EHSI_ANNC_RATCP                      EHS: Calculation of Rating of Standardized Criteria
    EHSI_ER_MEX_01                          EHS: Risk Assessment Menu Exit 1
    EHSI_ER_MEX_02                          EHS: Risk Assessment Menu Exit 2
    EHSI_ER_MEX_03                          EHS: Risk Assessment Menu Exit 3
    EHSI_ER_MEX_04                          EHS: Risk Assessment Menu Exit 4
    EHSI_FAL_***_SRV_SCR           EHS: Screen Enhancement: Injury/Illness Log-Service Assignmt
    EHSI_FAL_MEX_01                        EHS: Injury/Illness Log Menu Exit 1
    EHSI_FAL_MEX_02                        EHS: Injury/Illness Log Menu Exit 2
    EHSI_FAL_MEX_03                        EHS: Injury/Illness Log Menu Exit 3
    EHSI_FAL_MEX_04                        EHS: Injury/Illness Log Menu Exit 4
    EHSI_IA_RPHDFLG_COMP             EHS: Determ. of Reportable Event Indicator in Inc./Acc. Hdr
    EHSI_INT_ORG_1403                     EHS: Write Long-Term Average to Infotype 1403
    EHSI_MJVA_MATCHUP                  EHS: Transfer Measured Values - Amounts
    EHSI_MJ_IMPORT                           EHS: Import Measured Values
    EHSI_MJ_MEX_01                           EHS: Measurement Management - Measurement - Menu Exit 1
    EHSI_MJ_MEX_02                           EHS: Measurement Management - Measurement - Menu Exit 2
    EHSI_MP_CREATE                          EHS: Create Measurement Projects
    EHSI_MP_DV_SCR                         EHS: Screen Exit: Device List in Measurement Management
    EHSI_MP_EPI_IMP                           EHS: Import Exposure Profile
    EHSI_MP_METHOD_HELP               EHS: F4 Help for Measurement Method
    EHSI_MP_MEX_01                           EHS: Measurement Management - Meas. Project - Menu Exit 1
    EHSI_MP_MEX_02                          EHS: Measurement Management - Meas. Project - Menu Exit 2
    EHSI_WA_MEX_01                         EHS: Work Area Menu Exit 1
    EHSI_WA_MEX_02                         EHS: Work Area Menu Exit 2
    EHSI_WA_MEX_03                         EHS: Work Area Menu Exit 3
    EHSI_WA_MEX_04                         EHS: Work Area Menu Exit 4
    EHSI_WA_OVERALL_RAT             BAdI Default Impl.: Work Area Overall Rating
    EHSI_WA_RECEIVED_RAT             BAdI Default Impl.: Work Area Received Rating
    EHSI_ACPM_DATA_TRANS           BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_HEAD_SCR                  BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_1                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_MEX_2                          BAdI Default Impl.: Work Area Received Rating
    EHSI_CLM_PAY_SCR                    BAdI Default Impl.: Work Area Received Rating
    EHSI_IAL_COSTS_SCR                 BAdI Default Impl.: Work Area Received Rating
    EHSI_IPEVA_TIMDAT                     EHS: Make the Multiple Absences in the I/A Log flexible
    Regards,
    Vinayak

    Up please )

  • BADI for ME27

    Dear all,
    Is there a BADI available for ME27?
    The scenario is such that the client wants to make the POu2019s through ME27 only and not through ME21N
    We have used the BADI ME_PROCESS_PO_CUST and put the code in PROCESS_ITEM  and getting the required result as desired.
    But this BADI does not trigger when creating a PO through ME27.

    hi,
    check these badi's related to me27.
    Business Add-in
    ME_BAPI_PR_CREATE_01                    BAdI: Enjoy BAPIs for Purchase Requisitions
    ME_BAPI_PR_CHANGE_02                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)
    ME_BAPI_PR_CHANGE_01                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Change)
    ME_ACTV_CANCEL_PO                       BAdI for Activating the Cancel Function at Header Level
    SMOD_MRFLB001                           Control Items for Contract Release Order
    MM_EDI_ORDERS_OUT                       Enhancements for IDoc Output of Purchase Order: Internal
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_EDI_DELFOR_OUT                       Enhancements for IDoc Output of SA Releases: Internal
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_BAPI_PR_CREATE_02                    BAdI: Enjoy BAPIs for Purchase Requisitions (Method Create)
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_CHANGE_CHARACTER                     Customer-Specific Characteristics for Product Allocation
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    EXTENSION_US_TAXES                      Extended Tax Calculation with Additional Data
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched. Agreemnts with Rel. Docs
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    MEGUI_LAYOUT                            BAdI for Enjoy Purchasing GUI
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_CCP_BESWK_AUTH_CH                    BAdI for authorization checks for procuring plant
    ME_CCP_DEL_DURATION                     Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CHECK_ALL_ITEMS                      Run Through Items Again in the Event of Changes in EKKO
    ME_CHECK_SOURCES                        Additional Checks in Source Determination/Checking
    ME_CIN_LEINRF2R                         BADI for CIN India - Delivery charges
    ME_CIN_LEINRF2V                         BADI for LEINRF03 excise_invoice_details
    ME_CIN_MM06EFKO                         Copy PO data for use by Country version India
    ME_CIP_ALLOW_CHANGE                     Configuration in Purchasing: Changeability Control
    ME_CIP_REF_CHAR                         Facilitates Reference Characteristics in Purchasing
    ME_COMMITMENT_STO_CH                    BadI for checking if commitments for STOs are active
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Custome
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    reward points if hlpful.

Maybe you are looking for

  • How do I create an itunes Connect Account?

    I am trying to test an app using TestFlight and some of the forums say that I need to have an iTunes Connect to get into testflight. I have an apple account but cannot figure out how to start an iTunes Connect Account. Please let me know if anyone ha

  • How do I patch CarbonCore framework in Snow Leopard 10.6 to end freezes?

    Hello community,      Ever since I updated my early core duo (1,1) MacBookPro to 10.6 (the highest software it can use) It has frozen crashed and rebuilds the directory on restarts. My Mac Mini which can run Lion did the exact same thing when I did a

  • Computer shuts down when backing up

    Hello, I am using an iMac with Mountain Lion 10.8.3. My Apple Airport Extreme is about one year old (fully updated and current). I am on a DSL connection with AT&T. I am backing up to an external 1.5 TB hard drive (non-Apple brand). There is lots of

  • Lost iphoto, cant install again

    I have lost iphoto, it is no where to be found and some kind soul from here advised me to reinstall. I cant. Help, please Heres what I tried: Installation disk 1- it restarts as it should. Then I get a window that says welcome to Mac 0s x. There are

  • Protecting java source code

    I heard about the possibilty of decompiling the java code and getting back the source code, is this flaw specific to java or is it common among all programming langauges? how is it possible to protect the source code? and how expensive is the solutio