PI 7.1 function library
Dear All,
We are working on PI 7.1 EHP1, we have implemeted the functionality of Function Library having common place for UDFs. We have seperate SWCV for this.
We are using these UDFs in other SWCV's mapping and working well in DEvelopement Server.
When we have transported this to Production Server, it is giving following error.
"Linkage error while loading class com/sap/xi/tf/_Invoic02_InvoiceDataService_MM_; java.lang.NoClassDefFoundError: Extend/GeneralUDFs"
Here, Extend is the name of the SWCV and GeneralUDFs is the name of Function Library.
Please help
with regards,
Ravi Siddam
We have seperate SWCV for this.
We are using these UDFs in other SWCV's mapping and working well in DEvelopement Server.
Working in DEV because you would have created Dependencies between the SWCVs....is the same thing (dependency) available in PROD.
Regards,
Abhishek.
Similar Messages
-
Function library in PI 7.1 - retrieval of filename
Hi,
I am trying to use the function library functionality in PI 7.1 but struggling a bit.
Basically, I want a function for the retrieval of the filename - pretty easy in goold old UDF days but not so easy now everything has moved to the function library world in PI 7.1
I have defined the following code in the "init" Function and Java Areas:
DynamicConfiguration conf = (DynamicConfiguration) container.getParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//For getting filename
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
//For getting directory
DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
// Retrieve the filename
String FileName = conf.get(key1);
// Retrieve the directory
String Directory = conf.get(key2);
This is working ok - but I want to return these values so they can be used in mapping.
when I try to add the statement return FileName; , the compiler then complains with the following error:
cannot return a value from method whose result type is void return FileName;
But where do you define the result type for a method ????? I guess it has something to do with the signature variables but I am a bit lost.
Any help greatly appreciated.
Thanks
Colin.Hi
Function type Void is not going to return value. It has be String type to return value. Check the function again
Also this documents provides good info on mapping in PI 7.1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f06d11f2-e7c2-2a10-04a9-f2f6f374cd29
Thanks
Gaurav -
Unable to edit Function Library
Hi all,
I am unable to edit a function library I created. I always get a NullPointerException:
There is no syntax error in the included functions. The Library is activated, but it is also not found by the runtime. When I send a test message I get an error that the used functions were not found.
I have already tried to create another function library. I am able to create and activate it, but get the same error when I try to edit it.
I am working on a Java single-stack.
Any suggestions?I already tried this.
But the main problem ist: When I am in ESR in the function library and klick the Edit-Button, I get the error message shown above. So I am not able to edit any function library.
What could be the problem? I already tried:
- To remove all special characters from the name and description of the function library
- To create a new namespace with a new function library -
i have made an xquery function library which incorporates the add_month function of sql.
add_months($date as xs:dateTime,$value as xs:int) as xs:dateTime?
But while using this function in a let clause in xquery:
let $nextMonth:= ns1:add_months(fn:current-dateTime(),xs:int("1")) i am geting this error;
add_months": unbound external function. Improper use of the user-defined SQL function .It's "improper" as none of the arguments come from that database, therefore ALDSP will not push it to the database.
This computation can be done in XQuery - what you want to do is to add a YearMonth style 'duration' to the date.
If you go to w3.org, click on Xml Query, click on the 'Functions and Operators' link, then look for in section 10.8.4. Notice this is an 'op' - an operator. It is not a function and you cannot call it directly. Notice the last line in the description - it says it 'backs up the + operator' - so that's how you use it - by using the + operator.
So -
A YearMonth duration of 0 years 1 month is
xs:yearMonthDuration("P0Y1M")
so what you want is :
fn:current-dateTime() + xs:yearMonthDuration("P0Y1M")
If you had a genuine need to call a database function with arguments that did not come from that database, you could do so by creating a New -> Physical Data Service -> Relational -> SQL Statement. -
Creating function Library in PI 7.1
Hi All,
I have a requirement in which I need to write a function library which taking field value as input and returning the concatenation of the entire field.
For Example
Node 0-----unbounded
Field 1 1--1
Field 2 1--1
Field 3 1--1
Field 4 1--1
Field n 1--1
My Question is how can I give input to the function as number of field is not fixed. i.e I want to take N no of input and concat.
Thanks
NavneetHi Sumeet,
I am not sure how Function Library concept will address your issue.
Function Library is to make the UDFs available to other message mappings.
Coming to your requirement, the data can be dynamic, but the structure should be static.
In other words, you should always know the number of fields in a node. How can it be dynamic?
If it is dynamic, how do you define your source message type / data type etc?
Regards,
Ravi Kanth Talagana -
Function to function referencing in Function Library
If you have many functions within your function library, is there a way to reference another as to not have redundant code? Or is each function within the library completely separate?
Yes, I know i can simply copy the code out of a specific function and add it into another functions code, but I am hoping for an option that allows for easier, one location, maintenance.
Thanks in advanceHi Daniel,
To achieve You want, you need to define each function as static. Then You can cal the function of this way:
import mypackage.myFunctionclass;
public class mycomplexFunctionClass{
private void complexfunction(){
int a = myFunctionclass.function1();
/*It is not necessary to instance the class, only add the correct reference taking account the correct
and complete class name(it includes the package)*/
Regards
Ivan -
User Function Library for Crystal Reports 10 doesn't work on Win2K3 SP2
Hi,
Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
To reproduce this problem:
1) Create a UFL in VB 6.0
2) Use the UFL in a formula in a report
3) Create a VB 6.0 application and use CR 10 Report Viewer control
4) Invoke the report from the application
5) The application crashes on Windows Server 2003 (SP2).
This is a high priority issue.
Is there any other alternative to User Function Library?
Any help on this will be very much appreciated.
Thanks in advance.Hi,
Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
To reproduce this problem:
1) Create a UFL in VB 6.0
2) Use the UFL in a formula in a report
3) Create a VB 6.0 application and use CR 10 Report Viewer control
4) Invoke the report from the application
5) The application crashes on Windows Server 2003 (SP2).
This is a high priority issue.
Is there any other alternative to User Function Library?
Any help on this will be very much appreciated.
Thanks in advance. -
Reg include generated in function library
Hi Experts,
I have three include generated while creating maintanance view
THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *
NEVER CHANGE IT MANUALLY, PLEASE! *
INCLUDE LZZMEDRUCK_SPU01.
"ZUS_ME_PRINT_PO_SP1
INCLUDE LZZMEDRUCK_SPU02.
"TABLEFRAME_ZZMEDRUCK_SP
INCLUDE LZZMEDRUCK_SPU03.
"TABLEPROC_ZZMEDRUCK_SP
All these includes are created in function group zzmedruck_sp.
I need to delete these includes.
Thanks in Advance,
SashtiThose include programs for Function modules but these function modules can be used by Table maintenance
JUST open function group check if there any function module exists.
ZZMEDRUCK_SPU01/2/3 or any other that is using the same includes
try to delete those function module from SE37 but check the dependencies
of function module.
INCLUDE LZZMEDRUCK_SPU01-----Just comment it in the main include
I think there are dependencies for that reason you cannot delete it
Create a new one and use it
Regards,
Gurpreet -
Unknown type in include generated by the function library?
Hi,
I have an include LZSHIP$01, that is generated by the function library.
* THIS FILE IS GENERATED BY THE FUNCTION LIBRARY. *
* NEVER CHANGE IT MANUALLY, PLEASE! *
INCLUDE LZSHIPV01 .
FUNCTION $$UNIT$$ Z_SHIP_STATUS_PLANNED
IMPORTING
VALUE(I_TKNUM) TYPE !VTTK-TKNUM
VALUE(I_COMMIT) TYPE !COMMIT_FLG DEFAULT 'X'
VALUE(I_REVERSE) TYPE !CKML_MODE_REVERSE DEFAULT ' '
VALUE(I_LOCK) TYPE !DO_LOCK DEFAULT 'X'
VALUE(I_VTTK) TYPE !VTTK_ALV
VALUE(I_ZVTTK) TYPE !ZVTTK
EXCEPTIONS
!RV_SHIPMENT_READ
!ENQUEUE_EVVTTKE
!SD_SHIPMENT_HEADER_CHANGE
!SD_SHIPMENTS_SAVE .
but I get the error that type do_lock doesn't exist. Now I can't create do_lock, because the name doesn't start with Y or Z, and I can't replace the type do_lock by another type in the include, because the include is generated by the function library, and I can't change it manually.
How do I fix this? thx!go To SE37 : Z_SHIP_STATUS_PLANNED.
go to Export Parameters Tab and Chnage Types reference there with desired one instead of DO_LOCK. -
Sorry if this is a dumb question, but from what I gather from various examples I've seen online the User Exit piece of MDT lets you specify a script that can contain a library of *multiple* functions right? So what if I have two User Exit Scripts I want
to use in MDT? Do I just copy the functions I want into a single user exit script and only reference that or is there a way to reference two user exit scripts in customsettings.ini?Those two routers don't have USB ports nor similar. Unless you have a network printer you cannot connect the printer to the network. You have to connect the printer to a computer and use printer sharing to make it accessible from the LAN.
If the printer only has a wired network interface you must run a wire to the LAN. You cannot use the wireless routers to create a wireless bridge. You must run a wire between them to make any use of those two routers. But of course, if you run a wire anyway you could simply connect the network printer directly to the WRT. -
DSP - how to use Function Library
hi all,
ALDSP is returning the following error code:
*weblogic.xml.query.exceptions.XQueryDynamicException: ld:br/com/DSL.ds, line 59, column 274: {err}XP0002 [{bea-err}XP0002a]: Current node needed, but not defined (or $ missing preceding a variable name)*
I created a physical data source(DSP) based on a oracle function.
In my Logical data source (DSL), I have the following code:
for $bla in proc:BLABLA_MYFUNCTION($endereco/COD_COMPL1,$endereco/TXT_COMPL1,$endereco/COD_COMPL2,$endereco/TXT_COMPL2,$endereco/COD_COMPL3,$endereco/TXT_COMPL3,$endereco/COD_COMPL4,$endereco/TXT_COMPL4,null,null,null,null,null)
return
<ns1:Address>
<ns1:tipoEndereco?>a constant string</ns1:tipoEndereco>
<ns1:endereco?>
<end:numeroEndereco?>{fn:data($endereco/NUM_ENDERECO)}</end:numeroEndereco>
*<end:complemento?>{fn:data($bla)}</end:complemento>*
<end:referencia?>{fn:data($imovel/TXT_REFERENCIA)}</end:referencia>
</ns1:endereco>
</ns1:Address>
i tried to use
+<complemento>+
+ {+
+ for $x in fun:FNTH_OBTEM_ENDER_PRINCIPAL($EQUIPAMENTO/ID_EQUIPAMENTO)+
+ return $x+
+ }+
+ </complemento>+
instead, but i got the same error.
does anyone can help me?
Edited by: virgulino on Jul 6, 2009 5:44 PM
Edited by: virgulino on Jul 6, 2009 6:01 PMA variant is a very specific LabVIEW datatype (really a C++ type object internally) and trying to pass that to a function, which excepts a flat memory pointer there, for sure will crash very quickly.
As to endianess, yes Unflatten will be able to adjust for endianess, which in this case however is most likely exectly NOT what you want. So make sure that the you select native type for the endianess input on Unflatten from String. LabVIEW internally works with whatever is the native endianess, as will most likely your C++ DLL. The platform independent big endian format does only come into play when you receive data streams over some streaming interface like a network connection. Here it is desirable to use an endian format that is independent from the actual platform that generates and consumes the data stream. LabVIEWs default endianes is big endian here.
But as long as you pass data directly to native components like DLLs there is no difference in endianess between what LabVIEW uses and what those components use.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
SAP HANA D3 Library errors - "queue" is not a function
Hello all,
i have a question regarding D3 Integration into SAP HANA and hope one can help me.
The last days i developed a D3 Choropleth (spatial data) with hover effects, tooltips and a legend. I have an existing SAPUI5 and HANA XS application running and now i wanted to integrate my D3 Choropleth.
1 ) First of all, i added the following tags into the head section of the index.html file of my SAPUI5 project as i need those libaries.
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="http://d3js.org/queue.v1.min.js"></script>
<script type="text/javascript" src="http://d3js.org/topojson.v1.min.js"></script>
2) Then, i added the program code of my D3 Choropleth into the view.js of my SAPUI5 project:
var html2 = new sap.ui.core.HTML("d3choropleth", {
content: "<div class='D3Choropleth'>" + "</div>",
preferDOM: false,
afterRendering: function() {
.... here is my code ...
I have a SAPUI5 shell with different NavigationItems (tabs) and for this D3 Choropleth tab i am writing:
case "WI_choropleth":
oShell.setContent(html2);
break;
When i start my SAPUI5 project and klick on the tab where the D3 Choropleth should be rendered, i get the following errors:
d3.scale.threshold is not a function
d3.geo.albers center is not a function
queue is not a function
Moreover, i have to say that my D3 Choropleth works standalone outside HANA very well, that is why i assume it is a library integration issue.
In my browsers (firefox) developer console i can see that there is a D3 library loaded by default (as it is one of SAPUI5s components) with the path: sap/ui5/1/resources/sap/ui/thirdparty/D3.js.
BUT this is a really old version of D3 (2.9), the current release is D3 (3.4), so maybe the problem is that the D3 libary that is loaded by default overwrites my integration of D3 (script tag above)?
Does anyone have the same issues and knows how to solve that? Furthermore it seems that the d3 queue library is also not integrated as the error "queue is not a function" occurs and i also ask me how to solve that error.
We have SAP HANA Developer Edition Revision 80 (by AWS), HANA Studio and Client are on revision 73 (64bit).
It would be great if anyone could help me with my issue.
Further question: Is the current release of D3 going to be integrated into the next HANA revision?
Thanks a lot & regards,
AndreasHi Andreas,
You are right. The way you integrate the libraries in your code is not the way that will work for HANA XS projects. This is why it doesn't accept the queue function (library is not loaded) and also why the 3.x only D3JS funcitons are not accepted (only the internal D3JS library is loading and these functions were not a part of 2.9 yet).
To integrate third party libraries, you need to add XSJSLIB files to your project. These need to pass the server-side JSLint checks before accepted by the XS engine. (Client-side checks that fail might not count though).
Please see this post from David Brookler for more information.
http://scn.sap.com/community/developer-center/hana/blog/2013/12/23/db001-using-libraries-in-xs
Best regards,
Tobias -
G_G_IDOC_REC_ZZINCOT function module not found in ECC 5.0
i am getting the dump.
the fuction module is not presend in ECC 5.0
Runtime Errors CALL_FUNCTION_NOT_FOUND
Exceptn CX_SY_DYN_CALL_ILLEGAL_FUNC
Date and Time 04/05/2007 07:13:25
ShrtText
Function module "G_G_IDOC_REC_ZZINCOT" not found.
What happened?
The function module "G_G_IDOC_REC_ZZINCOT" was called, but cannot be
found in the Function Library.
Error in ABAP application program.
The current ABAP program "SAPLGUIF" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',
was neither
caught nor passed along using a RAISING clause, in the procedure
"IDOC_INPUT_GLROLL" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The program "SAPLGUIF" contains a CALL FUNCTION statement. The name
of the function module to be called is "G_G_IDOC_REC_ZZINCOT".
No function module exists with the name "G_G_IDOC_REC_ZZINCOT".
All function modules are stored in the Function Library (SE37).
Possible reasons:
a) Wrong name specified. Particular attention should be paid
to upper/lower case and underscores ("_")
b) Transport error
c) If an enqueue/dequeue module has been used, the lock object
may not have been activated (ABAP Dictionary)
may not have been activated (ABAP Dictionary).
How to correct the error
Check the last transports to the R/3 System.
Is the program "SAPLGUIF" currently being changed?
If an enqueue/dequeue module is involved, is the activation
of the lock object missing in the ABAP/4 Dictionary?
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"CALL_FUNCTION_NOT_FOUND" CX_SY_DYN_CALL_ILLEGAL_FUNCC
"SAPLGUIF" or "LGUIFU05"
"IDOC_INPUT_GLROLL"
Function modules with names similar to "G_G_IDOC_REC_ZZINCOT":
G_G_IDOC_REC_COFIT
G_G_IDOC_REC_FILCT
G_G_IDOC_REC_ECMCT
G_G_IDOC_REC_GLPCT
G_G_IDOC_REC_GLT0
G_G_IDOC_REC_SECURE
G_POSTING_ZZINCOT
G_G_IDOC_SEND_COFIT
G_G_IDOC_SEND_ECMCT
G_G_IDOC_SEND_SECURE
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
The exception must either be prevented, caught within the procedure
"IDOC_INPUT_GLROLL"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
System environment
SAP Release.............. "640"
Application server....... "d48ix100"
Network address.......... "151.162.153.62"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C65EFD4C00"
Character length......... 8 Bits
Pointer length........... 64 Bits
Work process number...... 2
Short dump setting....... "full"
Database server.......... "d48ix100"
Database type............ "ORACLE"
Database name............ "D48"
Database owner........... "SAPR3"
Character set............ "en_US.ISO8859-1"
SAP kernel............... "640"
Created on............... "Nov 5 2006 20:46:58"
Created in............... "AIX 1 5 00538A4A4C00"
Database version......... "OCI_920 "
Patch level.............. "156"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory usage.............
Roll..................... 16128
EM....................... 8379856
Heap..................... 0
Page..................... 16384
MM Used.................. 2530176
MM Free.................. 1657232
SAP Release.............. "640"
User and Transaction
Client.............. 010
User................ "OS0730"
Language key........ "E"
Transaction......... "YICUPLD "
Program............. "SAPLGUIF"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "SAPLGUIF" in "IDOC_INPUT_GLROLL".
The main program was "Y21091IRECON ".
The termination occurred in line 65 of the source code of the (Include)
program "LGUIFU05"
of the source code of program "LGUIFU05" (when calling the editor 650).
Processing was terminated because the exception "CX_SY_DYN_CALL_ILLEGAL_FUNC"
occurred in the
procedure "IDOC_INPUT_GLROLL" "(FUNCTION)" but was not handled locally, not
declared in the
RAISING clause of the procedure.
The procedure is in the program "SAPLGUIF ". Its source code starts in line 5
of the (Include) program "LGUIF$05 ".
Source Code Extract
Line SourceCde
35
36 *Prüfen, ob Customizing richtig eingestellt ist
37 CHECK EXIT IS INITIAL.
38 PERFORM CHECK_CUSTOMIZING USING IDOC_NUMBER.
39
40 *Für Einzelposten neue Belegnummern vergeben
41 CHECK EXIT IS INITIAL.
42 PERFORM NEW_DOCUMENT_NUMBER USING IDOC_NUMBER
43 IDOC_CONTRL-MESTYP.
44
45 *Füllen der Segmentdaten
46 CHECK EXIT IS INITIAL.
47 CLEAR IDOC_SEGMENT. REFRESH IDOC_SEGMENT.
48
49 LOOP AT IDOC_DATA WHERE DOCNUM EQ IDOC_NUMBER.
50 IDOC_SEGMENT = IDOC_DATA.
51 APPEND IDOC_SEGMENT.
52 ENDLOOP.
53
54 *Name des zu rufenden Funktionsbausteines ermitteln
55 ROL_FUNCNAME = 'G_G_IDOC_REC_$'.
56 PERFORM BUILD_ROL_FUNCNAME USING IDOC_NUMBER ROL_FUNCNAME.
57
58 *Funktionsbaustein zum Empfangen des IDOC's aufrufen
59 *Wenn Sender 4.0 System -> Nimm' TAB30, sonst altes TAB
60 IF NOT E1GLTTF-TAB30 IS INITIAL.
61 L_TAB30 = E1GLTTF-TAB30.
62 ELSE.
63 L_TAB30 = E1GLTTF-TAB.
64 ENDIF.
>>>>> CALL FUNCTION ROL_FUNCNAME
66 EXPORTING
67 MESTYP = IDOC_CONTRL-MESTYP
68 DOCNUM = IDOC_NUMBER
69 TAB = L_TAB30
70 TABLES
71 IDOC_SEGMENT = IDOC_SEGMENT
72 IDOC_STATUS = IDOC_STATUS
73 RETURN_VARIABLES = RETURN_VARIABLES.
74
75 ENDLOOP.
76
77 *Keine IDOC's empfangen
78 IF SY-SUBRC NE 0.
79 RAISE WF_ERROR_PROCESS.
80 ELSE.
81 *Prüfen, ob Fehler bei der Verarbeitung der IDOCs aufgetreten sind
82 LOOP AT IDOC_STATUS WHERE MSGTY = 'A'
83 OR MSGTY = 'E'.
84 EXIT.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 2
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY &I think that the FM is a customized one. Correct me if I am wrong. It is quite possible that certain FM's might have been missed out while the new system is built. Here I am assuming that the you are doing an upgrade.
If whatever, I've mentioned above is correct, you can copy the FM and its other components from the old system into the new one, to rectify the error -
Function module "GM_DOCUMENT_REVERSE" not found. after Patch Update
Hi Abapers/Basis
After patch update i am not able to do FBCJ reversal entry getting below error message.
Runtime Errors CALL_FUNCTION_NOT_FOUND
Exception CX_SY_DYN_CALL_ILLEGAL_FUNC
Date and Time 25.05.2011 14:43:26
Short text
Function module "GM_DOCUMENT_REVERSE" not found.
What happened?
The function module "GM_DOCUMENT_REVERSE" is called,
but cannot be found in the library.
Error in the ABAP Application Program
The current ABAP program "SAPLRWCL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
not caught in
procedure "CALL_DISPATCHER_STORNO_R" "(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 program "SAPLRWCL" contains the CALL FUNCTION statement.
The name of the function module to be called is "GM_DOCUMENT_REVERSE".
No function module exists with the name "GM_DOCUMENT_REVERSE".
All function modules are listed in the Function Library (SE37).
Possible reasons:
a) Wrong name specified. Pay particular attention to
upper/lower case and underscores ("_").
or
b) Transport error
c) In the case of an enqueue/dequeue module,
the lock object may not have been activated
(ABAP/4 Dictionary).
How to correct the error
Check the last transports to the SAP System.
Is the program "SAPLRWCL" currently being changed?
If an enqueue/dequeue module is involved, is the activation
of the lock object missing in the ABAP/4 Dictionary?
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"
"SAPLRWCL" or "LRWCLF10"
"CALL_DISPATCHER_STORNO_R"
Function modules with names similar to "GM_DOCUMENT_REVERSE":
GM_DOCUMENT_CLOSE
GM_DOCUMENT_RECORD
GM_DOCUMENT_DELETE
GM_DOCUMENT_POST
GM_DOCUMENT_CHECK
G_DOCUMENT_RECORD
GJ_DOCUMENT_RECORD
GM_DOCUMENT_PROJECT
GET_DOCUMENTS
GM_DOCUMENT_DISPLAY
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
Moderator message: please don't just dump your dumps, search for SAP notes or open a call with SAP instead.
Edited by: Thomas Zloch on May 25, 2011 2:16 PMHi Karthik,
Thank you for ur reply.
I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
Regards,
Kusuma. -
How to make use of SE37- Function Module & how to find out the table?
Hi ,
1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
But after giving the particular name what should i do?
Please help me.
2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
Thanks in adavnce for spending some time
Raj.SHi Raj
Function Modules
Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
The Function Builder also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
Check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.
Maybe you are looking for
-
Help needed in "V45A0003" User Exit
Hello All, I have one problem doing Userexit "V45A0003" for VA01. I want to disable one field in VA01 Screen no. "4900" when order type is "RE". I try mentioned Exit for the same and i am able to disable that field for all order type but i am unable
-
File Explorer (explorer.exe) Crashes in Windows 8.1 at shutdown
Hi, Iv been running a custom built PC with Windows 8.1 (Win7 upgrade to Win8 then 8.1) Now since a couple of weeks after Win8.1, which was running perfectly fine up until last month when I Started to get these Explorer.exe crashes, Im quite knowledg
-
Functional upgrade 5.0 to CRM 2007/7.0 .
Could any one tell me what are the minimum customizations/configs needs to be done in CRM 2007/7.0 during upgrade from CRM 5.0 . Becoz some of the functionalities like UI migration can not be done automatically hence Web Client UI need to be config
-
Hello, really hoping that someone can help me. I have a crystal reports report with a chart. The chart uses dates as the x-axis and numeric values on the y-axis. All I want to do is change the x-axis sacle to be 14 day intervals. Seems simple enough.
-
Got error while creating home page using site studio-
I am trying to create a home page for my website using site studio in oracle content server, but when I am entering the required information i am getting the below mentioned alert message " Content ID "HP_Xalco03" has invalid content info values. Val