Where is second page of W4 ???

I downloaded PDF template of W4. It has 2 pages. My data has 12 rows. On PDF template I did create <?rep_field="BODY_START"?> and <?rep_field="BODY_END"?> on first page. When report is generated, it generates 13 pages not 24 (2 pages per record). The second page is generated only once after processing all records.
After moving <?rep_field="BODY_END"?> to second page it still doesn't print page 2 for each record.
What am I missing ?
XMLP Enterprise ver 5.6.2 on XP

Hi Fabian:
is there any fixes for the problem that was mention in topic. Since we are working on a government project, we need to know if we can use PDF as basic Layout. Anyway, please send me an email to [email protected] and let me know the results. Thanks!

Similar Messages

  • Where does the second page of PREVIEW CONTRACT come from?

    I am using 11.5.10.2, and I would like to know where the second page of PDF output comes from when I select PREVIEW CONTRACT from the VIEW CONRACT TERMS window. It does not appear to be part of the layout template named "PO Terms and Conditions". It does not appear to come from the XML SCHEMA file defined for the "Contract Terms Data Definition".
    This page appears to be very much like a purchase order. I have tailored the XML template for printing purchase orders, and I need to be able to tailor the look of this doument as well.
    Thanks

    Well, I eventually figured this one out!!! There is a template (or more correctly an XSL stylesheet) that is delivered with Oracle. You can find it by using XML Publisher Administrator -> Templates, and looking for "Standard Purchase Order Stylesheet". This template is locked, meaning we can't update or replace it. It is also the format which you see (or saw) when you choose "Preview Contract". You can select 'preview' from the XML ADMIN template screen and you'll see what it looks like.
    I also learned that there is a matching between "document type" and "Document Template" and also between "document type" and "Contract Template". And that the document type of 'PO' with document subtype of 'STANDARD' was associated with the "Standard Purchase Order Stylesheet".
    I also found that
    NM PO ADMINISTRATOR -> SETUP -> PURCHASING -> DOCUMENT TYPE
    allows you to select a document type (like PURCHASE ORDER ... STANDARD). This displays a screen which has fields called "Document Type Layout" and
    "Contract Terms Layout". This is where you can specify your own template (instead of the default one).

  • Hiding second page in adobe forms

    hi all,
            I have a adobe form with 2 pages. My first page needs to be displayed always whereas the second page needs to be displayed only for certain conditions. Please let me how this can be done asap.  Thanks in advance.
    Regards,
    Vinod.

    Hi Vinod,
    Here are the Steps to hide the Page, I don't know on what conditions you are going to dispay the second page,
    But the general steps are as follows:
    1) Go to Layout
    2) Go to Hierarchy Tab
    3) Select the Page / Subform that needs to be Hidden or to be made Invisible
    4) Go to "Paletts" menu item--> select "Objects" option from it
    5) Objects tab will be selected by default
      5.1) Select the Master page/ Page/ Subform (Tab)
      5.2) Use the "Presence" property to hide the pages you want, i.e.,
             Select the value for the "Presence" field from the dropdown,
      5.3) Select Invisible / Hidden (Exclude from Layout)
    Regards,
    Samad

  • Second page not triggering in SAP script

    plz help me in this too
    The code below is for two pages.
    Problem is that...My second page is not triggering.
    In the layout
    for Fist page
    attributes.
    page: FIRST
    next page: SECOND
    for second page
    attributes.
    page:SECOND
    next page: SECOND
    REPORT ZNEW1 .
    TABLES: MARA.
    DATA: BEGIN OF ITAB OCCURS 0,
    MATNR LIKE MARA-MATNR,
    ERSDA LIKE MARA-ERSDA,
    ERNAM LIKE MARA-ERNAM,
    LAEDA LIKE MARA-LAEDA,
    END OF ITAB.
    SELECT * FROM MARA INTO CORRESPONDING FIELDS OF table ITAB
    WHERE VPSTA = 'K'.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    *DEVICE = ' '
    DIALOG = 'X'
    FORM = 'ZNEWLAY1'
    LANGUAGE = SY-LANGU
    EXCEPTIONS
    OTHERS = 1.
    call function 'START_FORM'
    EXPORTING
    FORM = 'ZNEWLAY1'
    LANGUAGE = ' '
    STARTPAGE = 'FIRST'
    PROGRAM = ' '
    MAIL_APPL_OBJECT =
    IMPORTING
    LANGUAGE =
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'HEADER'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'HEADER'
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.
    call function 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'LOGO'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'LOGO'
    EXCEPTIONS
    UNOPENED = 4
    OTHERS = 9.
    LOOP AT ITAB.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'MAIN'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2
    ENDLOOP.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'FOOTER'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'FOOTER'
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.
    call function 'END_FORM'
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    OTHERS = 3.
    call function 'START_FORM'
    EXPORTING
    ARCHIVE_INDEX =
    FORM = 'ZNEWLAY1'
    LANGUAGE = ' '
    STARTPAGE = 'SECOND'
    PROGRAM = ' '
    MAIL_APPL_OBJECT =
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.
    call function 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'MAIN'
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.
    call function 'END_FORM'
    EXCEPTIONS
    UNOPENED = 1
    BAD_PAGEFORMAT_FOR_PRINT = 2
    OTHERS = 3.
    CALL FUNCTION 'CLOSE_FORM'
    EXCEPTIONS
    UNOPENED = 1
    OTHERS = 2.

    Hi Scientila Choudary,
           Your problem will be cleared once you remove start_form and end_form as these are not necessary.we have to use start_from and end_from when we are operating on different forms.Presently we are operating on only no need to use this.
           Once your problem is solved please close this.

  • Can you go back to second page of your menu without going to the main page.

    I have created main page (first play) and second page for the chapters.
    On the second page, after selecting any chapters, I want to go back to select another chapter from
    the second page, But the dvd takes me back to the main page instead of second page. Can this be
    corrected.
    Thanks

    Hi - welcome to the discussions.
    Yes, it can be corrected - what you've done is set the menu call and/or end jump to go to the main menu. This is completely normal, but sometimes you don't want this to happen.
    If you are playing a single chapter at a time and want to get back to the chapter menu afterwards then the best thing to do is to create a story and put the single chapter inside that. Point your menu buttons to the story container (not the chapter) and it will play. Stories are a little like tracks in that they can have end jumps and menu calls of their own. Simply click on the story, then use the commands in the property inspector to set up the place to go at the end of playback or if the user presses the menu button.
    You would then repeat this for every chapter that you want this to happen for.
    The whole track itself then acts as a 'play all' if you need it to - the stories do not interfere with this. You can set a different end jump and menu call for the track. An alternative would be to create a final story and put ALL of your chapters into it, and point your 'Play All' menu button to this story.
    Stories can also be thought of as playlists (like in iTunes) where you set up the chapters you want to play back in the order that you want them. I would avoid making these too complex, however as it has a knock on effect on the way the DVD player has to work to make a smooth playback.
    The other way to achieve what you want is to use some scripting, but there is no need to do this as it sounds as if stories will do all that you need.

  • How do i add a second page to a document in Pages 5.2.2

    How do I add a second page to a document in Pages 5.2?

    Hello jeddi17,
    You can insert a page break with the Insert (menu) > Page Break.
    Note if your typing overflows the first page, then a new page is automatically created.
    Pages for Mac 5.0: Change the flow of text
    http://support.apple.com/kb/PH15334
    Force text to the next line or page
    A line break, also called a soft return, starts a new line without starting a new paragraph. A page break moves the next line of text to the top of the next page.
    Click where you want the break to occur.
    Do one of the following:
    For a line break: Press Shift-Return. 
    For a page break: Click Insert in the toolbar, then choose Page Break.                                
    Take care,
    Nubz

  • Print Second page in SAP script

    Hi ,
    I want to print second page in my sapscript.first page has Header,MAIN,footer windows. Second page has only one window where i need to print some terms and conditions those are hard coded in script.
    Could you please let me know how i can print second page after first page?
    Thanks
    Mohit

    Create a new page as second page....
    Assign the second page as the next page to the first page... select print only when main window finishes...
    It will automatically print the second page...

  • Problem with PDF files opening to the second page

    I am dealing with a fairly annoying issue where the PDF's I open to the second page without any rhyme or reason.  I open my PDF's with Internet Explorer by selecting the PDF> right clicking> selecting open with Internet Explorer. Is there anyway to fix this?
    I have tried on a
    Windows 7 32 Bit
    IE 8.0.7600.16385
    Adobe Reader 9.4

    It happens intermittently to all my PDF's. I have made sure to turn off "Restore last view settings when reopening documents" and i have also tried to change the reading order to" left, right, top to bottom". The wierdest aspect is that I can select a PDF and it will direct me to page 2 and then if i open another PDF then open the same one that opened to page 2 it will now open to page 1.

  • BDC for FF67 not displaying the line itmes of second page

    Hi all,
    I am using the Z BDC report Manual Bank Statement Upload (FF67). The BDC is as mentioned below :
    We are using start variant in the BDC.
    The report is working fine but the issue is that suppose if their are 45 line items and on one page we can have only 30 line items . Then only 30 line items are been displayed . It is not taking the line items which have come on the second page. Please advsie . Below is the code of the BDC.
    REPORT  zfi_bank_recon.
    TABLES : febko.
    DATA: bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
    DATA : i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF itab OCCURS 0,
           vgman TYPE febmka-vgman,
           valut TYPE char10, "febep-valut,
           kwbtr TYPE char17, "febmka-kwbtr,
           chect_kf TYPE febmkk-chect_kf,
           sgtxt_kf TYPE febmkk-sgtxt_kf,
           count(6) TYPE n,
           END OF itab.
    DATA : BEGIN OF error OCCURS 0,
           msg TYPE string,
          END OF error.
    DATA :flag,
          update VALUE 'A',
          mode VALUE 'N'.
    DATA : aznum1 TYPE aznum,
    lv_esbtr TYPE febko-esbtr,
    lv_esvoz TYPE febko-esvoz,
    lv_opening TYPE char17, "febmka-kwbtr,
    lv_closing TYPE char17. "febmka-kwbtr.
    *& Selection screen
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text.
    PARAMETERS :  bukrs LIKE febmka-bukrs OBLIGATORY,
                  hbkid LIKE febmka-hbkid OBLIGATORY,
                  hktid LIKE febmka-hktid OBLIGATORY,
                  azdat LIKE febmka-azdat OBLIGATORY,
                  aznum LIKE febmka-aznum OBLIGATORY,
                  budtm LIKE febmka-budtm OBLIGATORY  DEFAULT sy-datum.
    SELECTION-SCREEN :  END OF BLOCK blk.
    SELECTION-SCREEN : BEGIN OF BLOCK blk1 WITH FRAME TITLE text1.
    PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK blk1.
    AT SELECTION-SCREEN.
      SELECT SINGLE * FROM febko INTO febko
      WHERE bukrs = bukrs AND hbkid = hbkid AND
      hktid = hktid  AND aznum = aznum
           AND budtm = budtm
            AND azdat = azdat.
      IF sy-subrc EQ 0.
        MESSAGE e038(000) WITH 'Statement' aznum  'already uploaded; No further processing done'.
      ENDIF.
    At Selection Screen Event
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_file.
    *& Start of Selection
    START-OF-SELECTION.
      CLEAR : flag.
      PERFORM data_upload.
      PERFORM check_data.
      IF itab[] IS NOT INITIAL AND flag IS INITIAL..
        PERFORM open_group.
        REFRESH bdcdata.
        PERFORM bdcdata. " USING LV_OPENING LV_CLOSING.
      PERFORM bdc_insert.
        PERFORM close_group.
      ENDIF.
    *&      Form  check_data
    FORM check_data.
      LOOP AT itab.
        DATA : int(6) TYPE n.
        CLEAR : int.
        int = sy-tabix.
        IF itab-vgman  IS  INITIAL.
          CONCATENATE 'Transaction type should not be blank : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
        IF itab-valut IS INITIAL.
          CONCATENATE 'Value Date should not be blank : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
        IF itab-kwbtr IS INITIAL.
          CONCATENATE 'Amount should not be blank : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
        IF itab-chect_kf IS INITIAL.
          CONCATENATE 'Bank Reference should not be blank : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
         IF  itab-vgman  NE 'DLF1'
           AND itab-vgman  NE 'DLF2'.
          CONCATENATE 'A Transaction type is not used : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
         IF itab-vgman  EQ 'DLF1'
        AND itab-kwbtr LE 0.
          CONCATENATE 'As per Transaction type, the Amount should be Positive : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
         IF   itab-vgman  EQ 'DLF2'
        AND itab-kwbtr GE 0.
          CONCATENATE 'As per Transaction type, the Amount should be Negative : Record no'  int INTO error-msg SEPARATED BY space.
          APPEND error.
          CLEAR : error.
        ENDIF.
      ENDLOOP.
      IF error[] IS NOT INITIAL.
        WRITE : / 'Error found in upload file'.
        SKIP 2 .
        LOOP AT error.
          WRITE : / error-msg.
        ENDLOOP.
        flag = 'X'.
      ENDIF.
      CLEAR : lv_esbtr, lv_esvoz, aznum1, lv_opening, lv_closing.
      IF flag IS INITIAL.
        SELECT MAX(  DISTINCT  aznum )  FROM febko INTO aznum1
        WHERE bukrs = bukrs AND hbkid = hbkid  AND hktid = hktid.
        IF sy-subrc = 0.
          SELECT SINGLE esbtr esvoz  FROM febko INTO (lv_esbtr,lv_esvoz)
          WHERE bukrs = bukrs AND hbkid = hbkid  AND hktid = hktid AND aznum = aznum1 .
          IF lv_esvoz = 'S'.
            lv_opening = lv_esbtr * -1.
          ELSE.
            lv_opening = lv_esbtr.
          ENDIF.
          lv_closing = lv_opening.
        ENDIF.
        LOOP AT itab.
          lv_closing = lv_closing + itab-kwbtr.
          DATA : lv_count(6) TYPE n.
          lv_count = lv_count + 1.
          MOVE lv_count TO itab-count .
          MODIFY itab FROM itab.
          CLEAR : itab.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "check_data
    *&      Form  data_upload
    FORM data_upload.
      DATA: loc_filename TYPE string.
      loc_filename = p_file.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = loc_filename
          filetype                = 'ASC'
          has_field_separator     = 'X'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    "data_upload
    *&      Form  bdcdata
    FORM bdcdata. " USING lv_opening TYPE febko-ssbtr
      "    lv_closing TYPE febko-esbtr.
      DATA : day(2),
             month(2),
             year(4),
             date(10).
      year = azdat+0(4).
      month = azdat+4(2).
      day = azdat+6(2).
      CONCATENATE day month year INTO date.
      CONDENSE : date.
    Comment
      PERFORM bdc_dynpro      USING 'SAPMF40K' '0101'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/EVORG'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKA-AZDAT'.
      PERFORM bdc_dynpro      USING 'SAPMF40K' '0110'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKA-VARI_START'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENTE'.
      PERFORM bdc_field       USING 'FEBMKA-KONT_INT'
                                    'X'.
      PERFORM bdc_field       USING 'FEBMKA-FDIS_SEL'
                                    'X'.
      PERFORM bdc_field       USING 'FEBMKA-VARI_START'
                                    'Z0001'.
      PERFORM bdc_field       USING 'FEBMKA-DEBI_MID'
                                    'D'.
      PERFORM bdc_field       USING 'FEBMKA-KRED_MID'
                                    'K'.
      PERFORM bdc_field       USING 'FEBMKA-WVAR_ART'
                                    '4'.
      PERFORM bdc_field       USING 'FEBMKA-BUCH_VAL'
                                    'X'.
      PERFORM bdc_dynpro      USING 'SAPMF40K' '0101'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKA-ESALD'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'FEBMKA-BUKRS'
                                    bukrs.
      PERFORM bdc_field       USING 'FEBMKA-HBKID'
                                    hbkid.
      PERFORM bdc_field       USING 'FEBMKA-HKTID'
                                    hktid.
      PERFORM bdc_field       USING 'FEBMKA-AZNUM'
                                    aznum.
      PERFORM bdc_field       USING 'FEBMKA-AZDAT'
                                    date.
      PERFORM bdc_field       USING 'FEBMKA-SSALD'
                                    lv_opening.
      PERFORM bdc_field       USING 'FEBMKA-ESALD'
                                    lv_closing.
      PERFORM bdc_dynpro      USING 'SAPMF40K' '8000'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKK-SGTXT_KF(01)'.
      SORT itab DESCENDING BY count.
      LOOP AT itab.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        PERFORM bdc_field       USING 'FEBMKA-VGMAN(01)'
                                      itab-vgman.
        PERFORM bdc_field       USING 'FEBEP-VALUT(01)'
                                      itab-valut.
        PERFORM bdc_field       USING 'FEBMKA-KWBTR(01)'
                                              itab-kwbtr.
        PERFORM bdc_field       USING 'FEBMKK-CHECT_KF(01)'
                                      itab-chect_kf.
        PERFORM bdc_field       USING 'FEBMKK-SGTXT_KF(01)'
                                      itab-sgtxt_kf.
        PERFORM bdc_dynpro      USING 'SAPMF40K' '8000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'FEBMKK-SGTXT_KF(01)'.
      ENDLOOP.
      PERFORM bdc_dynpro      USING 'SAPMF40K' '8000'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKA-KWBTR(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=SICH'.
      PERFORM bdc_dynpro      USING 'SAPMF40K' '0101'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'FEBMKA-BUKRS'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BACK'.
      PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=NO'.
    ENDFORM.                    "bdcdata
    *&      Form  OPEN_GROUP
    FORM open_group .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client = sy-mandt
          group  = 'BANK_STAT'
          user   = sy-uname.
         keep   = 'X'.
    ENDFORM.                    " OPEN_GROUP
    *&      Form  CLOSE_GROUP
    FORM close_group .
      CALL FUNCTION 'BDC_CLOSE_GROUP'.
      CALL TRANSACTION 'SM35'.
    ENDFORM.                    " CLOSE_GROUP
    *&      Form  bdc_insert
    FORM bdc_insert.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode     = 'FF67'
        TABLES
          dynprotab = bdcdata.
    ENDFORM.                    " bdc_insert
           Start new screen                                              *
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD

    Hi,
    Use:
    If line item = 30.
    OKCODE = 'P++'. --->For next page after every 30 line items.
    endif.
    Or:(Sumilate in BDC)
    1 . New line.   -
    >Get the Fcode/Sy-ucomm value of New line(Icon on menu bar)
    2.Enter Line Item.
    Follow this after every line item.
    Hope this resolves the issue.
    Regards,
    Gurpreet

  • Getting a field value from the first page on the second page in HTML

    I have a 2 page form I'm presenting in HTML to the user. The first page they select an action, enter a USERID and click the next page button. (The button executes "xfa.host.pageDown();" on the click action at the server)
    On the initialize of the second page I try to get the value of the USERID field from the first page and create a SQL statement to open my data connection. The issue I have is that I cannot get the value of the USERID field. This code works cause if I hardcode a valid value the query works. I tried to work around this by putting the same field on page 2, but it still did not work but the field was populated with displayed. I only assume the data is not populated at the time the initialize is invoked.
    Here is my code on the initialize..
    xfa.sourceSet.nodes.item(0).resolveNode("#command.query").commandType = "text"
    xfa.sourceSet.nodes.item(0).resolveNode("#command.query").select.nodes.item(0).value = "Select * from TABLE where userid = '" + xfa.form.resolveNode("form1.Page1.txt_EmployeeLogin").rawValue + "'"
    xfa.sourceSet.DataConnetion.open()
    Any help is greatly appreciated.
    THANKS!!

    Hi Steve,
    If you haven't already done so, I recommend posting this question in the LivCycle Forms forum.
    Jared

  • Blank first page and chart printing on the second page

    I have a subreport in my report footer that displays a chart.  The detail section is suppressed in the main report.  For some reason the chart displays on the second page of the report and the first page is blank except for the report header and page footer.  In the section expert the 'new page after' box is checked and grayed out so I can't remove the check to see if that solves the problem.  I've never been particularly skilled in regards to reporting and in addition it's been quite a few months since I've even worked on a report.  I'm using Crystal XI. Can anyone provide suggestions on where I might look to solve this problem.

    Main Report
    Report header--suppress blank section
    Page header --suppress blank section; supress (no drill down) - page number = 1
    Detail--Suppress (no drill down); suppress blank section
    Page Footer--suppress blank section
    Report Footer--suppress blank section
    Sub Report
    Report header a--suppress (no drill down) - {?Pm-?Graph Type}<>"Pareto" ; suppress blank section
    Report Header b - suppress ( no drill down) - {?Pm-?Graph Type}<>"Pareto-Top 5" ; suppress blank section
    Report Header c--Suppress blank section
    Group Header #1a--Suppress (no drill down) - If {?Pm-?Graph Type}="Pareto-Top 5" or {?Pm-?Graph Type}="Pie-Top 5" then
    {@nIncrement}>5
    ) ; Suppress blank section
    Group Header #1b--Suppress ( no drill down) - {?Pm-?Graph Type}="Pareto" or {?Pm-?Graph Type}="Pie" ; Supress blank section
    Detail--Suppress (no drill down); suppress blank section
    Group Footer #1--Suppress (no drill down) ; suppress blank section
    Report Footer--suppress blank section

  • How to: make a custom second page?

    Ladies, Gents,
    I almost have my custom template for my business correspondence ready, but there is one thing I cannot figure out how to do it...
    As with my normal (printed) stationary, my second page and onward have less information then my first one. In my case, just a logo. Much as is the case with the "Woodland letter" template in Pages '08. As soon as you hit enter at the end, the second page comes up with a smaller, simpler logo.
    I cannot figure out how to get this done? The manual states entering a section break, customizing it, and using File>Advanced>Capture pages, but as soon as I enter a section break, I just get a blank page. Copying or pasting a graphic adds ANOTHER page at the end... I am stumped, and having read the manual from page 1 to 240, I don't have a clue!
    Any help would be GREATLY appreciated!

    Oh! Now I see.
    Try this. Format your template WITH the second page included. Use either a page break or a number of returns to get to the second page. Reformat the second page with the appropriate header, footer, logo, etc. (This is where 'First page is different' comes in, I'm sure you know.) Once the second page looks the way you want, remove it by removing the page break or the hard returns, THEN save it as a template. Do NOT use a section break to create the second page. I don't think inserting a new page will work to modify the template in this case.
    BTW, you are using a word processing rather than a page layout document, I assume.
    Good luck,
    Terry

  • Create data merged document with data on every second page?

    Is it possible to create a data merged document with the variable data only on every second page?
    I have set up the pages with the variable data as a master page (on every odd page) with the text box and paragraph style all set up, and I have set 'override master page items' so the data can be placed, but InDesign seems to freeze up when I try to create the merged document?

    There should be no problem doing the merge with a two-page master and a two-page template document with fields only on one page (and off the top of my head there's no reason to move them off the master page if that's where you put them). I think the problem here is that rachrachm already has a file of 500 pages (based on another thread asking how to apply masters to every other page).
    It's potentially possible to simply place the data file (without the header row) as a text file and auto-flow through the master page frames (can't say for sure without seeing the files), or if the pages without the merge fields are the same just, remove all but the first two pages from the template and do the merge.
    As I metioned earlier, though, this is a very inefficient method of producing that sort of document. A true variable data print flow would be better (you'd need to find a commercial printer who can do it with your data file), or the home version would be to make one single page file for the static content, print 250 copies (plus a few extras, just in case), then make a single page merge template, do the merge, and print that on the back of the already printed pages, or as a separate page. It is immeasurably faster to print multiple copies of a document than it is to print a document that has multiple identical pages.

  • Problem in navigating 2 second page

    Hi ,
    actually the scenario is like this:
    1) when i give the partner no as input it will display the output details as guid,header,item,object_type,partner_no.---first page
    2) Again if i click on the header in this output it have to go next page and have to display the details of header like service order,process type etc.
    here upto first part i done .and the i created next page also
    i done the following code in first page oninput processing
    CASE event_id.
      WHEN 'clickon'.
        navigation->set_parameter( 'header' ).
        navigation->goto_page('second.htm' ).
    ENDCASE.
    i done the following code in next page oninitialization
    data: header type crmd_orderadm_h-guid.
    header = request->get_form_field( name = 'header' ).
    select object_id
    guid
    posting_date
    process_type
    created_by from crmd_orderadm_h INTO corresponding fields of
    table index1
    WHERE guid EQ header.
    now the problem is i m not able to click on header of first page output .after clicking on that i have to display next page details.
    Please solve the problem
    Thanks,
    Usha

    i created 2 pages.
    in first page
    LAYOUT:
    <html>
    <head>
    <title>
    Retrieving service order details
    </title>
    </head>
    <body>
    <form>
    <form method = "post" action= "first.htm">
        partner_no: <input name= "partner_no" /> <br>
        <input value="submit" type= "submit"/>
        </form>
    <% if not index[] is initial.     %>
      <table>
      <tr>
      <td width= "150" align= "left"><b>GUID</b></td>
      <td width= "150" align= "left"><b>HEADER GUID</b></td>
      <td width= "150" align= "left"><b>ITEM GUID</b></td>
      <td width= "150" align= "left"><b>OBJECT_TYPE</b></td>
      <td width= "150" align= "left"><b>PARTNER_NO</b></td>
       </tr>
      <% loop at index into wa  .     %>
       <tr>
       <td width= "150" align= "left"><%= wa-guid    %></td>
    <td width= "150" align= "left"><a href= "second.htm"><%=wa-header    %></a></td>
       <td width= "150" align= "left"><%= wa-item    %></td>
       <td width= "150" align= "left"><%= wa-object_type    %></td>
       <td width= "150" align= "left"><%= wa-partner_no  %></td>
        </tr>
        <%Endloop.      %>
    <%data:temp(20) type c.
      move wa-header to temp.    %>
      </table>
    ONINITIALIZATION:
    data: partner_no type crmd_order_index-partner_no.
    partner_no = request->get_form_field( name = 'partner_no' ).
    select guid
    header
    item
    object_type
    partner_no from crmd_order_index INTO corresponding fields of
    table index
    WHERE object_type eq 'BUS2000140' and partner_no eq partner_no.
    ONINPUTPROCESSING
    CASE EVENT_ID.
      WHEN 'clickon'.
        navigation->set_parameter( name = 'head'
                                    value = 'temp').
        navigation->goto_page( 'second.htm' ).
    ENDCASe.
    type definitions:
    types:it_index type standard table of crmd_order_index,
          wa_index  type crmd_order_index.
    PAGE ATTRIBUTES:
    index type it_index
    wa type wa_index
    head type c
    temp type c
    I_N SECOND page :_
    LAYOUT
    <html>
    <head>
    <title> Service order details</title>
    </head>
    <body>
    <table>
    <tr>
      <td width= "150" align= "left"><b>GUID</b></td>
      <td width= "150" align= "left"><b>OBJECTID</b></td>_
      <td width= "150" align= "left"><b>POSTINGDATE</b></td>_
      <td width= "150" align= "left"><b>PROCESSTYPE</b></td>_
      <td width= "150" align= "left"><b>CREATEDBY</b></td>_
    </tr>
    <% loop at index1 into wa1.     %>
    <tr>
       <td width= "150" align= "left"><%= wa1-guid   %></td>
       <td width= "150" align= "left"><%= wa1-objectid  %></td>_
       <td width= "150" align= "left"><%= wa1-postingdate %></td>_
       <td width= "150" align= "left"><%= wa1-processtype    %></td>_
       <td width= "150" align= "left"><%= wa1-createdby  %></td>_
        </tr>
       <% endloop.     %>
    </table>
    </body>
    </html>
    TYPE DEFINITIONS:
    TYPES:itindex1 type standard table of crmd_orderadm_h,_
          waindex1 type crmd_orderadm_h._
    PAGE ATTRIBUTES:
    index1 type itindex1_
    wa1 type waindex1_
    temp1 type c
    head type c
    ONINITIALIZATION
    data:temp1(20) type c.
    data:head(20) type c.
    temp1 = request->getform_field( name ='head' )._
    select guid objectid process_type posting_date created_by_
       from crmdorderadm_h into CORRESPONDING FIELDS OF TABLE index1_
      where guid eq temp1.
    now the problem is i m not able to displaying second page output..
    Plz solve this problem.
    THANKS,
    Usha
    Edited by: Usha Rani Rachamalla on Jan 23, 2008 7:59 AM

  • How to Supress the Second Page in Smart form

    Hi,
      I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
    Thanks,
    Pramod

    Hi
    just use the command Describe table ITAB lines v_lines.
    so v_lines <> 0  means items Exist.
    so use this field in the condition
    Define a Text ELEMENT for the MAIN window data
    Before that text element put a condition based on the v_lines field.
    /:  IF V_LINES NE 0.
    /E MAIN
    /:  ENDIF
    So when you give print , if no data in internal table it won't print.
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • BI Publisher : SELECT statement in RTF template

    Hi Guys I have written a BI Publisher Report using XML file created from Oracle Reports(in Oracle Apps). Repors runs from Oracle Apps perfectly ok. Now I need to fetch some data from couple of tables and display on the Report. I am wondering whether

  • Copying file from clipboard -  very urgent

    Hi, I am copying a file(.pdf, .xls, .doc, .txt) to clipboard from a email. How do i get the file contents, filename of the file i am copying? I have to copy these files and sending it to the server. i am using the Clipboard class available in Java. P

  • Can't purchase itunes due to login problems

    So, every time I try to sign in or try to buy an itune it asks me to log in and every time I do it tells me that additional security is needed. I have already filled all of that out and it still won't let me buy anything! help......??

  • Is Excel Adapter is required to process Excel in Data services in Linux

    Hi, I am trying to read data from Excel and load it to HANA table. But i am not able to do it due to error. Do we require Excel Adapter to process Excel in Linux environment. OS: SUSE Linux Enterprise server DS version: DS 4.1 Sp2 Excel file name: TA

  • Group Messages in Spectrum 2

    I am having an issue with group messages.  When someone sends a group message that I'm part of, I receive it as an individual message even though I have the group function enabled.  Furthermore, I can receive replies from someone else in the group to