Creating a global function
Dear,
I want to creat a global function. Can you tell me here i have to type my function.
Thanks
In the hierarchy view, click on the root node, then right click and you will see insert Scripting Object as an option.
Also this is well described in the help files as to how it works.
paul
Similar Messages
-
Create custom java function in graphical mapper for Global use?
I created a java function (remove leading zeros in string field) in the graphical tool.
The problem custom function is at local map level only.
How can i make custom java function global for use in all SWC/namespaces/interfaces.
Can this be done with XI 3.0 SP 13? Any suggestions on how to do this.
Many Thanks,HI William
Check out this link...
http://help.sap.com/saphelp_erp2005/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm
Cheers:-)
Mithlesh -
How to create a Z Function Module
Hi,
I am trying to create a Z function module in BI 7.0 that i can use in Transformations.
SE37> Name of FM.Create..>
It is prompting me to enter Function Group.
What is Function Group and How can i create a new function group (Detail Steps please)
and steps involved in creating a Function Module in BI 7.0
Thanks in AdvanceHi,
Function Group is just like a folder under which we can store n no. of function modules for organizational purpose. If u want any global declarations we will declare at function Group Level.
It is mandatory to save a function module under one function group. Select Goto menu item, select Function Group, then select, create function group in SE37. Just give the technical name and description and save.
Hope this helps u..
Regards
Ramakrishna Kamurthy -
Creating a Global Temporary Table on non-default TEMP tablespace.
Hello ,
I am using Oracle 11g.
I have a procedure which create global temporary tables for its functionality. As the data which is going in the global temporary table , mean the data which is going in the default TEMP tablesapce is too huge ..... billions of rows..
So what i want to do is , I want to create the global temporary table in another TEMP2 tablespace ( which is not the default one) so the load of billions of rows of data will be shifted to TEMP2. The default TEMP tablespace will not be affected and it can be used for other transactions.
Is this possible. Can i shift the global temporary table from TEMP( Default temp tablespace) to TEMP2 ( the non-default temp tablespace) ????
Please guide me with proper solutions and examples ....
Thanks in advance ..DBA4 wrote:
Hello ,
I am using Oracle 11g.
I have a procedure which create global temporary tables for its functionality. As the data which is going in the global temporary table , mean the data which is going in the default TEMP tablesapce is too huge ..... billions of rows..
So what i want to do is , I want to create the global temporary table in another TEMP2 tablespace ( which is not the default one) so the load of billions of rows of data will be shifted to TEMP2. The default TEMP tablespace will not be affected and it can be used for other transactions.
Is this possible. Can i shift the global temporary table from TEMP( Default temp tablespace) to TEMP2 ( the non-default temp tablespace) ????
Global temporary tables are instantiated in the temporary tablespace of the schema that inserts the data - not into "the default" temporary tablespace.
Assume Schema1 creates a GTT and grants all on that table to schema2
Assume schema1 also creates a procedure (authid owner, the default) to insert data into the GTT and grants execute on the procedure to schema2
If schema2 executes: insert into schema1.gtt, the data will appear in the temporary tablespace of schema2
If schema2 executes: execute schema1.procedure, the data will appear in the temporary tablespace of schema1
So if you want to protect the "normal" temporary tablespace, you could just create a special temporary tablespace for the owner of the procedure.
Regards
Jonathan Lewis -
Error while creating Custom Defined Functions in Essbase
<p>Hi All,<br>I am trying to create CDF(Custom Defined Functions) in Essbase. Iwant to create a function which take list of child member andreturn the first child. For this, i have created a java file called"ChildAccess.java" which contains the following code:<br>public class ChildAccess<br>{<br>public static char GetFirstMember(char [] members)<br>{<br>return members[0];<br>}<br>}<br>I have compiled and made jar file called"ChildAccess.jar" and pasted it at"ARBORPATH/java/udf". Then i restarted the Essbase Serverand run the following MaxL command to register the function<br>create or replace function '@ChildAccess' as<br>'ChildAccess.GetFirstMember'<br>spec '@ChildAccess(memberRange)'<br>comment 'adds list of input members'.<br>Till here i am not getting any error but when i am using thisfunction in my calc script as given below<br><br>FIX(@ChildAccess(@CHILDREN("Abc")))<br><br>it gives the following error<br>"Error:1200414 Error parsing formula for [FIX STATEMENT]<br>(line 2)"argument[1] may not have size[6] in function[@CHILDREN]"<br>NOTE: The SIZE[6] is giving the no. of child in member"ABC".<br><br>Thanks in Advance<br>Arpit</p>
If you want to use the CDF in a FIX statement you need to make sure that it returns a member name rather than a number:<BR><i><BR>public class ChildAccess<BR>{<BR> public static String GetFirstMember(String[] members)<BR> {<BR> return members[0];<BR> }<BR>}<BR></i><BR>I prefer to define the function against a specific application rather than globally because you only need to restart the application in order to pick-up any modifications to the .jar file. So the MaxL function definition would be:<BR><i><BR> create or replace function appname.'@_GETFIRSTMEMBER' as<BR> 'ChildAccess.GetFirstMember(String[])';<BR></i><BR>and in the calculation script the FIX statement would become:<BR><i><BR> fix ( @member( @_GetFirstMember( @name( @children( "Abc" ) ) ) ) )<BR></i><BR>This looks a little messy so you can use a macro to simplify it:<BR><i><BR> create or replace macro appname.'@GETFIRSTMEMBER'(single) <BR> as '@member( @_GETFIRSTMEMBER( @name( @@1 ) ) )' <BR> SPEC "@GETFIRSTMEMBER(memberRange)";<BR></i><BR>and then the FIX statement could be written:<BR><i><BR> fix( @getfirstmember( @children( "PRODUCT" ) ) )<BR></i>
-
Hi,
We have a client requirement either to extract vacacy created in Global HR or provide a link on vacancy card to 3rd party system ?
Regards,
ManojGenerally integration would be done using web services, the available web services are documented in OER. I am not familiar enough with HCM functionality to comment on the specific feature, I will ask a colleague to comment.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Create ne Planning function in planning folder
Hi Experts,
I have one planning function A in X folder and my requirement is i need to create same planning function like A in planning floder Y. Please give me steps for creating planning function in planning folder.
I know how to create a planning function in planning level but i don't know how to create to a planning function in planning folder.
Please help me on this.
Thanks
SAPHi Mynak,
Thanks for your reply. Yes ur r correct, we cdon't create planning function in the planning folder insted o this we can drag the created planning function into planning folder.
How to drag this from left side to right side and place into global planning function area.
I am missing some thing. I couldn't slect the planning package and parameter group.
Can u let me know how to do this one.
It would be great help for me.
Thanks
SAP -
How to create a global query view
Hi,
How to save a query view as global,if user A was to create a view 'V1' , user B should be able to see 'V1' in his list of query views.
Currently i have created views using bex Analyzer and using the save function in the query designer,but these views are local to the user and cannot be opened by other users.
In 3.5 we had an option to save view as global from Analyzer.We are on SP11
Thanks in AdvanceHi Kiran,
The reason i want to create a global view is to use it as a data provider in a web template, the problem is if i were to create a view the view being local to my id will not be seen by other users,so if the view needs to be edited in the future it would have to be done by me, if it was global any user can modify the view.
A view saved in bex portfolio is a bookmark and it as saved on the portal and cannot be opened through query designer.Any work arounds??
Thank You.
Karthik -
Where to put javascript as global function
Hi,
Most of threads i read (which have simple javascript codes), the codes are written in 'HTML HEADER' on each pages and later can be call by items or else. If i have the same javascript but is used by many pages, so far my understanding is i have to duplicate the code on each pages. So my question is, where can i write the javascript in apex so it can be called by many pages ? ('Global' function).
Thanks
GamezHello,
It looks like your confusing a couple concepts.
Oh i see, i thought theres something like 'Application Process' where people can put some code inside.If your build AJAX functionality the easiest way to do it in APEX is using PL/SQL code in Application OnDemand Process.
Andy, since i also totally new in java, what SIMPLE tool to use for compiling the script ? (need to compile?).In APEX you don't use java you use javascript and you don't need a compiler. Since your just starting out with javascript you should spend an hour or two at this site [http://www.w3schools.com/JS/default.asp]. It will save you countless hours in the future and is applicable in any web development environment.
Martin, i'v created Page 0, but i dont see any place to put the javascript inside the page. Theres no kinds of HTML Header/Footer/Body where i can put it.So to your main question what is the best place to put a global javascript. There are four answers and I will put them in order from best to worse.
1. In an external javascript file included in you page template between the head tags.
2. In an external javascript file included in Page 0, put it in a HTML Region with No Template in the After Header region position.
3. In an inline script section in the page template between the head tags.
4. In an inline script section in the page template between the head tags in Page 0, put it in a HTML Region with No Template in the After Header region position.
PS. I'm not kidding about the w3schools link it will save you hours!
Regards,
Carl -
How to auto create a global variable with specific variable name in a global vi ?
how to auto create a global variable with specific variable name in a global vi using lv ? Because i need to add a lot of global variable in this global vi. But you know, if i manually add them , it will be a much time-costing work. So i want to use someway to auto generate ? Can i ?? Thanks a lot !
Hi
what aartjan is saying is the way for you. but you can develop an utility which will actually help you create global variables. To get the details on this just have a look at VI Scripting section on LAVA forum.
But i would like you to suggest few things
1. If your programs have so many global variables (Thats why u want utility) then you should take out some time to read about LabVIEW design patterns. I think if programmer follows these practicess he dont need a single global variable.
2. Their are some other ways to achieve similar functionality as of global variables (Uninitialized Shift Registers, Single Element Qs and so on) but they are much faster than global variables.
I am Attaching Whatever Resources i am having I will also attach the template of the design pattern i generaly use in short duration
Message Edited by Tushar Jambhekar on 10-06-2005 07:33 PM
Message Edited by Tushar Jambhekar on 10-06-2005 07:36 PM
Tushar Jambhekar
[email protected]
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
Attachments:
LabVIEWDesignPatterns.zip 1505 KB
Large_Code_Implementation.zip 522 KB
Database Tests.zip 868 KB -
Error while creating a simple function, procedure or triger in Oracle8i Lite
Hi,
I have Oracle8i Lite release 4.0.
While creating a simple proceudre/function/trigger on the database, it's throwing the following error:
create or replace function test return number is
ERROR at line 1:
OCA-30021: error preparing/executing SQL statement
[POL-5228] syntax error
Here is my sample code.
create or replace function test return number is
begin
return 0;
end;
Tried to create the same function in the user SYSTEM too but got the same error message.
Thanks in advance for the soluton.
nullI just started with 8i Lite, but as far as I know 8i Lite does not support PL/SQL code.
So you have to write your triggers and stored procedures in Java.
Ciao -
How to create webservice from function module
Hello,
I'm trying to create webservice from function module from. I choose Utilities/More Utilities/Create Webservice/..From function Module. What data should I enter in section "Enter Package/Request" ?
When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign namespaces"
Is there any doc about this procedure (web service creation) with description of all sections ?
thanks for any reply,
Lukasz FerencHi,
Which SAP product of wich release of which SP are you using ?
The procedure is documented in help.sap.com and in blogs and SDN forum messages.
It means that the use of the SEARCH button should give plenty of answers...
>When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign >namespaces"
As usual, begin your choosen name with an "Z".
Regards,
Olivier -
How to create a new function module?
I was doing the tutorial to create a SAP data widget and the tutorial was using BAPI_FLIGHT_GETLIST to display the data. However, in my system, theres no data in the table SFLIGHT2 and i couldnt populate any data in it.
So i am trying to create my own function module. Can anyone tell me how should i go about doing it?Hi Low Soon ,
please check the below links for creating a new function module.
SAP Help :
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/frameset.htm
Step by Sterp approach to create a Functional Module:
http://www.****************/Tutorials/ABAP/FunctionModule/page1.htm
Thanks
Jaideep Srinivasan -
How to create the INBOUND Function Module for INBOUND IDOCs
Hi Friends,
Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
which are recieved from XI Server ?
I am working in SAP-ISU
Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
We have a Standard INBOUND FUNCTION MODULE
IDOC_INPUT_ISU_MR_UPLOAD
which Uploads the Meter Reading Results.
I copied the Same function Module into ZIDOC_INPUT_
and working on it.
Can any one suggest me, whether i am going in correct way or not.
In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
Can I Use the Same BAPI
BAPI_MTRREADDOC_UPLOAD
to Update the below fields,
EABL-SERNR
EABL-ZWNUMMER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS
EABL-ADATTATS
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Kindly Suggest me,
Thanks in Advance,
GaneshHello Ganesh
I think you are going completely astray with you z-function module for IDoc processing.
If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
EABL-SERNR => BAPIEABLU-SERIALNO
EABL-ZWNUMMER =>REGISTER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS => ACTUALMRTIME
EABL-ADATTATS => ACTUALMRDATE
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
- BAPI_TE_EABL
- BAPI_TE_EOSB
Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
Regards
Uwe -
How to create a callback function module
Hi all,
I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_
I created a sample function module and try to create entries in table crmv_event_cust, but i got an error message saying that the function module name I provided is not in table CRMC_FUNC_ASSIGN. When I try to create entry there, I got a message that function module is not in CRMC_OBJ_FUNC and that table is a standard table with no maintanance options !!
looks like i am going in wrong way ... can any one please help ??Looking at my system all you need to do is create the entry for the callback function in maint view: CRMV_FUNC_ASSIGN.
Your entry should be as simple as Z-function name Object Function - <same as others in the segment you are assigning>
IE for the partner it would be CRM_PARTNER as object function, for general order processing CRM_ORDER
Take care,
Stephen
Maybe you are looking for
-
How at add key triggers in Forms.For example : When users click function key "F2" then it should save the record. Thanks Saritha
-
I'm having a problem sending texts to certain numbers. I have been able to send them before, but not any more. Delivery report tells me it's been delivered, but the recipient says nothing has arrived. It only seems to happen withcertain numbers.
-
How to get short text of a exception thrown by abap rfc
Hi buddy, I use jco to communicate with backend, an abap function module will raise a exception. I can catch that exception, The example exception is: <b>Exception</b> <b>Short text</b> Test This is exception test. e.getKey() wi
-
I've had several pinned apps, tab groups etc that always reappeared when I closed and opened Firefox. I always had history stored without a problem. Today I opened Firefox, and my pinned apps, tab groups, and history were all gone, and the option to
-
Can someone help me please with the above issue.?