Instead of user exits?

Is there any other method to meet the customer requirements instead of User Exits?

Hi,
BADIs is other method to meet the customer requirements instead of User Exits
i will explain the <b>difference between USER EXIT and BADI.</b>
The major difference between Badi and customer user exit is badi can be built by class and methods means it’s purely relates to OOPS (Object oriented) and with single badi can contain multiple methods, so that one badi can contains screen, field, function exits.
<b>For BADI:</b>
Suppose let say imepl1 has created for badi00 and this badi00 contains 3 methods, in which you activated one method. Now you can also create one more implementation say imepl2 has to be create for badi00 to be use for method 2.
<b>Conclusion: One BADI can implement multiple times but not Customer exit of project.</b>
And coming to <b>customer user exit</b>, I will explain scenarios
There is requirement you need to be use the enhancement or function exit which already activated under one Project name.
As you know one project can contains multiple enhancements and enhancement also contains multiple function exits.
1)       Suppose if you are going to be add one more enhancement in existing project which already implemented by some one. Now you have to go to existing project and go to ‘Enhancement assignment’ and click on change mode, add new enhancement then by default it will display all function exits which it contains. Then as you know to add the code into include under particular function exit and activate include and come back and press activation button under enhancement screen and come back to initial screen ie CMOD screen press ‘active’ button. This is one way to active or implement the existing project by multiple times.
2)       second scenario is suppose if  enhancement contains multiple function exits out of one user exit already activated by some one of written some code. Now you need to be writing or use other function exits under the same enhancement of same project. In this case you can’t  activate the function exit under separate project instead you need to be use the same project, by writing code in particular include by create it. This is one way you can use the same project as well as same enhancement, but creating or activating new function exit.
3)       Third scenario is if you want to add the code to the existing function exit. Suppose if some one else already activated one function exit with code. Now requirement has come to add some more functionality to the same exit under the same enhance, and same project. This is like modifying the existing report or program.
<b>Conclusion: You can’t activate one enhancement under two projects</b>
<b> Reward with points if helpful.</b>
Regards,
Vijay

