Include in FM?

Hi,
I put some includes into the source code section of a custom FM but there pops up a syntax error: "Incorrect nesting: Before the statement "Class", the structure introduced by "FUNCTION" must be concluded with "ENDFUNCTION".
These includes ARE between FUNCTION and ENDFUNCTION !
What is going wrong?
Thanks for your help in advance!
Zaya

That's the problem, the includes must not be inside the function module. Normally includes are inserted at function group level, so go to the frame program of the function group and insert the includes in the appropriate place. Look at the many examples that are available.
Thomas

Similar Messages

  • How do I include 'Edge Web Fonts' into Edge Animate?

    How do I include 'Edge Web Fonts' (not Google Web Fonts) into Edge Animate?

    Have you tried to use google fonts? I have used them and they work for me.
    When you add your font for example:
    Copy paste:
    <link href='http://fonts.googleapis.com/css?family=Finger+Paint' rel='stylesheet' type='text/css'>
    and then for font family.
    'Finger Paint', cursive;
    then select addfont on the addfont screen

  • No Apple Remote or Apple Mini-DVI to VGA Adaptor included with new MacBooks

    Hi!
    I just picked up a new (black) MacBook yesterday from the Apple Retail Store in Meadowhall (Sheffield). I was quite surprised to open the box and find that the Apple Remote and Mini-DVI to VGA adaptor cable are now optional items and no longer included in the package. Okay, they're not expensive (an extra £30.00 to add both of them), but I just thought I'd mention it to let potential customers know.
    I have to say that I'm very pleased at the speed bump and the 250GB hard drive though (you can never have too much space). Also good to have 2GB RAM out of the box (rather than paying an extra £90.00 for the 2GB model). Excellent!

    bford0001 - 15% restocking fee? Did you buy it from an Apple Retail store? I bought a black MacBook from them just under two weeks ago (a 2.2 with 160GB HD and 2GB RAM) and they let me take it back and walk out of the store without charging me anything!
    One other thing I have noticed - why has the L2 cache dropped to 3MB from 4MB? I know the processor is more powerful, but doesn't that mean it would just about level out, because of the reduction? I noticed the same for the £1,299.00 MacBook Pro and that on the other two models, it's gone up to 6MB. Anyone know how this would change the performance?

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • I have OSX Maverick on an iMac using Outlook e-mail.  PDF attachments are included in the e-mail  as the whole document rather than just the PDF icon.  How can i have just the PDF icon as an attachment?

    In Outlook my PDF attachments appear as whole documents and not just the PDF icon.  How can I have attachments included as PDF icons and not the documents?

    For your own viewing, you can of course control-click on the attachment and select "View as Icon".
    For others' viewing, it depends upon their email reader.  To ensure that attachments are not displayed expicitly you can put them all in a zip file (via control click and "Compress") then attaching them, or you can use third party stuff like Attachment Tamer.
    charlie

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

    Hello 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

  • TS3694 My Ipod is not recognized by Itunes with my Windows 8 PC. Works fine with Windows 7 PC. Device sync test says "No device found". Already performed all of the Ipod device troubleshooting including reload Itunes, stop start Ipod device, changed drive

    Need help? Some of my Ipods are not recognized by Itunes with my Windows 8 PC. (Ipod Nano 4th gen  and Ipod Nano 6th gen), but on my Windows 7 PC, they work fine.  My Ipod 3rd gen and Ipod shuffle work both on Windows 8 and 7 PC's.  On the non-working Ipods, the  Device sync test says "No device found". Already performed all of the Ipod device troubleshooting including reload Itunes, stop start Ipod device, changed drive letter...
    any help is appreciated. Chris4sail

    Hello there, chris4sail.
    The following Knowledge Base article offers up some great step-by-step instructions on troubleshooting your iPod not being recognized in iTunes:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • IPod nano issue with shuffle function--includes unchecked songs

    When I use "shuffle" on my Nano, it is including songs that I have deselected from my music library in iTunes (i.e. songs I don't want loaded to my Nano).
    Anyone know why this is happening? I thought unchecked songs weren't transferred to the device, yet I can play them on it?
    Is this a glitch or known error?
    Thanks for any help you can provide....

    Check the following:
    - Is the iPod full?
    - Is the iPod set to update automatically?
    - Is the iPods update behavior restricted to a certain number of playlists?
    - Rightclick the iPod in the sourcelist, hit update.
    - If nothing else works, try reformatting the iPod with the latest Updater

  • How to find out the list of includes:

    Hi,
    I want to find out the list of includes, hw can I do that..
    Suppose: ex: I want to know all the includes starting with zabc* hw can I do it, and one more question, where all the (total) includes will be stored.
    Akshitha.

    Hi akshitha,
    1. We can do that from se38.
    2. in se38, Press Ctrl + F
    3. A new window will come for search.
    4. <b>by pressing 4th button on toolbar, expand the search window.</b>
    5. <b>In "Program Type", enter   :   I   (for include only)
       In Program Name" enter    : ZABC*</b>
    6. Execute.
    regards,
    amit m.

  • ToComp is not working correctly for Particular and Element 3d (pics included to demonstrate problem)

    So, Im using AE CS6. The two plugins concerned are Element 3d and Trapcode Particular.
    Im going to include alot of information since I'm not sure what would come in handy to know to solve this.
    The final goal is to have the particle emitter follow the left wing of the object when the object is moved using the null named 'Scythe'. (See first photo)
    'Scythe' is the brownish null at the center of the object.
    I have used the follwing expression line on the Particles X,Y emitter:
    thisComp.layer("Element Position 2").toComp([0,0,0]);
    'Element Position 2' is the green Null you see in this picture, and is also the proper position for the particle emitter.
    http://imgur.com/qtucKAx
    However, when this expression is applied it moves the emitter location. As shown in the following picture.
    http://imgur.com/uSezbYY
    The emitter is only in the proper location on the first frame (first pic), on the second frame (second pic) and every frame afterwards, it is elavated to another position.
    Can someone help me correct the new position without manually adjusting the ([0,0,0]) value in the expression line?

    If I am not mistaken, the null you are trying to use is parented. You need to use toWorld instead of toComp.

  • PSE 8 - Archive on external hard drive including captions and tags

    I started my above discussion some time ago with Mark and due to the lateness in my responding the case appears to have been closed. However I am hoping that someone can comment on my intended course of action, see below, based on his suggestions?
    Just recapping having successfully migrated my Photoshop Album 2 catalog including captions across to PSE 8 and now my objective is to move my entire PSE 8 catalog to an external hard drive leaving only thumbnail view to remain. Obviously I am anxious to avoid any catastrophe and therefore would appreciate comment on the correctness of the steps involved. I have arrived at these by simply modifying Mark's original steps. Please correct where necessary.
    1) Connect my external hard drive where I want to copy the files too. Make sure I can 'see' it in Explorer
    2) Open Photoshop Elements 8; click the Organize button on the Welcome screen
    3) Displayed in my welcome screen is my entire catalog with each album matching in title and file (photo) content to the folder title and file (photo) content in the folder location displayed to the left of screen.
    4) Go to the File menu, and select 'Write Keyboard Tag and Propertise Info to Photo'. In my case most but not all files (photos only) will have tag and caption data. Rather than attempting to select the files that I wish to embed tag and caption metadata does Organiser have a global 'search and embed instruction' so that when it gets a 'match' on .jpg number it will embed automatically?
    5) After completion, I go to the File menu, and select 'Copy/Move to Removable Disk...' click the MOVE button to move the files from their current location to my nominated external hard drive.
    6) Click the Next button, and select the external drive in order to copy the files to the drive.
    Can you confirm?
    * On completion of the above steps my external hard drive will allow access to full resolution versions of the file from Photoshop Elements including any existing caption or tag data organised identically to my PSE 8 catalog (only one catalog)?
    * Am I correct in assuming that also all original photos from my laptop will be removed and if not can be deleted given their existence on my external hard drive?
    * Is the data which now resides on the external hard drive capable of being read on any other PC which may not have Elements software?
    Neil

    I have 2 laptops an aging Dell and new HP. I have successfully followed your
    instruction and deleted 1 & 2 below on both.
    The Dell PSE 8 now has:
    C:\Program Files\Adobe\PSE 8 (240Mb)
    C:\Program Files\Adobe\Elements Organizer 8.0 (502Mb)
    C:\Program Files\Adobe\PhotoshopElements_8_WWEFDJ.EXE (1.17Gb)
    C:\Program Files\Adobe\ PhotoshopElements_8_WWEFDJ.7Z (1.06Gb)
    Giving a total of 2,972Gb
    The HP PSE 8 has:
    C:\Program Files\Adobe\PSE 8 (240Mb)
    C:\Program Files\Adobe\Elements Organizer 8.0 (502Mb)
    C:\Program Files\Adobe\PhotoshopElements_8_WWEFDJ.EXE (1.17Gb)
    C:\Program Files\Adobe\ PhotoshopElements_8_WWEFDJ.7Z (1.06Gb)
    But a total of 3,894 and I am unable to identify where the additional 1Gb
    resides. In Documents & Settings\All Users\Application Data\Adobe\Elements
    Organizer is 120Mb. I have attempted to delete this but lost the catalog in
    the process so had to restore from the Recycle bin and it now appears to
    have reconnected correctly. Frankly I can live with these large file sizes
    but would like an opinion on their potential adverse impact at sometime in
    the future.
    I am not sure whether I need to start a new thread for "Are there any known
    bugs in PSE 8 surrounding the burning of discs" I have attempted to burn
    onto a new CD-RW my slideshow. The process of burning appeared to work but
    the written to CD does not play on the DVD. I have also saved the slideshow
    as a PDF. I can't recall exactly how but in selecting an incorrect option I
    no longer have visibility of projects in 'Folder View'. The projects are a
    single slideshow and PDF copy of the same. How do I regain visibility?
    Neil

  • MY system folder, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac) How do I remove them

    I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac).  For the most part the dupes are an exact copy, but not always.  I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas

    pacull,
    Use iCal>View>Show Notifications to choose what to do with the notification.

  • How can I transfer all my data including SMS to my mac/windows computer?

    My friend has asked me to help her transfer all the data from her iPhone 3GS to a computer then to a hard drive. She has several folders with pictures in but image capture on mac is only picking up the one. I have an iPhone 4S and iPad 3 installed already on iTunes so don't want to accidentally erase her phone.
    She also needs some of the SMS messages taking off of her phone and saving either as they are or in some form of text file so they are readable in the future.
    How can I retrieve all this data including the messages without losing anything and can it be done for free?
    If you need anymore info please just ask and I'll try and pass it on to the best of my (limited) knowledge.
    Thanks in advance!

    http://www.iphonebackupextractor.com/
    SHe can also do a backup of her phone and it will save the text message, but she won't be able to view the text unless she restores to the backup.

  • Include URL in the Alert message in Sitescope Alert

    Hi,
    I am trying to include the URL int he Evetn mapping but unable to fidn the Attribute to include the URL in the alert. Please suggest.

    Hi,
    If this is a static URL then you can include it in alert by modifing the alert templates under templates.mail in installed directory. In case of dynamic URL's put them under group/monitor description feild nad include it in alert using the tag like "Monitor:  <groupID>:<name> <groupDescription>" in alert template.
    Regards,
    Sujith

  • XSLT mapping, how can I include a Runtime Constants in target message

    Hi, I would like in my XSLT mapping, to have an attribute include the MessageID.
    From my understanding of the online help [http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm], I have the following code in my XSL:
                   <xsl:param name="MessageId" />
                   <xsl:attribute name="filename">Output_<xsl:value-of select="$MessageId"/>.xml</xsl:attribute>
    But for now the result is to have a filename attribute that only contains: "Output_.xml" as if the $MessageId is empty.
    Anyone experienced successfully using one of those runtime constants with XSLT mapping ?
    Cheers,
    greg

    Hi, found the answer of why it was not running: I'm in a transform step of a BPM:
    For more info check this thread:
    [/message/435521#435521 [original link is broken]|/message/435521#435521 [original link is broken]]

  • How can I copy text from PDF and include the source filename in the pasted selection?

    I'm a biologist and frequently cut-and-paste notes from PDFs of scientific articles.  I name all of the PDF articles with their PubMed ID, a short unique identifier (e.g. 19397482.pdf).  When I take notes, I will select a few sentences from the PDF and then paste them into a text editor for later reference. 
    Can anyone suggest a method or script that would allow me to paste the copied text with the Pubmed filename included in a single action?  I would want the pasted output it to look something like this, with the filename appended to the end:
    Of the transcripts that were significantly different, there was a greater number of transcripts that were down-regulated in the IVC embryos (380) than the number of transcripts that were up-regulated (208).  [20668257.pdf]
    This would really help me to properly cite information sources during the writing process.  I know there are bibliography managers that might be able to do something like this, but I prefer to read the PDF articles directly in Preview and select the text as I am reading. 
    Thanks very much for any suggestions / ideas.
    jjw

    To copy and paste in a single action:
    tell application "Preview" to activate
    tell application "System Events" to tell process "Preview"
        -- Get the PubMed ID:
        get the title of the front window
        set thePubMedID to word 1 of result
        -- Copy the selected text to the clipboard:
        keystroke "c" using {command down} -- ⌘C
        delay 0.25 -- adjust if necessary
        -- Add the PubMed ID to the contents of the clipboard:
        set theNotes to the clipboard
        set the clipboard to (theNotes & space & "[" & thePubMedID & ".pdf]")
    end tell
    tell application "Notational Velocity" to activate
    tell application "System Events"
        -- Paste the contents of the clipboard to the end of the Notational Velocity document
        key code 125 using command down -- ⌘↓
        keystroke return & return
        keystroke "v" using {command down} -- ⌘V
    end tell

Maybe you are looking for

  • Can't install on mac 10.10.4

    Hi, Im using mac pro however trying to download spotify on my mac to install but after it shows can not be open....the version is os x yosemite 10.10.4..., hope somebody can help work it out, thx.

  • PowerView cannot connect to SSAS Database

    This will be latest problem with Power View that I will probably get no help with but you never know... SharePoint 2013 SQL Server 2012 SP1 I have reporting services and power view set up in SharePoint. I can create a data connection in SharePoint an

  • System tray functionality in java

    Hi friends, I wanted to know which is the best package to use for implementing the system tray functionality in java. I read about systray, jtray,trayicon etc. I saw that TrayIcon is included in jdk 1.6. Is there any other included package in swing w

  • Tablespace/datafile drop

    version 817/ os Solaris 8 There is request from user to take tablespace offline, and then drop this and its datafile...will i be able to startup db without issue after that? Edited by: DBA2011 on Mar 27, 2012 2:11 PM

  • Itunes update 10.4(80) causing problems with MDNSresponder, configd, and KRB5KDC.

    I am a relatively new mac user and have no idea how to procede here. I would be grateful for any help. Here's the story: Last week I updated my itunes like a good boy when prompted. I am not certain, but there may have been a mac os10 update along wi