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,
Sashti
Those 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
Similar Messages
-
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. -
Regarding Include which is generated during function module
hi ,
IN quality there is include LCFBTT12 which is standard include generated during creation of function module "CF_BT_CO_FHM_READ_FROM_DB".
but in production we are not able to find this include ,whereas there is function module .
but now in program where it is used is giving error that include report not found LCFBTT12 .
i want to know how this include is deleted from system .
is there any option to know this ?.
regards
Deepak.Hi all,
I know this is an old thread, but just wanted to add we had this issue as well, with the LCFBTT12 include during the SPUMG "additional preparation steps." We are running 4.7 and SAP_BASIS level 620, Level 68.
We did not have this problem in any of our testing systems, so it only happened during production, and caused alot of short dumps. This thread was alot of help in quickly identifying the problem.
One other note that was relevant to this issue: 1457258
SAP support was able to resolve the issue, and here were their instructions. (Moderators feel free to remove this if it is not appropriate to post message information here):
Include "LCFBTT12" belongs to old generated test frame for a function
module in function group CFBT. This old generated test report is not
used anymore and can be deleted.
Please run report RS_TESTREPORT_DELETE_ONLINE and after that report
RS_TEST_REPORT_GENERATE_JOB as described in note 931824. This should
solve the problem. -
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 -
Problem in generating packaged functions!!!!!
Does anybody know how to restrict generating packaged
functions just in package script file?
Generating packaged function, they are generated
both in function script file and package script file
while I need just in package script file.I think that by default the functions are included in the application default implementation as you create them. If you also include them in a package then they will be generated twice when the implementation is generated.
If this is the case then simply delete the functions from the implementation, leaving just the package to be implemented and then everything should be ok.
Regards,
Steve -
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 -
Can we say that Table Maintenance Generator is Function Group?
Can we say that Table Maintenance Generator is Function Group?
Hi Naresh,
I think as you said it is a function group only..
When we generate a TMG, a function group with two function modules, two screens and some includes will get generated.
This function modules and screens get called dynamically through SM30.
Regards
Sreekanth -
Error While including the Multisite functionality
Error While including the Multisite functionality & trying to click on SiteAdministraion tab in BCC
Background: We have migrated our application from ATG v9.1 to ATG v 10.0.2 and implementing Multisite on the same
Getting this error on BCC console:
12:55:36,893 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA date=200910202128)] Started in 2m:44s:727ms
12:57:24,234 ERROR [SiteAdminActivitySource] The acl for the custom workflow activity named siteadmin.manageSiteAssets is invalid. This activity will not be available.
atg.security.InvalidPersonaException: Profile$role$siteAdminUser
at atg.security.AccessControlListParser.setPersona(AccessControlListParser.java:239)
at atg.security.AccessControlListParser.parseAce(AccessControlListParser.java:277)
at atg.security.AccessControlListParser.parse(AccessControlListParser.java:193)
Thanks in Anticipation1Hello Sudheer,
Increasing the Swap space is the only thing i noticed in all SAP Notes for your problem.
Configure more swapspace please and restart the installation.
Regards,
Siddhesh -
Hi All,
On the Function Module (SE37) Attributes screen, there is a field name "INCLUDE name" which is related to the FM. Is there any table that we can use to search by FM to get this Include?
I am developing program to read the source code in the FM, I am planning to use the syntax READ REPORT program INTO it_code. Due to this syntax not able to read the source code in FM directly, but can read through Include. So the table that can get the relationship of FM and include is important.
Or anybody can suggest a way to read the FM's source code?
Thanks.Hi,
If you have FUNCTIONGROUP with the name FM_FUNCTION_GROUP and if this function group as 10 function modules then these 10 function modules are stored in includes of names
LFM_FUNCTION_GROUP_U01,LFM_FUNCTION_GROUP_U02, ... so on till LFM_FUNCTION_GROUP_U10.
SO now if you want to read a function module then find out the include of that function module from the function group.
In the function group there will be an include with the name LFM_FUNCTION_GROUPUXX. This include will have the entries of the includes that are specific to each function module.
Check the include which ends with UXX in a function group to find out the includes of each function module in that function group.
Regards,
Sesh -
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 SiddamWe 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. -
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 -
How to include the COUNT Function in business rule
Hi all,
I am working in oracle data quality in ODI.
This is regarding the business rule in Data quality.
I need to count the number of records when my status_type="A".
But when i include the COUNT function in business rule.
I find the following error as "*Unspecified Count Function*".
Waiting for ur valuable reply.
Thanks in advance,
JayaPradha PHi,
The following is the condition I have to be used
For eg:*Count records in DIM_SERVICE_ORDER_CODE where service_type = ‘P’*
But when i use COUNT function.
Im getting the error as "Unrecognised function count"
waiting for ur valuable reply
Thanks in advance,
JayaPradha p -
Program name zxvau02 are reserved for includes of exit function group
i am facing a problem during user exit.
when i am trying to change the code in function module (va01) in include zxvvau02
an error is occurred 'program name zxvau02 are reserved for includes of exit function group'
so i could not edit the include program.Hi,
1. Find the appropriate Enhancement.
2. Enter the ABAP code in the "Z" program within the function module.
3. Create a project.
4. Add the Enhancement to the project.
5. Activate the project.
At the step (2), when I double click on the Include ZX* within source code of the function module to realize the exit, the
system would prompt to create the include. But NO, it always prompt that the name of include is reserved by SAP and I
cannot create it... I entered an access key for the object ... -
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. -
Using the same top include of a function group inside a report
I have a function group .
I want my report to use the top include of the function group.
Is this possible.How?
I tried the use the include statement inside report it didnt work...TOP INCLUDE of FG starts with FUNCTION-POOL statement, hence you ge the error.
Solution: create new include to encapsulate your definitions there, then include it in TOP INCLUDE of FG + your program.
Regards
Marcin
Maybe you are looking for
-
Can not detect Sound Blaster Audigy 2 on this sys
Im having trouble install drivers (apart from the old CD ones and some out of date ones) all the latest drivers or beta drivers say they cannot detect my card. I have an Sound Blaster Audigy 2 OEM which i bought nearly 2 years ago. I've tried swappin
-
Ever since the up dates... Any of my photos that I use and want to set as wall paper... The software blows the picture out of portion and no way of cropping it and keeping it at the regular size!!!! How can this be fixed!!???
-
I need to change the gallery captions.... How?
I am working on a presentation of artworks. I have three albums, "Collages," "Mountain Series," "Additional Paintings." In the gallery, these are displayed with the subtitles, "35 photos" etc. How can I change "photos" to "artworks"?
-
RSYSLOG Dependency failed for System Logging Service [SOLVED]
when i do: sudo systemctl start rsyslog i get: A dependency job for rsyslog.service failed. See 'journalctl -xn' for details. so #journalctl -xn jul 06 10:21:14 GA-990FXA-UD3 systemd[1]: Reloading. jul 06 10:21:22 GA-990FXA-UD3 systemd[1]: Starting S
-
I am working on a page that manages data for my car dealership. I have in house financing and want to create a page displaying the payment schedule. I have the dates in Julian(ie 277 = October 4th) so it will be easier to add days (such as 14 for biw