About nuber pages in scripts

how do u number pages in sap scripts layout out puts

hi
Try to use like this
<b>Page&SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&</b>
use 3zc otherwise it will show  ' * '  in case no of pages exceed to two digit
hope this will solve ur problem
regards
vijay
<b>reward points if helpfull</b>

Similar Messages

  • I have a question about extracting pages.  When I do the function, adobe saves the individual files as " file name space page number ", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a

    I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I am using excel to concatenate some data to dynamically build a hyperlink to these extraced files.  It casues me problems, however, for the space to be the the file name.  Is there any way to change the default behavoir of this function to perhaps use a dash or underscore instead of a space?

    No, you can't change the default naming scheme. You can do it yourself if you extract the pages using a script instead of using the built-in command.

  • About control commands in scripts

    hi abapers
    can u plz tell about control commands in scripts uses of control commands

    Hi,
    Control Command Purpose:
    The purpose of these is to allow control of the output formatting. These commands are not interpreted by the SAPscript editor, but are passed through to the SAPscript Composer for processing. The Composer is the program that converts text from the form displayed in the editor to the form used for printing. This includes, for example, line and page formatting, the replacement of symbols with their current values and the formatting of text according to the paragraph and character formats specified.
    The SAPscript control commands are described in the following sections.
    <b>Syntax of Control Commands</b>
    Explicit Page Break: NEW-PAGE
    Preventing Page Breaks: PROTECT
    Next Main Window: NEW-WINDOW
    Assigning a Value to a Text Symbol: DEFINE
    Formatting Date Fields: SET DATE MASK
    Formatting Time Fields: SET TIME MASK
    Country-Dependent Formatting: SET COUNTRY
    Position of the Leading Sign: SET SIGN
    Initializing Numbered Paragraphs: RESET
    Including Other Texts: INCLUDE
    Changing the Style: STYLE
    Formatting Addresses: ADDRESS
    Setting a Header Text in the Main Window: TOP
    Setting a Footer Text in the Main Window: BOTTOM
    Conditional Text: IF
    Finding a Match: CASE
    Calling ABAP Subroutines: PERFORM
    Inserting Print Controls: PRINT-CONTROL
    Boxes, Lines, Shading: BOX, POSITION, SIZE
    Hexadecimal Data: HEX, ENDHEX
    Summing a Program Symbol: SUMMING
    Br,
    Laxmi

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • Create a follow up page in scripts using Duplex and Tumble Duplex in print

    How to create a follow up page in scripts using Duplex and Tumble Duplex in print mode of scripts ?

    it depends upon output device types.
    Regards
    Prabhu

  • Not able to see the VOs through about this page.

    Hi all,
    I am unable to see the VOs and COs, AMs through about this page link.
    When I clik on about this page link in FinalReviewPG of iExpense it only shows as below --
    Page Personalization Page Context Technology Components Java System Properties Profiles Patches
    /oracle/apps/ap/oie/entry/summary/webui/FinalReviewPG 120.0.12000000.2
    Return to Page: Create Expense Report: Review Printable Page Generate Bug Report
    I am unable to find the "Expand all' link to show the structure of page.
    is there any way or profile option to show "about this page" in detail
    I have to check query of VO for fields.
    I have checked that the selected tab is "Page" tab.
    Pls help.
    Thanks Amit

    Hi Amit,
    In IExpense In R12 the Final Review Page and the confirmation page are not available under About this page link since they are linked to some other main page and thats how it works.
    The only way you can check this page is use the below command to print the details of the page.
    set serveroutput on;
    begin
    jdr_utils.printdocument('/oracle/apps/ap/oie/entry/summary/webui/FinalReviewPG');
    end;
    please run this in toad or sql plus you will get the page details in Xml format,
    Thanks
    Deeksha

  • How to print window contents at the backside of a page(In scripts&smartform

    Hi,
    How to print the window contents at the back side of a page
    in scripts and smartforms?
    regards,
    prajwala

    Create a new page with the window and select "duplex" printing. Use Search button to get more information.

  • How to supress blank page in scripts?

    Hi gurus.
    can any one let me know how to supress blank page in scripts? When one of my condition satisfies it should print two pages and its working fine. When condition fails, it should print one page but its printing blank page as second page.
    Waiting for your answer.
    Urgent
    Regards,
    surya.

    hi,
    1. By providing the control commands in scripts,u can supress the blank pages.
    2.write the data between protect and end protect.
    3.Enclose the text that you want to prevent page-break in PROTECT... ENDPROTECT
    SAPscript will ensure that each line of this text is printed together on the same page.
    /: PROTECT
    Text
    Within
    The same page
    /: ENDPROTECT
    Regards,
    SHIVA(reward if helpful).

  • I want to change the file location for the automatic backup file bookmarks.file, but I can't find browser.bookmarks.file in the list on the about:config page.

    I asked about automatic backup of bookmarks and received the following answer:You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to true on the about:config page. That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page. I went to about:config page and toggled browser.bookmarks.autoExportHTML to “Yes” and it’s working. However, I want to change the file location, but I can’t find browser.bookmarks.file in the list.

    The browser.bookmarks.file preference does not exist by default. Right-click in about:config and select "New > String" to create it.

  • We are using version 3.6 on several machines. Is there a way to restrict users from accessing the about:config page?

    Prevent users from making modifications to the about:config page?

    You can do this with the [https://addons.mozilla.org/en-US/firefox/addon/3911/ Public Fox] add-on.
    It can be used to password protect access to about:config. To prevent the user from disabling/uninstalling the add-on, it also allows you to password protect the add-ons manager. You can also lock down other parts of Firefox such as the options dialog and clear history.

  • File, Send link doesn't open a new email. Using Firefox 11.0. Outlook 2010 is the Mailto default and W7 default email program. On the About:config page network.protocol-handler.external.mailto is set to regular font (not bold) "default Boolean true".

    File, Send link doesn’t open a new email. Running Firefox 11.0. Outlook 2010 is the Mailto default and the W7 default email program. On the About:config page, network.protocol-handler.external.mailto is set to regular font (not bold) “default Boolean true”.

    I assume you have tried toggling the setting in Firefox between Outlook and, say, Gmail:
    orange Firefox button ''or'' classic Tools menu > Options > Applications
    In the search box, type or paste '''mailto''' and pause for the list to filter.
    Change the setting and OK to save it, then return to the dialog, change back, and OK again.
    You also might want to toggle the setting at the OS level between Microsoft Outlook and the native Windows Mail client in a similar fashion. In Windows XP you could use IE's Options dialog, Programs tab, for this, but I'm not sure in Windows 7.
    Since one possibility is a problem in your Firefox settings (including the possibility of interfering add-ons), and another is a problem at the Windows level (e.g., Registry settings), it would be useful to try to identify which one it is. One quick way to distinguish is to create a new Firefox profile. It will start up with all factory settings. You can switch back to your existing profile after testing.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    After closing Firefox, start up again in the Profile Manager as described in this article: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    With the new profile, can Firefox successfully create a message in Outlook?

  • How to remove "About this Page" and "Privacy Statement" on a OA page

    Hi,
    How do i remove "About this Page" and "Privacy Statement" links at the bottom of an OA page and add "Close Window" link on the top right corner of OA page.
    Please help.
    Advance thank
    Pavan

    Hi,
    1. Select Personalize Page link at top right of page.
    2. Select Choose context button.
    3. In the scope drop down box select OA Footer.
    4. Click on apply.
    5. Expand privacy.
    6. Click on personalize pencil icon.
    7. Set Rendered property to false at required level.
    8. Click on apply.
    9. Click on Return to Application link.
    thanx
    Pratap

  • Printing a project with about 500 pages

    Hello,
    the company I'm working for is currently discussing using robohelp for the technical documentation. So now I'm trying to find out, if robohelp really suits our needs or not. Currently I'm testing robohelp 9 on a windows xp system with word 2010.
    In the documentation for robohelp it says, that one should not print documents with more than 100 pages. So I tried to print separate documents, but couldn't generate a suitable TOC - the result was simply a document, stating, that a TOC couldn't be generated, which won't be a acceptable output. My question is: how can I generate a TOC though printing several small chapters of the document?
    Or is it possible to print a project with about 500 pages without using those single documents?
    (Up till now, it was no problem for me, to generate a suitable printing documentation, but I'm not sure, if this will still work, when the project is complete and then contains about 500 pages.)

    Hi Feebeegeebee,
    thanks a lot for your answer!
    Well, I tried to generate individual documents by using the flag "individual documents" in the printing config... but then the TOC is printed separately and therefore doesn't contain anything at all...
    If you're generating those separate documents, then how do you get a suitable TOC? (Especially if you don't intend to make different books and therefore the pages should be numbered as if they would all belong to the same document). And what about the links... do they still work if one part of it is generated in a different document?
    Regards
    Gr33bo

  • VO Attribute shown on About the Page is not there in VO

    Hi All,
    I have scenario where VO Associated with an item is EgoItemRevisionVO. The attribute mapped is c_ext_attr1(When i check from About the Page).
    But i am not seeing any such attribute in the VO(when i am opening it from jdev). The VO Query is
    SELECT R.ROW_ID,
    R.INVENTORY_ITEM_ID,
    R.ORGANIZATION_ID,
    R.REVISION_ID,
    R.REVISION,
    R.REVISION_LABEL,
    R.REVISION_REASON,
    R.CHANGE_NOTICE,
    R.ECN_INITIATION_DATE,
    TO_CHAR(R.IMPLEMENTATION_DATE, 'DD-MON-YYYY HH24:MI:SS') AS IMPLEMENTATION_DATE_CHAR,
    R.IMPLEMENTATION_DATE,
    TO_CHAR(R.EFFECTIVITY_DATE, 'DD-MON-YYYY HH24:MI:SS') AS EFFECTIVITY_DATE_CHAR,
    R.EFFECTIVITY_DATE,
    R.REVISED_ITEM_SEQUENCE_ID,
    R.LIFECYCLE_ID,
    R.CURRENT_PHASE_ID,
    R.ATTRIBUTE_CATEGORY,
    R.ATTRIBUTE1,
    R.ATTRIBUTE2,
    R.ATTRIBUTE3,
    R.ATTRIBUTE4,
    R.ATTRIBUTE5,
    R.ATTRIBUTE6,
    R.ATTRIBUTE7,
    R.ATTRIBUTE8,
    R.ATTRIBUTE9,
    R.ATTRIBUTE10,
    R.ATTRIBUTE11,
    R.ATTRIBUTE12,
    R.ATTRIBUTE13,
    R.ATTRIBUTE14,
    R.ATTRIBUTE15,
    R.OBJECT_VERSION_NUMBER,
    R.CREATION_DATE,
    R.CREATED_BY,
    R.LAST_UPDATE_DATE,
    R.LAST_UPDATED_BY,
    R.LAST_UPDATE_LOGIN,
    R.REQUEST_ID,
    R.PROGRAM_APPLICATION_ID,
    R.PROGRAM_ID,
    R.PROGRAM_UPDATE_DATE,
    R.DESCRIPTION,
    L.MEANING,
    L.LOOKUP_TYPE,
    L.LANGUAGE,
    L.LOOKUP_CODE,
    (SELECT NAME FROM PA_EGO_LIFECYCLES_V WHERE PROJ_ELEMENT_ID = R.LIFECYCLE_ID) AS LIFECYCLE,
    (SELECT NAME FROM PA_EGO_PHASES_V WHERE PROJ_ELEMENT_ID = R.CURRENT_PHASE_ID)AS LIFECYCLE_PHASE
    FROM MTL_ITEM_REVISIONS_VL R,
    FND_LOOKUP_VALUES L
    WHERE R.INVENTORY_ITEM_ID = :1
    AND R.ORGANIZATION_ID = :2
    AND L.LOOKUP_TYPE(+) = 'EGO_ITEM_REVISION_REASON'
    AND L.LOOKUP_CODE(+) = R.REVISION_REASON
    AND L.LANGUAGE(+) = userenv('LANG')
    But i find that value for that field is getting populated from c_ext_attr1 column in table eng_changes_ext_b.
    But i don't really understand how this column is getting populated in to the page since the VO associated with the page is not querying this table nor any of the column in this existing VO query don't have such values that are shown on the page.
    Please share ur thoughts.....
    I am using Jdev 10.1.3
    Thanks
    -Jyothi-

    Hi Gyan,
    We are using R12.1.3.
    The Page navigation from front end is different as the responsibilities are custom one.
    The page path in the back end is
    /oracle/apps/ego/item/eu/webui/EGOITEMATTRIBUTEPGL
    Thanks
    -Jyothi-

Maybe you are looking for

  • Main image is not loading in dreamweaver, but can see it everywhere else

    I have an image that I need to imagemap, but it will not show up in Dreamweaver and I cant figure out why. I checked the link to the image and it worked, and the page works fine when I preview in firefox, but I still need to imagemap it. I saved the

  • Traveling soon, Can I use a Note 3 on a different carrier?

    I'm trying to decide if I should get the Note 3 now or wait until January. I have to travel to Armenia in December and I am wondering if I can swap out the SIM card in the Galaxy Not 3 for a local one WITHOUT having to root the phone or otherwise scr

  • My google calendar on my PC will no longer sync to my google calendar in my iPhone! Help

    So, I've had my iPhone since September of 2011--and it has synced beautifully with my Google calendar, until very recently!  Now, I will put an event in my google calendar when I'm on my PC, and the event will show-up only on my Google calendar on my

  • OC4J 9.0.2 or 9.0.3

    Hi Folks, Currently we have Oracle 9i AS 9.0.2 installed and running in production. So far we have been using just the portal part of it. Now we are developing a J2EE based application with Struts and Toplink. I have been hearing lots of horror stori

  • Address mapping / mail forwarding (equivalent to virtusertable in sendmail)

    Is there an equivalent setting somewhere with Snow Leopard Server, to do address mapping, as you would under sendmail on Linux? (with /etc/mail/virtusertable) i.e. create address maps, for mail forwarding. if mail comes to this email address on the s