Extended Check
Hi all,
Can you all share your experience on Extended check issue i am having.
I have run the Extended Check on the program and it showed me errors like 'no read access to field string ' etc ....,
to hide this message i am using "#EC *.
even after using "#EC * the system is showing the message if i perform an Extended Check .
is my approach not the correct one ? or do i have to do any additional steps ?
Please suggest . Thanks in advance .
Regards,
Ry
this hide statement will not remove the error warning r message but it will hide...
generally v use extended program check to remove the unnessary satement from the program which will improve the performance of the program .so plz rectify the error and hide the warning........if they can not be rectified.
Regards
Anbu
Similar Messages
-
How to remove Unicode errors from extended check and code inspector
Hi
We are working on making all our ABAP program to make unicode compliant. We are activating unicode flag in attribute and correcting syntax errors. After this when we do the extended checks or SLIN or code inspector, usually giving error for many statements such as whenever there is message.
<b>Code is :</b>message a208 with text-004.
<b>Error description is</b> :
The message 208 for id zz has no long text.
You can hide this message using "#EC *
208 is - & does not exist in & &. And text 004 is - Cannot open the output file
By using #EC * we can remove errors. But Is this the correct way and what does this indicate? Please explain.Hi Yogesh,
Can you check whether the message number 208 in message id ZZ has the Self Explanatory checkbox as checked or not? I think it is not checked and u have also not maintained any long text. Hence the error.
By using #EC - you do not remove the error, however u hide it from SLIN.
It is used if there is some known error you cannot avoid which is returned by SLIN and you dont want it to be reported. Also, a way to "cheat" the reviewer who might be checking for errors.
Not good !!
Regards,
Aditya -
Hi All,
We are making programs unicode compliant. While doing extended checks I am getting following error. Could you please let me know how to resolve errors from extended checks.
<b>Error :
Program: ZSDS_DEPLOYMENTS_BACK Row: 1196 [Prio 1]
In PERFORM or CALL FUNCTION "BAPI_PO_CREATE1", the the actual parameter
"WT_RETURN" is too short for the formal parameter "RETURN".
(You can hide the message using "#EC *)</b>
<b>Program:</b>
wt_return type BAPIRETURN occurs 0 with header line,
ws_return like bapiret2,
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = wm_poheader
POHEADERX = wm_poheaderx
POADDRVENDOR =
TESTRUN =
MEMORY_UNCOMPLETE =
MEMORY_COMPLETE =
NO_MESSAGING =
NO_MESSAGE_REQ =
NO_AUTHORITY =
NO_PRICE_FROM_PO =
IMPORTING
EXPPURCHASEORDER = wm_exppurchaseorder
EXPHEADER = wm_expheader
TABLES
RETURN = wt_return
POITEM = wt_poitem
POITEMX = wt_poitemx
POADDRDELIVERY =
POSCHEDULE = wt_poschedule
POSCHEDULEX = wt_poschedulex
POACCOUNT =
POACCOUNTPROFITSEGMENT =
POACCOUNTX =
POCONDHEADER =
POCONDHEADERX =
POCOND =
POCONDX =
POLIMITS =
POCONTRACTLIMITS =
POSERVICES =
POSRVACCESSVALUES =
POSERVICESTEXT =
EXTENSIONIN =
EXTENSIONOUT =
POTEXTHEADER = wt_potextheader
POTEXTITEM = wt_potextitem
POPARTNER =
Commit BAPI changes to database.
call function 'BAPI_TRANSACTION_COMMIT'
importing
return = ws_return.
ThanksHi Yogesh,
Structure of BAPIRETURN and BAPIRET2 is different.
Try defining your table refering to BAPIRET2.
wt_return type <b>BAPIRET2</b> occurs 0 with header line,
Regards,
Phani -
Error on extended check for types include structure statements
Hi All ,
On Extended check im getting error :
Program: ZFIR_VALUATE_OBSOLETE_STOCK Include: ZFIR_VALUATE_OBSOLETE_STOCK_F Row: 1205
The current ABAP command is obsolete
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
types, not "LIKE" or "STRUCTURE".
Internal Message Code: MESSAGE G/B
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
The error is in below line :
TYPES: BEGIN OF t_fttax.
INCLUDE STRUCTURE fttax.
TYPES: END OF t_fttax.
and fttax is a dictionary strucuture . i made internal table and work area using it .
DATA: i_fttax TYPE STANDARD TABLE OF t_fttax,
wa_fttax TYPE t_fttax.
Need Help ,what i should do to remove this error ?
Regardsdeclare as :
DATA: i_fttax TYPE STANDARD TABLE OF fttax,
wa_fttax TYPE fttax.
No need to declare as :
TYPES: BEGIN OF t_fttax.
INCLUDE STRUCTURE fttax.
TYPES: END OF t_fttax. -
ABAP programming extended Check
Hi
Why do we do ABAP program Extended Check?
Thank Youit is necessary for Complete check of the ABAP source text for all statically recognizable errors.Programs with errors in the extended program check can be executed, but usually result in an exceeption.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801afd454211d189710000e8322d00/content.htm
Error situation during execution of an ABAP program. Exceptions are treatable (statements TRY, CATCH) or untreatable.
Untreated exceptions result in a runtime error. An exception is triggered either by the ABAP runtime environment due to error situations that are not foreseeable by the static program check, or by the RAISE EXCEPTION statement. -
Extended check through program
Hi Gurus,
I wanted to do extended check and note down errors of nearly 3000 programs . Is there any possibility to do it through a program which upload program names from excel and return errors, if extended check found errors??
Thanks in advance!!
SajHi,
You can perform Extended Check for a group of programs using CODE INSPECTOR ( Tcode is SCI ). You will have do it by creating a object set for the set of programs.
regards,
Mahesh -
hi,
In extended Check of my code i get this Warning:
Program: ZFI_E_DV_FINA_SWIFT Include: ZFI_E_DV_FINA_SWIFT_F01 Line : 35
FORM TRANSFER_DOWN not called directly
(check dynamic PERFORMs!
MajaHi,
This message suggests that the form FORM TRANSFER_DOWN is not called in your program using perform statement. You can hide the message by adding the "#EC on right side of the form statement after the .(dot). If this perform is not at all called in your program or from any other program then you can comment out the Form altogether.
Hope this helps. -
Hi
In my report's extended check i am getting a error like this
Char. strings w/o text elements will not be translated:
'Third-Party PO - SO Report '
(The message can be hidden with "#EC NOTEXT)
Can any one gimme some idea how to do this?/
Arun JosephHi Arun,
Using text elements will solve your problem.In the menu goto->text elements->text symbols.In the column text give you character like this.
Sym Text
001 Third-Party PO - SO Report
refer this in the report as text-001 instead of using ''Third-Party PO - SO Report '.
Regards,
Charumathi.B -
How to avoid extended checks for the events used in ALV.
Hii,
I hav delvpd an alv report in which i hav used events for which i haven't declared PERFORM for the same. but when i had checkd in the Extended program checks it says that form interface is not called directly.. check for dynamic PERFORMS...
how to avoid this error in the extended check program.Another option can be calling the routine from the program itself with a check that never satisfies.
like:
if 1 = 2.
perform top_of_page.
endif.
form top_of_page.
endform.
Regards,
Joy. -
what is the program extended check?
Use
You use this function to perform static checks, which are too time consuming for the normal syntax check. The extended program check returns both errors and warnings and it is possible to run either individual specialized tests or one whole standard check.
Procedure
1. You access the extended program check by means of transaction SLIN. You can also choose Program ® Check ® Extended program check.
The system displays a list of possible check options. By default, all of them are selected. For detailed information about a particular option, position the cursor on it and choose F1.
Note
The extended program check takes considerably longer time than other checks but it uses a buffer and the process speeds up after the first run.
2. Select any options you need.
For each option you have selected, the system displays an overview of the number of errors, warnings, and messages.
Note
Only the especially critical warnings are displayed before the standard check.
3. Choose an entry to display the corresponding detail screen.
From that screen you can jump to the appropriate point in the program and correct the error. -
Code Inspector / Extended Check - Error in Inbound Custom Function Module
I have created a new cutom FM for Inbound IDOC Application Posting.
In the TABLE Parameter of FM the following Tables difined.
IDOC_CONTRL LIKE EDIDC
IDOC_DATA LIKE EDIDD
IDOC_STATUS LIKE BDIDOCSTAT
RETURN_VARIABLES LIKE BDWFRETVAR
SERIALIZATION_INFO LIKE BDI_SER
while checking with Code Inspector Tool I got an Error for BDI_SER.( Last Table Parameter of the FM)
Syntax check warning
"BDI_SER" can be enhanced. After a structure enhancement, the semantics of the
parameter transfer may change.
Internal Message Code: MESSAGE G_B
(The message can be hidden with "#EC ENHOK)
Type "BDI_SER" or the type of one of its subcomponents can be enhanced. The semantics of the parameter transfer may change after a structure enhancement.
For the execution of a Remote Function Call (RFC), the actual parameter and formal parameter do not have to be of the same type. In the case of structure types, the actual parameter and formal parameter can contain additional components at the end. These additional components are set to their initial values.
Check whether the enhancement category of the relevant type correct is set or whether the category "cannot be enhanced" should be used.
How to fix this error? other wise how to supress the Message by adding "#EC ENHOK
where I have to add the Comment "#EC ENHOK.
please help to give details .
Thanks in advance.
SharIn the source code you will have this in comment right, use the "#EC ENHOK.
-
Extended syntax check for include structure
Hello Everyone,
While declaring the internal table as:
TYPES: BEGIN OF t_data.
INCLUDE STRUCTURE mara.
TYPES: END OF t_data.
DATA: it_data TYPE table of t_data.
When performing extended check, i get following error:
The current ABAP command is obsolete and problematic, especially so in ABAP
Objects
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
types, not "LIKE" or "STRUCTURE".
I am using 4.7 version.
Any clue how to avoid this error during extended check.
Regards,
TarunTarun,
With WAS 6.20 you should not declare internal tables with header line or using the old syntax as they are not compatible with OO ABAP.
So, you either declare a TYPE the way you have done, in case you want additional fields apart from the INCLUDE structure, or declare the table directly like the way I have shown.
Good thing, you can even specify the type of internal table that you want to create using this - STANDARD, SORTED, HASH. These tables will help you with the performance issues.
regards,
Ravi
Note : Please mark the helpful answers -
Extended program check and code inspector
Hi Gurus,
I developed on report . I wrote at end of and at new in loop but extended code checking it showing one error is:
1)The LOOP statement processing will be limited
(FROM, TO and WHERE additions in LOOP)
Interaction with group change processing (AT NEW, ...) is undefined
(The message can be hidden with "#EC *)
2)The LOOP statement processing will be limited
(FROM, TO and WHERE additions in LOOP)
Interaction with group change processing (AT NEW, ...) is
(The message can be hidden with "#EC *)
and I wrote select statement for input validation extended check showing warning as:
Syntax check warning
This warning is only displayed in SLIN
In "SELECT SINGLE ...", the WHERE condition for the
test for equality. Therefore, the single record in q
Internal Message Code: MESSAGE GSB
(The message can be hidden with "#EC *)
I want to remove those warnings and errors please can any body help me.
Regards,
Shashikumar.GHi Sashi,
1) The LOOP statement error is coming because, you must have used LOOP AT itab WHERE ... something like this.. this means that you are limiting theh records processed in the LOOP. Under this case you can not use AT events..
To use AT events, fill another internal table with the records that you want to process and use AT event in loop at that table..
2) You have used SELECT SINGLE in your code, but the select query does not have the full primary key in the WHERE condition.. it is mandatory to define complete primary key value so that the system will get only single record...
To remove this error, instead of SELECT SINGLE, use SELECT..UP TO 1 ROWS..
Let the query be as it is.. only remove SINGLE keyword and put UP TO 1 ROWS after the FROM clause and Before WHERE clause...
Thanks and Best Regards,
Vikas Bittera. -
In ECC 6.0, I have two errors in my extended syntax check
1). Char. strings w/o text elements will not be translated:
'Store%'
(The message can be hidden with "#EC NOTEXT)
with below coding
SELECT kunnr name2 j_3astcu
FROM kna1
INTO TABLE gt_kna1
FOR ALL ENTRIES IN gt_soldto1
WHERE ( name2 LIKE 'STORE%'
OR name2 LIKE 'Store%'
OR name2 LIKE 'store%'
OR name2 LIKE 'DC%'
AND land1 = 'US' )
OR ( j_3astcu = gt_soldto1-store_no
AND land1 = 'US' ).
2).
SELECT-OPTIONS : s_mail1 FOR somlreci1-receiver NO INTERVALS.
The current ABAP command is obsolete
With "LOOP AT itab", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO
FIELDS" is required in the 00 context
Internal Message Code: LOOP 012
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
LOOP AT s_mail1.
*-----If email id entered on the selection screen doesnot contain
'@' and '.', then give relevent message to user as popup.*
IF s_mail1-low NA gc_at OR s_mail1-low NA gc_dot.
MESSAGE e038(zs) WITH text-m08 text-m09 text-m13.
ENDIF.
ENDLOOP.
Please suggest me howcan I avoid string Store% as well as select-option.In my opinion, the answers given to your first question so far, are wrong. When there is a specific reason for using a text string in a select, then it should remain precisely as that. So you should use "#EC NOTEXT. It is wrong to put them in a text element, as they will never be translated.
The extended syntax check doesn't exist so that you can remove the cause, it is so that you can address it. Many violations of the extended syntax checker have a valid reason. That's why you get the "#EC exceptions. But if you use them, then make sure you can justify it.
matt -
How to resolve Extended Systax check Error..
Hi All,
In Syntax check i am not getting any errors,If i have check Extended Syntax check I have got 2 error in SLIN ( Extended Syntax Check) Like
ERRORS :
#Messages for MESSAGE(Error)
Program: ZMXXR600A Row: 416
No. of WITH fields of MESSAGE 021 for ID Z1: 1
No. of placeholders in this message: 0
Message: Non Statistical posting not allowed for Account 52979100
No long text exists for this message
(The message can be hidden with "#EC *)
Program: ZMXXR600A Row: 418
No. of WITH fields of MESSAGE 022 for ID Z1: 1
No. of placeholders in this message: 0
Message: Please use the same IO to credit and debit
No long text exists for this message
(The message can be hidden with "#EC *)
The Code i write for this Eroors
CASE SY-SUBRC.
WHEN 0.
MESSAGE S021 WITH P_FILE. line :416
WHEN 1.
MESSAGE W022 WITH P_FILE. line :418
WHEN OTHERS.
ENDCASE.
P_FILE is declraed as;
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME DEFAULT C_FILE.
Can you give some inputs to resolve the Errors ASAP.
Thanks,
SridharMESSAGE S021 WITH P_FILE. line :416
WHEN 1.
MESSAGE W022 WITH P_FILE. line :418
in both messages & needed
check 021 and 022 in both messages there is no <b>&</b> where you can place your actual value.
for Ex: message 021
Ex 1) hi print
Ex 2) hi print <b>&</b>
so now you can call this with
1)MESSAGE S021 .
2)MESSAGE S021 WITH P_FILE.
as you not maintain & it is giving error for extended check so mention & where you want to print p_file
or just call message with out passing P_file.
Rewards if useful..........
Minal Nampalliwar
null
Maybe you are looking for
-
I use the Adobe Creative Cloud file storage system to store and also share pdf files with my customers. When I need to share a pdf file, I create a link for the folder containing the correct pdf files. Then I paste the link to that folder into the bo
-
I cant download free apps without verification with my credit card acc Foto: http://www.part.lt/img/b9f32cba96ef0ee3614ba70721ed6a2f20.PNG http://www.part.lt/img/3631543fb0900dedb3ff67141998f31d599.PNG
-
Add a phone number to iMessage with an iPod touch?
Hello everyone! I recently bought my iPod touch 5th generation, and I'm loving it. However, I was wondering if I could add a phone number too instead of only an email? I don't see that option anywhere except to add another email. Since lots of people
-
Can i hook up my electric guitar to mac air
mac air doesn't have an audio input, but is there another way to connect my electric guitar to that i can record it in garage band
-
Language Translation for XD01/02/03
Hello Friends , Can anyone tell me how to translate the standard text elements of XD01 tabs like "General Data" or Address. Can you guide me for the SPRO path for the same?? Thansk and Regards, AShwini