Dividing Genrated PDF no  of  pages into two parts

Dear Friends,
I have requirement in which i need to divide total number output pdf pages into two parts.
E.g. If there are 10 pages Then   10 / 2 = 5
Before generation of pdf file from smartform it automatically divide by 2 and then show these files.
How to do this?
Thanks & Regards,
Ravi Grover

Hi Rob,
when you call the function module of the smartform you have the output parameter:
DOCUMENT_OUTPUT_INFO-TDFPAGES
It is the number of pages of the smartform.
Then... you can call the funtion module of smartform two times  :
1rst with the input field OUTPUT_OPTIONS-TDPAGESLCT from 1 to number of pages / 2
2nd  with the input field OUTPUT_OPTIONS-TDPAGESLCT from  number of pages / 2 to number of pages
And generate both pdf.
Bye!

Similar Messages

  • Divide Dashboad pages into two lines

    Hi Experts,
    I am working on 11.1.1.5.0
    I am facing below problem.....
    Lets say you have some 15 pages on a Dashboard and all these pages by default comes on one line.
    I want to divide these pages into two lines with 8 page on 1st line and 7 pages on 2nd line.
    I think this can be achieved by using java script but dont know how to achieve this.
    Could you please help....
    Thanks in Advance.
    KD

    Hi prashanth,
    This we can do with javascripting but the problem is it squeezes the dashboard page and changes the colour of dashboard.So better to go for drop down of page items as you have 15 pages
    Follow this links http://forums.oracle.com/forums/thread.jspa?threadID=1014941&start=0&tstart=0
    http://forums.oracle.com/forums/thread.jspa?messageID=9226234?
    you need to change the javascript as needed,so you can consult any JavaScript guy from your company
    In between your previous posts are not closed by awarding points...please follow rules and this is your previos post
    http://forums.oracle.com/forums/message.jspa?messageID=9296458#9296458
    hope answers your question.
    Cheers,
    KK

  • I would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??, i would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??

    i would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??, i would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??

    Go to the Project Library View and select your project.
    Then FILE/DUPLICATE PROJECT and give the duplicate a name like "your name - part 1".
    Then duplicate it again and give the duplicate a name like "your name - part 2"
    Now you can open "part 1" as a project and delete everything that is in part 2.
    Open "part 2" as a project and delete everything that is in part 1.

  • I need to know how to break my page into two pages so i can send it

    I need to know how to break my page into two pages so i can send it

    Hi,
    You can add new form fields via the add item bar.  For example if you want them to fill in their name, you'd add perhaps 2 text fields, one for first name, one for last name.  Text field is the first icon on the add item bar.  Each field allows you to specify a custom label, you can click it to edit the label.  Are you seeing the add item bar?
    Once you've added all your form fields, you can test your form by clicking the "Test" tab, and then clicking the "Test Web Form" button.  That will open a browser to your form, that you can test filling it out.  When you've filled it out, you click the submit button.  The response will be saved to our service.  You can view the submissions, by going to the "View Responses" tab.
    Once you've finished testing your form, and want to distribute to your users, go to the "Distribute" tab, click the "Open" button. This will make sure your form is open and accepting repsonses.  Then copy the URL by clicking the "Copy Link" button.  You can then email that URL to your users, so they can fill in your form.
    Does this help?
    Thanks,
    Todd

  • Ksh. Integer value splitted into two parts

    Hi ,
    I have code like below in my Ksh script, and getting the sample_id value as '2003 15588' instead of '200315588'
    I'm using this sample_id to run an oracle report. Any help on why the value is getting splitted into two parts like 2003 15588.
    if (( CHECKS == 0 )) || (( CHECKS == 1 ))
    then
    V_SAMPLE_ID=$( $ORACLE_HOME/bin/sqlplus -S / <<EOF
    whenever sqlerror exit 1 rollback;
    whenever oserror exit 1 rollback;
    --Set up pagesize parameters.
    set newpage 0;
    set space 0;
    set echo off;
    set pagesize 0;
    set heading off;
    set verify off;
    set feedback off;
    set trimspool off;
    set termout on;
    set colsep "";
    set linesize 5;
    select substr(SAMPLE_ID,1,15) from sample_m
    where NAME=$MFGLBL and TVALUE=$C_SAMPLE;
    exit;
    EOF
    v_count=$?
    print "V_SAMPLE_ID: $V_SAMPLE_ID" >> $LOG_FILE
    fi
    Pls help . thanks.

    Here the actual outputs,
    from SqlPlus,
    SQL> select substr(SAMPLE_ID,1,15) from nais_sample_attributes where NAME='MFG LABEL NUMBER' and te
    xt_value ='9300141751';
    SUBSTR(SAMPLE_I
    200315588
    used the same query in the script , only difference is name and text_value are
    passing as variables.
    from script log file,
    /app/oracle/product/dev6i/bin/rwrun60 /app//reports/105.rep /@DB18 BATCH=YES DESTYPE=PRINTER DESNAME=nullprinter DESFORMAT=PDF P_SAMPLE_ID=20031 5588
    in the script , when i tried ,
    substr(SAMPLE_ID,1,5 ) it returns 20031 and
    substr(SAMPLE_ID,1,6) it returns 20031 5.

  • Please help, I am trying to split a HD mp4 video into two parts using Quicktime 10.2

    Please help, I am trying to split a HD mp4 video into two parts using Quicktime 10.2, running Mountain Lion. I use trim then export but it doesn't give the movie option as a format. What would you suggest i do?

    I'm not sure why you're using a FAT32 drive, but using ExFAT instead of FAT32 would be a better overall choice as it doesn't have the 4 Gig limit.
    http://www.tech-recipes.com/rx/2801/exfat_versus_fat32_versus_ntfs/

  • How to split currency into two parts at dot

    Hi,
    I am working in ECC6.0.
    how can I split a currency field into two parts split at dot ( . )
    I cannot use SPLIT AT  for currency field. All FMs I found does not works for currency.
    Reagrds,
    Divya

    DId u check G_DECIMAL_PLACES_GET ?
    You can use this FM to find the decimal places in the currency .

  • How to split  the records into two parts

    Hi experts,
    I have a field with 75 char length, this field have records also, Now i want to split the field into two differnt fields. That means upto first 40 char goes to one field, from 41st char to 70 char goes to another field, for that how to split record into two parts.
    Plz advice this,
    Mohana

    Hi,
    Do the following:
    f1 = fsource(40).
    f2 = fsource+40(30).
    where fsource is the 70 character original string and target strings are f1 (length 40) and f2 (length 30).
    Cheers,
    Aditya
    Edited by: Aditya Laud on Feb 22, 2008 2:10 AM

  • How do I save a long video clip which I've split into two parts; save it as two seperate clips?

    I've split a video about 25 minutes into two parts; now how do I save the parts separately (as two different clips)?

    smwproductions
    What version of Premiere Elements and on what computer operating system is it running?
    Do you want to export these two clips from the same Timeline? If so, you can selectively export them.
    Two critical details for this...
    a. Set the gray tabs of the Work Area Bar to span just the segment that you want to export
    and
    b. Have a check mark next to the option Share Work Area Bar Only in the export settings. Not all export
    choices have this option. But, it is a must have for this select exporting.
    You can set the gray tabs of the Work Area Bar with keyboard shortcuts...
    Move the Timeline Indicator to the beginning of the segment to be exported. Then as you hold down the
    Alt key of the computer keyboard, hit the left bracket key [
    Move the Timeline Indicator to the end of the segment to be exported. Then as you hold down the
    Alt key of the computer keyboard, hit the right bracket key ]
    The following is a quick look at the gray tabs and the Work Area Bar to which I am referring.
    This screenshot is from a Premiere Elements version earlier than 11, but it conveys the concept of gray tabs and
    Work Area Bar in the Edit area as well as the option Share Work Area Bar Only in the export settings.
    Please le me know if you have any questions or need clarification on any of the above.
    Thank you.
    ATR
    Add On...I am strictly an Elements Windows user. The same principles should hold for Premiere Elements Mac.
    Not sure how the Alt will translate for match in this keyboard shortcut - Option or something else?

  • How to place a html page into body part of mail?

    Hi,
    I want to place a html page into body part of any mail.How can i do this?
    Thanks...

    just set ur message type to text/html and put ur whole html string into the body will do...

  • Container hirearchy for splitting screen into two parts.

    I have the following requirement.
    I need a screen split in two parts. The left part will always contain a tree menu (JTree) and the right part will be loaded according to the node selected in the left part of the screen (i.e. JTree). I understand that I have to use JSplitPane for dividing the screen and the top level container should be JFrame. But I am not sure of the container hirearchy for both the JTree and the right part of the screen.
    regards,
    nirvan

    Based on that very limited description I would guess -
    -- in the left part, a JScrollPane containing a JTree
    -- in the right part, a JPanel with CardLayout, containing other JPanels with appropriate layouts and content. Or if the content is larger than the screen space available, you mat need to enclose the CardLayout panel in a JScrollPane too.
    db

  • Split float into two parts

    I have the following code to split a float number into 2 parts (as integer):
         float f = 1.2345f;
    String s = String.valueOf(f);
         int indexOfPoint = s.indexOf(46);
         String si = s.substring(0, indexOfPoint);
         String sf = s.substring(indexOfPoint+1,s.length());
         int intPart = Integer.valueOf(si).intValue();
         int fracPart = Integer.valueOf(sf).intValue();
    But this won't do if the float is in scientific notation, the last last line will return a java.lang.NumberFormatException. Can anyone help me? Thank you very much.

    I'd advise doing the split between fractions and integers mathematically, rather than through string manipulation.
    OTOH if the split is purely for display purposes, perhaps using java.text.DecimalFormat would help.

  • How to break up one large jspx page into two pages

    How do i break it up without losing the functinality of the application.
    thanks

    I fixed it like this:
    In the parent page:
    <af:panelTabbed id="panelTabbed1" inlineStyle="width:1900px; height:500px;">
    <af:showDetailItem text="tab name" id="showDetailItem1">
    <af:declarativeComponent id="id01" viewId="tabfragment1.jsff"/>
    </af:showDetailItem>
    <af:showDetailItem text="tab name" id="regProviderId">
    <af:declarativeComponent id="id02" viewId="tabFragment2.jsff"/>
    </af:showDetailItem>
    </af:panelTabbed>
    In the child pages:
    tab1 fragment 1 tabFragment1.jsff
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" version="2.1"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>
    <af:componentDef>
    your components inside
    </af:componentDef>
    </jsp:root>

  • How to split an A3 page to two A4 pages?

    Hello,
    I need to scan an A4 booklet to upload, but I cannot cut it in order to have a bunch of pages to scan.
    Therefore I'm scanning it spread on a fladbed scanner, resulting in a series of A3 spreads.
    How can I split these A3 pages into two A4 pages each, preferrably in batch mode, so as not to repeat this work? Using the crop tool is too slow.
    Thanks.

    This requires I do at least 3 actions per page, and with a few dozen to a few hundred pages to do, it's way too slow, not to mention the fact that doing each by hand will probably cause the crops to be uneven.
    Is there any way to automate it?
    Thanks anyway,

  • In the itunes library, a single album appears to be split into two separate parts, how do i combine them?

    my itunes library has several albums that are split into two parts. one contains half of the album's songs and the other the other half. how do i combine these so the album only appears once in it's entirety?

    Generally setting a common Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

Maybe you are looking for