Unable to Find out Advanced Function in Mapping

Hi Experts,
We Installed PI 7.0.
Here In IR --> Mapping
If I Want to Create Any Adv User Defined Function Means , that option is not there.
Only i have One Click on that Button.
I don't have the Other Option of Having the ADV Functions to Create.
Please Let Me Know
Regards
Khanna

Hi
go thru the following
Activities
       1.      To create a new user-defined function, in the data-flow editor, choose Create New Function (This graphic is explained in the accompanying text), which is located on the lower left-hand side of the screen. In the menu, choose Simple Function or <b>Advanced Function.</b>
       2.      In the window that appears, specify the attributes of the new function:
Name
Technical name of the function. The name is displayed in the function chooser and on the data-flow object.
Description
Description of how the function is used.
Cache
Function type (see above)
Argument Count
In this table, you specify the number of input values the function can process, and name them. All functions are of type String.
       3.      In the window that appears, you can create Java source code:
                            a.      You can import Java packages to your methods from the Imports input field, by specifying them separated by a comma or semi-colon:
You do not need to import the packages java.lang., java.util., java.io., and java.lang.reflect. since all message mappings require these packages and therefore import them. You should be able to access standard JDK and J2EE packages of the SAP Web Application Server by simply specifying the package under Import. In other words, you do not have to import it as an archive into the Integration Repository. You can also access classes of the SAP XML Toolkit, the SAP Java Connector, and the SAP Logging Service (see also: Runtime Environment (Java-Mappings)).
In addition to the standard packages, you can also specify Java packages that you have imported as archives and that are located in the same, or in an underlying software component version as the message mapping.
                            b.      Create your Java source text in the editor window or copy source text from another editor.
       4.      Confirm with Save and Close.
       5.      User-defined functions are limited to the message mapping in which you created the function. To save the new function, save the message mapping.
       6.      To test the function, use the test environment.
The new function is now visible in the User-Defined function category. When you select this category, a corresponding button is displayed in the function chooser pushbutton bar. To edit, delete, or add the function to the data-flow editor, choose the arrow next to the button and select from the list box displayed.
regards
krishna

