on 2007 Sep 13 5:28 AM
Hi ,
Anybody can explain to me how to put the extra checking in second screen ( screen 2002 ) in CAT2. I want to do the checking in field CATSD-RAUFNR (Receiver order).
Request clarification before answering.
I got this error, anybody can help me.
Runtime Errors DYNP_WRONG_SCREEN_TYPE
Date and Time 13.09.2007 00:27:05
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 "SAPLXCAT" 3000 has, in this respect, an inappropriate screen type.
Error analysis
This is a programming error in the application.
Trigger Location of Runtime Error
Program SAPLXCAT
Include LCATSO22
Row 11
Source Code Extract
Line SourceCde
1 * 4.6a
2 * XQPALRK160036 151298 Customer Subscreen für Header-Info
3 ***INCLUDE LCATSO22.
4 *&----
*
5 *& Module D2000_TRANSFER_DATA OUTPUT
6 *&----
*
7 * text
8 *----
*
9 MODULE D2000_TRANSFER_DATA OUTPUT. "new module XQPK160036
10 PERFORM D2000_TRANSFER_DATA CHANGING HIDE_HEADER_INFO.
>>>>> ENDMODULE. " D2000_TRANSFER_DATA OUTPUT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Enhancement <b>CATS0003 CATS: Validate recorded data</b> customer exit <b>EXIT_SAPLCATS_003</b>
Put the error messages back by using a syntax like the following sample
IF NOT fields-raufnr IS INITIAL " Order filled
AND fields-vornr IS INITIAL " no oper
AND z_aufk-autyp = '30'. " work order
* send message error
CLEAR i_messages.
i_messages-msgid = 'ZFSC'.
i_messages-msgno = '029'.
i_messages-pernr = fields-pernr.
i_messages-catsdate = fields-workdate.
i_messages-msgty = 'E'.
i_messages-msgv1 = fields-raufnr.
SHIFT i_messages-msgv1 LEFT DELETING LEADING '0'.
i_messages-msgv2 = z_aufk-auart.
i_messages-msgv3 = z_aufk-autyp.
APPEND i_messages.
IF 1 = 2. MESSAGE e029(zfsc). ENDIF. " Where used
ENDIF.Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can try with user exit
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
Transaction Code - CAT2 Time Sheet: Maintain Times
Exit Name Description
CATS0001 CATS: Set up worklist
CATS0002 CATS: Supplement recorded data
CATS0003 CATS: Validate recorded data
CATS0004 CATS: Deactivate functions in the user interface
CATS0005 CATS: Customer field enhancements
CATS0006 CATS: Validate entire time sheet
CATS0007 CATS: Subscreen on initial screen
CATS0008 CATS: Determine workflow recipients for approval
CATS0009 CATS: Customer-Specific Text Fields in Data Entry Section
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
No of Exits: 12
Rewards if useful..................
Minal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.