EXIT for transaction CJ20N

Hello everyone,
I'm having trouble adding code to the transaction CJ20N by user-exit or badi.
What i want do is, when editing and trying to add a new material, i want to check first if field RESBD-LGORT is filled. If not, send error message that field is obligatory.
I tried user-exit EXIT_SAPLCOMK_004, that works fine ONLY IF item category (RESBD-POSTP) is empty. If item category is filled, the user-exit is ignored.
Can anyone guide me to other user-exit or badi ? I allready tried searching for badi's, but didn't get anything.
                           Thank you in advance.

Hi
try with this user exit CNEX0003
EXIT_SAPLCJSS_002 - Data SAP - > Sub screen
move-corresponding SAP_PROJS_IMP to proj
EXIT_SAPLCJSS_003 - Subscreen - > SAP
MOVE-CORRESPONDING PROJ TO CNCI_PROJS_EXP.
Regards
Kiran Sure

Similar Messages

  • User Exit For Transaction F150 (Dunning)

    Hi All,
    Can any one help me in finding a User Exit for Transaction <b>F150</b> (Dunning).

    Hello,
    Try this one
    F150D001
    Bye
    gabriel

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • How to find the user-exit for transaction fpp2

    Hi experts,
    could you help me how can I find the user-exit for transaction fpp2. I tried to after the package, but I did not find it.

    Hi,
    Use the following program to find user exits of specified code.
    *& Tables
    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
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    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 main program
    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® Modifications
        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.
    I executed the above program but there are no user exits for the specified Transaction.
    Thanks,
    Naveen Kumar.

  • Screen exit for transaction MD14.

    Hi collegues,
    Does anyone know what the screen exit for transaction MD14 is?  I need to add an extra field to the detail screen of transaction MD14.  The field name to be added is MDBA-LIFNR.
    Thanks.

    Exit found.

  • User exits for transaction VL10B

    Hi,
    Could anyone please give me the user exit for transaction VL10B.
    Regards
    Karan

    Hi Karan,
    Just check -
    V02V0001  Sales area determination for stock transport order         
    V02V0002  User exit for storage location determination               
    V02V0003  User exit for gate + matl staging area determination (headr)
    V02V0004  User Exit for Staging Area Determination (Item)            
    V50PSTAT  Delivery: Item Status Calculation                          
    V50Q0001  Delivery Monitor: User Exits for Filling Display Fields    
    V50R0001  Collective processing for delivery creation                
    V50R0002  Collective processing for delivery creation                
    V50R0004  Calculation of Stock for POs for Shipping Due Date List    
    V50S0001  User Exits for Delivery Processing                         
    V53C0001  Rough workload calculation in time per item                
    V53C0002  W&S: RWE enhancement - shipping material type/time slot    
    V53W0001  User exits for creating picking waves                      
    VMDE0001  Shipping Interface: Error Handling - Inbound IDoc          
    VMDE0002  Shipping Interface: Message PICKSD (Picking, Outbound)     
    VMDE0003  Shipping Interface: Message SDPICK (Picking, Inbound)      
    VMDE0004  Shipping Interface: Message SDPACK (Packing, Inbound)      
    REWARD!!
    Regards,
    Ajinkya

  • BADI or EXIT for transaction F-28

    Hi !
    Can anyone tell me BADIs or EXITs for transaction F-28 ?
    Thanks in advance.
    Best regards,
    Dairo.

    Exit Name
    Description
    F050S001
    FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change IDoc/do not send
    F050S003
    FIDCC2: Change IDoc/do not send
    F050S004
    FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001
    Balance Sheet Adjustment
    FARC0002
    Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01
    Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00
    Line item display: Checking of selection conditions
    RFKORIEX
    Automatic correspondence
    SAPLF051
    Workflow for FI (pre-capture, release for payment)
    No of Exits:         13

  • User Exit for Transaction V/76

    Hello Gurus,
    I'm looking for user exit for transaction V/76, Basically I just need to add an additional checking for the value entered in the product hierarchy using a check table (custom table) functionality. However I can't see any user exit that can be used since this is a view maintenance table/transaction. Can anyone of you experts can confirm that there is user exit for this transaction? If YES, I will continue my searching if there is NO then thanks for the confirmation. Thank you very much in advance!
    Best regards -

    Hi Rous,
    Please paste this code and check:
    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.
    Hope this helps you, reply for queries.
    Regards,
    Kumar.

  • 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

  • User-exit for transaction co13: PP Order Cancel Confirmation

    Hello!
    Whether prompt, please,
    exist what that user-exit for transaction co13: PP Order Cancel Confirmation?
    Thanks,
    Anton.

    Hi Antonio,
    Please check this all user exits (SMOD) available for CO13.
    CONFPP01  -  PP order conf.: Determine customer specific default values 
    CONFPP02  -  PP order conf.: Customer specific input checks 1           
    CONFPP03  -  PP order conf.: Cust. specific check after op. selection   
    CONFPP04  -  PP order conf.: Customer specific input checks 2           
    CONFPP05  -  PP order conf.: Customer specific enhancements when saving 
    CONFPP06  -  PP Order Confirmations: Actual Data Transfer               
    CONFPP07  -  Single Screen Entry: Inclusion of User-Defined Subscreens  
    CONFPS01  -  PS confirmation: Determine customer specific default values
    CONFPS02  -  PS confirmation: Customer specific input checks 1          
    CONFPS03  -  PS confirmation: Customer specific check after op. selection
    CONFPS04  -  PS confirmation: Customer specific input checks 2          
    CONFPS05  -  PS confirmation: Customer specific enhancements when saving
    CONF0001   -  Enhancements in order confirmation                         
    CONFPI01   -   Process order conf.: Calculate cust.specific default values
    CONFPI02   -   Process order confirmation: Customer spec. input checks 1  
    CONFPI03   -   Process order conf.: Cust. spec. check after op. selection 
    CONFPI04   -   Process order conf.: Customer specific input checks 2      
    CONFPI05   -   Process order conf.: Cust. spec. enhancements when saving  
    CONFPI06   -   Process order confirmation: Actual data transfer           
    CONFPM01  -  PM/SM order conf.: Determine cust. specific default values 
    CONFPM02  -  PM/SM order confirmation: Customer specific input checks 1 
    CONFPM03  -  PM/SM order conf.: Cust. spec. check after op. selection   
    CONFPM04  -  PM/SM order conf.: Customer specific input check 2         
    CONFPM05  -  PM/SM order conf.: Cust. specific enhancements when saving 
    Regards,
    Ferry Lianto

  • BADI or Exits for Transaction FBL5N

    HI All,
    I want any BADI or Exits for transaction FBL5N.
    Please help me out asap.
    <<Text removed>>
    Thanks in advance.
    Regards,
    Seevangi
    Edited by: Matt on Jan 13, 2009 11:25 AM - do not offer points

    hi,
    There is one user exit available for this Transaction code:
    F1040001  Reserve for bad debt - calculate percentages
    BADI'S,
    Below Badis are available for the Tcode.
                                                                                    FI_ITEMS_MENUE01     Menu Enhancement                                            
    FI_ITEMS_MENUE02     Menu Enhancement                                            
    FI_TAX_BADI_015      RFUMSV00: Event "END-OF-SELECTION" before Data File Creation
    FI_TAX_BADI_016      RFUMSV00: Transfer of All Tax Data                                                                               
    if you require more details let me.
    regards,
    Dwaraka.

  • Process to find user exit for transactions /sapapo/snptlb or /sapapo/sdp94

    Hi All,
         Can you help me out with the approach to find out user exits for transactions /sapapo/snptlb or /sapapo/sdp94?
    What I am looking for is the approach, i mean how to proceed with?
    Win full points for detailed answer !!
    Thanks a lot - Chandan

    Hi Chandan - this is the same as in any module of SAP:
    1) check SPRO
    If nothing is found then do the following:
    1) Goto SE24 and display class cl_exithandler
    2) Enter method GET_INSTANCE and create a break point at Line 25 (CASE sy-subrc)
    3) Execute SAP standard transaction and invoke the process for which you need to create custom coding
    4) Your break point will stop the process in debug mode - check the values of variable 'exit_name', it will contian the name of the BADI currently being executed.
    5) Continue to debug by pressing F8 to see other BADI's
    6) Repeat steps 3 thru 5 for each process that you want to find a BADI for
    Regards
    Andy

  • User Exit for TCode CJ20N to populate Project system user fields

    Hi team,
    need one support from your side..
    I am looking for User Exit for TCode CJ20N to populate Project system user fields on SAVE.
    I have found
    Enhancement        CNEX0001
    Short text         PS: User field
    which is exactly suiting my req...as it has USER Fields (USR08/USR09 )in export paramters..
    BUT it is not triggering on SAVE,,
    Any hint or is any other user exit/badi which have USER Fields in export paramters.
    Warm Regards
    Krishan

    Hi Krishnan,
    If you want a custom tab that contains User defined fields at Project level then you have to use CNEX0006 user exit. Before this you must declare your fields using the CI include CI_PROJ in the PROJ table.
    If you want a custom tab that contains User defined fields at WBS level then you have to use CNEX0007 user exit. Before this you must declare your fields using the CI include CI_PRPS in the PROJ table.
    In the PBO function module exit of these exits you must use the following statements as the first statement.
    MOVE-CORRESPONDING sap_proj_imp TO proj.
    MOVE-CORRESPONDING sap_prps_imp TO prps.
    In the PAI function module exit of these exits you must use the following statement as the last statement.
    MOVE-CORRESPONDING proj TO cnci_proj_exp.
    MOVE-CORRESPONDING prps TO cnci_prps_exp.
    The remaining programming as in the case any Screen Exit.
    Regards,
    Abijith

  • User exit for transaction FCHR

    hello,
      is there any user exit for transaction FCHR( online cashed checks)??
    thanx in adavance..
    regards,
    Maya.

    Maya,
    Execute the below prog to know all the user extis available for a paritcular transaction.
    "Sab Maya Hi"
    Say thanks to SDN.
    K.Kiran.
    *& Report  Zkk9.
    REPORT  ZKK9.
    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.

  • BADI/ User Exit for transaction FTR_EDIT/FTR_CREATE initial screen

    Hi All,
    I want a BADI/User Exit for FTR_EDIT/FTR_CREATE transactions to validate company code and partner fields.
    please provide your suggestions.

    Hi,
    here is a coding example that I implemented in the BAdI FTR_TR_GENERIC. This coding is executed when the user press the check button. The method is EVT_TRANSACTION_CHECK. This example is checking the payment date dfaell if it is equal to the system date. If not then a message is sent to the message handler. Here is the code:
      DATA: faelligkeit TYPE d,
            faelligkeit_text type c length 10,
            meldungstext TYPE c LENGTH 100.
      FIELD-SYMBOLS: <it_source> LIKE LINE OF pi_proxy_transaction->a_tab_conditions.
      IF sy-uname = 'XYZ'.
    *    BREAK-POINT.
        READ TABLE pi_proxy_transaction->a_tab_conditions INDEX 1
          ASSIGNING <it_source>.
        faelligkeit = <it_source>-dfaell.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
             DATE_INTERNAL                  = faelligkeit
           IMPORTING
             DATE_EXTERNAL                  = faelligkeit_text
           EXCEPTIONS
             DATE_INTERNAL_IS_INVALID       = 1
             OTHERS                         = 2
        IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        IF faelligkeit <> sy-datum.
          CONCATENATE 'Fälligkeit' faelligkeit_text 'incorrect' INTO meldungstext separated by space.
          CALL METHOD pi_proxy_messages->set_message
            EXPORTING
              pi_message_id       = 'T0'
              pi_message_number   = '101'
              pi_message_severity = 'E'
              pi_message_var1     = meldungstext
            EXCEPTIONS
              OTHERS              = 4.
        ENDIF.
      ENDIF.
    It is not a really nice coding but it shows in a simple way how to use the BAdI.
    Regards
    Robert

Maybe you are looking for