Similar Messages

  • USER EXIT FOR IDOC CREATION AND TRIGGER

    I needed a user exit in which I could call my function module .The requirement is that whenever a sales order is created or changed ,on saving of the sales order I need  to trigger an IDOC .Inside my function module I plan to use the MASTER_IDOC_DISTRIBUTE
    Can anyone tell me if the above logic can work and please tell me the name of the user exit which I can use?

    Hi
    Instead of User exit, you can think of using SAP Standard Output type functionality.
    Ask your functional consultant to create a Output type with Medium 6 and do the necessary outbound configuration in the Partner profile WE20 transaciton.
    Regards
    Madhan D
    Edited by: Madhan Doraikannan on Dec 10, 2008 10:49 AM

  • User exit in SO item level & rounfing profile from SH of CMIR instead of SP

    Hi Folks,
    Can any one of you suggest me an user exit in sales order line item level?
    I want something which stops before/ or just after entering the quantity in the item level.
    We wanted to set up a issue which deals with rounding profile comming from CMIR record to take from Ship-to rather than standard Sold-to party functionality.
    Thanks a TON in advance.
    Praveen.

    Hi praveen,
    please check these exits .
    OGM10015,
    OGV90011
    OIKNB02
    SDVAX001
    V45A0002
    V45A0003
    V45A0004
    I THINK IT IS HELP FULL FOR U.
    <b>REWARD IS USEFULL</b>

  • User Exit for Sorting Prod Ord. Status by date instead of status(CO03) ?

    Hi Experts
    While using TX CO03 and on Production Order Header screen
    Header->Status Changes
    Change documents in Status management is displayed.
    On this screen the table is sorted by System Status.
    We want to sort this table by Date and time and not by System Status which seems SAP default.
    I understood based on your response that we need RICEF for this.
    I was wondering if there is a user exit for this ?
    Pls advise if anybody has found and used a user exit for this.
    Appreciate your help.
    Regards
    Gaurav

    Thx

  • Charaction Relationship User Exit

    Hi, all.
    In our project we encountered with one problem with BI IP. We have characteristic relationship based on attribute without derivation, but the problem in that control date don't work correct. We tried solve this problem, but we didn't its. And now we want instead CR based on attribute use CR based on User Exit. But I don't clearly understand what method of interface IF_RSPLS_CR_METHODSI must use.
    I know how use DERIVE method of this interface, but this method is triggered, when we try to save data. But in this case I need create combinations of relationship during executing query.
    Anybody know or have any documentation about methods CREATE and CHECK of this interface.
    wbr,
    Fanil.

    Hi, Haritha.
    I say about Characteristic Relationship based on Exit without derivation. Maybe I don't clearly understand you.
    wbr,
    Fanil.

  • How to get the values from form calls in user exit?

    Hi all,
    I am not getting a specific value readily in an user exit.
    ?Can any one tell me how to find what are the fields,tables available in various form calls(visible while debugging) in an user exit.
    For example sapxkl is one ofthe callls...(sapxkl)<table>[] will hold some data.how to find what r the values available for <table>.
    Thanks.
    Edited by: sanjay_ask on Apr 16, 2010 10:43 PM

    HI ,
    Use this line of code
      field-symbols: <l_fs> type any.
      data: l_value type char20.
    Get Plant
      l_value =  '(SAPLCEI0)GV_WERKS'. " Here give the program name and variable name
      assign (l_value) to <l_fs>.
      v_werks = <l_fs>.         " Instead of V_werks use you internal table
    Thanks
    Subhankar

  • IPC Pricing with AP 7.00 Database Access/Call function module user-exit

    Hi experts,
    we are running SAP ECO on SAP ECC 6.0 with IPC Pricing AP 7.00 running in the VMC.
    I'm facing a new requirement. In an user-exit for requirements the access to the ABAP database is needed.
    (I know that the SAP recommendation is, don't have access to database. But we need this functionality)
    In ABAP it looks like:
    select single * from  a590
          into     LH_674_a590
          where    kappl  = 'V'
          and      kschl  = 'ZSPR'
          and      kunnr  = komk-kunnr
          and      matnr  = komp-matnr
          and      datbi  >= komk-prsdt
          and      datab  =< komk-prsdt.
    Is there a possibility to implement the same SELECT in the Java-User-Exit?
    Is there maybe the alternative to call a function module instead?
    The database exits on the same application server on which the VMC runs.
    If there is a possiblity can anyone provide me with sample coding or give an advice where to find samle coding?
    I would prefer to call a functions module.
    Thanks in adcance
    Karl-Wilhelm

    Hi Shanto & Sumit,
    Thanks for the inputs.
    as per my understanding of the log
    java.lang.IncompatibleClassChangeError: com.sap.leasing.pricing.tools.LeasingPricingTools: method getPricingConditionByConditionTypeName(Lcom/sap/spe/pricing/transactiondata/userexit/IPricingItemUserExit;Ljava/lang/String;)Lcom/sap/spe/pricing/transa ctiondata/IPricingCondition; used to be stati
    error is thrown by the SAP standard user exit and because of which execution is failing in customer user exits and surprisingly we have not made any changes in both of them.
    this was working earlier before upload.could this be because of the jar packaging.
    how i can download the standard user exit com.sap.leasing.pricing.tools.LeasingPricingTools from crm
    for further investigation.
    Thanks,
    Siddharth

  • Can't find user exit or enhancement at RGJVBR15

    Hi everyone,
    I need your help guys. Right now,i'm developed sapscript for billing statement (cash call and expenditure). I have finished the form but i have problem at print program RGJVBR15. This print program is called by RGJVBR10 (Tcode : GJ14 --> Hard Copy Billing).GJ 12 and GJ 13 is used to extract data that will be used by forms.
    There is statement like this in RGJVBR15 at subroutine CREATE_EXPENDITURE (Line 1421 in include file RGJBF_I1) :
    AT NEW C5_CURR. --> Group by funding currency
       PERFORM POPULATE_SPOOL_ID
    ENDAT.
      PERFORM F6100_PROC_...  -> This will be used to open form,write form (sapscript)
    AT END OF C5_CURR.
    ENDAT.
    The problem is that i want to change this logic. I want to change the standard logic (display report group by funding currency), i want to ignore this and instead using group currency. So there only one report produced with one currency only (if using standard logic there is more than 1 report based on funding currency). But i can't find user exit or enhancement in this SAP Standard Program. Is anyone know if there is user exit or enhancement in this program? I don't want to use implicit enhancement because it's will produce problem when client want to upgrade their system. Thank you.
    Best Regards,
    Satria

    hi,
    for tcode GJ14 user exits avaliables are
    Exit Name           Description
    JVA-IM-1             Joint Venture: Integration Manager Set Intercompany Lines
    JVA_IM_2            User Exit Splitting
    JVA_IM_3            User Exit Check Document
    regards,
    paras

  • User exit for requested delivery date at SO header

    Hi Experts,
    Trying to find a user exit which can be used to calculate the default requested delivery date in the order header based on the current date and the lead-time in the route.
    By default, In SO header, requested delivery date is system date.
    On based some conditions, i need to add lead time in current date and finally this date should be populated instead of current date in requested delivery date field .
         The RDD( requested delivery date ) determination should happen only for some order types and for some sales organization & Distribution Channel.
    Thanks,
    satendra pateria

    Hi Ravi,
    Thanks  for input.
    I neee one more favour on enhancement for automatically batch determination.
    In SO item level, when one item is given and press Enter automatically Batch getting popualted.
    I need to check Batch Expiry date and if it got expired then need to display a error message.
    As of now  i got one user exit EXIT_SAPMM07M_010.
    And Batch validation should be happened only for some order types and some Sale Org + Distribution
    channel.
    Thanks,
    satendra

  • Packing data at delivery user exit or BADI time

    I create a delivery and enter associated packing data (handling units HU), then save the delivery.  At user exit time, the delivery header is available via XLIKP and the delivery items are available via XLIPS tables, but the packing data is not! 
    Now, program SAPMV50A has a table called CVEKP, whose structure is VEKPVB, the handling unit header, but this table is always empty.
    I thought I had a solution: instead of putting my custom logic in user exit MV50AFZ1, I tested putting my logic in the "Delivery Publish" BADI.  Supposedly, this one is executed after the commit work, and so I could then read table VEKP directly and get the handling units. No such luck!  Unfortunately, at the time the BADI is executed, the VEKP table may or may not be updated.  Even adding the WAIT option wasn't 100% effective.
    But these attempted workarounds still leaves the big question unanswered: "Where are the handling units data stored during execution of transaction VL01 or VL02"? 
    Anybody know?

    which BADI u have seen ?
    what abt ur requirement ?
    Regards
    Prabhu

  • Display error message in user-exit EXIT_SAPMP56T_002

    Hi,
    I'm doing a validation in user-exit EXIT_SAPMP56T_002 (include ZXTRVU03), and I want to display a error message. So, I'm using the instructions:
    continue_with_update = 'N'.
    MESSAGE ID xxx TYPE 'E' NUMBER yyy.
    What happens is that in SAP GUI it works fine, but in SAP Portal it gives a lot of java exceptions.
    Is there other way to display the error message that it works fine in the portal?
    Thanks.
    Sónia

    Hi,
    I tried with that but it doesn't work.
    With the instruction "Message ID..." the portal shows an RFC ERROR SYSTEM FAILURE with all that java exceptions.
    With your suggestion it does not retrieve my message, and instead it retrieves a customized message "Trip cannot be saved in this status, check mileage start and end location", that refers to the expense report and does not make any sense when I'm only creating the trip.
    Any idea for this?
    Thanks.
    Sónia

  • I have to find out which user exit useing

    Hi All,
    functional consultant useing user exit ,for substitution of profir center.
    can any body plz tell ,which user exit he useing to get profit center value.
    thanks,
    venu.

    For substitution Tx:GGB1 is used. go to the tx, select FI accounting, line item, Step, double click on substitution, u'll find user exit like U100, double click on it, thats the code used for substitution.
    If its different functionla area, select it instead of FI in GGB1
    Tx: GCX2 shows the Z program (like ZGGBS000) used for substitution.
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • How to know where the user exits or enhancement used in standard sap code?

    Hi
    I m pretty new to abap.
    How can I know where the user exits or enhancement used in standard sap code?
    As i have to add some functionality to the standard sap code. I m looking to search the enhancement or user exits used in this standard code wher i can add my functionality.
    thanks in advance.
    Moderator message : Search for available information, thread locked.
    Edited by: Vinod Kumar on Oct 19, 2011 2:38 PM

    Hi Henry,
    I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
    If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
    PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
    PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
    PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
    Srinivas

  • Difference b/w Customer exits and User Exits

    Hi,
    Can anybody explain diff b/w user exits and customer exits .
    How to find out and Impement the coding ..
    Thanks Advance
    Rohan.A

    Hi Rohan,
    Check this matter , this may be helpful to you.
    <b>CUSTOMER EXITS</b>
    The enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
    If you want to enhance the functionality of your SAP System, you should take advantage of the exits available in standard applications. There are two main reasons why you should use exits rather than modifying SAP software yourself. Add-ons attached to exits have the advantage that:
    •        They do not affect standard SAP source code
    When you add new functionality to your SAP System using SAP’s exits, you do not alter the source code of standard SAP programs in any way. The code and screens you create are encapsulated as separate objects. These customer objects are linked to standard applications, but exist separately from SAP’s standard software package.
    •        They do not affect software updates
    When you add new functionality to your SAP System using SAP’s exits, your objects (called customer objects) must adhere to strict naming conventions. When it comes time to upgrade a to a new software release, customer objects’ names ensure that they will not be affected by any changes or new additions to the standard software package.
    Customer exits are not available for all programs and screens found in the SAP System. You can only use customer exits if they already exist in the SAP System.
    <b>User exits :</b>
    1. Introduction
    2. How to find user exits
    3. Using Project management of SAP Enhancements 
    1. Introduction:
    User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is: 
    EXIT_<program name><3 digit suffix> 
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    Example:
    The program for transaction VA01 Create salesorder is SAPMV45A
    If you search for CALL CUSTOMER-FUNCTION i program
    SAPMV45A you will find ( Among other user exits):
    CALL CUSTOMER-FUNCTION '003'
      exporting
        xvbak   = vbak
        xvbuk   = vbuk
        xkomk   = tkomk
      importing
        lvf_subrc = lvf_subrc
      tables
        xvbfa = xvbfa
        xvbap = xvbap
        xvbup = xvbup.
    The exit calls function module EXIT_SAPMV45A_003
    Hope this is helpful.
    Reward all the helpful answers.
    Regards

  • User exit in sales order

    Hi All,
    I want to know if there is a way (user exit) that could look at the Sales Order Type , particular Item Pricing Condition  and Ship-to party State and set the materialu2019s tax classification (VBAP/TAXM1) to u201C0u201D (Exempt) ?
    Thanks in Advance!
    Sonali.

    Hi GSL,
    I have put the code in the user exit, and I am able to set the tax classification indicator but I have a problem... Before setting the indicator I need to check for the Usage code of the line item (This code I am using instead of checking the Pricing condition) . I am able to read all the values of line item in VBAP structure in the user exit except for the first time this user exit is hit as soon as a line item is entered it is not picking up the Usage code. That field is blank.
    But if add another line item and go into the user exit I can see the previous line item Usage code in XVBPA table.
    Do you have any idea why usage code is missing in VBAP structure in the user exit or is there any other table or structure where I can get the usage code?
    Please let me know if any one have any ideas.
    Thanks in Advance!
    Sonali.

Maybe you are looking for

  • How to generate a empty file in AL11 using ABAP and unix command

    Hi Experts, when load infopackage triggers it will search file from AL11 if file is available it will get loaded successfully.  When there is no file in AL11 error while opening file (orgin A) and the load will fail.  At this level i have to write a

  • Safe to delete files after Master Suite CS6 installation on Windows 7 , 64 bit system?

    I installed Master Suite CS6 on a new Windows 7 , 64 bit system computer. The computer has a small (120GB) SSD which has the operating system, and I'm trying to install the rest of my programs and data on larger, standard drives. I just noticed that

  • LCD/HDTV help for a newbie

    I am a longtime BB customer and am finally taking the HDTV plunge.  I have narrowed it down a bit to the Insignia NS-L37Q (32" is too small, 40" is too big) versus a Dynex DX-37L150A11.  I am not a cinephile so the basic features are fine with me and

  • BEx Query Designer 2 years comparison by month

    Hi expert, I'm drafting a report which want to comparison 2 years cost variance. I want to have 2 column inofmraiton, Cost & Variance % (which is  (Current Period - Previous Period) * 100/ Previous Period)  . I create the follow fields & defined a va

  • Scenario to pick the mail with its attachments into XI

    Hi to All, I am creating a scenario in which i have to pick the mail from mail server (gmail) into XI ...and then want to process the attachment of the mail( which is in XML format)...&  put the information of the attachment into the RFC. So i need a