SLIN Error
Hi All,
I am getting an error as :
Syntax check warning
This warning is only displayed in SLIN
Assigning to "POSNR" may result in information loss
the ine where i am getting error is :
LOOP AT t_temp_all ASSIGNING <fs_temp_all>.
READ TABLE t_rev_all INTO w_rev_all WITH KEY bukrs = <fs_temp_all>-zccode
vbeln = <fs_temp_all>-zcontnum
posnr = <fs_temp_all>-zcontitm.
Please help me in understanding where i am wrong.
Thanks,
Poonam
Hello,
Check the length of POSNR and the field zcontitm. If zcontitm is longer than POSNR, this warning will occur, and of you are sure that no data will be cut off, you can ignore this warning.
Vikranth
Similar Messages
-
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. -
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 -
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 -
External program interfaces SLIN Error
Dear Experts,
I am getting SLIN External program interfaces error . could you please tell me how to correct the error ?
*LOOP AT lt_p0001 INTO ls_p0001."
SUBMIT yhrin_rhstru00 WITH pchwegid = 'O_S_P' WITH pchobjid-low = ls_p0001-orgeh "#EC *
WITH pchbegda = '19000101' WITH pchenda = '99991231' WITH pchplvar = '01'
WITH pchotype = 'O' AND RETURN.
EXIT.
ENDLOOP.*
Regards,
Sivakumar.ADear experts ,
I am receiving the following SLIN Error Message.
Program: SAPLYHRIN_MSSDB_ENH Include: LYHRIN_MSSDB_ENHU06 Row: 129 (Prio 1)
PCHOBJID-LOW is not a parameter or a select option in report YHRIN_RHSTRU00
(The message can be hidden with "#EC *)
Program: SAPLYHRIN_MSSDB_ENH Include: LYHRIN_MSSDB_ENHU06 Row: 129 (Prio 1)
PCHENDA is not a parameter or a select option in report YHRIN_RHSTRU00
(The message can be hidden with "#EC *)
Thanks and Regards,
Sivakumar.A -
Hi all,
I nee help to overcome this type of SLIN error....
Use addition UNIT when outputting MARA_MDEZ-PTRANS,
"PTRANS" is defined as ptrans LIKE mdez-mng01....(where mng01 = Quantity received or quantity required).
How to overcome this error.
PLZ help.
Thanks in adance.
OarskTO overcome SLIN error...Do your declarations like this...
TYPES : BEGIN OF GT_T08,
RC(1) TYPE C.
INCLUDE STRUCTURE zsdmmpp02.
TYPES: END OF GT_T08.
or
TYPES : BEGIN OF GT_T08,
RC TYPE CHAR1.
INCLUDE STRUCTURE zsdmmpp02.
TYPES: END OF GT_T08.
OR.
DATA: T_ZTEST TYPE zsdmmpp02.
TYPES : BEGIN OF GT_T08,
RC(1) TYPE C.
INCLUDE STRUCTURE T_ZTEST.
TYPES: END OF GT_T08.
Regards,
Sairam -
Report SLIN Error need to be removed
Hi All,
I am getting the below SLIN error while doing extended program check.
How to rectify this error.
Use addition UNIT when outputting IT_TAB-MENGE
Use auxiliary field when outputting with MESSAGE
Regards,
Viji.Hi,
Try using IT_TAB-MENGE UNIT 'USD'.
Regards,
Arati. -
Hi all,
I need help to overcome this type of SLIN error....
Use addition UNIT when outputting MARA_MDEZ-PTRANS,
"PTRANS" is defined as ptrans LIKE mdez-mng01....(where mng01 = Quantity received or quantity required).
How to overcome this error.
PLZ help.
Thanks in adance.
OarskHi,
You need to add unit syntex in the write statement.
WRITE ptrans UNIT meins. etc.
And make sure you have also defined the the unit while decalring the ptrans.
e.g.: ptrans type c unit meins. etc.
Reward points if helpful aswer.
Asvhender -
Hi All,
I am getting the following SLIN error for my report.
Code Snippet.:
LOOP AT i_ekes INTO wa_ekes WHERE ebeln = wa_po-ebeln
AND ebelp = wa_po-ebelp.
AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.
SLIN Error:
The LOOP statement processing will be limited
(FROM, TO and WHERE additions in LOOP)
Interaction with group change processing (AT NEW, ...) is undefined
Points Assured,
Regards,
Viji.Hi,
As per SAP documentation u should not use AT events with where clause. SAP will not give guarenty on the functionality.
Replace the logic like below.
SORT i_ekes BY ebelp.
LOOP AT i_ekes INTO wa_ekes.
CHECK wa_ekes-ebeln = wa_po-ebeln
AND wa_ekes-ebelp = wa_po-ebelp.
AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.
ENDLOOP.
Also at what position is the field EBELP?
If it is not the first field then till that field it takes the key.
eg: EBELP is 3rd field in ur itab then when ever field1 or 2 or 3(EBELP) changes then control enters to AT event.
Another way could be like this.
i_ekes_temp [] = i_ekes[].
DELETE i_ekes_temp WHERE wa_ekes-ebeln NE wa_po-
ebeln AND wa_ekes-ebelp NE wa_po-ebelp.
SORT i_ekes_temp BY ebelp.
LOOP AT i_ekes_temp INTO wa_ekes.
AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.
ENDLOOP.
I feel first approach is better.
Hope it is clear.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Aug 26, 2008 6:17 PM -
Hi All,
Im getting this slin error :
"T005T'' is enhanceable.After a structural enhancement, the semantics of the
parameter might change.
and other error is :
"BUT0ID" is enhanceable. Enhancement can lead to offset shifts when passing RFC
parameters.
There are structures referencing these types and are defined in parameters of the Function module.
Please anyone how can i remove these errors?Hi Ujjwal,
Check the HELP from SAP link.
[http://help.sap.com/abapdocu_70/en/ABENUNICODE_STRUCTURES.htm] -
Dear Experts,
I have created table maintenance generator for my custom table that generated two function module and necessary includes.
I am getting Obsolete Statements EPC (SLIN) Error and warnings due to the auto generated includes in my function group while checking the extented program check.
I could not reduce the EPC errors and warnings because that referring the register object.
Could you please give your suggestion to reduce the EPC Errors and warnings?
Thanks in advance.
Warm Regards,
Sivakumar.A
Edited by: Sivakumar Arumugam on Oct 11, 2008 12:59 PMDear Deepak Paramashetty,
I did not get any problem ignored the warnings no other way.
Regards,
Sivakumar.A -
E-Recruiting - SLIN Error "insufficient authorization to use objects'
Hi,
When I do the Extended Syntax Checks (SLIN), got below error message. Should i neglect it or ?
u201C Program: ZHRRCF_CON_CAN_CREATE Include: ZHRRCF_CON_CAN_CREATE_FORM Row: 169 [Prio 2]
Object PROG ZHRRCF_CON_CAN_CREATE has insufficient authorization to use objects
CLAS CL_HRRCF_CANDIDATE_ADMIN_BL from package PAOC_RCF_BL
ZHRRCF_CON_CAN_CREATE in package ZHR_EREC_FE
CL_HRRCF_CANDIDATE_ADMIN_BL in package PAOC_RCF_BL
The used object, CLAS CL_HRRCF_CANDIDATE_ADMIN_BL, is not visible
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)u201D
...NaddyYour application and development work, right?
The check you do is more or less a warning, that the PAOC_RCF_BL package is not visible, within your package.
If your application works, ignore it. -
To remove slin error(No Read Access)
Hi All,
When I do the extended programing check for my program its giving slin warning as No read access for that variable .How can i remove that error.
Thanks
ShrutiHi Shruthi,
Use "#EC NEEDED at end of that statement, if you need it.
if you are not using that variable just remove from your code.
Reward if it helps,
Satish -
HOW TO REMOVE SLIN ERROR?
Hi,
i declared internal table in the given form.
data begin of itab occurs 0.
include structure mara.
data end of itab.
when i check SLIN...it is showing warning as "Line contains a single period"
Thanks in Advance,
VenkatHi Venkat,
data : begin of itab occurs 0 ,
include structure mara ,
end of itab.
Check it now.
Better to declare internal table using Types instead of Data :
Like the below code.
TYPES : BEGIN OF T_MARA,
INCLUDE STRUCTURE MARA,
END OF T_MARA.
DATA : I_MARA TYPE STANDARD TABLE OF T_MARA.
Regards,
Suresh.S -
SLIN ERROR 'The MESSAGE 001 for ID 00 has no long text'
Hi All,
When checking the SLIN for the Program, I am getting an warning as 'The MESSAGE 001 for ID 00 has no long text'.
How to solve this?
<removed by moderator>
Regards,
Viji.
Edited by: Mike Pokraka on Aug 6, 2008 10:48 AMGo to Message ID 'OO' through SE91.
In that Enter some message text in 001.
This will solve ur problem
regards,
Naveen
Maybe you are looking for
-
Hello experts, I have got a ticket for a report.But its locked under some TR and i need to wait till its released. So i tried copying the report as a local object and modifying it time bieng. When i tried doing so its throwing a message "test objects
-
Adding a 3D sphere onto a 3D cube
Hi, currently i have created a 3D cube and was thinking to create a 3D sphere so that the sphere can stay onto the cube. And so when the cube is being rotated, the sphere that is on the cube will move according too. Can any1 show me the code to creat
-
Save As - can't save a pic as a Jpeg
Hi, How do I set Firefox to always save a photo as a Jpeg then right clicking to "Save As" when I wish to copy a photo from a web page please? I have Windows XP. Thank you in advance.
-
Remove Data values above a certain frequency
Hi, I am analysing the resonance peaks of a vibration frequency spectrum with a bandwidth up to 10KHz, however am only interested in peaks situated between 1 and 4.5kHz. Is there a quick way to automatically remove the channel contents outside the ar
-
Trouble resizing Photoshop CS6 Image
Hello. I created a logo in Photoshop CS6 (4500 x 4500 pixels) and need to now shrink it so that it may be posted on a web page. I need to shrink the image to: 50 x 50, 75 x 75 and 100 x 100 pixels. I have tried to resize the image, but have not had m