Help wth User Exit

Wassup Fellas ...
I created an project to SAP enhancement QQMA0001. In this enhacement, there are a few screen that I will create do include custumer logic on them. Until there everthing fine.
My doubt is: How do I discover where those subscreens will appear ? They should appear in transaction IW52.
I didn't found any documentation talking about it.
I appreciate any kind of help.

The following is documentation i found in SMOD of this enhancement
You can use this customer enhancement to display a subscreen on the
notification header screen. You can maintain your own fields for the
notification header on this subscreen (a section of four lines is
reserved for this on screen SAPLIQS0 7790). The screen must be of the
type "Subscreen".
You can use the Customizing function to control which screen is to be
called for the program SAPLXQQM. Using this function, you can display
different subscreens for different notification types.
It is important that you create screen 0100 as an empty subscreen
containing four lines. Screen 0100 is then always used, if no specific
screen is defined in Customizing. In this way, you can make sure that
the customer enhancement is not active for all notification types, but
only for the notification types that have a screen number defined in
Customizing.
You can use all other screens in the normal way.

Similar Messages

  • Need help for user exit mereq001

    Hi,
    I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
    Thanks.

    biao,
    Have you checked this struture consistency from SE11. Also check the activation log.
    If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
    This will list down the error structures releated this table and also prompts for you to activate it.
    Regds
    Manohar

  • Urgent Help in User-Exit for MM!

    Hi,
    1.  I am writing code in the Exit "EXIT_SAPLMGMU_001".
    2.  I have to pop-up error/warning messages for incorrect data entered in various fields/screens/views of MM01/MM02 transaction.
    3.  The Exit gets triggered when i press "SAVE" after modification.
    4.  When I create the Classification View, i enter the class type as "001" for material class.
    5.  Then i need to enter a value "Z_Product" in the class column(on the screen in classification view). This class is the "Product Class" (description).
          My problem is to find this value that i enter on screen before "Save" i.e. when i am creating material for the first time in MM01, i dont want the error message to pop-up if i am entering any value in the class column and  also entering values in the internal characteristics for that class.
          Basically i want to read the values (before "SAVe") entered in the class column as well as want to know the values for the internal characteristics of the class.
          For Class, the std. field is "RMCLF-Class" , but i have no buffer field available in my exit that contains the value for the Class. I have also tried using "Get parameter ID", but it doesnt work.
          For Internal Characteristic values (of the class) that are entered in the tab(that appears on pressing "Enter" after filling the Class value) below the Class tab, i am fetching data from std. table AUSP to check for corresponding entries for that particular material number....but this table will get updated only after "SAVE" and so i would be able to read the values only in MM02.
    Please help me in finding out a way for reading the class values & Characteristic values in my user-exit.
    Thanks & Regards,
    Tejas

    Hi Ronak.
    You can try with <b>'EXIT_SAPLCLFM_002'  (CLFM0002)</b>. This is the exit for the classification view. You can get this for the transaction CL22N / CL24N.
    This is also called in MM01 for classification values. This classification details are cross application components. So This is also called from other transaction.
    Regards
    Rusidar.

  • Help on User Exits with example needed

    Hello Experts,
    Need help/material on:
    1)Understanding Advanced Customization (VOFM, User Exits)
    2)Calculating Freight Charges
    3)Integrating Credit and Payment Cards
    4)Interfacing with Other Modules (MRP, AR)
    5)Using Batch Delivery Processing
    Regards
    Innova

    Hi,
    There are a number of techniques SAP have used over the years to implement user-exits.
    The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As  usual in the SAP world, the later the version of SAP you are using, the more exits are available.
    Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing. The requiredscript is written in between form and end form.
    Another technique is the use of validation and substitution rules in the financial modules.
    The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.
    Award points if helpful.
    Message edited by
    Mohan

  • ABAP help in user exit variables

    Hi,
    In the selection screen of a query, I have an optional variable CalenderMonth (SOMONTH). I have to calculate another user exit variable (CALMONTH) in ZXRSRU01 by using this SOMONTH. This is how. If the value SOMONTH is entered, then I need to assign SOMONTH to CALMONTH. If SOMONTH is not entered, then I need to set CLAMONTH to current calender month from system date.
    For that, I need to check if SOMONTH is entered or not in the program ZXRSRU01. This is what I am trying to do, and is not working.
    WHEN 'CALMONTH'.
        If I_step = 2.
          Loop at I_T_VAR_RANGE into LOC_VAR_RANGE
                 Where VNAM = 'SO_MONTH'.
           IF LOC_VAR_RANGE-LOW IS INITIAL.
            ELSE
           ENDIF.
    <b>PROBLEM:</b> The statement "IF LOC_VAR_RANGE-LOW IS INITIAL." is not working. When I try to debug the code, program aborts at that line. By this line of code, I mean to check if SOMONTH is initial or not.
    Any suggestions or ideas very much appreciated.
    Thanks alot
    John

    Hi
    When I have tried something similar to this (in BW v3.1), and the (optional) variable I am reading from is not populated by the user; in STEP 2 table I_T_VAR_RANGE does not contain a record for it. Hence, the logic I would use is:
    CASE I_VAM.
    WHEN 'CALMONTH'.
      IF I_STEP = 2.
        READ TABLE i_t_var_range INTO loc_var_range
        WITH KEY vnam = 'SOMONTH'.
        IF SY-SUBRC = 0.
          loc_range-low = loc_var_range-low.
        ELSE.
          loc_range-low = sy-datum+4(2).
        ENDIF.
        loc_range-sign  = 'I'.
        loc_range-opt   = 'EQ'.
        APPEND loc_range TO e_t_range.
       ENDIF.
    Hope this helps.

  • Help needed: user exit for CO02

    I have a problem with user exit. I need to display an error message when the quantity of a specific component of a material is changed in CO02 and user hits save button.
    I inserted my code in include program ZXCO1U01. Based on the material type if the user changes the quantity I will display a message. But the problem is the documentation shows that we can’t insert a error message in this exit. It’s giving a dump if I do that.
    I am calling a new screen to display a message but if I try to execute CO02 again for the same order its displaying error messages as that component will remain locked.
    Please help me regarding this.
    Thanks

    Hi Bobby,
    We had similar issue and we have added a code to send an e-mail message to the user is any error occurs.
    You can't insert an error meesage in this user exit.
    Lanka

  • Help in user exit and enhancement

    hi expects,
            can any body help me by providing me the enhancement and user-exist material.please help me

    Hi Santosh
    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_<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):
    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_<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.
    *2. How to find user exits *
    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
    If you know the Exit name, go to transaction CMOD.
    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
    You will now come to a screen that shows the function module exits for the exit.
    *3. Using Project management of SAP Enhancements *
    We want to create a project to enahance trasnaction VA01
    - Go to transaction CMOD
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document . Note that an enhancement can only be used i 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project.
    Goto transaction VA01 and craete a salesorder.
    Note that Sold-to-party now automatically is "2155"
    for more information.
    try out with this links:
    [http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm]
    Hope answered your question.
    Reward if helpful
    Thanks
    abdul

  • Help in user-exit

    Hi
    i use transaction vl10g - to create delivery
    i want when the delivery create to update table vbuk
    i didn't find any user-exit on create or save
    Can you help me
    Thanks
    have a nice day

    Hi Yossi,
    Check out the following if works:
    V50Q0001
    V50PSTAT
    Ashven

  • Require help on User Exit for t-code VA31

    Hi All,
    I have a requirement of updating one of the fields in the Customer Master for selected Sold-to-party while creating or modifying a scheduling agreement.
    Is there an user exit available for doing this?
    Please help on this as early as possible.
    Thanks,
    Hema

    Exits for the tcode VA31 are
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    Regards
    - Gopi

  • Help on user exit (credit limit blocking)

    Hi,
    Currently, my user exit checks the order value in va01, va02 against the remaining credit and puts a credit block on the customer/order if the order value is higher than the credit limit.
    However, it should only take confirmed order values. For example, if the user entered 10 qty, but only 1 qty exists, then only 1 of the values should be considered when it against the credit limit.
    Please help.
    Thanks,
    John

    Hello John,
    Use MV45AFZF Include
    here look at documentation top of the form routine
    FORM USEREXIT_AVAIL_CHECK_CREDIT USING    US_VBAK STRUCTURE VBAK
                                              US_VBUK STRUCTURE VBUKVB
                                              US_VBAP STRUCTURE VBAPVB
                                              US_RELEASE
                                              US_RECHECK
                                     CHANGING CH_CHECK.
      DATA: CON_CHECK_STANDARD LIKE SY-SUBRC VALUE 4,
            CON_CHECK_NO       LIKE SY-SUBRC VALUE 8,
            CON_CHECK_YES      LIKE SY-SUBRC VALUE 0.
      CH_CHECK = CON_CHECK_STANDARD.
    CH_CHECK = CON_CHECK_NO.
    CH_CHECK = CON_CHECK_YES.
    ENDFORM.
    Thanks
    Seshu

  • Help me user exit

    Hi,
    Please help me to do coding inside this..new to user exit.
    Guide me step by step
    EXIT_SAPLRSAP_001 for Transactional DATA.
    EXIT_SAPLRSAP_002 for Masterdata Attributes.
    EXIT_SAPLRSAP_004 for Masterdata Hierarchies.
    EXIT_SAPLRSAP_003 for Master data Texts.

    Hi,
    Specification-requiremnt.
    Right now i have only a brief idea about it.
    I need to get the information regarding the coding side.
    Thaks and regards

  • Help with User Exit

    Hello,
    I am and include within a user exit and what i am trying to do is:
    populating a field that shows up in a screen popup. transaction is iw32 for which the program name is different than that of the screenvalue that im trying to populate. in iw32, in components tab, i add a component and then i get a popup to populate the purchasing group field and this is the field that i am trying to put a default value into so that I do not get prompted. Please help.
    Thanks.

    Hey Jasmeet
    You can definitely get the values of RESBD in this exit. Please use the code below to get the resbd-ingrp value from the screen:
    DATA:l_field(60)         TYPE C        VALUE '(SAPLCOMK)RESBD',
              ls_resbd          TYPE resbd. 
    FIELD-SYMBOLS: <fs_resbd>          TYPE ANY.  
    *Fetching the Component Item from the Screen. This is for read-only
    *purpose and content should not be changed.
    ASSIGN (l_field) to <fs_resbd>.
    if sy-subrc eq 0.
        ls_resbd = <fs_resbd>.
    UNASSIGN <fs_resbd>.
    endif.
    Now you have all the values in the structure ls_resbd and you can easily set the value for ingrp according to your conditions.
    Hope this helps. Let me know if this is what you want.
    cheers
    shivika

  • Ugrent help. User exit- Read data from BW BPS layout and write to ODS

    Hi,
    I am new to BW BPS and have a req. where i need to read data from BPS layout (EXCEL) and write it to ODS.
    Is there any function module or user exit which read data from excel layout and upload it to ODS. Or can any one help me out how can i write a code for this.
    It is urgent and i need your help.
    Appreciate any kind of input.
    Thanks
    Mamatha

    Dear Mamatha,
    read following documents. i hope it will work for you.
    [http://www.geocities.com/cynarad/reference_for_bps_programming.pdf]
    [Accessing BW Master Data in BPS Functions using ABAP ( Exit Function )|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3dcc423-0b01-0010-4382-aa3e0784b61e]
    Regards,
    Malik
    Give me points if its helpful for you.

  • Need help in user exit !!!!!

    I have two requirements like
    1.When the SAP Sales Order is shipped a SAP iDoc “DESADV” will be triggered. – Note This idoc already exists.
    2. On the generation of a Shiping Document Reversal (Trans code VL09) – and Idoc will be created
    I want to get the user exits for both the cases.

    Hi Deb,
               What are U trying to achieve, are you sending a notitification to the customer of the shipment. If so you may not have to go through a user exit but will have to setup idoc processing for the same by the customer. Same will be true for credit memo. Look at WE20,SALE or under sap menu-> Tools->ALE.
    Thanks
    Deep

  • Need help in user exits

    Hi,
      I am working on purchase req. enhancement,i developed a subscreen at item level with 9 fields. the screen is coming properly.when i enter data, i have to store this data in eban table. for this i append a str with those fields.How can i update this screen data in eban table.Have to implement another exit or can i write in PBO and PAI.What's the code i have to write here.Pls waiting for your reply.
    Thanks in advance,
    Avinas M.

    Hello,
    If you are using MEREQ001 user exit.
      INCLUDE ZXM02U01                                                   *
                        Tables                                          *
    tables: eban.
    Reading current status of purchase requisition object and assigning to
    local structure
    data: s_mereq_item type mereq_item,
          s_temp type ref to if_purchase_requisition,
          s_trtyp type mepo_document.
    call method im_req_item->get_data receiving re_data = s_mereq_item.
    assiging data to the fileds on screen
    move-corresponding s_mereq_item to eban.
    *eban-zctarc = s_mereq_item-zctarc.
    *eban-zuscno = s_mereq_item-zuscno.
    *eban-zuscit = s_mereq_item-zuscit.
    *eban-z1eldsze = s_mereq_item-z1eldsze.
    *eban-z1especs = s_mereq_item-z1especs.
    *eban-zalstr = s_mereq_item-zalstr.
    *eban-znumcc = s_mereq_item-znumcc.
    *eban-znumch = s_mereq_item-znumch.
    *eban-znumsu = s_mereq_item-znumsu.
    *eban-zinco1 = s_mereq_item-zinco1.
    *eban-zinco2 = s_mereq_item-zinco2.
    *eban-zcrnam = s_mereq_item-zcrnam.
    *eban-zzterm = s_mereq_item-zzterm.
    *eban-z1ecrrep = s_mereq_item-z1ecrrep.
    *eban-z1etelfx = s_mereq_item-z1etelfx.
    *eban-zektel = s_mereq_item-zektel.
    *eban-matnr = s_mereq_item-matnr.
    call method im_req_item->get_requisition receiving
    re_requisition = s_temp.
    call method s_temp->get_transaction_state importing ex_document =
    s_trtyp.
    export s_trtyp-trtyp to memory id 'TRT'.
    and in
      INCLUDE ZXM02U03                                                   *
                          Tables
    tables : *eban.
    data:     ls_mereq_item type mereq_item.
    *get values if PReq item exists
    if not im_req_item is initial.
    *read item data from system
      ls_mereq_item = im_req_item->get_data( ).
    *if customer field changed
      if eban ne *eban.
    *fill field with new value
    move-corresponding eban to ls_mereq_item.
       ls_mereq_item-zflag = eban-zflag.
    *set new item data to system
        call method im_req_item->set_data( ls_mereq_item ).
    *tell the system that there has something changed on the customer tab
        EX_CHANGED = 'X'.
      endif.
    endif.
    Regards,
    Shekhar Kulkarni

Maybe you are looking for

  • Is it possible to share documents from Final cut pro x on my other mac?

    is it possible to share documents from Final cut pro x on my other mac?

  • Error in query with COUNT expression and Group By Clause

    Hi I have this query that when run gives me the following error: SQL command not properly ended: The code is as below: SELECT           st_enrollment.student_id ,           ce_family_member.last_name ,           st_enrollment.grade_level ,           

  • Capacity reservation in SCM 5.1

    Hi Gurus, We are trying to configure the capacity reservation functionality in SCM 5.1. We followed all the steps indicated in this link http://help.sap.com/saphelp_scm2007/helpdata/en/6b/41fc3e9d3b6927e10000000a114084/frameset.htm However, when we c

  • Testing IDOC from the sender side

    The scenario is IDOC - File. ALE configuration steps are done from R3 end in XI, I hav created Port, RFC destination IR, ID activated succesfully I have to send an IDOC and test the scenario (DEBMAS) and create and change sold to party, ship to party

  • Pass tdline and tdformat to Sapscript

    Hi all, Can we pass tdline and tdformat at the same time to Sapscript? My requirement needs the tdformat to be dynamically, is this possible ? How should I pass a dynamic format to sapscript? If yes, could someone provide some sample code? Thanks in