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

Similar Messages

  • Custom Java Function in BI Publisher

    Hi -
    Is it possible in BI Publisher to create a custom java function and call this function in RTF template?
    Thank You

    I was able to test it using Template Builder for MSWord , but when I try to upload it in BI Publisher Server, I am encountering error.

  • Creating custom payroll function

    Hi
    How do can we create a custom Payroll function?
    Regards
    JwaliniS

    check the following links -
    [Creating custom payroll function|http://www.sapfunctional.com/HCM/PayrollFunction/Create.htm]
    [http://www.sap-img.com/human/creating-customer-specific-functions-for-hr-payroll.htm]
    I feel the first link is same as Ravi has posted above :)...
    Edited by: Praveen Tiwari on Jul 12, 2011 3:33 PM

  • Custom javascript functions in mobile webdynpro for java

    Hi
    We are developing an application for hand scanners. But the client uses different kinds of scanners. For this purpose we have to create some custom java script functions. Can anyone share your experiences on this with us which can guide us in the right way..
    The common features between all these scanners are as follows
    Windown CE .net 4.2
    Always Online wireless network.
    Mobile Internet explorer 6.0/Ibrowse which comes along with the scanner.
    Edited by: Srikanth Kancherla on Jan 5, 2009 7:13 AM

    Hi,
    refer this link where he is talking about java script with web dynpro,and he is talking about a rendering frame work where we can implement the java script .
    and that will support with CE 7.1
    http://help.sap.com/saphelp_nw70/helpdata/EN/f7/f289c67c759a41b570890c62a03519/content.htm
           1.      Navigate to the view where you want to insert the BarCodeReader.
           2.      Double-click the view or choose Edit from the context menu.
           3.      Insert the mobile UI element BarCodeReader.
    This interface element is not visible on the user interface and activates the scanning function of the mobile device when the mobile application is called. When the mobile device reads a barcode u2013 that is, the onRead event is triggered u2013 the data is passed to the server and can be stored in the context. The event parameter must be mapped to the parameter of the action.
           4.      Insert a TextView element u2013 for example, ShowData.
    thanks and regards
    Manohar
    Edited by: Gouri  Manohar Gadhamsetty on Jan 6, 2009 5:46 PM

  • 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>

  • How to use  Advance java function in graphical mapping in XI 2.0?

    Hi,
    currently I am using a simple java function to make an RFC call to R3 system.
    I want to avoid making connection for each lookup. Instead I want to make a single connection for whole message queue and get the corresponding values in some array or container object.
    please suggest a solution.
    I think this is possible using Advance java function, but I am not able to find any example on using Advance java function at help.sap.com.
    thaks in advance.

    Hi!!!
    I'm not sure if I understood you well.
    Do you want to preload some data into your structures in the memory and keep them there so you don't need to make a new connection during processing the whole message or every message?
    In my opinion you can cache some data during processing a message, but it's impossible to cache some data between processing messages.
    If you write your java mapping or you use graphical mapping (even with user-defined function), then you have a java class. The problem is that XI 2.0 reloads this class during processing every message, so even if you load some data from your data source into your structures in the memory, this data will be lost after reloading your mapping class.
    Regards,
    Andrzej Filusz

  • XSLT using Java function from graphical mapping (RFClookup)

    Hi,
    I was wondering if it is possible to use the standard Java functions of the graphical mapping (RFCLookup, Datetrans, ...) or from my own UDF inside an xslt mapping. Does anyone have every tried this or is an example available ?
    Regards Bernd

    Hi Bernd,
    here you can find an example how to use RFC lookup from an XSLT Mapping:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14?quicklink=index&overridelayout=true
    Is this what you're looking for?
    Regards,
    Gábor

  • Error while tesing a Datasource created from Java function

    Hi ,
    I am trying to create a datasource from java function.After build/deploy i am getting the following error . The java class i am using from the EvalGuide Sample. Anybody had similar issues ?
    regards
    GK
    weblogic.xml.query.exceptions.XQueryStaticException: {lib:TestLayer/xfl/library1}protectSSN:1, line 4, column 1: {err}XQ0017: "{lib:TestLayer/xfl/library1}protectSSN": unknown function (or number of arguments (1) is wrong)
         at com.bea.ld.server.XQuery.createInvocation(XQuery.java:228)
    i am using WLS8.1 sp 6 ,ALDSP 2.5

    I am testing from Test View.
    I tried build-->deploy-->redeploy several times.
    Pls find the complete trace below
    eblogic.xml.query.exceptions.XQueryStaticException: {lib:TestLayer/xfl/library}protectSSN:1, line 4, column 1: {err}XQ0017: "{lib:TestLayer/xfl/library}protectSSN": unknown function (or number of arguments (1) is wrong)
         at com.bea.ld.server.XQuery.createInvocation(XQuery.java:228)
         at com.bea.ld.EJBRequestHandler.invokeQuery(EJBRequestHandler.java:559)
         at com.bea.ld.EJBRequestHandler.invokeFunction(EJBRequestHandler.java:775)
         at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:339)
         at com.bea.ld.ServerBean.executeFunction(ServerBean.java:95)
         at com.bea.ld.Server_ydm4ie_EOImpl.executeFunction(Server_ydm4ie_EOImpl.java:954)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • How to create custom java class in Content Server

    Hi All,
    I want to develop a custom java class (.class) file and upload in the UCM(Stellent Content Server). The problem is that I have to use some objects like DataResultSet, SharedObjects etc in my java class file. Since these class files resides in the Content Server I am not able to create a custom java class with these objects.
    Can any one help me to solve the above issue
    With thanks and regards
    Mohan

    Hey there,
    All of the core content server class files are included in a single jar file. This jar is in one of 2 places in the 10gr3 version of UCM:
    1. If you have an unpatched content server include $IntradocDir/shared/classes/server.zip in your classpath
    2. If you have a patched content server include $IntradocDir/custom/CS10gR35CoreUpdate/classes.jar in your classpath.
    In UCM 11g the jar file is located in %MIDDLEWARE_HOME%/Oracle_ECM1/ucm/idc/jlib/idcserver.jar
    P.S. Venkat is correct, post UCM specific questions in the ECM forum.
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_WCS >

  • How to create custom adf tab in oim 11g for self service

    Hi all,
    I want to create a new tab in self service console by using out box code. Any suggestions please
    Thanking you

    Refer link below:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/customize_oim_ui_selfservice_tabs/customize_oim_ui_selfservice_tabs.htm
    regards,
    GP

  • How to import custom java jar/class into oracle to be used in java proc ?

    Hi
    I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.
    I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.
    But, my question is that I do have a other external jar/class file that need to be imported into this java program.
    example
    raise_sal.java
    import java.util.*;
    import oracle.sql.*;
    <<reference other java programs >>
    import cmpmsgsvc.xxxx.* ;
    import cmpmsgsvc.yyyy.* ;
    import cmpmsgsvc.zzzz.* ;
    how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
    compilation errros on raise_sal.java program ??
    what are the steps to import/compile and validate to do this?
    thanks for your help in advance.
    Thanks
    rrb.

    Kuassi
    Problem is that, I have 6 jar files that are needed to be included in the main java program. And, there are more than 50+ classes, propertiers in those 6 jar files.
    It might be not good idea to have all those 50+ classes in the production database.
    Is there anyway that I keep all those 6 jar files in unix box (our's is oracle erp installation with oracle being installed on unix box) and just refer them in the main java program. I mean database will be loaded with main java program and it should able to refer other 6 jar files from unix.
    if we create a directory and keep all jar files in there and include that directory in classpath variable, does this works? or what is other method?
    Please let me know.
    Thanks

  • Create custom web-part page with OOTB page layout using CSOM (Javascript)

    Hi,
    I need to create a custom webpart page with a OOTB page layout (eg. Header 3 column footer) using JSOM.
    I found a link to do this using CSOM: http://spdevlab.com/2013/03/28/creating-wiki-web-part-and-publishing-pages-via-csom-in-sharepoint-2010/
    But here i have to copy the page template from 15 hive and store it in a resource file and I am also getting error as "The request message is too big" and to fix this I need to run a powershell script but I need the code to run in SharePoint online
    also.
    Isn't there a simpler piece of code in which I can enter the name of the page layout(OOTB/Custom) while creating a page in JSOM as we have in SSOM?
    Thanks for the help
    sunny

    Hi,
    According to your post, my understanding is that you want to create a custom web part page layout template.
    There are some articles about how to create the custom web part page layout template, you can refer to them.
    http://www.manageprojectsonsharepoint.com/blog/2011/03/14/creating-your-own-web-part-page-layout-template/
    http://sandeeppawar.blogspot.com/2012/06/create-custom-web-part-page-template.html
    http://doitwithsharepoint.blogspot.com/2011/08/create-web-part-pages-with-custom.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Java doesn't bypass proxy for IPs using (IP-Subnet) combination ??

    Dear All,
    On Mac OS I am getting the below problem, I didn't tried it on Windows may be this problem may not occur there.
    Problem:---
    On Mac OS (Leopard).
    When bypassing proxy IP in "Network Settings->Advanced...->Proxies->Bypass Hosts & Domains" field is given as IP-Subnet combination, e.g. 192.168.60/24, then in Java while trying to connect with HttpUrlConnection's connect() method, and then getting response code using HttpUrlConnection's getResponseCode() method it returns response code 407 i.e. Proxy is required. But safari works well for that,
    This Java API works well when I directly give IP as 192.168.60.X it works (Java API) well.
    I tried System.getProperties().setProperties("http.nonProxyHosts","192.168.60/24"), then also it doesn't works.
    Please tell me any solution, suggestion or workaround or any document that tells it may not be done through Java API.

    I think System.getProperties().setProperty("http.nonProxyHosts",any host name, IP with * or |) works well for Windows.
    Now may be specifying the range of IPs using subnet on Mac OS (e.g.192.168.60/24) is different than on windows (e.g. 192.168.60/255.255.255.0) and therefore this fails on Mac OS. Although Java is given by Mac for its OS, but I think they didn't made any changes for this API.
    Now the question is whether its a bug in Java Mac or there is some workaround present for that???
    Do you have any idea that I am going right way or not??

  • CRM Survey Suite - Validate fields with custom Java Function

    Hi all,
    Does anybody now how to validate the survey fields when pressing a custom button and before submitting it to the CRM database?
    If I add a custom field, it appears in the html as:
    <a onMouseOver='return true;' href="javascript:void(0)" onClick="return htmlbSL(this,2,'SUBMIT:SUBMIT')" class="sapBtnStd" id="CHECK_VALUES"><nobr>CheckValues</nobr></a>
    Which makes impossible to handle the event with a client side function defined in java script in the html code.
    I've tried to setup the EXAMPLE_DYNAMIC_SURVEY, but I wasn't successful.
    Any tips?
    CRM5.0
    Regards,
    Dora

    FYI
    Note 945112 "Addition of Javascript validation to onSubmit event" was created.

  • How to create Customer Partner Function

    Hi all,
    How do we create Partner function for customer.
    Regards,
    Kishore Kumar Yerra.

    Hi Kishore,
    Have you looked this BAPI?
    <b>BAPI_BUS2001_PARTNER_CREATE_M</b>
    <b>BAPI_BUSINESS_PARTNER_CREATE</b>
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for

  • How get all rows of a table with a BAPI

    Hi, how is it possible to get more then one row by calling a BAPI from the WD. In my Application I need the rows of a Table coming from the r/3 System. How is it possible to get all the rows after the first call? What is the logic behind it? My purpo

  • How to access viewstate(Zoom, page, x,y,offset) of Acrobat plugin in ?

    I am having trouble acessing the viewstate parameters of a pdf embedded in a browser. I set up the plugin as follows: <object id="foo" type="application/pdf"> <script language="javascript"> var object = document.getElementById("foo"); object.??? (wha

  • 17" Powerbook can't find Panasonic PV-GS39 via firewire

    I just picked this Panasonic mini-dv camcorder up the other night and have yet to get it to talk to my powerbook (final cut pro hd 4.5 or iMovie hd) via firewire. If I connect the USB cable, I can access the pictures on the SD card, but no go with fi

  • WRT610n access external ip from within LAN - NAT loopback

    Hi everybody, I've replaced my old ZyXEL P-320W with a WRT610n and lost one feature... I basically have a NAS assigned to IP 192.168.1.2, my router has IP 192.168.1.1 locally of course. Imagine I have IP X.X.X.X from the internet and that this IP is

  • Vendor replication from  SRM to R/3?

    Hi all, How to replicate or update  vendor master data from SRM to R/3.Is there any programs, BAPI's or IDOC we can use? If any one knows please let me know. I believe that BBP_VENDOR_SYNC is for R/3 to SRM. BBP_VENDOR_GET_UPDATE is this FM  works? T