Mappings and script functoid

Can you have both mappings (direct mapping in the graph) and scripting functoid in the same map?
Anonymous

Hi,
Yes, direct mapping and scripting functoid can be used in the same map.
In case of complex map and lot of direct mapping it is advisable to make use of more than 1 pages, just for better readability.
Pages are a great way of dividing your map into smaller, more manageable blocks. The functionality of the map is in no way influenced with how many pages you have and what functionality goes into what pages.
You can learn more about Biztalk Maps by following the links below:
1) http://www.informit.com/articles/article.aspx?p=1752306
2)
http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&cad=rja&uact=8&ved=0CEMQFjAF&url=http%3A%2F%2Fbiztalkevents.files.wordpress.com%2F2013%2F03%2Fobid-biztalk-mapping-patterns-and-best-practices.pptx&ei=L2U3VJHrApHmauiLgZgD&usg=AFQjCNHnYSa-ynxUKRRdr14LcB85brSNUw&bvm=bv.76943099,d.d2s
3)
http://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CDMQFjAD&url=http%3A%2F%2Fwww.slideshare.net%2FSandroPereira3%2Fbiztalk-server-basics-principles-of-maps&ei=L2U3VJHrApHmauiLgZgD&usg=AFQjCNG6iJRePcbrHr9CS2_apBuNAzYR0w&bvm=bv.76943099,d.d2s
Hope this helps.
Rachit
Please mark the post answered your question as answer, and mark other helpful posts as helpful, it'll help other users who are visiting your thread for the similar problem

