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 .
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 -
I am using VS 2013 ,CTP 3.1
When I tried to run the Ionic side menu template on Emulator 8.1, the javascript console shows below exception -
Exception was thrown at line 9576, column 11 in ms-appx://io.cordova.myapp8724a31325644ec29a8d2d88682b7987/www/lib/ionic/js/ionic.bundle.js
0x800a139e - JavaScript runtime error: [$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.6/$injector/nomod?p0=ngLocale
There was no code changes to any of the files.
Please advise.Yes. I am using the same template.
I am not able to attach the screenshot here.
This is the error -
'WWAHOST.EXE' (Script): Loaded 'Script Code (MSAppHost/2.0)'.
Exception was thrown at line 9576, column 11 in ms-appx://io.cordova.myapp8724a31325644ec29a8d2d88682b7987/www/lib/ionic/js/ionic.bundle.js
0x800a139e - JavaScript runtime error: [$injector:nomod] Module 'ngLocale' is not available! You either misspelled the module name or forgot
to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.6/$injector/nomod?p0=ngLocale -
Hi Experts
I am trying to create a sales order using BAPI FM BAPI_SALESORDER_CREATEFROMDAT1. After executing the program it shows in output screen that the sales order created and also displays the newly created sales order number. But when I want to check the order from VA03 it shows Express document "Update was terminated" received by author AAA, where AAA is login name.
I also analysis the sort dump for which the update process was terminated. I give the error details
Runtime Errors DBIF_RSQL_INVALID_REQUES
Error analysis
An invalid request was made to the SAP database interface in a statement
in which the table "KONV " was accessed.
Below are the module name and report from where the error is coming.
Function Module name RV_SALES_DOCUMENT_ADD
Program Name SAPLV45U
Include LV45UF0K
Row 26
Source code from Rruntime Error
Line SourceCde
1 *****************************************************************
2 * Unterroutinen RV-Auftragsabwicklung alphabetisch sortiert:
3 * ----------------------------------------------------------
4 * Buchstabe K:
5 *
6 *****************************************************************
7
8 *----------------------------------------------------------------
9 * FORM KONV_BEARBEITEN
10 *----------------------------------------------------------------
11 FORM KONV_BEARBEITEN.
12
13 CHECK: FKONV_GEAENDERT NE SPACE OR
14 VORGANG = CHARH.
15
16 IF VORGANG NE 'H'.
17 DELETE FROM KONV WHERE KNUMV = VBAK-KNUMV.
18 ENHANCEMENT-POINT KONV_BEARBEITEN_10 SPOTS ES_SAPLV45U.
19 ENDIF.
20
21 LOOP AT FXKOMV.
22 FXKOMV-MANDT = VBAK-MANDT.
23 FXKOMV-KNUMV = VBAK-KNUMV.
24 MODIFY FXKOMV.
25 ENDLOOP.
>>>>> INSERT KONV FROM TABLE FXKOMV.
27 IF SY-SUBRC NE 0.
28 MESSAGE A100 WITH
29 ENDIF.
30
31 ENHANCEMENT-POINT KONV
32 ENDFORM.
33 *eject
Below is my source code.
*& Report Z_BAPI_SALESORDER
REPORT z_bapi_salesorder.
* Sales document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Sales organization
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Distribution channel
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Division.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
* Sold-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Ship-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
PARAMETERS: p_ship TYPE kunnr.
SELECTION-SCREEN END OF LINE.
SKIP 1.
* Material
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Quantity.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
PARAMETERS: p_menge TYPE dzmengc OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Plant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
SELECTION-SCREEN END OF LINE.
* Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapiitemin OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapireturn1 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapisdhedu
WITH HEADER LINE.
* Initialization.
INITIALIZATION.
v_text = 'Order type'.
v_text1 = 'Sales Org'.
v_text2 = 'Distribution channel'.
v_text3 = 'Division'.
v_text4 = 'Sold-to'.
v_text5 = 'Ship-to'.
v_text6 = 'Material'.
v_text7 = 'Quantity'.
v_text9 = 'Plant'.
* Start-of-selection.
START-OF-SELECTION.
* Header data
* Sales document type
header-doc_type = p_auart.
headerx-doc_type = 'X'.
* Sales organization
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
* Distribution channel
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
* Division
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
* Partner data
* Sold to
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
* Ship to
partner-partn_role = 'WB'.
partner-partn_numb = p_ship.
APPEND partner.
* ITEM DATA
itemx-updateflag = 'I'.
* Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
* Material
item-material = p_matnr.
itemx-material = 'X'.
* Plant
item-plant = p_plant.
itemx-plant = 'X'.
* Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
APPEND item.
APPEND itemx.
* Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
* Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
order_header_in = header
* WITHOUT_COMMIT = ' '
* CONVERT_PARVW_AUART = ' '
IMPORTING
salesdocument = v_vbeln
* SOLD_TO_PARTY =
* SHIP_TO_PARTY =
* BILLING_PARTY =
* RETURN =
TABLES
order_items_in = item
order_partners = partner
* ORDER_ITEMS_OUT =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CCARD =
* ORDER_CFGS_BLOB =
order_schedule_ex = lt_schedules_in
* Check the return table.
IF v_vbeln <> space.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', v_vbeln, ' created'.
ELSE.
WRITE: / 'Error in creating document'.
ENDIF.
I am unable to trace the exact reason. Please help and thanks in advance.
Edited by: Joy Banerjee on Oct 12, 2009 7:47 AMHi Prashant,
Set the profile parameter abap/buffersize value to maximum.Get the virtual memory increased.
If it doesn't work, see in transaction db02 if there is sufficient tablespace.
Let me knoe the status of tablespaces.
Regards,
Sabita -
Runtime Error in HR module t-code PPOCE [upgraded 4.7 to ECC6]
HI Gurus!
at my client site , we have upgraded 4.7 to ECC6. Now functional consultants are testing the system.When HR consultant working on PPOCE t-code ,the patch no of SAP HR - 0007. its giving runtime error.
Runtime Errors CREATE_DATA_UNKNOWN_TYPE
Except. CX_SY_CREATE_DATA_ERROR Date and Time 19.08.2008 14:42:44
Short text
CREATE DATA: The specified type "HRP1680" is no valid data type.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLRHDB" had to be terminated because it has come across a statement that unfortunately cannot be executed.
Error analysis :An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CREATE_DATA_ERROR', was not caught in
procedure "FILL_I777D" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
The reason for the exception is:
The dynamically specified type "HRP1680" at CREATE DATA is no valid data type.
The type is either unknown or an object type.
Missing RAISING Clause in Interface
Program SAPLRHDB
Include LRHDBF00
Row 177
Module type (FORM)
Module Name FILL_I777D
Trigger Location of Exception
Program SAPLRHDB
Include LRHDBF00
Row 308
Module type(FORM)
Module Name FILL_I777D
Source Code Extract
Line SourceCde
278 ** HEADER = FI_HEADER "ANDBCEK008264
279 ** TABLES "ANDBCEK008264
280 ** FIELDTAB = FI_TAB "ANDBCEK008264
281 ** EXCEPTIONS "ANDBCEK008264
282 ** OTHERS = 4. "ANDBCEK008264
283 * "ANDBCEK008264
284 * CALL FUNCTION 'DDIF_FIELDINFO_GET' "ANDBCEK008264
285 * EXPORTING "ANDBCEK008264
286 * tabname = fi_tabname "ANDBCEK008264
287 ** FIELDNAME = ' ' "ANDBCEK008264
288 ** LANGU = SY-LANGU "ANDBCEK008264
289 ** LFIELDNAME = ' ' "ANDBCEK008264
290 ** ALL_TYPES = ' ' "ANDBCEK008264
291 * IMPORTING "ANDBCEK008264
292 * x030l_wa = fi_header "ANDBCEK008264
293 ** DDOBJTYPE = "ANDBCEK008264
294 ** DFIES_WA = "ANDBCEK008264
295 ** TABLES "ANDBCEK008264
296 ** DFIES_TAB = "ANDBCEK008264
297 * EXCEPTIONS "ANDBCEK008264
298 * not_found = 1 "ANDBCEK008264
299 * internal_error = 2 "ANDBCEK008264
300 * OTHERS = 3. "ANDBCEK008264
301 *
302 * IF sy-subrc EQ 0.
303 * i777d-tbtab_tabof = fi_header-tablen - tabnr_intlen.
304 * i777d-pnnnn_tabof = i777d-tbtab_tabof - 8.
305 * ENDIF.
306
307 * ASSIGN char TO <any_field> CASTING TYPE (fi_tabname). "ANDDDIF
>>>>> create data anyfield type (fi_tabname). "ANDUNI
309 assign anyfield->* to <any_field>. "ANDUNI
310
311 * we need a character view of <any_field> !!! "ANDUNI
312 assign <any_field> to <char_field> casting type c. "ANDUNI
313
314 * DESCRIBE FIELD <any_field> LENGTH tablength "ANDDDIF
315 * IN BYTE MODE. "ANDDDIF
316
317 DESCRIBE FIELD <char_field> LENGTH tablength "ANDUNI
318 IN CHARACTER MODE. "ANDUNI
319
320 <i777d>-tbtab_tabof = tablength - tabnr_intlen. "ANDDDIF
321 <i777d>-pnnnn_tabof = <i777d>-tbtab_tabof - 8. "ANDDDIF
322
323 ENDIF.
324 IF <i777d>-ext_infty NE space. "VWMEXT
325 READ TABLE i77id
326 WITH KEY infty = <i777d>-infty
327 BINARY SEARCH.
i have check the table HRP1680 in SAP4.7c but in ECC 6 it is not there. So i have create that table. Is it Info-type? or i have apply OSS notes.
regards
Rahul
Edited by: rahul deshmukh on Aug 20, 2008 11:52 AMHello,
I receive the same error when trying to change records of an infotype. Did you find a solution to this problem? I know your message is from 2008, but maybe you remember what you did to solve it
Thank you!
Iuliana -
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. -
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.
Maybe you are looking for
-
How to create new data class in DDIC?
Hi Friends, I want to store 5 custom tables into a particular Table space. For that i want to creat a new Dataclass and which has to be mapped to a new table space. So what i need is. 1. How to create a new Customer data class apart from USER1 and US
-
Why can't I copy and paste a document in an online class discussion?
I just updated Firefox. I am currently participating in an online college class and for some reason cannot paste a report I have typed in word on the discussion page of the class? I haven't had any trouble before this. This document needs to be done
-
I have been trying to copy an album in Elements 8 to a DVD, but I cannot find a way to keep thim in the order that I have arranged them in the album. What is the correct procedure? It's a Windows 7 system. Also, is there a way to create the DVD so i
-
Crystal Reports for Eclipse Version 2 - XML, XSD Report. Need hep !!!
Dear all, I'm using Crystal Reports for Eclipse Version 2 I have looked for "Programmatically Create Reports off of XML or Web Services Data Sources", then i found some ways to do this. But all the time, we have to use both XSD and XML files for Repo
-
Reducing size and storing it in db column
Hi all, I need to handle a col value of 15 char but actually it is comming in as more than 15 char( say 18 char) can any one tell me how to take it in as it is a varchar2(15) column any thing like converting it to less char using ASCII or chr functio