Similar Messages

  • Regarding finding out Partner function based on Sales Order/Output Type

    Hi All,
    <b>I have a issue in finding out Partner function[PARVW],  Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
    Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
    When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
    Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
    Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
    But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
    How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Check this FM
    WFMC_MESSAGES_SELECT
    example
    tables : nase.
    constants: appl     like nase-kappl value 'V2'.
    select-options:
      rg_nacha  for nase-nacha default '1',
      rg_kschl  for nase-kschl.
    ranges: rg_objky for nast-objky.
    data:
    msgs_1 like msg0   occurs 100 with header line.
    *-Fill Object Key
    *-Execute fm
    call function 'WFMC_MESSAGES_SELECT'
         exporting
              pi_application = appl
              pi_processing  = '1'
         tables
              ri_medium      = rg_nacha
              ri_type        = rg_kschl
              ri_object      = rg_objky
              tx_messages    = msgs_1.

  • HT4859 Last time I synced my IPad with my PC it migrated all my "Favorites" (about 100 folders) to the ICloud. I have searched and so far been unable to find out how to recover my "Favorites" list from the ICloud back to my PC. Any advice? Many thanks.

    Hi, Last time I synced my IPad with my PC, it (unknown to me) migrated all my PC "Favorites" (about 100 folders) to the ICloud.
    I have searched and so far been unable to find out how to recover my "Favorites" from the ICloud back to my PC. Any advice would
    be appreciated. Thank you.

    What did you do to get them synced to the Cloud.  Would that procedure help me get my favorites synced to my iPad2?

  • Table to find out the function modules used in a particular program

    Hi,
    Is there any standard table to find out the function modules used in a particular program?
    Such as there is a table D010TAB to find out the tables used in a program .

    Hello
    There is no exist such table.
    But try this snippet:
    REPORT ZSEARCH.
    PARAMETERS: P_NAME LIKE D010SINF-PROG.
    DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: TMP(72) TYPE C OCCURS 0 WITH HEADER LINE.
    DATA: FUNCT TYPE RS38L_FNAM OCCURS 0 WITH HEADER LINE.
    DATA: INCL TYPE RSEUINC OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RS_GET_ALL_INCLUDES'
         EXPORTING PROGRAM    = P_NAME
         TABLES    INCLUDETAB = INCL.
    LOOP AT INCL.
      READ REPORT INCL-MASTER INTO TMP.
      APPEND LINES OF TMP TO PROGTXT.
      REFRESH TMP.
    ENDLOOP.
    READ REPORT P_NAME INTO TMP.
    APPEND LINES OF TMP TO PROGTXT.
    LOOP AT PROGTXT.
      IF PROGTXT CS 'CALL FUNCTION'.
        SEARCH PROGTXT FOR ''''.
        IF SY-SUBRC = 0.
          DO.
            SHIFT PROGTXT LEFT BY 1 PLACES.
            IF PROGTXT(1) = ''''.
              SHIFT PROGTXT LEFT BY 1 PLACES.
              DO.
                SHIFT PROGTXT RIGHT BY 1 PLACES.
                IF PROGTXT+71(1) = ''''.
                  SHIFT PROGTXT RIGHT BY 1 PLACES.
                  CONDENSE PROGTXT.
                  FUNCT = PROGTXT. COLLECT FUNCT. EXIT.
                ENDIF.
              ENDDO.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
      ENDIF.
    ENDLOOP.
    SORT FUNCT.
    LOOP AT FUNCT.
      WRITE: FUNCT. NEW-LINE.
    ENDLOOP.

  • Wants to find out customise function module in SAP

    Hi all There,
    I want to find out Customize Function Module in SAP,
    I am not able to find out though SE03.
    Pl provide the detail solution
    Regards
    Sagar

    hi,
    Custom function module start with Z or Y.So go to table TFDIR and enter z* and y* on input screen field function module name and then check number on entries by pressing tab number of entries on application toolbar.
    So number of custom function module =  z(number of entries) + y(Number of entries) .
    Thanks
    Mohit

  • How to find out the Functional module related to a T-code

    Hi All ,
    Please tell how to find out the Functional module related to a T-code.
    i want it for the T-code RSZDELETE.

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Pavilion g6 webcam. unable to find out how to launch it or turn it on. it does not show up anywhere

    Brand new lap top.  Unable to find out how to launch or use the webcam. It is not listed anywhere under control pannel.  Any ideas how to launch it?
    Thanks

    The software used to launch webcam is Cyberlink youcam installed on the Notebook. You can search for it in Start menu under All Programs.
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • My Master server is stopping automatically unable to find out the issue

    Dear Experts,
    My Master server in CMC is stopping automatically and is going to infinite stop state.when i again restart manually its connecting but again it is stopping.what may be the cause unable to find the solution
    Thanks in Advance,
    Regards,
    Vinay.G

    Go to the Tomcat site and read the "First Web App" docs. I'm sure you didn't deploy your servlet properly.
    %

  • Unable to find channel ID in multi-mapping scenario

    Hi all,
    my scenario RFC-adapter-XI-File-adapter works fine, if I use a mapping without splitting the source message.
    The supposed file is generated.
    But If I split the source messsage in message mapping I see successfully splitted payloads in monitoring, but the files are not generated because of Error "channel ID can not be found".
    AND "Zustellung der Message an die Anwendung über AFW ist fehlgeschlagen weil: Couldn't find delivery channel for message: 307e06d0-41c5-11db-96be-0017a41036a2. Message wird auf 'fehlgeschlagen' gesetzt"
    I checked alread the whole forum and found some interesting informations, but nothing helped me..
    Has anybody an idea?
    Thanks a lot!

    Hi Florian,
    It looks like the system is unable to find a Receiver agreement / Communication Channel for one of the Messages created by the Map.
    Check whether the Receiver Agreements exist for both Message Interfaces created by message split.
    Hope this helps.
    Rgds
    R Chandrashekhar

  • Process to find out tables & functional module

    Hi,
    I would like to know the process to find out tables for configured objects not the master data objects and also the process for finding a functional module for particular application like action.
    regards Srinath

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Reg:finding out the function module to manager of organization unit

    Hi Experts,
    Is there any function module for finding out the Manager to organization unit.

    RH_GET_LEADING_POSITION gives you the position of the manager

  • Unable to find out asdm image file cisco asa

    Hello,
    i am using cisco asa in gns 3 simulator ,unable find out the ASDM image or .bin file in
    ASA flash .If not how can i
    Uploade the ASDM image onto the ASA flash.
    Please help me out

    Follow this:
    http://www.xerunetworks.com/2012/03/asa-84-asdm-on-gns3-step-by-step-guide/
    For Networking Posts check my blog at http://laguiadelnetworking.com/
    Cheers,
    Julio Carvajal Segura

  • Unable to find out error

    hi all
    need help to solve this problem
    In a file called AllBalancedOfSize.java write a method with the signature:
    public void printBalanced(int len)
    that uses recursion (either directly or indirectly) and prints all balanced strings, composed solely of the characters a and b of length len in lexical (dictionary) order. A balanced string is a string with an equal number of a and b characters. So, for example, abab is a balanced string and bbab is not a balanced string.
    As an example, the call printBalanced(4) must print:
    aabb
    abab
    abba
    baab
    baba
    bbaa
    A call printBalanced(5) must print nothing because there are no balanced strings of length 5 (same for any odd parameter value). A call printBalanced(0) must print an empty line because there is one balance string of length zero, the empty string! You may assume that len is always greater than or equal to zero.
    i have done this
    public class AllBalancedOfSize {
         public static void main(String[] args) {
              AllBalancedOfSize q4 = new AllBalancedOfSize();
              q4.printBalanced(4);
         public void printBalanced(int len) {
              if (len == 0) {
                   System.out.println();
              } else {
                   if (len % 2 == 0)
                        printBalanced(len, "");
         public void printBalanced(int len, String prefix) {
              if (len == 0) {
                   int numofa = 0, numofb = 0;
                   for (int i = 0; i <= prefix.length(); i++) {
                        char tmp = prefix.charAt(i);
                        if (tmp == 'a') {
                             numofa++;
                        } else {
                             numofb++;
                   if (numofa == numofb) {
                        System.out.println(prefix);
              } else {
                   printBalanced(len - 1, prefix + "a");
                   printBalanced(len - 1, prefix + "b");
    }but i got this from compiler
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 4
         at java.lang.String.charAt(String.java:687)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:20)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:31)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:31)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:31)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:31)
         at AllBalancedOfSize.printBalanced(AllBalancedOfSize.java:12)
         at AllBalancedOfSize.main(AllBalancedOfSize.java:4)
    need help to find out what is the error.
    Edited by: dttl on May 10, 2009 11:44 AM

    dttl wrote:
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 4
         at java.lang.String.charAt(String.java:687)
    need help to find out what is the error.When a String has a length of 4 characters, you can access them though indexes 0 through 3.
    When a String has a length of N characters, you can access them though indexes 0 through N-1.

  • Unable to find out the Exception

    Hi,
    I have a created a generic method to read value from the Dropdown UI element, but i am getting some exception and un able to find out what kind of exception i am getting and which line of code causing the problem, i am giving the peace of code , could any body tell me why the below method throwing exception?
    public java.lang.String readValueFromDropDown( java.lang.String attributeName, java.lang.String contextNodeName )
    //@@begin readValueFromDropDown()
         IWDAttributeInfo attribute = null;
         String attrValue="";
         try{
              IWDNode node= wdContext.getChildNode(contextNodeName,1);
              IWDNodeInfo  rootNode =wdContext.getNodeInfo();
              Iterator iterationNodes = rootNode.iterateChildren();
              //Vector
              Vector mainVector,tempVector1,tempVector2;
              mainVector = new Vector();
              tempVector1= new Vector();
              tempVector2 = new Vector();
              boolean isContentNodeFound= false;
              while(iterationNodes.hasNext()){
                   tempVector1.add((IWDNodeInfo)iterationNodes.next());
              do{
                   int k=0;
                   int temp1VectorSize=tempVector1.size();
                   for(int i=0;i<tempVector1.size();i++){
                        IWDNodeInfo tempNodeInfo =(IWDNodeInfo)tempVector1.elementAt(i);
                        mainVector.addElement(tempNodeInfo);
                        if(tempNodeInfo.getName().equalsIgnoreCase(contextNodeName)){
                             isContentNodeFound=true;
                             ISimpleTypeModifiable smpMod = attribute.getModifiableSimpleType();
                             IModifiableSimpleValueSet valueSet = smpMod.getSVServices().getModifiableSimpleValueSet();
                             IWDNodeElement nodeElement = node.getCurrentElement();
                             attrValue =valueSet.getText(nodeElement.getAttributeAsText(attributeName));
                             break;
                        for(Iterator iterationChildsTemp2=tempNodeInfo.iterateChildren();iterationChildsTemp2.hasNext();){
                             tempVector2.addElement((IWDNodeInfo)iterationChildsTemp2.next());
                        k=k+1;
                        if(tempVector1.size()== k){
                             tempVector1.removeAllElements();
                             for(int j=0;j<tempVector2.size();j++){
                                  tempVector1.addElement(tempVector2.elementAt(j));
              }while(tempVector2.size()>0 || isContentNodeFound);
              if(!isContentNodeFound){
                   attrValue="not found";
              else if(isContentNodeFound && attrValue.equals("")){
                   attrValue="found but no value returned";
         }catch(Exception e){
         //     wdThis.wdGetFcVndUtilityInterface().logAndReportException(READVALUEFROMDROPDOWN,e,INTERFACENAME);
              attrValue="Exception";
              wdContext.currentApproverDetailsElement().setApproveRejectReason("Exception");
         }finally{
         return attrValue;
        //@@end

    Wrong place!
    Place this question in WebDynpro-java forum
    -Ashutosh

  • HT4623 Trying to update my iTunes on my iPhone to version 11.1 or higher, but unable to find out how to do this. Can someone help?

    I am trying to find out how I can download version 11.1 or higher on iTunes for my iPhone.  Can someone help?

    Its not iTunes on your phone that needs to be updated - its iTunes on your computer.
    Start iTunes on your PC/Mac and it should prompt you.

Maybe you are looking for

  • When I connect my iphone to itunes it freezes, if I try to open itunes when my phone is already plugged in it doesnt open, help?

    Hello community, I seem to be having an issue with itunes. Upon opening itunes everything works fine. But the second i plug in my iphone, itunes freezes and wont respond. If i already have my iphone plugged in and then try to open itunes, a type of b

  • BPM - Parallel Looping - numberOfCompletedIterations.

    Hi, In the human activity when using parallel looping, two local attributes are generated automatically currentCollectionItem and numberOfCompletedIterations. I need the value in the numberOfCompletedIterations to my webdynpro java component. I mappe

  • How do i get rid of the ipad 2 tester virus on facebook?

    A few days ago I was using the Facebook app on my iPhone 4 and noticed that I had a picture of an iPad 2 in my Wall Photos... turns out that I had 85 copies of the same picture! All of them had captions about being a tester for the iPad 2. I immediat

  • Hosting problem with ear file

    Hi I have hosting machine running linux th java and j2sdkee some files are owned by root and most by uucp 1)what is uucp. 2)I can run the j2ee and i have deployed ear file I can access the deployed application using http://localhost:8000/blah/blah ok

  • Screen is stuck in email  (draft folder)

    screen is stuck in email  (draft folder) have "deleted" draft and also "sent" draft, but it won't go away and I can't get any other screen in mail. I have turned it off completely, yet when I come back to mail, it is still in that screen. How do I ge