SLIN......
Hi all,
I did the extended checking of my code and I got the following error message :
1.Type specification missing for ID AMOUNT(10)
2. Type specification missing for ID V_1(20)
3. Type specification missing for ID V_2(100)
I have defined these in my program as
DATA : data TYPE string,
v_1(20),
v_2(100).
data: amount(10).
can you please tell me where the error is :
thanks
Rajeev
hey thanks for the reply..that problem is solved...
now the next problem is now I am getting this kind of message in SLIN...
1.No read access to field V_3
2. No read access to field V_4
3. No read access to field V_5
and I have defined in my program as :
data: v_3 like sdbah-actid,
v_4(10) type p decimals 2,
v_5 type i.
so can you please tell me where the error is:
Thanks
Rajeev
Similar Messages
-
Hi Folks,
I Have Encountered A Strange Warning Message In SLIN With The Field
AUSP-ATWRT.
" The field "ATWRT" used in the WHERE condition may contain NULL values.
Internal Message Code: MESSAGE GYT
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON) "
This Field IS NOT Null Since In the where clause I have Written Where ATWRT IN S_PCODE & S_PCODE HAS DEFAULT Values Of NLZ 14 09 TO NLZ 14 11 .
ATWRT IS NOT NULL IN AUSP .
CAN YOU GUYS RESOLVE THIS PROBLEM .
Regards,
RAJIV KAUSHALHello Rajiv,
do not use in where clause ,if you use then you will get warning message ..
tables : ausp.
select-options : s_atwrt for ausp-atwrt.
data i_ausp like ausp occurs 0 with header line.
start-of-selection.
select * from ausp into table i_ausp.
where atwrt in s_atwrt.
loop at i_ausp.
<b>if i_ausp-atwrt = 'NA'.
endif.</b>
endloop. -
In ECC 6.0 I am getting Slin Error -ABAP command is obsolete
Hi All,
In Hr ABAP we will start basic coding with
TABLES pernr .
infotypes:0002.
By using this I am getting the following SLIN Error :
Program: ZHCP0026 Row: 32
he current ABAP command is obsolete
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
types, not "LIKE" or "STRUCTURE".
nternal Message Code: MESSAGE G/B
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
INFOTYPES : 0380,
The current ABAP command is obsolete
Tables with headers are no longer supported in the OO context.
Internal Message Code: MESSAGE G1D
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
Can some one help me , how to rectify this slin error ?
Thanks,
Suresh.
Edited by: suresh kumar on Feb 25, 2009 2:22 PMHi Suresh,
Am too facing the same problem. if you could find a solution, pls let me know. -
SmartForms: Purchase order Print prog and SLIN
Hi all,
I am on 4.7 and Purchase Order Print Prog name is /SMB10/FM06P. When i am doing SLINE Check on this Prog. I am getting the following Message.
Program: /SMB10/FM06P Row: 1
The namespace of program /SMB10/FM06P has the setting "C" and cannot be tested.
A possible cause for this is that an SAP program is being checked in a customer
system.
Note, the following rule applies after a change in the source code:
For testing the namespace setting is ignored for one week
(The message cannot be hidden using pseudo-comment "#EC .., or by using SET
EXTENDED CHECK OFF/ON)
Is any one have idea about this?
Thanks in advnace.Thanks for your Reply,
When i am doing Syntax check in SE38, I am getting the below error message.
<b>"The Program "/SMB10/FM06P" is not Unicode-compatible, according to its program attributes."</b>
I have found the OSS Note No: 751007
Solution
Copy the program into your own namespace (e.g "ZZsmbfm06p"), maintain the program attribute to make sure the flag "Unicode checks active" is selected. Then maintain the customizing for output control again.
<b><u>
GOD BLESS SAP, SAP asking to Create Custom Object.</u></b>
Thanks
Message was edited by: Vipin Nagpal
Message was edited by: Vipin Nagpal -
Absolete Statements SLIN Error
Dear Experts,
I am using the following statement .it is giving the SLIN Error.
IMPORT it_node FROM MEMORY ID 'QWERT'.
Could you please tell met how to avoid the SLIN Error ?
Thanks in Advance.
Regards,
Sivakumar.AHi,
Use as below:
IMPORT name_1 TO var_1 ... name_n TO var_n FROM MEMORY ...<ID>
IMPORT it_node TO ITAB FROM MEMORY ID 'QWERT'
ITAB can be of the same type as IT_NODE...
Regards
Shiva -
Differences between SLIN and Code Inspector
Hi,
Can anyone tell me the differences between SLIN and Code Inspector(SCI)..?
and in which cases we use SLIN and SCI..?
and as an ABAPer, which one should we prefer..?
Thanks,
Pradeep.Hi
Extended syntax check or SLIN is used to check the program in all aspects for the different syntaxes like
When you use select single whether you have passed all the key fields or not>
whether you have maintained the text elements texts or not,
Have you used UNIT...CURRENCY along with the QTY and AMOUNT fields when displayed using the WRITE statement
and check for all the varities of statements used in the code, and if there is some problem with that statement/command, it will display as error or warning.
Check following links -
slin
can any one tell me abt SLIN T-CODE
Reward points if useful
Regards
Anji -
how to hide the slin errors
Hi Shilpa.
I would like to suggest my opinion,
Refered from,
[SAP HELP Library - Standard Reference for Errors and Warnings|http://help.sap.com/saphelp_nw04s/helpdata/en/43/00c5b7daf15166e10000000a1553f6/content.htm]
SLIN Infos point to possible (semantic) program errors. According to the situation, the program should be changed or the messages should be switched off.+
+Only the SLIN messages of this category can be switched off by means of special comments
Reference,
Use u201C#EC * to hide warnings from places that cannot be removed by proper typing.
[SDN Library - Standard Reference - PDF - Make ABAP code unicode enabled - Hide SLIN Error Messages|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c031aa90-0201-0010-b69d-88a278e158c8]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Hi,
I have created a custom Z program by copying the standard program RIMPOS00. When I executed the SLIN (Extended Program Check) for this new Z program, I find many errors, warnings and messages being displayed even though these DO NOT display when I run the SLIN for the standard program RIMPOS00.
Any inputs on why these actually show up and how could these be resolved / avoided would be of immense help.
Regards,
Ravi KrishnaAll,
I did follow the steps (as suggested by you) before like choosing all the includes, documentation etc. for copying but I am still faced with the same issue. It certainly has come as a surprise to me that at times the code in the include gets copied but at times, it doesn't. I am working on an ECC 6.0 system.
Any thoughts on if I am missing out on any of the steps or if something additional needs to be done.
Regards,
Ravi Krishna -
hi guys,
Do SLIN/SCI programs check for below errors too?
1-BAPI related errors
2-ABAP Query related errors
3-SAPSCRIPT/SMARTFORMS errors
4-IDOC related errors.
Please suggest if any alternatives to find the upgrade error exist in programs using above.
Thanks.
Ambichan.Hi,
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.
It check only for Reports, Module Pools, Class & Interfce.
Regards,
Amit
Reward all helpful replies. -
SLIN warning message need to rectify
Hi All,
TRY.
CREATE OBJECT LR_0014
EXPORTING
TCLAS = 'A'
INFTY = '0014'.
CATCH CX_HRPA_VIOLATED_ASSERTION .
ENDTRY.
for this code in SLIN it is showing warning message as
No Exception Handling After the CATCH Statement
Please suggest the Solution.Hi Kumar,
check this link:
Re: Extended program check error for cl_salv_table=>factory
Regards,
Swarna Munukoti. -
Strange warning in SLIN for OO context
I've defined a type in a class as: types: t_select_ty type table of z_select. When I SLIN it, I get the message:
"TYPE TABLE" type specifications are not allowed in the OO context. Use the
specification "TYPE STANDARD TABLE" instead.
Which seems pretty odd, considering that I'm doing this in an OO context!
( Of course, I've changed it to STANDARD TABLE now ).
matt>
Thomas Zloch wrote:
> Couldn't find any reference in ABAP online help. Maybe OO wants you to be precise about your table types? Too bad Horst Keller isn't checking these forums...
> Cheers
> Thomas
It's fine - I prefer to be precise, so I fixed it - bit of sloppiness on my part. Just odd that it's actually permitted, but slin doesn't like it.
>
Thomas Zloch wrote:
>
> P.S. vague subject
Really? :-D
Another bit of sloppiness on my part. But I had a friendly moderator fix it for me... -
Hi
Thankx for your response. i found one more probelm in slin.
SELECT SINGLE KBETR KWERT FROM KONV INTO (GV_KBETR, GV_KWERT)
WHERE KSCHL = C_DTYPE AND KNUMV = LV_KNUMV.
i'm using above select but in slin i'm getting warning message saying that
in "select single......." the where condition for the key filed "nation" does not test for equality. there fore the sigle record in question may not be unique.
internal message code : MESSAGE GSB
Regards
Munnasyed
nation is probably a part of the composite primary key.
So the warning comes up. If u want it to go away put it in the
select query in the order the fields appear in the table -
REG: Obsolete statements in SLIN ecc 5.0
Hi all,
When i am executing the ABAP EPC for obsolete statements.(with Also display Hidden Messages)
I get the 2 Obsolete statements and as following :
Program: ZXXXXX Row: 652
The current ABAP command is obsolete and problematic, especially so in ABAP
Objects
An explicit work area is necessary in the OO context. Use "APPEND wa TO S_WERKS
[SORTED BY]".
(The message can be hidden with "#EC *)
Program: ZXXXXX Row: 2558
The current ABAP command is obsolete and problematic, especially so in ABAP
Objects
At "LOOP AT itab", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO
FIELDS" is required. in the OO context.
(The message can be hidden with "#EC *)
Though i put the "#EC after above variable still i can see it in the SLIN overview.
Pls help me to hide these Obsolete statements.
Thanks and Regards
Srikanth.PLest you find yourself labelled as "out of date" or "obsolete", perhaps you could spend a little time to bring your coding practices up to the state of the product. A LOT of things used in ABAP within my 12 years are now obsolete. For instance, the "Official ABAP Programming Guidelines" by SAP Press, written by Drs. Thummel and Keller, describes FORM....ENDFORM and REFRESH as obsolete.
In current versions, we loop at ...assgining <Field-symbol> or into structure....
We do read table into structure or assigning <field-symbol> or (where possible) transporting no fields.
We don't have tables with header rows, since those can't be used in OO.
We don't use REFRESH, we use CLEAR tabname[].
In OO, we use the SoC, software layering concepts, with GUI, Application and Persistence level Class definitions and implementations.
We used class-based exception handling where possible to avoid abends which are, of course, detrimental to our users' experiences.
etc. -
On change-of giving error in SLIN
hi all,
i have used on chane of statement in my code.
Im getting the following <b>error</b> in the SLIN check.
Can anyone help me??
The current ABAP command is obsolete
"ON CHANGE OF ... ENDON" is not supported in the OO context.
Internal Message Code: ENDON 001
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
Any help appreciated.Hello
I think we discussed about this problem and solved yesterday.Dont worry about SLIN check. If you are going for a version upgradation not only this On Change Of but so many things you need to Change..According to the code that you send yesterday there is no other way other than On Change Of.So if you are getting output in a correct way you can go ahead.If there is some error in your current output just send the code..
Hope this will help you..
Reward Alll Helpfulll Answers.............. -
SLIN - Syntax check warning error
Hi, guys. I got SLIN syntax check warning error:
Program: ZBT_RT_POS Include: ZBT_RT_POSTOP Row: 172 [Prio 1]
Syntax check warning
The Unicode flag is not set for class "ZBRT_POS". This is not possible with
globally activated Unicode checks. .
Internal Message Code: MESSAGE G{4
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
Can u help me resolve this?
Thanks,
NihadHi,
Goto to your program...' ZBT_RT_POS ' not the class... its attributes .. and check the unicode Checks active ....
Some more knowledge on unicodes:
Unicode Checks Active.
1) Unicode is intended to imply "unique", "universal", and "uniform".
2) To Support multilingual property of the program.
3) From Release 6.10 ABAP support multibyte coding in unicode before that ABAP use only character that was based on single byte or double byte.
Check your version also... Maybe that is the reason you are not able you check it.. -
Hi,
Can anyone please tell me how does the SLIN work in ABAP.
I am using a code which involves the use of SLIN in ecc 6.0 system. When I use the same code in 4.7 system, it is giving errors.
Can I copy-paste the code of the SLIN Type Pool from 6.0 system to 4.7 system ? What will be the effects of it ?Hi Nikhil,
SLIN is nothing but the extended program check. This not only involves the SLIN type pool but there are many classes and objects involved in checking the programs. If you have written a program in ECC 6.0 nod and if you are just trying to copy paste the code in ECC4.7 there will be few errors. This cannot be avoided unless you change the code. Copying SLIN type pool is not a solution for this.
Please let me know for more details.
Regards,
Praveenkumar T.
Maybe you are looking for
-
My notes won't open on my iPod touch 5 g it lags and closes everything else is fine I need my notes all my passwords are written there in my notes.
-
Final Cut Express 4 HD quits while loading
Hello All, I loaded a new copy of Final Cut Express 4 HD yesterday and it simply refuses to load. It installed successfully but once launched it displays the splash page for a few seconds and loads files then just stops and disappears. No error while
-
Hi All, We are having problem with team viewer iView from ESS in MSS workset and want to display 'book training courses' iview for all or individual employees.When team viewer selected and getting following error like" <b>No objects found</b>" eithe
-
Account inaccessible .. operation does not support device
iMac, Core Duo 20" 2Gig RAM Since update to 10.4.10 using combo update... trying to log on to a guest account crashes the system to black screen with white system prompt: '...operation not supported by device.' I hold the power button for 5 seconds t
-
1080p footage to DVD or Blu-ray?
I am involved in a feature length documentary film (aprox 1 hour 15 minutes), where we shot all of our footage at 1080p. We used a Canon 6D, Panasonic HMC40 AVCHD cam and some shots with a gopro hero 2. We will be releasing this on DVD, but this is