Enhancing CAT2 Screen using screen exit.

I am working for a custmer enhancement whuch requires to include a input field on the CAT2 Main screen. I am using CATS005 exit & subscreen at the top of header area.
But with this I cannot use the values that is entered in this input field for processing as technically they have not included this subscreen in PAI module.
Here is the flow logic of screen 2000 of SAPLCATS
PROCESS BEFORE OUTPUT.
global module for global settings
MODULE D2000_GLOBAL_SETTINGS.
initialization
  MODULE D2000_INIT.
modify fields outside loop
MODULE D2000_MODIFY_HEADINGS.
Customer-Subscreen - carrier
  CALL SUBSCREEN CATS005 INCLUDING 'SAPLCATS' SUBSCR-005.
Header-area
  CALL SUBSCREEN CATS003 INCLUDING 'SAPLCATS' SUBSCR-003.
Worklist
  CALL SUBSCREEN CATS001 INCLUDING 'SAPLCATS' SUBSCR-001.
Entry-screen
  CALL SUBSCREEN CATS002 INCLUDING 'SAPLCATS' SUBSCR-002.
View-switches
  CALL SUBSCREEN CATS004 INCLUDING 'SAPLCATS' SUBSCR-004.
PROCESS AFTER INPUT.
  MODULE D2000_ABBRUCH AT EXIT-COMMAND.
Worklist
  CALL SUBSCREEN CATS001.
Entry-screen
  CALL SUBSCREEN CATS002.
Header-data
  call subscreen cats003.
OK-Code
  MODULE PROCESS_OK_CODE.
Can any body tell me how to achieve the values defined ain any Input field added using the screen exit.
Is there any other way to achieve this functionality...???

Check the documentation of the enhancment CATS0005
1.  You want to enter the customer fields along with the SAP fields on   
     the data entry screen. Proceed as follows:                                                                               
o   Define customer Include CI_CATSDB in the ABAP/4 Dictionary. Include  
     only fields in the customer name range in structure CI_CATSDB.       
     Otherwise, this may cause problems during a system upgrade. Use only 
     fields of type 'CHAR' and 'NUMC'.                                                                               
o   Activate the customer fields using a special Customizing transaction 
     for the Time Sheet.                                                  
Regards,
Naimesh Patel

