Extended checks error
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.
Thanks
Hi 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
Similar Messages
-
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.
-
When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors. But if I boot off an external drive and check the same SSD, no errors are reported.
This happens not just with the SSD in my Mac Mini, but with another SSD in my MacBook (both now running Mavericks). So far as I know, all of the kit I am using is in good order (despite the file corruption reports). So I am beginning to wonder if it could be due to a bug in Mavericks? Both SSD drives have been formatted to MacOS Extended (journaled) format. Should I have used a different format, I wonder?
Has anyone else encountered this issue?
Does anyone have a solution?
Or an explanation that might help my investigation of the issue?
Thanks guys,I understand that the Corsair Force 3 is not one of the SSD drives that are supported on Apple Macs.
I did try downloading and using Trim Enabler, but the error message came up both when it was off and when it was on.
I understand that not everyone thinks Trim Enabler is a good program, though there is a new version out now, so I may give it another try. -
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 -
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. -
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 -
Extended sytax check error for messages
Hi I am doing a Extend syntax check for a report and i am getting fowloing error for the messages displyed in report. in the report the stranded message class' MESSAGE ID 00' is used. i am getting this error in extended check:
No. of WITH fields of MESSAGE 398 for ID 00
TEXT-001
No. of placeholders in this message: 4
Message: & & & &
Highest placeholder number in long text: 4
Long text:
&CAUSE&
Please suggest me how to correct the same. i tried taking the text element but too i am getting this messages.
plz help me
maheshHi Mahesh,
The message number 398 of message class 00 has four place holder, which means its expecting you to pass 4 values in message statement. It seems you are pass just one parameter after TWITH .
You can either pass SPACE for rest of parameters as
MESSAGE s398(00) WITH 'TEST' space space space.
or you can hide the message with "#EC *
MESSAGE s398(00) WITH 'TEST' . "#EC * -
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 -
Cannot extend package Error while saving changes in Query
Dear Gurus
When i am trying to save changes made in the query i get an error message Cannot extend package YBW. kindly help me in resolving this as the changes are required in multiple queries.thanks for your relpy Jaya..i checked the properties...the check box package not extendable check box is unchecked and the main package checkbox is also unchecked.
i check the below post...not exactly related to my issue
creation of package(Package can not be extended)
Edited by: SAP Learner license on Mar 30, 2011 9:16 AM -
Extended Syntax Error......
Hi All,
In my Program I have created the following Subroutine -
FORM call_back TABLES record_tab STRUCTURE seahlpres
CHANGING shlp_top TYPE shlp_descr
callcontrol TYPE ddshf4ctrl.
Here seahlpres is a DDIC Structure
Now this is giving an Extended Syntax Error stating that "Using STRUCTURE is Obsolete".
Agreed, but I am unable to use following -
FORM call_back TABLES record_tab TYPE STANDARD TABLE OF seahlpres
CHANGING shlp_top TYPE shlp_descr
callcontrol TYPE ddshf4ctrl.
or
FORM call_back TABLES record_tab TYPE LINE OF seahlpres
CHANGING shlp_top TYPE shlp_descr
callcontrol TYPE ddshf4ctrl.
How to remove this Error, by what way should RECORD_TAB be declared as to remove the Error.
Regards,
Pankaj Agarwal.Hi,
see the below code from tcode ABAPDOCU.
REPORT demo_mod_tech_example_5.
DATA: BEGIN OF line,
col1 TYPE i,
col2 TYPE i,
END OF line.
DATA itab LIKE STANDARD TABLE OF line.
PERFORM fill CHANGING itab.
PERFORM out USING itab.
FORM fill CHANGING f_itab LIKE itab.
DATA f_line LIKE LINE OF f_itab.
DO 3 TIMES.
f_line-col1 = sy-index.
f_line-col2 = sy-index ** 2.
APPEND f_line TO f_itab.
ENDDO.
ENDFORM.
FORM out USING value(f_itab) LIKE itab.
DATA f_line LIKE LINE OF f_itab.
LOOP AT f_itab INTO f_line.
WRITE: / f_line-col1, f_line-col2.
ENDLOOP.
ENDFORM.
For more details check examples in abapdocu.
The ABAP Programming Language >Modularization Techniques >Procedures >Subroutines
Cheers,
Rudhir -
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 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,
Rythis 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 -
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.
Maybe you are looking for
-
I cant seem to transfer photos from my PC to IPAd
Have synced but here I am 1 hour later and still no photos on my I Pad, is there a tip?
-
When starting up my computer this morning almost all of the icons in the menu bar had disappeared and had question marks in they place. Is there a solution for this? Dan
-
Belle - how to disable text of homescreen widget/i...
Is tnere a way to do this? There is nothing useful in this ''feature''... In fact it is an eye sore and defeats the purpose of the homescreen shortcut/widget fezture..It completely breaks the Ui and good looking themes become UGLY!!!..The readability
-
Settings problem of range of 2nd gen. not as good as 1st gen.?
My original Aiport Express stopped working this week, just went dead, replaced it with a new 2nd gen. one .... Wheras the original extended the signal through the house particularly to the living room, with this one, there is no signal at all. It's j
-
I used the following CSS to make it so that the image in one of my place holders would enlargen when you hover your cusor over it. When I tried it out, the image enlargened but the enlarged image was behind my divs. How can I fix this? .Image1 {