Similar Messages

  • Scheduling Mappings and Process Flows

    Can you please tell me how to schedule mappings and process flows in a little detail, if any one has done that. I think OEM can be used for this but dont have any clear cut idea of doing it. Can the mappings/process flows be scheduled without using OEM console ?
    Waiting for you suggestions.
    rgds
    -AP

    Hi
    You can schedule your mapping and process flows with OEM or database job.
    You will find script templates in the OWB HOME/owb/rtp/sql directory
    and you can scheldule them.
    If you want to do it in OEM use the oem_exec_template.sql file createing an OEM job. Read the OWB documentation about it. If you have any question about it ask it, I have done this procedure many times.
    Ott Karesz
    http://www.trendo-kft.hu

  • Inline XSLT Call Template within Scripting Functoid logic needed

    In my Scripting Functoid, Config Functoid Script, Script type is Inline XSLT Call Template code is as follows.
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" />
    <xsl:element name="CanadaStatus">
       <xsl:choose>
          <xsl:when test="string-length($CanadaStatCd) > 0">
               <xsl:value-of select="$CanadaStatCd"/>
           </xsl:when>
           <xsl:otherwise>
               <xsl:value-of select="$CanadaClientCd"/>
           </xsl:otherwise>
        </xsl:choose>
       </xsl:element>
    </xsl:template>
    In this test case I think the Scripting Functoid is expecting 2 Parameters as input and in most cases the 2 input parameters will have data coming in, but in negative testing I have a case where the 2nd parameter is not passing any data (Value Mapping is
    coming from a Table lookup and the the input is blank, so the table lookup is not executed).
    Instead of trying to test for the length of the string of Parm 2 (which in the negative case there is no value for Parm2), I was wondering if there was a way to count the actual number of Parms being read into the XSLT. In the cases with my positive test,
    the number will be 2 and in the negative case, the number will be one.
    Or is there a way to confirm that there is something in the 2nd Parm.
    Thank you!

    I don't think there is a way count the number of parameter in XSLT (or even in any programing language's procedural calls). Where would execute the code/XSLT to check the count-With in your above "CanadaInformation" template?. What your looking for
    is something at engine level, i.e. is count the number of parameters being read and pass the control based on the number of parameters being read/passed.
    Or close option for this if you have something like overloaded functions/template. In XSLT we don't have anything like overloaded functions/templates.
    If you don't pass/link two parameter, you would error as "The number of inputs to the scripting functoid does not match with the number of inputs expected by the xsl:call-template"
    Your above code shall do the check for value of the parameter. Your code shall handle if "CanadaStatCd" is passed in or not. If you're considering other ways, you have some as follows:
    You can have "<xsl:when test="not($CanadaStatCd)">"- Which is same as parameter not being passed. So your code can be something like:
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" />
    <xsl:element name="CanadaStatus">
    <xsl:choose>
    <xsl:when test="not($CanadaStatCd)"> <!-- parameter has not been supplied -->
    <xsl:value-of select="$CanadaClientCd"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$CanadaStatCd"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:element>
    </xsl:template>
    Have a default values to your parameter and check whether the values are differernt from default values if values are passed in otherwise if the value are still default value, then no value are passed in. Something like:
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" select="'SomeDefaultValue'" /> <!-- SET default -->
    <xsl:element name="CanadaStatus">
    <xsl:choose>
    <xsl:when test="$prefix != 'default-value'">
    <xsl:value-of select="$CanadaStatCd"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$CanadaClientCd"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:element>
    </xsl:template>
    Have another scripting fuctiod before you call the above XSLT-template. Do the check at this scripting function and call the template based on the validation you do at this scripting functiod.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    how to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    Nice of you to point it out here as I at least don’t follow Mr.Nash’s blog regularly.

  • XML Validation using java for SQL Injection and script validation

    I have an input coming from xml file.
    I have to read that input and validate the input against sql injections and scripts.
    I require help now how to read this xml data and validate against the above two options.
    I am a java developer.
    in this context what is marshelling?

    http://www.ibm.com/developerworks/library/x-javaxmlvalidapi.html?ca=dgr-lnxw07Java-XML-Val
    http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/package-summary.html
    The following code validates the xml against a xml schema
    // define the type of schema - we use W3C:
    String schemaLang = "http://www.w3.org/2001/XMLSchema";
    SchemaFactory factory = SchemaFactory.newInstance(schemaLang);
    Schema schema = factory.newSchema(new StreamSource("sample.xsd"));
    Validator validator = schema.newValidator();
    // at last perform validation:
    validator.validate(new StreamSource("sample.xml"));Message was edited by:
    haishai

  • Smart and script forms..?

    hi experts
    Can anybody explain me about the SAP SMART and SCRIPT forms ..
    1.What is Script and Smart forms.?
    2.Give some examples of both script and smart forms? (RFQ,PO,Sub-sontract challan, RG23A..registers ..)
    3.what is the difference between script and smart forms,?
    Thanks
    SAP-MM

    Dear Friend,
    Both smart form and script are output tools for print out, script is the older version
    1.SCRIPTS ARE CLIENT DEPENDENT
    SMARTFORMS ARE CLIENT INDEPENDENT
    2.WE CANNOT ADD COLORS IN SCRIPTS
    WE CAN ADD COLORS IN SMARTFORMS
    3.WE CANNOT GET THE FUNCTION MODULE WHEN WE ACTIVATE THE PROGRAM
    WHEN WE ACTIVATE THE PROGRAM WE GET FUNCTION MODULE
    4.WE CAN WRITE ENTIRE CODE IN SMARTFROM ITSELF
    Regards
    Pramod

  • PO Print Program and Script

    Hi All,
    Where I can find a Print Program and Script associated with a particular PO.
    Please suggest.
    GS

    Hi,
    Go to me22n or me23n. Give the PO no . Click on Messages > See whether any output type exists or not. If exists then go to tyransaction nace . In th application select EF -Purchase Order. Click output type> In the output type search your output type Select it and then click on Processing routines you will see the program name & form name.
    You can check with the output type in TNAPR table also . By giving output type in KSCHIL field it will give u print program & Form name.
    Thanks,
    Abhijit

  • Expressions and scripting

    Hi
    I've several questions about programming in Ae
    And I hope to find answers with you
    1- What are the differences between : expressions and scripting ???
    2- I'm not a programmer , so , can I be proficient in expressions ? and how ?
    3- again , I'm not programmer
    can I learning Java script ?

    An expression is a little piece of softwaremuch like a scriptthat evaluates to a single value for a single layer property at a specific point in time. Whereas scripts tell an application to _do_ something, an expression says that a property _is_ something.
    With expressions, you can create relationships between layer properties and use the keyframes of one property to dynamically animate other layers. For example, you can use the pick whip to link path properties, so a mask can take its path from a brush stroke or a shape layer object.
    The expression language is based on the standard JavaScript language, but you do not need to know JavaScript to use expressions. You can create expressions by using the pick whip or by copying simple examples and modifying them to suit your needs.
    Be sure to read the
    "Expressions" section of After Effects Help on the Web.
    Dan Ebberts has an excellent collection of example expressions and scripts and tutorials for learning how to work with expressions and scripts on his website: http://www.adobe.com/go/learn_ae_motionscripthome.
    The AE Enhancers forum provides many examples and much information about expressions, as well as scripts and animation presets: http://www.adobe.com/go/learn_ae_aeenhancershome.
    JJ Gifford provides several example projects on his website that demonstrate how to use expressions: http://www.adobe.com/go/learn_ae_jjgiffordexpressions.

  • VL06P Program and script name

    Hi all,
    I had a requirement in VL06P. Pls. help me to find out the Program and script name for VL06P.
    Thanks in advance,
    regards
    Arun

    Hi Arun,
    Program Name              WS_MONITOR_OUTB_DEL_PICK
    goto SE80 give this program name you will see all...........
    Rewards If Helpful!
    Regards,
    Mehfuze

  • Smartform and Script

    How can you upload a logo dynamically in smart form and scripts?

    Hi,
    Follow the given steps in order to add a logo,
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and  select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) User TCode SE78 to upload new pictures and logos.
    regards
    sadhu kishore

  • Value Mappings and Mapping lookups?

    Hi Experts,
    I've came across a thread on SDN which is mention below.
    value mapping
    can anyone explain me what is value mapping and fix mappings and why we need them and wht is mapping lookups?
    plz refer some weblogs which can explains in detail about  value mappings, fixed mappings and mapping lookups?
    pts will b rewarded
    thanks
    Faisal

    Hi,
    Hope this information is useful to you..
    Value Mapping Blogs.
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Mapping look up API
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/mapping%20lookups:%20RFC%20API.pdf
    what is lookups
    Lookups are used to identify / request the data from mapping , i mean interupting the process and looking for data which was stored in some where and get that data and comback to process and continue with that data.
    why we can use for lookups.
    We will use these type of lookups in Message mapping for refering DB Lookup for data base which is not SAP, RFC lookups for SAP data
    Look up tables
    In the error handling topic we have seen the different validations which need to be performed on file.
    This can be done through Lookup.
    Some use cases:
    • Look up employee information.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Some useful blogs...
    /people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Thanks,
    Satya..
    Reward points if it is useful..

  • Spreadsheet and script

    HI,
    i need some help in oracle application express with a spreadsheet and script linkup.....if any one can help me please contact me on : [email protected]
    the spreadsheet contains errors which i knw off, but im confused how to fix one error so i can upload it later on
    thanks in advance

    HI,
    i need some help in oracle application express with a spreadsheet and script linkup.....if any one can help me please contact me on : [email protected]
    the spreadsheet contains errors which i knw off, but im confused how to fix one error so i can upload it later on
    thanks in advance

  • How  to debug BDC , Dialog program and Script

    Hi all,
    Please let me know, how to  debug BDC , Dialog program and Script
    Thanks&Regards
    Devi

    <b>SCRIPT DEBUGGING</b>
    When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.
    1) Execute the program RSTXDBUG
    2) Go to SE71, from the initial screen enter the form name and press Utilities --> Activate Debugger
    When we are in the Debug screen,
    3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,
    3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way
    3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.
    Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.
    We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --> Breakpoint
    If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --> ABAP Debugging
    If we want to see the Windows which are defined in the forms, just press the Go to --> Form --> Windows .if we want to see the pages go to --> Form --> pages. Here we have an option to see the page wise window also go to --> Form --> page Windows
    If we want to see the paragraphs which are defined in that script, press go to --> Styles --> paragraphs. 
    If we want to see the Character formats which are defined in that script, press go to --> Styles --> Character Strings. 
    If we want to see the Page formats which are defined in that script, press go to --> OTF --> Page.
    If we want to see the Elements which are used in the Script, then press go to --> Text Elements --> Form Elements.
    If we want to see the commands which are used in the script, press go to --> Commands --> List
    Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --> Exit
    <b>DEBUG BDC</b>
    ust go into debugging mode and do the BDC step by step, when it comes to the Call Transaction line, check the mode which will be 'N'....Now, overwrite this with 'A' and execute the BDC...It will run in All Screens Mode....
    As suggested above the MODE 'A' will do the trick as it takes you to all screens.
    Normally MODE N will be defaulted as it will be used for background processing,
    Here is a simple tip,
    This will be the call transaction part of the program,
    CALL TRANSACTION 'IW32' USING BDCDATA MODE 'N'
    MESSAGES INTO MESSTAB.
    I would suggest you to make it like this,
    DATA: V_MODE TYPE C VALUE 'N'.
    *<In debug mode set V_MODE = 'A' for debugging>
    CALL TRANSACTION 'IW32' USING BDCDATA MODE V_MODE
    MESSAGES INTO MESSTAB.
    This will be very useful because you just need to change the value of the V_MODE at runtime as A for debugging besides it has N which is the default to be used. (i.e. you need not change the code again and again).
    This will be very useful when you have to debug some program in QA or PRD servers.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • DREAMWEAVER EXTENSION OR/AND SCRIPT

    I am looking for a DREAMWEAVER EXTENSION OR/AND SCRIPT that
    adds a calendar to autochoose the date in form date fields from the
    calendar that appears after click ,...can you help ?

    I use this one very succesfully:
    http://www.kaosweaver.com/extensions/details.php?id=63
    alex
    123polis123 wrote:
    > I am looking for a DREAMWEAVER EXTENSION OR/AND SCRIPT
    that adds a calendar to autochoose the date in form date fields
    from the calendar that appears after click ,...can you help ?

  • How to remove Catalyst stylesheets and scripts

    How do I stop BC from inserting stylesheets and scripts into my layouts? I have been working on catalog and product layouts and templates but BC continues to insert scripts & stylesheets that I do not want to include, particularly borders and margins.
    I know about removing all code leaving it blank from the /StyleSheets/ModuleStyleSheets.css
    But here is an example of a product large which includes a number of these which effect the layout
    <link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
    <script type="text/javascript">var jslang='EN';</script>
    <link rel="stylesheet" href="/CatalystStyles/Box.css" type="text/css" media="screen" />
    <script type="text/javascript" src="/CatalystScripts/Java_OnlineShopping.js"></script>
    <script type="text/javascript" src="/CatalystScripts/Java_Cookies.js"></script>
    <script type="text/javascript" src="/CatalystScripts/Java_Box.js"></script>
    Any suggestions would be greatly appreciated

    While I don't recommend using the Cloud Service you are talking about to speed up the site (you can just combine and minify your styles and scripts for faster performance instead) I think your best bet is to copy the contents of ModuleStylesheets.css above the CSS rules in your main CSS file that styles your site.  Then, delete all the CSS rules in ModuleStylesheets.css so that it's an empty file.  BC will still render the ModuleStylesheets reference in the HEAD above your script but it will only be quick connection to the server to return 0kb (an empty file). 
    Since you moved your modulestylesheet css to your main css file (and it's referenced after the Cloud Service script) then you should be good to go.
    Again, though I recommend not using that cloud service and just combine all your CSS and scripts into two files, one for all your CSS and one for all your js and then making sure all your images are optimized on the site and where there are instances of images that have a fixed width and height you can utilize sprite sheets so that a lot of your images are stored in a single image.
    Another option is to pay for the super cheap Amazon S3 and upload your main css file and your single minified and combined javascript files to there and update your page template to reference the CSS and JS on Amazon S3 so it's essentially like a CDN which will speed things up as well.

Maybe you are looking for

  • Oracle Hyperion 11.1.2.1 configuration problem

    Hi Guru's, I am done with the installation but when i am trying to configure there starts the issue. I have done the installation on windows2008R2,8GB RAM,Oracle11.2.0.2,Java 1.6,.Net3.5 everything matches with the pre requirement sheet. I done succe

  • Display to HDMI output

    I have a ThinkPad Edge E520. I just purchased an HDMI cable and want to display a presentation on a TV. The laptop is not recognizing the TV as an output destination. I have tried a different cable, same problem. I tried plugging a different laptop i

  • Unreadable text in Edit mode

    When I open my web pages in Contribute, I can see the text but when I press Edit, the text area goes grey and I can't see the text. Help, please!

  • RE: How can I call Windows .DLL components in Java

    Hi, there, I have a wondows dll component registered on my server. I want to call this componet in my Java application(Servlet). Could you tell me the syntex or is this possible to do in this way? TIA, Xin

  • Reaser 8.2 .msi missing, cant uninstall

    Hi I recently rolled pc back to a restore point then forward again, since then, reader hasn't worked correctly. (XP SP3) My PDF files aren't associated correctly, windows acts as if it doesn't have a program for them. none of my browsers will open pd