Remembering Template Changes for second page

I have adapted the San Fransisco Letter template to suit my own needs, copying my own logo, and updating the address details. I have then saved the new template, and it appears in My Templates - so far so good! I have noticed though that when I go to a second page in my letter, the original San Fransisco Template appears - with the incorrect logo and address. Am I missing something? Is there a way for my Template changes to carry over to the second page? Thank you very much.

Gwyn,
Okay, now we're getting somewhere. The address area you're referring to is already defined as a master object. Here's what I did: I put my own address in that object, moved my cursor to the end of the page, then added a page break. Like your situation, the master object repeated on the next page (as a master object will), but it repeated with template information, and not the address I put in. That's what's happening to you. So I started over. I put in my address, moved my cursor to the end of the page, but instead of adding a page break, I added a section break -- voilá. It worked.
What confused me for so long is that master objects usually just look for a page break in order to repeat. For some reason, yours is looking for a section break. Go figure. Anyway, now we know how to fix it. Good luck.
-Dennis

Similar Messages

  • Spawning two templates to create second page, possible?

    I am not sure if this is possible but based on a value on the first page i want to be able to create a second page using two templates.
    My script below just creates two extra pages. Any ideas please?
    var t = this.templates;
    var j = this.pageNum;
    // this is my 3 templates, depending on the value of the first page the second will pick 2 of these templates
        var T = t[0];
        var S = t[1];
        var R = t[2];
    if (this.getField("P"+j+".Background.Dropdown4").value == "Other"){
        var XO = T.spawn(this.numPages, true, true);
        for (var i=0; i<0; i++) T.spawn(this.numPages, true, true, XO);
    }else if (this.getField("P"+j+".Background.Dropdown4").value == "Hair Colour"){
            var XO = T.spawn(this.numPages, true, true);
            var XY = S.spawn(this.numPages, true, true);
        for (var i=0; i<0; i++) T.spawn(this.numPages, true, true, XO);
        for (var i=0; i<0; i++) S.spawn(this.numPages, true, true, XY);
    this.pageNum++;
    app.alert("A new page has been added")

    Thanks for the comments, the loops were taken initially from the examples on the SDK site for another project which needed more than one page template, I've taken them out and retried with the bOverlay changed to false but it adds 3  templates of which two are the same?
    Heres my modified colde, any help would be much appreciated:
    var t = this.templates;
    var j = this.pageNum;
        var T = t[0];
        var S = t[1];
        var R = t[2];
    if (this.getField("P"+j+".Background.Dropdown4").value == "Other"){
        var XO = T.spawn(this.numPages, true, false);
        T.spawn(this.numPages, true, false, XO);
    }else if (this.getField("P"+j+".Background.Dropdown4").value == "Hair Colour"){
            var XO = T.spawn(this.numPages, true, false);
            var XY = S.spawn(this.numPages, true, false);
        T.spawn(this.numPages, true, false, XO);
        S.spawn(this.numPages, true, false, XY);
    this.pageNum++;
    app.alert("A new page has been added")

  • Report Server 10g - unexpected font change on second page of the report

    Hi all,
    I'm having a problem with Oracle Report server 10.1.2.3.0.
    It's sometimes using an unusual font (It think it looks like a Greek one).
    One example would be when a text overflow from page one to the second page it will change from Times New Roman to a "Greek" font and switches from bold to normal font it still happens in the same "Text" type item just on a new page. However when I update the text in the DB to a longer one so it flows through the whole second page to the 3rd page then it's using the correct font again.
    When I open the generated PDF file in a text editor I see an unusual value in one of the font settings "/BaseFont /#53#79#6D#62#6F#6C" when I edit it manually to the value taken from another occurrence of the "BaseFont" in the same file it helps and changes the font to the correct one.
    When I export the report to the PDF from report builder it's always using the correct font.
    The encoded font "/#53#79#6D#62#6F#6C" translates to: "Symbol"
    select CHR(TO_NUMBER('53','xx'))||CHR(TO_NUMBER('79','xx'))||CHR(TO_NUMBER('6D','xx'))||CHR(TO_NUMBER('62','xx'))||CHR(TO_NUMBER('6F','xx'))||CHR(TO_NUMBER('6C','xx')) from dual;
    The correct font is as expected "Times-Roman"
    I noticed that this happens only when HTML code is allowed in the Text/field. When I generate HTML version of the report I see after the page break and new table on the new page the following tag <font face="symbol">.  When I set Web Setting->"Contains HTML Tags" set to NO then font stays the same even after the page break.
    Did anyone experienced something similar?
    Thank you,
    Palo

    We have had this a few times before and there are 2 ways that most likley will fix this.
    If on mac close all adobe apps, do a find for all files with the .lst in their file name. Delete all you .lst files, they are font database files that go corrupt and will regenerate themselves when needed and usually a working copy.
    Close any multiple master fonts you have open in fontbook, and other utility such as Suitcase. Multiple master fonts will have a filename like "Kronos mm", and in the adobe illustrator type >> font menu i believe they have a different icon (possibly a mm) than the others {a(type 1), tt(true type), O (opentype)}
    Your problem is likely the 1st option, as the mm problem usually happens while editing the file, while the other is after you open the file. If you still have the problem, you then may have 2 different fonts sharing the same FOND ID number. Close as many fonts as you can, especially the one that looks like your wrong font.

  • How to set the header for second page

    Hello all,
    I'm trying to set different header for first page and page number should starts from second page.
    Below is the sample code to set the header for each and every page.
    DECLARE
    hApplication OLE2.OBJ_TYPE;
    hWindow OLE2.OBJ_TYPE;
    hPane OLE2.OBJ_TYPE;
    hView OLE2.OBJ_TYPE;
    hDocuments OLE2.OBJ_TYPE;
    hDocument OLE2.OBJ_TYPE;
    hSelection OLE2.OBJ_TYPE;
    hParagraphFormat OLE2.OBJ_TYPE;
    hRange OLE2.OBJ_TYPE;
    hFields OLE2.OBJ_TYPE;
    hFont OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    wdAlignParagraphLeft CONSTANT number(3) := 0;
    wdAlignParagraphCenter CONSTANT number(3) := 1;
    wdAlignParagraphRight CONSTANT number(3) := 2;
    wdSeekCurrentPageHeader CONSTANT number(3) := 9;
    wdSeekCurrentPageFooter CONSTANT number(3) := 10;
    wdSeekMainDocument CONSTANT number(3) := 0;
    wdFieldPage CONSTANT number(3) := 33;
    wdFieldNumPages CONSTANT number(3) := 26;
    wdPageBreak CONSTANT number(3) := 7;
    wdStory CONSTANT number(3) := 6;
    myTab CONSTANT varchar2(1) := chr(9);
    myBlue CONSTANT number(8) := 16711680; --FF0000
    myGreen CONSTANT number(8) := 65280; --00FF00
    myRed CONSTANT number(8) := 255; --0000FF
    myDkGreen CONSTANT number(8) := 32768; --008000
    myBlack CONSTANT number(8) := 0; --000000
    myText varchar2(2000);
    BEGIN
    hApplication:=OLE2.CREATE_OBJ('Word.Application');
    OLE2.SET_PROPERTY(hApplication, 'Visible', 1);
    hDocuments := OLE2.GET_OBJ_PROPERTY(hApplication, 'Documents');
    hDocument := OLE2.INVOKE_OBJ(hDocuments, 'Add');
    -------- Create Header and Footer --------
    hWindow := OLE2.GET_OBJ_PROPERTY(hApplication, 'ActiveWindow');
    hPane := OLE2.GET_OBJ_PROPERTY(hWindow, 'ActivePane' );
    hView := OLE2.GET_OBJ_PROPERTY(hPane, 'View' );
    ---- Header Section ---
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekCurrentPageHeader);
    hSelection := OLE2.GET_OBJ_PROPERTY(hApplication, 'Selection');
    hFont := OLE2.GET_OBJ_PROPERTY(hSelection, 'Font');
    OLE2.SET_PROPERTY(hFont, 'Name', 'Times New Roman');
    OLE2.SET_PROPERTY(hFont, 'Size', 10);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', MyBlue );
    hParagraphFormat := OLE2.GET_OBJ_PROPERTY(hSelection, 'ParagraphFormat');
    OLE2.SET_PROPERTY(hParagraphFormat, 'Alignment', wdAlignParagraphCenter);
    OLE2.RELEASE_OBJ(hParagraphFormat);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'This is a');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.INVOKE(hSelection, 'TypeParagraph');
    OLE2.SET_PROPERTY(hFont, 'Size', 16);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', MyDkGreen );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'Test Header');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    ---- Footer Section ----
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekCurrentPageFooter);
    hParagraphFormat := OLE2.GET_OBJ_PROPERTY(hSelection, 'ParagraphFormat');
    OLE2.SET_PROPERTY(hParagraphFormat, 'Alignment', wdAlignParagraphCenter);
    OLE2.RELEASE_OBJ(hParagraphFormat);
    hFields := OLE2.GET_OBJ_PROPERTY(hSelection, 'Fields');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'Page ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    hRange := OLE2.GET_OBJ_PROPERTY(hSelection, 'Range');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG_OBJ(args, hRange);
    OLE2.ADD_ARG(args, wdFieldPage);
    OLE2.INVOKE(hFields, 'Add', args );
    OLE2.DESTROY_ARGLIST(args);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, ' of ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    hRange := OLE2.GET_OBJ_PROPERTY(hSelection, 'Range');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG_OBJ(args, hRange);
    OLE2.ADD_ARG(args, wdFieldNumPages);
    OLE2.INVOKE(hFields, 'Add', args );
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(hRange);
    OLE2.RELEASE_OBJ(hFields);
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekMainDocument);
    OLE2.RELEASE_OBJ(hView);
    OLE2.RELEASE_OBJ(hPane);
    OLE2.RELEASE_OBJ(hWindow);
    -------- Insert Text --------
    hFont := OLE2.GET_OBJ_PROPERTY(hSelection, 'Font');
    OLE2.SET_PROPERTY(hFont, 'Name', 'Arial');
    OLE2.SET_PROPERTY(hFont, 'Size', 12);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE );
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    OLE2.INVOKE(hSelection, 'TypeParagraph');
    myText := myTab || 'This text is on the ';
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, myText);
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', myRed);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'first ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'page.');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, wdPageBreak);
    OLE2.INVOKE(hSelection, 'InsertBreak', args);
    OLE2.DESTROY_ARGLIST(args);
    ----page 2
    myText := myTab || 'This text is on the ';
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, myText );
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlue);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'second ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'page.');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    ---- go to the top of the first page
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, wdStory);
    OLE2.INVOKE(hSelection, 'HomeKey', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(hFont);
    OLE2.RELEASE_OBJ(hSelection);
    OLE2.RELEASE_OBJ(hDocument);
    OLE2.RELEASE_OBJ(hDocuments);
    OLE2.RELEASE_OBJ(hApplication);
    END;
    Please help me out
    Thanks,
    Bhavana

    Click on --
    Edit link for Page> Click "Edit Default" link on Banner >
    Under the "Banner Links"
    provide value something like this:
    Label = Help
    URL = /pls/portal30/docs/myhelp.html
    Icon = U can upload any icon here.
    For Application Components = See the Second Last tab on "Edit Component".
    Thanx,
    Chetan.

  • How can I get Preview to remember my preference for single page view?

    Does anyong know how can I get Preview to remember my preference for a single page view rather than continuos scroll?

    Hi Stop
    Works OK for mine Preference Setting for Prev.
    Cheers Tomi
    Mac Pro, Mac OS X (10.7)BC-(Win7), 8 core 8Gb Ram / Macbook Pro 2009 6G (10.7)C-(Win7) / iBook 2006 2Gb (10.7)BC(XP) /iMac 2010(SL) BC-(Win7) /iMac 2009 (SL) BC-(Win7). iMac 2006(SL) C-(XP)

  • Make safari remember zoom level for individual pages

    is it possible to make individual zoom levels for pages in safari or can you only make a global setting on that?
    Safari has to remember this setting of course for this to be interesting

    Afrad not ... not on Safari.
    The Fireworks browsesr may work better for your needs.
    How to set the zoom out or in for all pages permanently? | Firefox Support Forum | Mozilla Support
    Download Firefox

  • Server state saving restores view even request params changed for same page

    hi all,
    i've a problem with the state saving method of JSF... environment: JSF1.1, WAS6, Spring2.0..
    i have two buttons those POP UP an IFRAME inside with a details page..
    <input type="button" onclick="openDetailsPage('detailsPage.jsp?id=1');" value="show first record's details" />
    <input type="button" onclick="openDetailsPage('detailsPage.jsp?id=2);" value="show second record's details" />
    detailspage gets the "id" param and query&show the details of the requested data IF THE REQUEST IS NOT POSTBACK... like below;
    public void onPreRender() {
    if (!isPostBack()) {
    // get id from param, query the record and show its details...
    problem is; if i set the state_saving_method as "server"; jsf is creating view only for the first time... after that, no matter what record info i sent, it's restoring the old page...
    however, there's no problem if i set state_saving_method=client... my details page view is being created in every request...
    what may be the problem? when the server state saving method used, it's not creating just restoring the previously opened page in every click...
    thanks in advance,
    hasan...

    I just did, thank you. Here are the reports i filed:
    [Server side viewstate saving: UIViewRoot's viewMap gets cleared on postback|http://java.net/jira/browse/JAVASERVERFACES-1982]
    [Configuration attribute com.sun.faces.serializeServerState only work for the first postback|http://java.net/jira/browse/JAVASERVERFACES-1983]

  • Re: Screen template change for QM Notification

    Hi All,
    I am trying to make some changes in the screen template for the notification screen for F2 notification type.
    On creating a new Notification by copying from the std. F2 type, When I try to see the details in the Item tab at the header for the Overview Sub-Tab, I am fing Greyed code group option which is not similar to the standard F2 notification.
    Please advice how to go for this.
    Regards,
    Vivek

    Hello Vivek,
    first of all I agree with my precessor that the standard settings for the notification are not copied when you create a notification type from an existent notification type.
    In this case you have to go through all customizing steps in QCC2
    Once this has been done you can then change the appearence of your notification.
    If you want to add your own additional subscreens you should look at the exit QQMA0001 or QQMA0008.
    I hope this information proves useful
    regards
    Isabelle

  • Link Color not changing for Visited Pages - How do I set the Color?

    In earlier versions of Safari, the user could select the color used to display links that have already been visited. I can't find that option in Preferences anymore. Some visited links do show a different color, some don't. Is it just random? How do I set the color in Safari 4.0.4 and activate the behavior?

    HI,
    I think you change visited pages link colors using Google preferences.
    http://www.googleguide.com/preferences.html
    Carolyn

  • How to determine the 'template id' for a Page Template?

    Can any one give a reference for this issue? 
    Specifically when  when using 'import catalogs'  as this is one of the required fields in the import table.
    All help appreciated
    Kind regards
    PW

    Correct as Madonna said, you see in this Screenshot
    Please note that TemplateID is not a required field but Optional when importing Catalog file.
    Kind Regards,

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • 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

  • Adding second page

    Hi,
    I am new to adobe forms and have looked around to find the answer to this. My problem is I have a 2 page interactive form where the first page is legal size portrait and the second is supposed to be landscape. I was able to change the second page but when I try to make it landscape it makes the first page landscape as well. Is there a way to make this work?
    Thanks
    Mike

    Hi mcurtis,
    To change the Page settings, Goto the designer in that goto toolbar Palette->Heirarchy or Window->Heirarchy and there you'll find (MasterPage) in the left hand side (where a new palette window open's up) click on that inside that you'll see Page1, now goto toolbar Palette->Object or Window->Object. There you'll see Paper Type where are different Size's are available and also you can set page orientation ( either Portrait or Landscape), etc, from there.
    Similarly now right click on the "Page1" and select "New Master Page". Do the same settings as above.
    Note: Rename the" (untitled Content Area)" to any name it'll be easy in designing Body Pages.
    Now if you want to create any body pages then create one by right clicking on the main root node and selecting "New Body Page". You can any no. of Body Pages. And if you want to set the Master Page for the body page then goto Palette->Object and select Pagination Tab and Now in "Place" select the arrow and select the Content Area of the Master Page. Similarly repeat for any no of body pages.
    Read Adobe Live Cycle Designer Help Document to understand Master Page and Body Page.
    Regards
    Pradeep Goli

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

  • How to print main window data in second page without header

    hi friends.,,,,,,,,,,,,,,,,,,,,
    I am printing billing docu details in main window ,the data is coming in two pages but there is problem in printing as the tables is continuing in second page the line is not coming for the table for first row,space is also coming for second page for header .
    my issue is to remove space before printing table and line should come for the table for 1st row in second page.
    please help .
    thanks in  advance.

    Hi Raghukumar,
    1. For the line not coming on the top row of the second page, check if the rowtype u have used in the table has been given a border on the upper side.
    2.For the space issue in the second page, I assume you might have used only a single Page in your smartform and the same page is called again.Hence as per the main window size and length data will be displayed in all pages of the smartform.
    You may need to create a second page with the Main window length occupying the compete page so that data display starts from the top of the page. next Page attributes of the smartforms should be entered accordingly.
    Please try to elaborate your query to help us understand your issue.
    Regards,
    Rijuraj

Maybe you are looking for

  • How do I transfer photos from iPad to iMac?

    I want photos to transfer from ipad to iphoto on the imac so my photos are all in one main place. I've backed up once or twice and know that I have to have the ipad plugged into the mains and using wi-fi and launch itunes from the imac.  But after ba

  • "INVALID  PASSWORD" when trying to connect to Linksys Wireless Router

    MacBook would connect to neighbors unsecured network, as well as network at local restaurant, but would not connect to my WPA Personal protected network. Here is what I finally did to gain access: 1-Obtained the mac address for all 3 wireless compute

  • Premiere Elements 4.0 stops working when adding a title

    Whenever I add a title, it quickly goes to "Adobe Premiere Elements.exe has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available" What to do? Thank you in ad

  • Cannot select image map hotspot

    Hi Folks -- I have a Dreamweaver file with an image that has 3 hotspots. I changed the image and now need to change with size and placement of the hotspots. Dreamweaver Help says to use the Pointer Hotspot Tool to select a hotspot, and then drag a ho

  • Central Org. Unit of Pur. Org in SUS

    Hi Experts, Please clarify on the following : Suppose i have 5 different vendors in EBP in different purchasing organisations. 01. Do I have to create those 5 purchasing organisations in SUS ? to have my EBP vendors in SUS What is advantage / signifi