Similar Messages

  • How can i make the select-option selection screen use screen layout?

    I want to make the selection screen like follows.
    no:  xxxxxx   ~   xxxxxx.
    in the screen painter.
    can any expert tell me.
    thank you very much.

    Hi,
    In layout screen for description use text box and for input fields
    use two i/o box.Try follow like as bello code
    For ex: you are going to give date as a select-option:
    textbox      input/out field box   textbox   input/out field box  
    date      :    fkdat-low                to           fkdat-high
    in data declaretion:
    ranges:  fkdat  for vbrk-fkdat.
    in select query where statement:
         where date ge fkdat-low
         and date le fkdat-high.
    Regards,
    Ramya.

  • Have a Droid, The beta is crash right and left. Rotating screen, using screen keyboard. What do you need for me to help fix it?

    Unable to use this browse as is on this device. I am not sure how to support debugging these issues.

    Thanks for the report. This is a known problem on the Motorola Droid. We're working on it, but we don't have a fix yet. Sorry! For some details, see https://bugzilla.mozilla.org/show_bug.cgi?id=602252

  • Implementation:Enhancement using screen exit:QQMA0001 for Tcode:QM01

    Dear Abaper,
      I am implementing the Enhancement for Quality notification using screen exit:QQMA0001 for the transaction code :QM01,QM02,QM03.
    when i was creating the subscreen in function group:XQQM and after saving that subscreen(for example 100) , it is automatically stored in local object, that mean local package or development class. it is not transporable.
    my requirement is , i want to transport that Project. how to do that.
    if you have a any idea, please help me.
    advance thanks.
    with best regards,
    Velmurugan.S

    Dear ravi,
    yes of course , I have created already customer enhancement in CMOD.but my requirement is ,
    when i save that subscreen after creation of subscreen, it is not ask Package or development class.but it is taking local object(local package) automatically . what is reason, i donot know .
    if you have a any idea, please help me.
    thank you.
    with best regards,
    velmurugan.S

  • I want to enhance screen using BADI

    hello sap guru
    i want to enhance screen using BADI.can i enhace screen with out using SPRO transaction? is abap consultant have authorization for SPRO trasaction?

    Hi Swamy,
    You can do the same without SPRO configuration.
    For example for purchase order screen exit there will be no configuration required in SPRO.
    Basically the main difference in scenarios come depending on the type of transactions using.
    For example when using master data transactions such as MM01,XD01 etc we do have configurations do be done in SPRO.
    But while using transactional data transactions such as VA01,ME21 etc we can do directly without any configurations by using customer exits such as MM06E005(for me21n).
    Why this difference occurs i also dont know.I thought it would be of some useful to you to some extent.Do share if you find why this difference occurs.
    Have a nice day.
    Thanks,
    Surya

  • Custom Field using screen exits CS01/CS02/CS03

    Dear Experts,
    I am using Screen exits to add some text description in CS01/CS02/CS03, my requirement is to add a field 'Product Appearance' with multiple lines for the material description. For this I have created customer field 'ZTEXT1' and appended it to STKO table. Now in screen painter(SE51) i need to add 3-4 lines of type stko-ztext1 because the product desc is of size 300-400 character.
    I am not able to create 3-4 lines of type stko-ztext1. Can u plz suggest how can i add 3-4 lines of  type stko-ztext1 in SE51.
    I am able to create a blank field in SE51 using Edit->Grouping->Step Loop->Define,  but while activating it is giving error as "Input/Outpt field STKO-ZTEXT1 and key word are not in the same screen".
    Plz suggest.
    Regards

    Hi Kurtt,
    Below are the available user exits :-
    PCSD0001  Applications development R/3 BOMS
    PCSD0002  BOMs: Customer fields in item
    PCSD0003  BOMs: Customer fields in header
    PCSD0004  BOM comparison
    PCSD0005  BOMs: component check for material items
    PCSD0006  Mass changes user exit
    PCSD0007  Check changes in STKO
    PCSD0008  WBS BOM: Customer-specific explosion for creating
    PCSD0009  Order/WBS BOM, determine URL page
    PCSD0010  Order/WBS BOM, determine explosion date
    PCSD0011  Knowledge-based order BOM, parallel update
    PCSD0012  Customer - Mat. number/mat. number during material exchange
    PCSD0013  Customer-specific processing of an explosion for BOM browser
    PCSD0014  Knowledge-based order BOM: Status
    Check which one suits your requirement.
    Regards
    Abhii

  • How to get a field description on custom screen used in enhancement

    Hi all,
             I am working with transaction cj20n. It is having an enhancement and a custom screen is used in it. I have modified the screen by adding a text label ahead of field FUND. I want to get the description of that field on that text label. How can i achieve this? I have the table field where the description is available. How to get it on the screen?
    Thanking you in advance.

    When you refer your field to the DD table field, the domain will contain the text, it will automatically fetch the description. But you can also Hard code them since its a label in the screen.
    Regards,
    Anita

  • Use Field-Exit in selection-screen

    Hi,
    I have actived the field-exit of data element p_pernr program RCATSC01 screen 1000.
    But the result is the same like before.
    It is possible to use field-exit in screen 1000 (selection screen) of transaction CAPS ?
    Julien.

    Hi
    I believe the field-exit works for screen of module pool only.
    Max

  • Short dump on using screen exit via screen exit - MEREQ001

    Hi Experts,
    Short text
    Incorrect screen type: Screen is incorrectly defined or used.
    What Happened
    The attribute screen type with the values 'Normal Screen' and
    'Subscreen' determines the use of the screen. If a normal screen is used
    as subscreen or vice versa, an error occurs.
    The screen "SAPLXM02" 0111 has, in this respect, an inappropriate screen type.
    Error analysis
        This is a programming error in the application.
    Trigger Location of Runtime Error
        Program                                 SAPLXM02
        Include                                 LMEVIEWSF01
        Row                                     209
    Regards,
    Moderator message: not a proper question, please do more research before asking, study the entire dump text for hints, search for SAP notes.
    Edited by: Thomas Zloch on May 13, 2011 1:32 PM

    Hi Experts,
    Short text
    Incorrect screen type: Screen is incorrectly defined or used.
    What Happened
    The attribute screen type with the values 'Normal Screen' and
    'Subscreen' determines the use of the screen. If a normal screen is used
    as subscreen or vice versa, an error occurs.
    The screen "SAPLXM02" 0111 has, in this respect, an inappropriate screen type.
    Error analysis
        This is a programming error in the application.
    Trigger Location of Runtime Error
        Program                                 SAPLXM02
        Include                                 LMEVIEWSF01
        Row                                     209
    Regards,
    Moderator message: not a proper question, please do more research before asking, study the entire dump text for hints, search for SAP notes.
    Edited by: Thomas Zloch on May 13, 2011 1:32 PM

  • How to do screen enhancement in the selection screen of CS15 transaction

    Hi friends,
    I have a unique requirement where I have to do screen enhancement in the selection screen of CS15 transaction to get the top level material,
    Can you please tell how this could be achieved ?
    Looking forward  your valuable inputs.
    Thank You.
    Regards,
    S Sadhya

    Hi,
    This can be achieved by using user-exit. Specifically screen-exit. Check these two exits related to transaction CS15. They may be helpful to you.
    <b>
    PCSD0002      BOMs: Customer fields in item  
    PCSD0003      BOMs: Customer fields in header
    </b>
    Let me know if you need any other information.
    Regards,
    RS

  • CAT2 ,Add Selection-screen RAUFNR

    Dear all
      CAT2 if I want to additional file RAUFNR (Receiver order) to Selection-screen
    and When I click Enter .Its show only  RAUFNR that selected.

    Hey guy.
    Now I can add field "CATSDB-RUFNR" on initial screen (CAT2)
    I used Exit "CATS0007 CATS: Subscreen on initial screen"
    I know that I can manage PBO,PAI on Screen2000 (SAPLXCAT).
    But i have no idea. How can I modify PBO PAI for show
    only RAUFNR data into Data Entry View?
    Best Regard.
    Chutima

  • Program "SAPLSZA1" tried to use screen 0000 - vendor display XK03 - dump

    Hello,
    when i try to display vendor (XK03) program SAPMF02K falls into dump. Problem is in calling subscreen into address area.
    CALL SUBSCREEN ADDRESS INCLUDING 'SAPLSZA1' '0300'.
    this is dump:
    The termination occurred in the ABAP program "SAPLSZA1 " in "%_CTL_INIT".
    The main program was "SAPMF02K ".
    The termination occurred in line 25 of the source code of the (Include)
    program "<SYSINI> "
    of the source code of program "<SYSINI> " (when calling the editor 250).
    Source code extract
    000010   * ABAP-System Include for all programs
    000020   constants SPACE value ' ' %_predefined.
    000030
    000040   * SYST-Felder als SY-Felder ansprechbar machen.
    000050   tables: SYST,
    000060           sy %%internal%%.
    000070   *
    000080
    000090   tables RSJOBINFO.                      "for SUBMIT .. VIA JOB ..
    000100
    000110   data: begin of common part %_SYS%%,
    000120           SCREEN    type SCREEN,
    000130           %_PRINT   type PRI_PARAMS,
    000140           %_ARCHIVE type ARC_PARAMS,
    000150         end   of common part.
    000160   *
    000170   data: %_VIASELSCR type X value '04' %_predefined.
    000180
    000190   system-exit.
    000200     perform (SY-XFORM) in program (SY-XPROG).
    000210
    000220   * Nach Laden des Dynpros
    000230   module %_CTL_INIT output.
    000240    <b> perform %_CTL_INIT in program SAPMSSYD using SY-REPID if found.
         >   endmodule.</b>000260
    000270   * Nach DCO
    000280   module %_CTL_OUTPUT output.
    000290     perform %_CTL_OUTPUT in program SAPMSSYD using SY-REPID if found.
    000300   endmodule.
    000310

    Hi,
    I have checked OSS Note Number 1037961 which is giving somewhat the same Error Description as per your query. Below is the summary of this OSS Note.
    Check whether this is useful for you.
    Summary
    Symptom
    When registering in the R/3 E-Commerce 5.0 B2C webshop the
    process finishes without any error messages, but if you go to the user details the address data is missing.
    The R/3 system has created the customer but when displaying with XD03
    the system dumps in program SAPLSZA1 : screen 0000 does not exist.
    This issue occurs only in ECO ERP 5.0
    Thanks,
    Satya

  • Pros and Cons of Customer Specific Screens with Screen Exit????????????????

    Hi Experts,
                    I am using Screen Exits for Notification.
                    I want to know what are the Disadvantages of using screen exits for notification.
                    Earlier we had Runtime error because of the Screen Exits used anyway we had rectified the problem. Anyway before going for next Screen Exits please tell me if any problems I would likely to face because of screen exits.
                   Thanks in advance.
    NArendra

    Narendra,
    If they are programmed correctly, then you shouldn't have any problems.
    However, you may need to create some new ABAP reports.
    PeteA

  • Destroy ALV which is using Screen as container

    <b>What I did:</b>
    *In the PBO of screen <b>200</b>
    *Created a l_alv of type alv grid which is using screen as container
        CREATE OBJECT l_alv EXPORTING i_parent = cl_gui_container=>screen0.
    *filling it with data
    *--Transfer data to ALV
      CALL METHOD l_alv->set_table_for_first_display
    Expor . . .
    When user is pressing F3 on screen <b>200</b>, i m going back to sel-screen
    leave to screen 1000
    or
    call selection-screen 1000
    <b>Problem Statement:</b>
    Though I am landing up to screen 1000 as i can see the menu of sel screen, but my ALV is still visible on top of screen 1000
    <b>What I did:</b>
    to destroy it, i m using these lines before <i>Call selection-screen 1000</i>
    call method cl_gui_container=>screen0->free.
    call method l_alv->free.

    * Internal Tables:
    DATA: i_exclude TYPE ui_functions,   " Function button table definitions
          i_fieldcat TYPE lvc_t_fcat,    " Field catalogue
          i_output TYPE STANDARD TABLE OF ZLIGHT_STRUC,
          i_groups  TYPE lvc_t_sgrp,
    * Work Areas:
           w_variant TYPE disvariant,          " Enable variant saving
           w_layout  TYPE lvc_s_layo,          " Define the layout structure
           w_output TYPE MARA.
    * Constants Declaration
    CONSTANTS:  c_a       TYPE c VALUE 'A'.          "All Layouts
    * Object Declarations
    DATA : o_alvgrid          TYPE REF TO cl_gui_alv_grid,
           o_dockingcontainer TYPE REF TO cl_gui_docking_container.
    In PBO,
    FORM f9000_objects_create.
    * Check to see if we are runnng on online
      IF cl_gui_alv_grid=>offline( ) IS INITIAL.
        CREATE OBJECT o_dockingcontainer
          EXPORTING
            ratio                       = '95'
         EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          others                      = 6.
        IF sy-subrc NE 0.
    *      MESSAGE i001 WITH text-e01.
          LEAVE LIST-PROCESSING.
        ENDIF.
      ENDIF.
      CREATE OBJECT o_alvgrid
        EXPORTING
          i_parent = o_dockingcontainer.
    ENDFORM.                    " f9000_objects_create
    FORM f9200_build_field_cat TABLES p_fieldcat STRUCTURE lvc_s_fcat
                          USING value(p_structure).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name       = p_structure
           CHANGING
                ct_fieldcat            = p_fieldcat[]
           EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
      IF sy-subrc <> 0.
    *    MESSAGE i277.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " f9200_build_field_cat
    FORM f9400_layout USING    value(ptitle)
                         value(pzebra)
                         value(pmode)
                         value(pwidth)
                         value(pvariant).
      w_layout-grid_title = ptitle.
      w_layout-zebra      = pzebra.
      w_layout-sel_mode   = pmode.
      w_layout-cwidth_opt = pwidth.
      w_variant-handle    = pvariant.
      w_variant-report    = sy-repid.
    ENDFORM.                    " f9400_layout
    FORM f9500_display_data TABLES p_output
                             p_groups
                             p_exclude
                             p_fieldcat
                      USING value(p_layout).
      CALL METHOD o_alvgrid->set_table_for_first_display
         EXPORTING
           is_variant                    = w_variant
           i_save                        = c_a
           is_layout                     = p_layout
           it_special_groups             = p_groups[]
           it_toolbar_excluding          = p_exclude[]
        CHANGING
           it_outtab                     = p_output[]
           it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
           invalid_parameter_combination = 1
           program_error                 = 2
           too_many_lines                = 3
           OTHERS                        = 4.
      IF sy-subrc <> 0.
    *    MESSAGE i278.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " f9500_display_data
    FORM f9600_free_objects USING pobject
                        value(ptype)
                        value(ptext).
      DATA: l_objectalv TYPE REF TO cl_gui_alv_grid.
    * Need to type the field symbol or it does not work
      CASE ptype.
        WHEN 'ALV'.
          l_objectalv = pobject.
          IF NOT ( l_objectalv IS INITIAL ).
            CALL METHOD l_objectalv->free
              EXCEPTIONS
                cntl_error        = 1
               cntl_system_error = 2
                OTHERS            = 3.
            CLEAR: pobject, l_objectalv.
            PERFORM f9700_error_handle USING ptext.
          ENDIF.
        WHEN 'DOCKING'.
          DATA: lobjectdock TYPE REF TO cl_gui_docking_container.
          lobjectdock = pobject.
          IF NOT ( lobjectdock IS INITIAL ).
            CALL METHOD lobjectdock->free
              EXCEPTIONS
                cntl_error        = 1
               cntl_system_error = 2
                OTHERS            = 3.
            CLEAR: pobject, lobjectdock.
            PERFORM f9700_error_handle USING ptext.
          ENDIF.
        WHEN 'CONTAINER'.
          DATA: lobjectcontainer TYPE REF TO cl_gui_container.
          lobjectcontainer = pobject.
          IF NOT ( lobjectcontainer IS INITIAL ).
            CALL METHOD lobjectcontainer->free
              EXCEPTIONS
                cntl_error        = 1
               cntl_system_error = 2
                OTHERS            = 3.
            CLEAR: pobject, lobjectcontainer.
            PERFORM f9700_error_handle USING ptext.
          ENDIF.
        WHEN OTHERS.
          sy-subrc = 1.
          PERFORM f9700_error_handle USING
                                    text-e04.
      ENDCASE.
    ENDFORM.                    " f9600_free_objects
    *&      Form  f9700_error_handle
    *       This form is used to handle errors
    *      -->P_PTEXT - Text holding the messsage to be displayed as
    *                   information
    FORM f9700_error_handle USING    value(ptext).
      IF sy-subrc NE 0.
    * Add your handling, for example
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = text-e03
                  txt2  = sy-subrc
                  txt1  = ptext.
      ENDIF.
    ENDFORM.                    " f9700_error_handle
    MODULE status_9001 OUTPUT.
      IF o_dockingcontainer IS INITIAL.
        SET PF-STATUS 'ZSTATUS'.
        SET TITLEBAR 'ZTITLE'.
    *Create Objects
        PERFORM f9000_objects_create.
    *Build field catalog
        PERFORM f9200_build_field_cat TABLES i_fieldcat
                                 USING 'MARA.
    *Layout
        PERFORM f9400_layout USING sy-title 'X' 'X' 'X' p_layout.
    *Display data
        PERFORM f9500_display_data TABLES i_output
                                    i_groups
                                    i_exclude
                                    i_fieldcat
                              USING w_layout.
      ENDIF.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    * This is used for PAI details
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM f9600_free_objects:
                   USING o_alvgrid 'ALV' text-e02,
                   USING o_dockingcontainer 'DOCKING'
                           text-e01.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          PERFORM f9600_free_objects:
                   USING o_alvgrid 'ALV' text-e02,
                   USING o_dockingcontainer 'DOCKING'
                           text-e01.
          SET SCREEN '0'.
          LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    Hope this helps u.

  • How to call custom screen from User exit?

    Hai,
    I have to call a custom screen from user exit include after the delivery save.
    Depends on the data in the delivery,
    if the data satisfies certain conditions I will call the screen otherwise no.
    Could any one please tell me how to do this?where to create screen & how to link it here?
    Regards,
    Bhaskar.

    Hi,
    Please check with the following Enhancements -
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    Rewards if it helps
    Regard
    Goutham

Maybe you are looking for