A user exit question about ck11n .

I want to get a  user exit  about i can change some  parameters before i run ck11n ,such as in routing date tab ,i want to change the group counter parameter before i run ck11n in user exit ,i found a badi named is DYNPRO_EXTENSION_CK ,but it can't actualize my need,who can give me some cue about it ?thank you very much !

Hi
It seems no user exits exist for this transaction
found the following BADI
check them
COSTINGRUN_CK              Edit Costing Run
COST_APPORTION_CK    Maint Apportionment Structure Joint Production: Dist Rules
CO_PROD_COSTING_CK    Cost Management for Joint Products (Costing, Target Costs)
DATA_EXTENSION_CK       For Data Enrichment in Product Costing
DYNPRO_EXTENSION_CK       BAdI for Interface Enhancement in Costing
ORDER_COSTING_CK            Enables Header Data Changes in Preliminary Order Costing
QUANTITY_STRUCT_CK         Enables Quantity/Structure Changes in Costing
SUR_STOCK_TRANSF_CK     Overhead on Materials with Stock Transfer Between Plants
CK_KALAMATCON2_CI          BAdI for CI Fields for Table KALAMATCON2
VALUATION_CK                     BAdI for Valuation in Product Costing
Reward points if useful
Regards
Anji

Similar Messages

  • User exit  for transaction CK11N

    Dear all,
         can any body please tell me any user exit for transaction ck11n.
         i want to terigger the exit when the save button will be pressed in the ck11n transaction.
      i have  found one exit "EXIT_SAPLCK21_002"  but it is not triggering after save button is pressed.
    so please tell me if any other user exit is there to suit my requirement.
    thanks
    prabhudutta

    hi,
    found the following BADI
    check them
    COSTINGRUN_CK Edit Costing Run
    COST_APPORTION_CK Maint Apportionment Structure Joint Production: Dist Rules
    CO_PROD_COSTING_CK Cost Management for Joint Products (Costing, Target Costs)
    DATA_EXTENSION_CK For Data Enrichment in Product Costing
    DYNPRO_EXTENSION_CK BAdI for Interface Enhancement in Costing
    ORDER_COSTING_CK Enables Header Data Changes in Preliminary Order Costing
    QUANTITY_STRUCT_CK Enables Quantity/Structure Changes in Costing
    SUR_STOCK_TRANSF_CK Overhead on Materials with Stock Transfer Between Plants
    CK_KALAMATCON2_CI BAdI for CI Fields for Table KALAMATCON2
    VALUATION_CK BAdI for Valuation in Product Costing
    Regards

  • Answer for user exits question please

    hi,
    this is vishnu vardhan
    1. how many ways are there to see the function modules used of enhancements in user exits?
    2.how to print a script on a news paper for 20 lines ,space and 20 lines?
    3.is there any table for storing the source code of reports and MM flow?
    4.wt is QRFC?
    5. how to work on BAPI and BADI ?

    1. how many ways are there to see the function modules used of enhancements in user exits?
    Ans: 1. You can search the standard program with "CUSTOMER-FUNCTION" tag
            2. If you know the exit name you can go to CMOD
    3.is there any table for storing the source code of reports and MM flow?
    Ans: Explore the SAP Help to know the process flow in MM. For example you can check this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/f0/4228f5a97311d2897a0000e8216438/frameset.htm
    TSTC table contains the list of program names and transaction codes. Donno the table which stores source code. Doubt it exists!
    4.wt is QRFC?
    Master the 5 types of RFCs in ABAP. Check this excellent link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    5. how to work on BAPI and BADI ?
    Check these links:
    http://www.allsaplinks.com/bapi.html
    http://www.allsaplinks.com/badi.html
    And many more in this forum to search.
    Hope the above stuff helps you...
    Thanks,
    Santosh

  • CATS User exit Question

    Hi Guys,
    I have two custom fields in my CATS time sheet called Zclock1 and Zclock2. For a record that already exists I need to pre-populate these fields when I open the time sheet for an employee using CAT2, Which user-exit should I use?
    I tried CAT0002 but this one will trigger only at the time of creating a new record or modifying an existing record.
    Thanks,
    Roy

    hi Avisek Bhardwaj,
    i want to change the data when i use CAT7 to transfer data to CO, before CO document created i must delete some dummy WBS element in a certain user-exit, so i need to find  this user-exit to process the data,
    i've checked the enhancement CATS0002, but it isn't what i want,
    i've found one user exit  PCA00001--EXIT_SAPLPC02_001(EC-PCA: Changes to Document when Transferring CO Actual Data)
    i do delete dummy wbs element in this user exit but when transferring is finished, i find that the dummy wbs element still appears in the co document. it looks like that user exit doesn't work.
    i don't know why,
    regards,
    buffer

  • Variable user exit question

    Hi all,
    i m looking for a code to make an User exit variable  to select the actual month and the previous month , for example in this moment ( september and October )

    Hi,
    Use Tcode: CMOD, funtion module :EXIT_SAPLRRS0_001 double click on the program ZXRSRU01, start writing ur code. The code which i gave u is for Calculate Month to date, similarly u have change the code as per ur requirement.
    Regarding User exits:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/frameset.htm
    to calculate "month to date" user input is "Calday" Key Date
    sample code:
    WHEN 'ZPUTMNTH'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZPDATE'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
    L_S_RANGE-LOW+6(2) = '01'. “ low value e..g. YYYYMM01 (20060601)
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.

  • A PC user's questions about Airport Extreme & Airport Express

    Hi all,
    I have a few questions regarding both the Airport Extreme AC and the Airport Express. 
    I am a PC user who is currently looking at replacing my Cisco Linksys EA4500(primary router) and my Linksys E2500(bridge router) due to the lack of regular firmware updates that Linksys fails to provide for their routers  and the fact that I simply find Linksys products to be buggy..  Based on my research,  Apple's Airport Extreme N and the AC versions have received excellent reviews on Amazon and I am considering purchasing both the Airport Extreme AC(to replace my Linksys EA4500) and the Airport Express(to replace my Linksys E2500).
    Before I get to my questions, let me be frank in saying that I do not have a Mac(but intend to after my desktop dies) at this time but in my house we have two iPhone 4s's and one iPad 2 as far as Apple products are concerned.  My computer network consists of my HP Windows 7 based desktop and HP Windows 7 laptop and I have a home ethernet in every room in the house . In addition, my den's ethernet connection is connected as Ethernet wall jack in which the connections include---->Ethernet switch------>Tivo---->Playstation 3/Xbox 360/Nintendo Wii/----->Samsung Smart TV---->Linksys E2500.
    My questions are as follows:
    1. Initial/Out of the box set up: Based on what I have read here, it is possible for a PC user to setup the Airport Extreme by downloading the Airport Extreme utility software from Apple. However I have been confused based on what I have read on Amazon in that some users report that the initial setup can only be done using a Mac.  Would someone from this forum kindly clairify this for me? Can I set up the Airport Extreme with my network assuming that I have previously downloaded an installed Apple's Airport Extreme Utility for the PC?
    2. Using the Airport Express as a wireless bridge: Currently my Linksys E2500 serves as my secondary router in my den in bridge mode.  Can I set up an Airport Express as a wireless bridge assuming I was sucessfully in setting up my Airport Extreme? On Linksys products this is done by setting the router in bridge mode and assigning it a specific IP address within the bridge router's settings.  So for example, my Linksys E2500 has a 192.168.1.1X IP address, can I do this with the Airport Extreme?  Note the the intention here for the extra router in my den to provide additional wireless coverage due to the size of my home.  I do not need it to provide me with the same wireless network name as my primary router, I only want to provide the back of my house with additional wireless coverage that a primary router will not provide.
    3. Router Security and reliability:  I would like the router that I purchase to include regular firmware updates beyond that of one year.  Especially now that most modern routers have some sort of cloud set up,  I wouldn't want to purchase a router today, only to find out that I wouldn't be able to update its firmware one year from now.   With respect to Apple's routers,  how often does Apple release firmware and typically speaking;  how long will Apple support additional firmware releases for its products?
    Thanks to anyone who reads and responds to my long post! 

    The one problem is Apple using their own automatic port opening system.. NAT-PMP which is fine for apple clients but will not work with almost anything else made which depends on UPNP ..
    There are lots of hassles with PS3 and XBox live and anything that depends on standard automatic port opening for interactive internet connection.
    Manually opening ports is possible but a pain.
    eg
    AirPort Extreme and xbox 360
    https://discussions.apple.com/thread/5385065?tstart=0
    I do agree with John Galt that the Apple products are well made and generally great.. they did have a bad capacitor failure issue in the Gen1 and Gen2 TC which he may have forgotten about.. I have repaired about 200 of the bludgers. And there was a dedicated site to pressure apple to fix them.. with 2500 recorded dead TC.
    See http://timecapsuledead.org/
    See
    https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair
    And some ongoing issues.. even post getting that fixed up.
    https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair/new-issue-with-a1355-gen-3-tc
    But the AEBS had external power supply so didn't add to the heat of built in HDD and power supply in a case too small without cooling. New ones seem to have learnt the lessons of the past in that the power supply is internal but they use a fan system to keep it cool.
    See http://www.ifixit.com/Device/Apple_Time_Capsule for internal construction.. TC and AEBS are now identical except for the hard disk.
    An option worth considering is using a router with third party source firmware.
    You are then never cut off from great updated firmware.. and you can do amazingly more with the fuller setup that includes Telnet cli and extensive interface on the GUI.
    Eg Gargoyle on a Netgear WNDR3800 or even cheaper TP-Link WDR3600 or WDR4300.
    These offer full QoS, not in Apple products.
    Full throttling controls, not in Apple products.
    Quota, not in any other products in domestic market at all.
    NAT-PMP and UPNP, not in Apple products.
    VPN, not in Apple products.
    Multiple VLAN, Multiple IP addressing, not in Apple producs.
    SMTP, which Apple removed from all their new products.. no reason why.
    Log access, which Apple removed from the new airport utility.. no reason why.
    etc.
    If for some reason that firmware doesn't suit.. you can flash over to DD-WRT, or OPENWRT.. etc. in other words you are never again beholden to the manufacturer who after the product is EOL is also end of support.

  • New Mac user. Question about restoring Lion

    I've had my Macbook Air for a few months now (just after the last refresh) and I love it, but I was just curious about something.. I recently had to format my PC laptop and afterwords realized some of the stock programs such as my DVD burning software etc were gone. I swore I had a disc that had all that stuff on there, but I was wrong.
    My question is, my Macbook Air came with iMovie & the iLife applications and I really don't wanna lose that stuff if I ever need to restore my Macbook for whatever reason. I know I can do backups, but with Mountain Lion coming out I might wanna do a clean install of it. I guess since this is my first time ever dealing with this I was curious if I would lose that stuff or how it all works since I wasn't given a restore disc or whatever. I know I can just redownload purchased applications from the AppStore, but I never purchased iMovie, Photobooth, iPhoto etc and I really REALLY don't wanna have to buy them just because I restored. So yea...how does it all work? Thanks

    The smartest thing you should do is backup your system on a regular basis. If you do this when you do a clean install  you will have all your apps, data files, settings etc. I would recommend creating a clone of your system at least weekly (I do mine nightly) using SuperDuper! or Carbon Copy Cloner . Also Apple covers the subject of recovery in a couple of advice letters Lion Recovery Disk Assistant & Lion Recovery, OS X Lion: About . Look these over for additional information.

  • Uk Mac user. Questions about internet connection please!

    I own a Mac G4 800 Mhz tower.
    At present connect to the internet via ethernet to router.
    The past few days it has been running very slowly.
    Checked the Netgear router page where it states the incoming strength is approx 4MB.
    *+What can be done to help utillise the incoming speed please?+*
    *+What do I need to make the G4 cable free please?+*
    *+Is there a 3rd party version of the Airport card (if that is needed) please?+*
    Any help and advice gratefully received!

    What can be done to help utillise the incoming speed please?
    That depends where the slowdown is. The quickest way to cut this problem down to size is to find an Interactive Internet Speed Test online, and run it.
    If the measured speed (which is essentially download speed) is way too slow -- you need to complain to your ISP about it, and follow their suggestions.
    If the measured speed is reasonable, but your perception is that it is too slow, post information about what situations, using what browsers, are the worst offenders, and readers will take a run at advising you.
    I suggest you start a different thread with your inquiry about wireless equipment.

  • EHS FM user exit  Question

    Dear experts
    In EHS, we copy FMs and change the configuration to point to the copied FM for modifications. In this case, what happens during an upgrade? How should such a situation be handled.
    Thanks
    Raj

    Please check the following enhancement components.  One of them should suit your requirement.
    LMR1M001
    LMR1M002
    LMR1M004
    MM08R002
    MRMH0001
    MRMH0003
    MRMN0001
    RMVKON00
    WIS60001
    Cheers,
    Balaji

  • User exit question

    Hello, i have seen in my last project that when you go in to cmod. you have the program and when you click on the program it has different datasources listed like 2LIS_02_PUR and then there is one program written under SE38 which is named after 2LIS_02_PUR. some one told me the purpose is so many people can work at the same time in cmod. can someone tell me if i am working on a brand new implementation how can I implement that?
    Example:
    Inside the include program 'ZXRSAU01', there is a line like this "CONCATENATE 'ZBW_TRN_'1_datasource INTO l_prog_name."
    and then
    if you go in SE38 :
    we have programs with names like
    "ZBWI_TR_2LIS_02_HDR" or
    "ZBWI_TR_2LIS_02_ACC" etc. for each data source.
    Would just putting CONCATENATE 'ZBW_TRN_'1_datasource INTO l_prog_name." be enough or I need to write some program?
    Please help. thanks.

    Hi Vik,
    In your project
    they have not used the old technique of writing a Case statement and then a When condition for each datasource as it makes the code quite messy and if several developers/teams are modifying the code then creates challenges for transport management.
    So after using CONCATENATE 'ZBW_TRN_'1_datasource INTO l_prog_name.
    The code in the Include we can simply create a new program starting with ZBWIN_XXXX for each data-source which will be independent from any other enhancement so wonu2019t create any problems.
    Thats the reason why you are able to see the Programs in Se38.
    in the Programs they had written the logic od what fields they had enhanced and select statement to populate the values to the enhanced fileds.
    You can check the document link posted earlier by frank... it shows the earlier way how we used to write the code in the CMOD -include program.
    If its a brand new implimentation there is not much to do from your end, based on the business requirement we check the Business content data source if needed we go for enhancing the Datasource by appending the fields and writing the logic in the CMOD.
    Check the below link which explains you with the new technique that used in your proj
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c1f726-1dc2-2c10-f891-ddfbffdb1a46?quicklink=index&overridelayout=true
    Regards
    KP

  • Help  needed in BAdi and user-exits

    Hi ,
       Can any one send me the procedure how to find out user-exits and about BAdi's.
    Thanks in advance
    Uday

    hi Uday,
    Welcome to <b>SDN</b>
    here is the sample program to find the user exits
    Finding the user-exits of a SAP transaction code
    Finding the user-exits of a SAP transaction code
    Enter the transaction code in which you are looking for the user-exit
    and it will list you the list of user-exits in the transaction code.
    Also a drill down is possible which will help you to branch to SMOD.
    Written by : SAP Basis, ABAP Programming and Other IMG Stuff
                 http://www.sap-img.com/*
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    To find the function exit
    REPORT ZV_FIND_EXIT NO STANDARD PAGE HEADING.
    TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
    TABLES : TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME =
    TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'SMOD'
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU AND
    TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(95) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Exit Name',
    21 SY-VLINE ,
    22 'Description',
    95 SY-VLINE.
    WRITE:/(95) SY-ULINE.
    LOOP AT JTAB.
    SELECT SINGLE * FROM MODSAPT
    WHERE SPRSL = SY-LANGU AND
    NAME = JTAB-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    WRITE:/1 SY-VLINE,
    2 JTAB-OBJ_NAME HOTSPOT ON,
    21 SY-VLINE ,
    22 MODSAPT-MODTEXT,
    95 SY-VLINE.
    ENDLOOP.
    WRITE:/(95) SY-ULINE.
    DESCRIBE TABLE JTAB.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No of Exits:' , SY-TFILL.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(95) 'No User Exit exists'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(4) EQ 'JTAB'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    or
    1. in se11, goto table MODSAP
    View table contents
    2. in Type field, enter 'E' (for function exit)
    3. For that tcode, u should know the program name.
    eg. SAPLLMOB
    4. then type SAPLLMOB and execute
    or
    REPORT z34331_user_exit .
    TABLES : tstc, "SAP Transaction Codes
    tadir, "Directory of Repository Objects
    modsapt, "SAP Enhancements - Short Texts
    modact, "Modifications
    trdir, "System table TRDIR
    tfdir, "Function Module
    enlfdir, "Additional Attributes for Function Modules
    tstct. "Transaction Code Texts
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    START-OF-SELECTION.
    Validate Transaction Code
    SELECT SINGLE * FROM tstc
    WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
    IF sy-subrc EQ 0.
    SELECT SINGLE * FROM tadir
    WHERE pgmid = 'R3TR'
    AND object = 'PROG'
    AND obj_name = tstc-pgmna.
    MOVE : tadir-devclass TO v_devclass.
    IF sy-subrc NE 0.
    SELECT SINGLE * FROM trdir
    WHERE name = tstc-pgmna.
    IF trdir-subc EQ 'F'.
    SELECT SINGLE * FROM tfdir
    WHERE pname = tstc-pgmna.
    SELECT SINGLE * FROM enlfdir
    WHERE funcname = tfdir-funcname.
    SELECT SINGLE * FROM tadir
    WHERE pgmid = 'R3TR'
    AND object = 'FUGR'
    AND obj_name = enlfdir-area.
    MOVE : tadir-devclass TO v_devclass.
    ENDIF.
    ENDIF.
    Find SAP Modifactions
    SELECT * FROM tadir
    INTO TABLE jtab
    WHERE pgmid = 'R3TR'
    AND object = 'SMOD'
    AND devclass = v_devclass.
    SELECT SINGLE * FROM tstct
    WHERE sprsl EQ sy-langu
    AND tcode EQ p_tcode.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    SKIP.
    IF NOT jtab[] IS INITIAL.
    WRITE:/(95) sy-uline.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    WRITE:/(95) sy-uline.
    LOOP AT jtab.
    SELECT SINGLE * FROM modsapt
    WHERE sprsl = sy-langu AND
    name = jtab-obj_name.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    WRITE:/1 sy-vline,
    2 jtab-obj_name HOTSPOT ON,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    ENDLOOP.
    WRITE:/(95) sy-uline.
    DESCRIBE TABLE jtab.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No of Exits:' , sy-tfill.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(95) 'No User Exit exists'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
    GET CURSOR FIELD field1.
    CHECK field1(4) EQ 'JTAB'.
    SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    if u find it useful plz markt the points
    Regards,
    Naveen

  • Benefits user exit, PBEN0011

    Greetins to All,
    We have a requirement to use the PBEN0011 user exit.
    However looking at the parameters of function module EXIT_SAPLHRBEN00GENERAL_011, we are not getting the 'pernr' as any parameter. Tried to see it as a local or a global variable at run time/debugging.. no luck there either.
    The requirement: Need to do some custom validations on field "additonal units" (P0168-ADDNO) for Insurance plans (IT 1068). Looked at other user exits, but this is the only one that passes "additional units" as a parameter, but at the same time our custom vallidations are based on certain conditions for which we need to query the employee's infotypes. For that we need the pernr at run time, but not able to find that.
    Any one who has experience with this user exit? Our eventual option will be to got with "implicit enhancements". But wanted to find out if this can be with a user exit first.

    Jay
    Sorry no can do!
    If you need to pass through the pernr to this user exit. what about having an emhancement point that exports it to memory and then imports it from memoy for use within the user exit.
    I've had a quick look through a lt of the benefits user exits and can't find a match.
    I would cut to the chase and create you own enhancement point - at least it is AP standard.
    J

  • Dumb question about E messages generated in user exits called from dialogs

    After a user enters goods receipt info in MIGO and hits POST, there is a user exit (EXIT_SAPLIE01_007) which receives a copy of the goods receipt table (xmseg) from MIGO and lets you do whatever you want before the MIGO update task is called.  In other words, you're still in the MIGO dialog process.
    I have successfully used this exit before to pop an editable ALV that lets the user enter custom data per line item, and then store this data in memory so it can be accessed in MB_DOCUMENT_BADI or in the equivalent XMBC exit (enhancement MB_CF001).
    But here's my question.
    Suppose I generate an "E" message in EXIT_SAPLIE01_007. 
    Will this stop the MIGO "POST" so that the update task isn't called?
    And will the text of the "E" message be displayed at the bottom of the main MIGO screen (the one you hit "POST" from) ????
    Edited by: David Halitsky on Feb 21, 2008 9:03 PM
    Edited by: David Halitsky on Feb 21, 2008 9:04 PM

    Hi David,
    it seems that you will get it:
    E in Status bar
    +behaviour:     +
    PAI processing is terminated, and control returns to the current screen. All of the screen fields for which there is a FIELD or CHAIN statement are ready for input. The user must enter a new value. The system then restarts PAI processing for the screen using the new values. Error messages are not possible in POH or POV processing. Instead, a runtime error occurs.
    according to help [http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaabc35c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaabc35c111d1829f0000e829fbfe/frameset.htm]
    best regards,
    Wojciech

  • Questions about authorization variable customer user exit

    Dear all,
    To reduce the authorization maintenance effort, I found from the web that we can use authorization variable with customer user exit RSR00001.
    When I use the transaction CMOD to display the maintain the user exit RSR00001, the user exit does not found. I would like to know how can I use thie user-exit?
    My SAP version is R/3 4.7
    The information of authorization variable  from web is as follow:
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/58f438114ee836e10000000a114084/frameset.htm
    Would anyone have some ideas to solve my questions?
    Many thanks
    Sunny
    Edited by: LI Sunny on Aug 3, 2010 12:08 PM

    Dear Bala Duvvuri,
    Firstly, many thanks of your reply.
    Actually, what I want to do is to call some user-exit when performing authorization checking. I want to add some logic to the authorization checking and the user exit can be called automatically when performing authorization checking.
    I mainly use this checking in the FI module.
    Are there any ways I can perform this checking?
    One more findings, I have another machine containing SAP XI, I can search the user exit RSR00001. but it doesn't exit in SAP R/3 4.7. Is it version issue or my SAP R/3 4.7 doesn't contain the BI module?
    Many Thanks again.
    Sunny

  • A question about User Exits(EXIT_SAPLRRS0_001)

    Hi,
    i have a question about EXIT_SAPLRRS0_001.
    In this case i want to get a start date of the quarter(Z0DD1) during 2 variables (year 'ZAYEAR1' and quarter 'ZAQTR1'), which are given in a POP-UP Dialog. The following codes:
    CASE i_vnam.
        WHEN 'ZODD1'.
          IF i_step EQ '2'.
            CLEAR: l_s_range.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAYEAR1'.
            IF sy-subrc EQ 0.
              l_var_year = i_s_var_range-low.
            ENDIF.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAQTR1'.
            IF sy-subrc EQ 0.
              l_var_quarter = i_s_var_range-low.
            ENDIF.
    *==================start date of the quarter===============
            CALL FUNCTION 'Z_0000_QUARTER_S'
              EXPORTING
                VA_APPLE_QUARTER   = l_var_quarter
                VA_APPLE_YEAR      = l_var_year
              IMPORTING
                VA_APPLE_QUARTER_S = l_var_quarter_s.
            clear l_s_range.
            l_s_range-low = l_var_quarter_s.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDIF.
      ENDCASE.
    Please help me to check if this program is right?
    I have made a debugging, but i do not understand, why this program runs 3 time with I_STEP from 0 to 3. In fact I need only the data with I_STEP = 2.
    Addtionally i want to know if the tabel e_t_range will provide the returned value (ZODD1) ?
    THANKS A LOT.

    THanks your replies!
    I would like to know if the e_t_range provides the returned value (In this program i want to get the value of ZODD1)?
    IF yes, in I_STEP = 2 e_t_range save the right value for ZODD1. But this program run one time again--- I_STEP=3, at this time e_t_range hat not any value, that means if i will not get the value for ZODD1?
    THANKS.

Maybe you are looking for