SLIN Errors
Hi,
When I do Extended Syntax Check I receive an error:
No write access to reference G_BADI_LIST_TUNING_REF takes place
Here's the declaration:
DATA: g_badi_list_tuning_ref type ref to if_ex_iwoc_list_tuning
where if_ex_iwoc_list_tuning is an interface.
Please help
Edited by: Donna CHerr Matias on Jan 29, 2008 7:01 PM
Hello Donna
Since almost all important information about the context are missing I try a best guess:
Assuming that the type definition
DATA: g_badi_list_tuning_ref TYPE REF TO if_ex_iwoc_list_tuning
is part of a custom report then the error might be due to the fact that you do not instantiate the BAdI interface within your report.
Alternatively, the system may not allow - by default - to use variables referencing BAdI interfaces because they are intended to be used within standard coding.
Regards,
Uwe
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 -
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,
PoonamHello,
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 -
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
-
MBP + Mini DisplayPort to Dual-Link DVI Adapter + 30" = blue flickering
Hi everyone, I was wondering if anyone has found a solution to this problem? I use an Apple 30" Cinema Display and it worked fine with my Late 2007 MBP. Now I got a new Core i7 MBP and the Mini DisplayPort to Dual-Link DVI Adapter. At first all works
-
I upgraded to lightroom5 about 2yrs ago, but now my system prompts me to renew my membership to activate my develop module as the develop module has been de-activated
-
Dear Sir or Madam: I purchased the above identified product because of an unsatisfactory experience I had with my former laptop when I needed to SKYPE my children while they were abroad. Because of your product literature underlining your superi
-
MASTER-CHILD REPORT in JASPER REPORT
Hi, How can i print a Master and Two child details in a Pre Printed Bill using Jasper Reports? Please give me some guid lines to achive this. Thanks Suresh
-
GENERATE_SUBPOOL_DIR_FULL error while populating dynamic tables
Hello! I have created a program that extensively uses dynamic internal tables. However, I faced a probelm regarding dynamic popultion of tables. Here is the sample: REPORT ZTEST. DATA: t_fcat TYPE lvc_t_fcat, dt_outtab TYPE REF TO DATA. FIE