No PDF created when section break used and no data in XML group

I have this issue that Tim Dexter documented on a few years back...
http://blogs.oracle.com/xmlpublisher/output_formats/
"When you are using @section in your template for the commands, 'for-each' or 'for-each-group' (e.g. <?for-each@section: ...?>), then an empty/invalid PDF can be generated if XML data file has no data for that for-each loop."
This is my exact issue. Yet the instructions do not solve my problem completely. I add another section break at the end of my RTF and it gets the page to show...but I get an extra page at the end of all the populated xmls
Is there a way to supress this page?

Hi Jason,
I would like to see your template and data.
You have use @section and add condition to make the no-data page.

Similar Messages

  • How to create a WebServices by using a BI data?

    Hi All,
    Can anybody tell me that, How to create a WebServices by using a BI data?
    If possible need the steps also...
    Plz reply back me to [email protected]
    Your help will be appreciated
    Regards,
    KIran Telkar

    Kiran,
    did you go through...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7ffba2ec-0c01-0010-2e81-988e48e3ca43
    on how to expose a BW query as a web service...?
    Arun
    Hope it helps..

  • Is it possible to create a virtual TCP port and send data to it?

    Is it possible to create a virtual TCP port and send data to it?
    My application is this:   I am reading a constant stream of waveform data from a device via a LabVIEW VI set and I need to get that streaming data to a .NET application.  I can poll a TCP port in .NET easily so is there a way I can create a virtual TCP port in LabVIEW and send the data there?

    Have a look at the example called simple data server and simple data client and see what you can get from that. I'm not really familiar with TCP myself.
    Joe.
    "NOTHING IS EVER EASY"

  • Methods in bapi used to convert data into XML

    Methods in bapi used to convert data into XML,
    how to implement those also,
    points will be rewarded
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Hi
    Check this
    http://www.sap-img.com/abap/sample-xml-source-code-for-sap.htm
    https://forums.sdn.sap.com/click.jspa?searchID=2889167&messageID=3406594
    Reward points for useful Answers
    Regards
    Anji

  • Pdf created from FrameMaker book using FDK is of bigger size

    Hi,
    I am new to FrameMaker, when trying to generate a pdf document from a FrameMaker book using FDK, the size of the pdf file created is big when compared to the pdf created using “Save As PDF” from FrameMaker. I have tried setting Named Destinations to false and also “PDF Job Options” to “Smallest File Size”.
    Below is the code we use to create a pdf file using FDK
    //Open the frame book to process document by document
    bookId = OpenFile(strFile);
    /* Get docId in order to set Acrobat Bookmark levels */
    docId = F_ApiGetId(FV_SessionId, FV_SessionId, FP_FirstOpenDoc);
    F_ApiSetInt(FV_SessionId,bookId,FP_PDFBookmark,True);
    F_ApiSetInt(FV_SessionId,bookId,FP_PDFJobOption,6);
    /* Sets "Body" to the highest Acrobat Bookmark level. */
    pgfId = F_ApiGetNamedObject(docId, FO_PgfFmt, StringT("Body"));
    F_ApiSetInt(docId, pgfId, FP_AcrobatLevel, 1);
    F_ApiSimpleSave(docId, name, False);
    /* Sets the save parameters so as to save as PDF and allow user to name file.*/
    params = F_ApiGetSaveDefaultParams();
    i = F_ApiGetPropIndex(&params, FS_FileType);
    params.val[i].propVal.u.ival = FV_SaveFmtPdf;
    i = F_ApiGetPropIndex(&params, FP_PDFAllNamedDestinations);
    params.val[i].propVal.u.ival = (IntT)False;
    i = F_ApiGetPropIndex(&params, FP_PDFJobOption);
    params.val[i].propVal.u.sval = F_StrCopyString ((StringT)"Smallest File Size");
    /* Saves the book and all its components to one PDF file */
    int_SaveID = F_ApiSave(bookId, StringT(strTargetFile), &params, &returnParams);
    /* Close the open files.*/
    F_ApiDeallocatePropVals(&params);
    F_ApiDeallocatePropVals(returnParams);
    CloseFile(bookId);
    Can anyone suggest a way to reduce the size of the pdf file
    Thanks,
    Neeraja

    Are these duplicates side-by-side (e.g. A and then A again) or one after another (A, B, C... and then A, B, C...)?
    If they're one set after another, FM picks up the list of paratags to include in the bookmarks list from the first file in the book, so if this doesn' contain everything, it might help to import the additional formats into that one. Then clear/remove the exisiting bookmarks and only add back the Titles and Heading1 bookmarks (check that the TOC ones remain in the Don't include list).

  • RAM remaining active when not in use and grinding system to hault

    Hello there!
    The to point, my RAM appears to be acting very strangely and would be very grateful for any explanation/workaround/solution.
    I regularly use the RAM intensive application After Effects CS5. I have 16GB (8x2 GB matching pairs) of RAM which has worked fine for the past year or so until now. I usually tell After Effects not to render one frame at a time (no absurd multiprocessing requests) and to leave 6GB of ram free for other applications in its memory preferences. This used to stop AE from gobbling up too much RAM and slowing down the entire system. However, all of a sudden AE has started to disregard its memory settings and proceeds to use all of the available RAM until none is left. I then see my renders grind to a hault and the entire system move the speed of a snail as little to no free RAM remains.
    What is worse is that after I stop the render and quit After Effects, 8GB or so of ram remains active acccording to Activity Monitor, even though nothing is using it. I need to restart in order to get back to normal.
    I have tried all of the standard AE fixes, erasing preferences, cleaning caches, changing render settings, etc. I have also done all of the standard OS clean outs with Onxy, Disk Utility, etc. Nothing works.
    Below is a screen shot of my idle system with nothing open. The numbers do not add up!
    Below is a screenshot of what happens about 5 minutes into any render in AE, completely full RAM with with the Swap increasing with every pass.
    I realize that this is quite a specific question I should point at Adobe but I'm thinking it might be more of an OS issue as it has happened so suddenly for no apparent reason. No new type of render, no settings or updates applied lately, just completely out of the blue. Help much appreciated!
    I am running an Early 2008 8 Core Mac Pro, 8 GB of good ram in matching 2GB pairs. 4 fast internal drives. Mac OS 10.6.7

    The numbers don't add up as 6GB is shown as active in the pie chart while the amount of ram used by the processes list barely reaches 1GB. So what is using the remaining 5GB of active memory?
    I would not mind this so much if it was being used by some unseen system resource, and was made free if needed by other apps, but that is the problem. When I load more apps from this state the ram does not clear out and I see the computer struggling and writing page outs/ins even when the amount of ram being used in the list of prcesses is well below 16GB. The mystery process seems to remain active and does not release the ram.
    Hatter - I have gone through MANY threads about Adobe not releasing memory. I have been using AE for years and never and very aquainted with the best settings to use for rendering in accordance with available ram, processors, and fast drives. Many of them complain about inactive memory not being released and Apple's memory management. This is more of an oddity as until now everything has been fine. I am doing a render of the sort I have done hundreds of times in the past with this system.
    My problem is that this started happening all of a sudden for no apparent reason. AE allows one to control how much ram it uses and how much is left for other applications. I keep this at the Adobe forum suggested 6GB, and until a few days ago it would leave 6GB free. The render would progress smoothly, no need for page outs, no maxing of the ram. A simple render.
    Now the same simple renders max out all of the RAM despite my telling AE not to use it all. Changing the memory use settings seems to make no difference no difference at all and I gradually see the ram fill out to maximum and then the page in/outs go through the roof, the render taking 4-5 times as long as previous.
    So a bit stuck here! Do yall think I'll need to re-install my system to fix this or perhaps it might be more of a hardware problem? I am hesitant to wipe and re-install from a backup image so if any other possibly solutions come to mind please let me know...Possibly a hardware problem? =/
    Thanks for yout time!

  • Photoshop 5.1 bombs when not in use and often disables keyboard

    I'm using Mac OS X 10.7.2 on an Intel Core 2 Duo IMac. A few months ago I downloaded PhotoShop 5.1 after having used every previous issue of PhotoShop without a problem.
    1. Often when I have Photoshop open on my desktop but not actively using it, it will freeze and I'll have to force quit and restart. When I installed the latest version of InDesign and Illustrator they would also freeze when not in use, however removing and resinstalling them seemed to fix the problem for them, but not for Photoshop.
    2.I will be working along on a project when suddenly all of the alphanumerical keys on my keypad won't work. I ultimately have to restart the Mac to get them to work again in any program. This never happens with any other program and I have tried othe keypads, even one just out of the box, and it's always the same.
    I have removed and reinstalled Photoshop twice, but still the same issues.
    I have called the Adobe helpline and tried all of their fixes, but it still happens. They resolved that it must be my Mac. But Mac says because it is related to a specific software it is not their problem.
    Any ideas?

    Thanks for taking the time to respond.
    It might be Suitcase 3, because I keep having trouble with it and issues with the FM Core.
    I'm also getting this prompt which I don't know how to resolve: "Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements. Check the video card manufacturer's website for the latest software. GPU enhancements can be enabled in the Performance panel of Preferences. (I couldn't find it in the preferences and not sure who the video card manufacturer is.)
    Here is the other software that usually is or may be running at the same time as Photoshop: InDesign 7.5, Illustrator 15.1.0, ITunes 10.5.3, Mail 5.1, Preview 5.5.1, Suitcase Fusion 3 14.2.0, Firefox 9.0.1, Microsoft Word 14.1.4 and Excel 14.1.4; less often: PowerPoint 14.1.4, ICal 5.0.1 and Address Book 6.1
    When I first had problems with this install as I mentioned I upgraded my operating software and donwloaded MacKeeper to clean things up. It hasn't helped.

  • Apps wanting to access my location when not in use (and not giving the option to turn it off)

    For most apps, I can choose to share my location 1) not at all; 2) when the app is in use (my favourite); 3) always (even when not in use).
    Why do some apps not offer the second option?
    For instance, I want to use an app that locates the nearest automatic external defibrillator (if someone has a cardiac arrest) but I can only use the app when I allow the app to access my location all the time. Given the fact that I will use this app perhaps only once every 15 years, I see no point in giving them my location for the next 15 years! That's just a waste of battery power and also a breach of my privacy.
    Second example: Apple's own weather app. I check the weather maybe once every month. I do not want the app to locate me all the time. But I can only choose between option 1) and 3) above.
    Is there a technical reason apps work like this? Or are they just sneakily trying to get as much information about me as possible?
    Thanks for your thoughts.
    PS: I am using iphone 6, iOS8.3

    everything rudegar said is right on.  Still, 10% overnight is more than you would expect - so something is still running.  try-
    double click the home button, and see what apps are listed as recent.  one or more of them might be still churning away.  it is a good idea to close those out fully every night.  Any of those apps with notifications or location services may be checking in every now and then and using your power.
    you mentioned airplane mode is 'off'.  this may be a terminolgy thing - but having airplane mode 'off', means that the radios are on.  WiFi, and 3 G if you have it.    turning airplane mode "on" turns off the radios.
    with everything off on mine - (except I leave the wifi on) -  i use 2 or 3% overnight. 
    But if you really want it off - do what rudegar says.

  • I cannot open PDF files when I am using Firefox, how can I fix this?

    I cannot open PDF files while I am using Firefox. This is true for opening PDF pages in Firefox and outside of Firefox.

    I ran into the same problem, and here is what I have done to fix it.
    Go to Tools/Add-ons
    You might have to get the latest Adobe Acrobat Reader (Likely 10.x.....)
    On any exiting Adobe Acrobat Reader select disable (to disable the plug-in)
    If you have already gotten the latest Adobe Acrobat Reader just disable any earlier version.
    There is no official way to uninstall a plug-in so this it the workaround.
    If you do need to uninstall the plugin you need to type about:config ....about:plugins search for the article to do it.

  • My mac powers off when not in use and I must unplug to restart.

    My Mac powers of after not being used for a period of time.  I must unplug to restart.

    All ATVs go into sleep mode when not in use.
    Simply pressing the power button on the remote should wake the device up, is that not occurring?

  • What is the workflow for creating templates in full FrameMaker and pushing them to XML Author?

    Hi All,
    I'm working for a large organization (3000+) that is subdivided into 60+ business units.  I'm trying to figure out the workflow for using full FrameMaker to create a template that I can provide my business units to fill in via XML Author, send back to me, and then I can publish into a number of products using the Tech. Comm. Suite.  I am somewhat new to XML so I am not sure how to get my structure and format to translate.
    Can anybody clarify what the general workflow would be for this process?  All I have been able to find is the flowchart showing full FM to XML to XML Author and back to full FM.  From my test driving of the Tech Comm Suite though it has not appeared that easy.
    ---Corey---

    Hi Corey...
    Here's a rough outline of what is needed.
    1) First, you'll need to define the data model that your documents are using. This could be some existing model like DITA or a new custom model. Depending on the complexity of your document's needs, this may drive that decision.
    2) Once you've got a model, you'll need to create a structure application (in full FM). This structure application defines the model and appearance of documents. This will provide the fundamental structure of the "template" as well as placeholder text for the elements where you want people to provide information.
    3) Then you have to install the structure application on each of the XML Author installations. This involves copying the structure application definitions file (structapps.fm) onto the client systems as well as the structure application files (into the proper location as indicated in the structure application definition). The structure application definition may reference these files at a network location, which might simplify the deployment, but would require that each person is connected to that network in order to create the files (pros/cons with this approach).
    Once that's set up, your XML Author users should (in theory) be able to create a new document using the new structure application, then send you the resulting files. Lots of hand waving here .. but that's the general idea.
    Cheers,
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Query to get number of invoice created by user between from and to date

    Dear All
    I need Query to get number of invoice created by user on day and his orgainization between from and to date.
    thanks

    select count(*) from ap_invoices_all where created_by = :p_User_id
    and trunc(creation_date) between :p_from_date and :P_to_date;
    Thanks/SRK

  • Effective start and end dates for roles/group assignment

    Hi,
    Does Access Manager (in legacy or realm) mode support effective start date/end date on a role/group assignment on a user?
    Thanks,
    Srinivas

    Hi Ankush,
    I am also of the same opinion. Start and end dates can probably be enforced by a policy condition in AM but would lead to proliferation of policies as we would end up creating policies per role entitlement duration for a user.
    Any thoughts on whether the sunrise/sunset concept of Identity Manager can be used for this requirement.
    Thanks,
    Srinivas

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • I get Ora-00600 when I try to fetch large data via Xml

    Hi all
    I user Oracle8i ver 8.1.6, when I execute the following
    procedure:
    PROCEDURE TTG_EXEC_SQL (SELECT_STATMENT in VarChar2, Result Out
    Clob, err_no Out Number) IS
    -- This Procedure excutes SELECT command and return the result
    data throw Xml CLOB parameter.
    QueryCtx DBMS_XMLquery.CtxType;
    ErrorNum NUMBER;
    ErrorMsg VARCHAR2(200);
    RES1 CLOB;
    Begin
    QueryCtx := DBMS_XMLQuery.NewContext( Select_Statment );
    DBMS_XMLQuery.setRaiseException(QueryCtx, true);
    DBMS_XMLQuery.setRaiseNoRowsException(QueryCtx, true);
    DBMS_XMLQuery.propagateOriginalException(QueryCtx,true);
    ResULT := DBMS_XMLQuery.getXML(QueryCtx);
    DBMS_XMLQuery.CloseContext(QueryCtx);
    Exception
    when others then
    DBMS_XMLQuery.getExceptionContent (QueryCtx,ErrorNum,
    ErrorMsg);
    ERR_NO := NVL(ErrorNum,0);
    END;
    I get Ora-00600 error when the retrived data is more than 800
    records.
    can any one help me Pls ASAP.
    THNX
    Husam

    Can you get the query result with SQL command alone?

Maybe you are looking for

  • Error reading wsdl file excepetion null

    Hi I am trying to invoke a proxy service (web service) wsdl from a bpel process. When i add a web service adapter, put url of external web service and save it, all my service end points defined in the BPEL process are becoming non editable. Binding o

  • PO Output Type not picked

    Dear Experts , I have defined a new condition table for PO o/p as  Doc Type/P Org/Vendor/Plant. I assigned this table to the access seq & the acces seq to the output type . Then I maintained Condition record for this acces seq But the output tupe is

  • Need itune refund double charge?

    I need itune refund

  • Strange behaviour - Wrong old password

    Hi all, I use SAP EP 7.0 SPS10 when using Basic Authentication and the default SAP Logon Screen I observed the following behaviour. When a user is requested to change his/her password, the "change password" screen is shown. Now the user can enter the

  • Can't load a library that depends on another

    I built a library and it loaded perfectly (just for testing). Now, my library is supposed use ALSA's API. Now, I get to compile my library, just like before, but now I can't load the library. I get a UnsatisfiedLinkError. The message is a little cryp