Errors in Function Module.......
Hi All,
In my Application i am getting the following errors:
1)com.abc.sap.myapp.allmodels.ZTask_Result cannot be resolved(or is not a valid type) for the argument o of the method addResult
2)The return type is incompatible with DynamicRFCModelClassExecutable.getResult().
3)The return type is incompatible with ICMIQuery.getResult().
what does this mean?
Can anyone help me out?
I am struck here and i am unable to move further.
Thanks and regards,
Chandrashekar.
Hi Friends,
After i had Re-imported the Model i got my Server restarted.
But after it got restarted i Re-imported again(the same model).
Does this(server) need to be restarted again.
I am still getting these errors.
Please help me out to resolve this issue.
Thanks and regards,
Chandrashekar.
Similar Messages
-
Error in function module WWW_DISPATCH_REQUEST
Hi,
I am upgrading standalone ITS to integrated ITS.
In this process I refered to OSS notes number 979467. and i maintained all service files in WEBRFC service.
and when i am testing my services i am getting an error in the browser
saying:
'Error in function module WWW_DISPATCH_REQUEST'
Parameter Name Parameter value
sap-client 100
~USERAGENTTYPE M
~USERAGENTVERSION 6
~CALLED_FROM_ITS 6
~URLWGATE %_WEBRFC_HTTP_SERVICE
~SESSION SID:ANON:essap00_MIL_02:ByAZnf5VaI5DZcamNtjfwtDYdKZb5gkPV4oG3lBO-ATT
~URLIMAGEPATH C:\tmp\sapicons\
So i am not able to find an where i went wrong. Please suggest me or guide me to resolve the above error.
Thanks in advanceI am not sure this is an issue with getting the mime files for your webrfc service. If it is, please try the following:
From page 13 of the SAP document "Developing IACs with the SAP Integrated ITS"
MIME URL
MIME objects in the integrated ITS are accessed at runtime directly in the database. For this, a special ICF service mimes exists with the http request handler CL_HTTP_EXT_ITS_MIMES, which is stored in the ICF path defaulthost u2192 sap u2192 public u2192 bc u2192 its. It is used to fill parameter ~urlmime with the value /sap/public/bc/its/mimes. Also function mimeURL() returns this value as a result.
The ICF service mimes must be active if you want to execute an ITS service that accesses MIME objects.
Changes to the HTML templates are necessary only if the MIME URL in the ITS service does not contain the SAP default values.
Developing
Please also check out this OSS note 1076200 - WebReporting: Icon support for WebRFC Service
It may applies to your case.
The last parameter "~URLIMAGEPATH C:\tmp\sapicons\" may be the cause of the error.
Hope it helps.
Edited by: Danny Mak on Nov 23, 2009 8:03 PM -
SYNTAX ERROR in function module CACS_BUPA_PAI_SPECIAL_CACSB1
Hi experts,
I am trying to create business partner in SAP treasury module with role - general business partner and validity period 01/01/0001 - 12/31/9999. I am gettting syntax error in Function module CACS_BUPA_PAI_SPECIAL_CACSB1, it says
The key of internal table 'LT_BUT0BK' contains components of type 'X' or 'XSTRING'.
The "Read table LT_BUTOBK" statement is not permitted for such tables in a unicode context.
Please let me know if you have any solution for this.
Thanks in advance.
Edited by: Thanvi maraka on Apr 17, 2009 3:27 AMHello Thanvi
It seems that you need to apply the OSS note 1041283:
FUNCTION cacs_bupa_pai_special_cacsb1.
*"*"Lokale Schnittstelle:
DATA: lt_but0bk TYPE TABLE OF but0bk WITH HEADER LINE.
CALL FUNCTION 'BUP_BUPA_BUT0BK_GET'
TABLES
t_but0bk = lt_but0bk.
* einmal vorhanden -> nehmen; nicht vorhanden -> Feld muss leer sein
* mehrmals vorhanden -> Mussfeld
READ TABLE lt_but0bk INDEX 2.
IF sy-subrc NE 0.
* READ TABLE lt_but0bk. "NOTE 1041283 " <<<<<<<<<
READ TABLE lt_but0bk FROM lt_but0bk. " <<<<<<<<<
IF sy-subrc = 0.
cacs_s_bupaw-bank_id = lt_but0bk-bkvid.
ENDIF.
ELSE.
Regards
Uwe -
Error accessing function module: HELP
TO ADMINISTRATORS: PLEASE DO NOT DELETE. ADVISE WHICH FORUM TO POST.
Good Day to all SAP Gurus,
I need your help in resolving / understanding an error.
Envirornment - SAP IDES 4.7
While posting any document through FBCJ (Cash Journal), f.26 (incoming payment), f.22 etc., the below mentioned error is appearing.
Error accessing function module: FMFK_FIKRS_READ
Parameter: IP-FIKRS IP_FMA_OBJNR
When I click help (?), the following detailed message appears.
Diagnosis
The application has accessed a Funds Management or Cash Budget Management module with parameters missing or defective.
Can someone please help on this?
Points guaranteed.
Regards
Jamil1. Please do not offer points for replies. This is clearly mentioned in the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]. It is considered impolite and is the quickest way to have someone flag your message using the Abuse Button which usually means that the post will be deleted.
2. Per the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement], please title your subject appropriately. In particular, words such as "help" don't provide any insight into your message either when viewed directly or via search. This too is a possible Abuse violation and may be deleted by the other Moderators. A more appropriate title would be "posting Cash Journal document results in error XX-YYY (FMFK_FIKRS_READ)"... and it would help the others who would attempt to reply to your message if you provided the specific message number.
3. The financials forum is for functional questions. Since you are asking about a FM I'd recommend posting this question in one of the [ABAP Forums|/community [original link is broken];. Posting in the wrong forum won't lead to an abuse report but the message is likely to be locked to discourage other users to post in the correct forum.
Edited by: Nathan Genez on Oct 10, 2008 2:20 PM -
Internal error in functional module
Hi,
While the invoice is being posted in MIRO screen the system is giving the below error.
*Internal error in functional module*
*CKMW_CREATE_PO_HISTORY*
Message No. C+ 514
Thanks in advance to help me out from this problem.Hi,
Please check if the notes 1167399, 1015136, 1280056 and 1036588 help.
regards
Waman -
ERROR ACCESSING FUNCTION MODULE FMFK_FIKRS_READ
While crearting invoice or entering vendor invoice, the system gives me
following error.
ERROR ACCESSING FUNCTION MODULE FMFK_FIKRS_READ
PARAMETRE: IP_FIKRS IP_FMA_OBJNR
Can someone help!Actually I got the same error. I tried to debug abap not knowing what I was doing but just looking thru. I couldn't find anything. It won't allow me to post via f-02 or fb50.
I looked at this post and found someone else had the same problem via purhcase receipt. So I tried to do purchase receipt. The error message then changed slightly to " can not access the functional module" for FM etc.
It gave me a clue that the system is probably trying to access FM area. However it wasn't active in the global setting for the company.
Anyhow, I still created an FM area and assigned it to my company.
Then the error changed to FM update profile being missing. I fixed than and guess what >>>>> the error went away and I was able to post my document.
I am not sure what error it might cause in the future postings but I think it won't be unsolvable.
Hope this also works for you guys. -
Hi,
I get this error while posting a document -
Error accessing function module: FMFK_FKRS_READ parameter: IP_FIKRS IP_FMA_OBJNR
Same error apprears in GL/AR/AP.
Any suggestion?Hi,
Check the following notes 553048, 580494; it might solve your problem.
Regards,
Eli -
Error using function module in BODS
Hi I am trying to use a function module and when I run the job I am getting a warning
R/3Callreceive warning:<RFC_ABAP_RUNTIME_FAILURE-(Exception_Key:ITAB_LINE_NPOT_FOUND)- this row is not contained in the table.
Could you help me out here to get past this error?
Cheers!Hello,
Well, it all depends on the volume of data, if it is too much, you can eventually have time out problems. If you can, run your program in background, as a job, and at least you will never have a time out.
Best regards. -
Runtime error in functional module
they given below program is a function module calling program.while am execute this program they could display the message like as
What happened?
Error in ABAP application program.
The current ABAP program "YSUSFUN1" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLYGROUP3 ", the following syntax error occurred
in the Include "LYGROUP3U01 " in line 1:
"The main program of the function "Y_INTERNAL1" does not begin with "FU"
"NCTION-POOL"."
Author and last person to change the Include are:
Author "BASIS "
Last changed by "BASIS "
Error analysis
In program "SAPLYGROUP3 ", the following syntax error occurred:
"The main program of the function "Y_INTERNAL1" does not begin with "FU"
"NCTION-POOL"."
REPORT YSUSFUN1.
TABLES YSUSTAB1.
DATA IT1 LIKE YSUSTAB1 OCCURS 2 .
SELECT * FROM YSUSTAB1 INTO TABLE IT1.
LOOP AT IT1 INTO YSUSTAB1.
WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO,YSUSTAB1-PHONENO.
ENDLOOP.
CALL FUNCTION 'Y_INTERNAL1'
TABLES
IT4 = IT1 .
LOOP AT IT1 INTO YSUSTAB1.
WRITE: / YSUSTAB1-NAME, YSUSTAB1-ROLLNO, YSUSTAB1-PHONENO.
ENDLOOP.
2.)
the given below program is function module definition. while at that time of execution they could display the message as
*Syntax error in program*
*Source code LYGROUP3U01 Line 1*
*The main program of the function "Y_INTERNAL1" does not begin with*
*"FUNCTION-POOL".*
FUNCTION Y_INTERNAL1.
""Local Interface:
*" TABLES
*" IT4 STRUCTURE YSUSTAB1
LOOP AT IT4.
WRITE : IT4-name, it4-phoneno, it4-rollno.
endloop.
ENDFUNCTION.thanks
before am gone to se80 to activate the function group , am activate the function module only not activate the function group .
now am activate the function group they could not be depict the error . -
Hi Guys,
I have created a custom function module ,and transported to Production server,but the thing is am getting an error like "Error generating the test frame".What could be the reason?Give me your suggetions on the same.
Warm Regards,
Mohandoss P.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
Error with function module TABLE_COMPRESS?
Hi all,
What is the alternate function module for TABLE_COMPRESS?
This is going fine in 4.7 version.
But in ECC 6.0, if we use this function module we r getting SLIN error (Obsolate statements) .
How can we rectify this SLIN error?
So we have to use another funtion module for the same purpose.
Can any one help on this?
Rewards to all.
Thanks & Regards
Anu.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
Error in function module for inbound processingwhile testing from we19
hi,
I have developed a custom function module for processing inbound idoc for creating material using bdc...the problem is that when i am trying to test my idoc using we19 and calling my function module in debug mode an error is displayed showing 'interface for function module is incorrect' and also i am unable to see my function module in debugging mode.It is only displaying the error message...
I have given all the parameters necessary (import,export or tables) and found no error in the interface...I think the problem is appearing before my function module is being called....Also on seeing the short dump analysis I have seen that the error is in the form 'Idocs passed to application' which is not a part of the function module developed by me...
I am unable to understand why this error message is being displayed...
Please help me out of this..ya i know that ..But I wanted to create a simple one..moreover the problem is not with bdc....It is with the function module interface..
Also I want to ask a question that I had to define all the parameters (in the function module ) by data declaration statements in the function group top include..
If i dont do that say the first error is when i write loop at idoc_contrl ..idoc_contrl is not declared by a data statement..So IO had to write a data statement:
Idoc_contrl type table of edidc..I have seen that in other function modules (idoc inbound processing) no such data declaration is done.. -
Regarding Error in Function Module in Update Task
Hi All,
If a function module is called in Update Task and there is some error generated from it, it comes as an exit message unlike in a normal function module.
Is there any possible way to avoid such an exit message?
Thanks in advance.
Regards,
GarimaHi,
The problem is I am updating Z tables in a function and also calling a function in Update task to update a different set of tables.
Now, if for some reason there is an error in Update Function module, then my requirement is that rather than throwing an Exit message (which it is presently doing) the errors coming from the function should be captured so that the user knows what was wrong with the data he entered.
Is there any work around to the above requirement? Either all the tables should be updated or none of them should be updated.
Regards,
Garima Thapar. -
Error in function module ARCHIVOBJECT_GET_TABLE
Hi experts,
We are using the function module ARCHIVOBJECT_GET_TABLE to retreive
the archived scanned image and then we will attach this image in
emails.It was working previously .Suddenly this function module is giving error and I have tested the above function module in DEBUG mode.The error is due to " no entry exists in table 'SDOKPROF'.
we are able to see the archived scanned dcoument through OAAD .Why this
function module is giving error suddenly?How the entries are maintained
in table SDOKPROF?
We checked that all archiving settings are fine in OAC0 and OAC3 and RFC from SAP to IXOS also working correctly.
This function module ARCHIVOBJECT_GET_TABLE has status Not released.
the error is from the function module "SDOK_PROFILE_READ " inside the FM ARCHIVOBJECT_GET_TABLE.SDOK_PROFILE_READ also not release.Error raised is from the select query inside SDOK_PROFILE_READ.Is the problem due to the function module status not released?
Kindly suggest Me.
Best Regards,
Veena.I have actually passed this information to our IXOS admin guy, he is still looking at it though.
In the mean time can you please pass me the <b>sample code</b> on how you guyz are actually doing this through report. I tried couple of things but I'm sure I wasn't right in framing the correct process, since you have a proved report already, it would be of a great help if you can share.
You can aswell mail it to my personal id <u>[email protected]</u>.
Thanks in advance. -
ALV ERROR in Function Module Fieldcatlog Merge .
Hi
I have added 2 more fileds in internral table . this is alv report there is no syntax error .
i have user function module
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = w_repid
i_internal_tabname = 'T_BSIK'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = w_repid
i_bypassing_buffer = 'X'
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = T_FIELDCAT
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT t_fieldcat INTO wa_fieldcat.
CASE wa_fieldcat-fieldname.
WHEN 'ZFBDT'.
wa_fieldcat-key = ''.
wa_fieldcat-reptext_ddic = 'Net Due Dt.'.
wa_fieldcat-seltext_l = 'Net Due Dt.'.
wa_fieldcat-seltext_m = 'Net Due Dt.'.
wa_fieldcat-seltext_s = 'Net Due Dt.'.
WHEN 'KUNNR'.
IF p_kunnr IS INITIAL.
wa_fieldcat-no_out = 'X'.
ENDIF.
WHEN 'LIFNR'.
IF NOT p_kunnr IS INITIAL.
wa_fieldcat-no_out = 'X'.
ENDIF.
WHEN 'SHKZG'.
wa_fieldcat-no_out = 'X'.
WHEN 'ZBD1T'.
wa_fieldcat-no_out = 'X'.
WHEN 'BELNR'.
wa_fieldcat-key = 'X'.
WHEN OTHERS.
wa_fieldcat-key = ''.
ENDCASE.
MODIFY t_fieldcat FROM wa_fieldcat.
ENDLOOP.
I am getting error on that.
ERROR is :
The Internal table "\UNCTION= K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" IS 72 CHARACTERS Wide
.the program line is 79 characters wide.
Thanks
ChandraHi Chandra,
For ALV reports the length should not be greater than 72. (please change the same)
You can also achive the same
Goto SE38
Open your program in edit
Utilities --> Settings --> Set "Downwards-Comp Line Length" falg to X and save. (This wil auotmatically set ur code to 72 chars)
Hope this helps,
Nag -
IDOC error 51- Function module not allowed:
Hi,
I am getting following error in IDOC inbouond.I verifyed all parameters mentioned in error.
Issue still not resolved.
When debugged from WE19 this issue dosnt arise.
Kindly guide.
Function module not allowed: ZIDOC_INPUT_MATCLASS
Message no. B1252
Diagnosis
The function module ZIDOC_INPUT_MATCLASS and the application object type BUS1001 which were determined are not valid for this IDoc.
Procedure
1. Please check that the process code in the inbound partner profile is correct.
2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.Hi,
Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.
Sujay
Maybe you are looking for
-
Can i connect a HD console to imac 2013
just wanted to know if it is possible to connect a PS4 or other console to my iMac 8GB ram osx uosemites 2.9GHz i5 2013 model.
-
RSBBS restriction with VA03 and VA43
Hi Experts, I implemented through RSBBS a jump from a Bex query to R/3 documents for VA03 and VA43 transactions. Do you know how can I restrict VA03 to visualize only sales documents and not contracts documents. Because, when I want to use the GoTo t
-
Facetime Server Encountered Error
Hello, Just upgraded my SL to Lion and I am experiencing 2 problems. 1. FaceTime: "Server Encountered An Error Processing Registration. Please Try Again Later." 2. Screensaver Starts in the middle of the work. Tried deleting SystemPreferences. The Pr
-
Hello Java Gurus, i have some questions, please some help :) 1. What is the difference between ejbCreate() found in the Bean class & the create() method found in the Home object. (Is there a difference in functionality ? ) 2. I hear some developers s
-
Hello all, Does someone install the last service release on UCCX 7 SR3 cluster. The service release is available since the 22th of septembre. With SR3, I have some issues on historical report. Some filters are not working properly. Many thanks for yo