Unable to print all the terms and conditions pages in the PO.

Reqt: The PO includes terms and conditions as the last page.
Currently the program only prints out the first page of the Terms and Conditions regardless if it is one or two pages.
Only one page(image) is displaying in the last page of smartform.
These terms and conditions pages are passing as graphics(images), We are passing the GRAPHICS under the TABLES Main Area in LAST page WINDOW.
But only one page (image) is displaying, but not others.
Can anyone help to solve the above issue.
Regards,
Kishore

you can create your terms n condition texts in SO10(standard text). THEN
If u r using smartform then do this:
goto the general attributes of a text element. From the drop down menu, convert the text type to include text.
The just as in read_text fm pass the parameters
text name, text object, text id and language.
Every thing will be handled automatically
AND if its a sap script then:
To include the contents of another text into the current text, use the INCLUDE control command. SAPscript still treats the text to be included as a separate text. The text is copied over only at the point at which the output is formatted.
Thus the use of the INCLUDE command always ensures that the most current version of a text is included into the output, since the text is not read and inserted until the output is formatted.
Syntax:
/: INCLUDE name OBJECT o ID i LANGUAGE l PARAGRAPH p
NEW-PARAGRAPH np
You must specify the name of the text to be inserted. It can be up to 70 characters long. If the name of the text contains spaces, then you must enclose it in quotes as a literal value. You can, alternatively, specify the name via a symbol. All remaining parameters in the INCLUDE command are optional. If an optional parameter is not specified, then SAPscript uses default values as applicable for the calling environment.
/: INCLUDE MYTEXT
The text MYTEXT is included in the language of the calling text.
/: INCLUDE MYTEXT LANGUAGE 'E' PARAGRAPH 'A1'
The text with the name MYTEXT and the language E is included, regardless of the language of the calling text. The paragraph format A1 will be used as the standard paragraph type for this call.
Optional parameters:
u2022 LANGUAGE
If this parameter is not specified, then the language of the calling text or the form language are used for the text to be included. If the language is specified, then the text will be fetched in this language, regardless of the language of the calling text.
u2022 PARAGRAPH
The text to be included is formatted using the style allocated. The PARAGRAPH parameter can be used to redefine the standard paragraph for this style for the current call. All *-paragraphs in the included text will then be formatted using the paragraph specified here.
u2022 NEW-PARAGRAPH
The first line of the text to be included will be given this format indicator, as long as it is not a comment or command line. If the optional PARAGRAPH parameter (see above) is not specified, then all *-paragraphs of the included text will also be formatted using the paragraph specified in the NEW-PARAGRAPH command.
u2022 OBJECT
In order to completely specify a text, information about the text object is also required. There are a number of restrictions and other rules that depend on the object type of the calling text:
o Any kind of text can be included in a form. If no object is specified, then TEXT will be used (standard texts).
o In the case of a document text (DOKU object), you can include only document texts. This object type is also assumed if no object is specified in this environment.
o Only hypertexts and document texts can be included in a hypertext (DSYS object). If the OBJECT parameter is missing, then DSYS is used as the default value.
o In the other kinds of text you can include only standard texts (TEXT object), document texts or hypertexts. If there is no specification, then the default object is TEXT.
u2022 ID
The text ID is a part of the text key, which permits further text objects within a given object. If no ID is specified, then the default include ID is used from the TTXID table for the calling text. If there is no entry in this table, then the text ID of the calling text is used.
The following consistency check is applied both to the ID and the object:
u2022 All text IDs are allowed in a form.
u2022 In document texts, only document texts may be included that have text IDs TX (general texts) or UO (authorization objects) and also other document texts with the same text ID as the calling document text.
u2022 In DSYS texts, all DSYS texts can be included, whatever ID they have. Document texts to be included must have one of the IDs TX or UO.
u2022 Into the other texts, standard texts with any allowable text ID, DSYS texts with all IDs, and document texts with the IDs TX and UO can be included.
The INCLUDE command returns a status code in the SAPSCRIPT-SUBRC symbol:
u2022 0: the text include was successful.
u2022 1: the command could not be executed because it contained syntax errors.
u2022 2: the rules governing the text to be included were not followed (see above).
This value cannot occur if the command is used in a SAPscript form.
u2022 4: the specified text could not be found.
Once you define the standard text in SO10 you can include text by the above process or use the function module read_text:
.............IN Smartform.......
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id =
language =
name =
object =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = i_tab
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
So you want to know how get the parametrs right. This is how"
In SO10 goto goto menu -> header
here u will find all the required parametrs.
The text lines will be returned in the i_tab.
U can loop at this itab and display the data.
Reward points if hepful.

Similar Messages

  • How to print the Terms and Condition page ine the sap-script

    Hi experts,
                             i got the requirement that how to print the Terms and condition page in the script,i have the three pages, having the same main window, in the last of the main window(all three pages)  i have called the hard coded text(i.e so10 text), but when i am displaying the output  data get printed in the first page but i am getting the second page heading on the top of  the terms and condiions page. In all the three pages i  have the same main window, if i  make change in any window i will affect all the other main  windows.  so please suggest me how i need to go.HOW TO GET GRID OF THE TEXT ON THE TOP OF THE SECOND PAGE OF THE TERMS AND CONDITONS.
    like this i have called in the MAIN WINDOW
    /E : LAST ( IN ALL THREE PAGES)
           INCLUDE ZSD_INVOICE_TERMS TEXT OBJECT TEXT LANGUAGE EN.
    IN THE TCODE SO10
    NEW PAGE TERMS.
    1) TERM MS AND CONDITONS  TEXT.................................................
    FIRST->NEXT, NEXT->NEXT,,   TERMS--->TERMS.

    Hi,
    1. Create a new page by Name : LAST
    2. Identify the text element which will be the last element in the form in the debug mode.
    Mostly Ex: SUM, TOTAL, LAST etc.,
    3. the page linking should be
    First --> Next
    Next --> Next
    4. In the Text element identified in the step 3.
    Write the following code
    /: NEW PAGE  LAST
    /: INCLUDE the standard text created for the terms and conditions in SO10
    Check the syntax for the command but the logic will be the same.
    It should resolve your problem.

  • HT4623 The update to iOS 7 is frozen at the Terms and Conditions page and will not move no matter what I click on.  I cannot access my iPad as it is frozen on this screen.

    The update to iOS 7 is frozen at the Terms and Conditions page and will not move, no matter what I click on.  I cannot access my iPad as it is frozen on this screen.  How do I remedy this nightmare?

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    Then try updating the software again.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.
    Same advice helped this user for the same issue >  HT1414 tried to update to latest iOS...: Apple Support Communities

  • After trying to add iOS7  I am stuck on the Terms and Conditions page

    I am unable to advance from the TErms and Conditions page and have selected Agree,  Send by EMail and anything I could select and it does nothing.  was working great before the suggestion to add this on

    Tjhis problem is typically resolved with a reset.
    The reset did not work?
    Did you hold both buttons without letting go until the Apple logo appeared?
    If so then you will need to connect it to iTunes and restore.

  • Hi! I tried to instal whatsapp thro istore and it displayed the terms and conditions page. But the problem is there is no save or agree button. I am stuck in this page. I need help. This is a iphone5. This was after I upgraded to ios7

    Hi! I tried to instal whatsapp thro istore and it displayed the terms and conditions page. But the problem is there is no save or agree button. I am stuck in this page. I need help. This is a iphone5. This was after I upgraded to ios7.

    It is hardly Apple's fault that Epson can't/won't update their driver, but at least Epson suggest that you use the Gutenprint driver, which in any case is far better that what Epson offer.
    You can get it here:
    http://gimp-print.sourceforge.net/
    You can download the latest version from here:
    http://sourceforge.net/projects/gimp-print/
    Have you downloaded the recent Apple update to Epson drivers?
    http://support.apple.com/kb/DL1398

  • I am trying to create a new itunes account and on the terms and conditions page the Agree button is permanently grey even when i have ticked the check box any ideas

    On my Macbook Pro running Lion - trying to create a new ITunes account and the Agree button on the Terms and condition page will not come active even after checking the box any ideas

    There isn't a way - at least not that I have found.  I'm having an issue with this as well - seems like a shoddy sort of business practice.  I refuse to enter my credit card number to download a FREE app.  I'm encouraging the user community that has a problem with this to please post your opinion as well.  I know this is a use community, but I have to think that Apple will take notice when an issue gets a lot of attention.  Apple needs to hear your voice.

  • HT4623 Hi, I am suck on the Terms and Conditions screen after the upgrade and have agreed, but I am not progressing further from this sceen after agreeing? What do I need to do?

    Hi, I am suck on the Terms and Conditions screen after the upgrade and have agreed, but I am not progressing further from this sceen after agreeing? What do I need to do?

    Have you tried resetting (Hold the Sleep/Wake and Home buttons and don’t let go until the screen goes dark and the Apple logo appears) and starting the set up again?

  • HT4623 I have done an iCloud download but now cannot get past the Terms and Conditions page, even after accepting.  It's just a revolving door!

    I have downloaded an updated version of iCloud but cannot get past the Terms and Conditions pages, notwithstanding accepting them.  Further, I cannot get back into iTunes.

    Since I do not know what you actually did maybe:
    http://syncor.blogspot.com/2013/09/ios7-and-missing-agree-button.html
    Otherwise:
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iCloud and delete the account from the iPod and then sign back in.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • TS1368 I can't seem to find the "I agree" button on the terms and conditions page, what can I do

    I can't seem to find the "I agree" button on the terms and conditions page after clicking on download on my ipad3, what do I do?

    If you are on the Downloads tab in the iTunes app on the iPad and you're just see the T's & C's link, then that means that you haven't got any outstanding downloads waiting - your content should have downloaded into either the Music or Videos app.

  • HT4623 During the update my ipad froze at the terms and conditions page. HELP!

    While updating to IOS 7, my Ipad froze at the Terms and Conditions page. Help!

    Reset iPad and try again.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • HT4623 I am in the process of updating my iphone4 to ios7 it seems to have updated but i can't go past the terms and conditions page even though I have agreed to them can anyone help

    I am in the process of updating my iphone4 to ios 7, it has completed the process but i can"t get past the terms and conditons page although I have agreed to them both - can anyone help?

    *** I HAVE THE ANSWER ***
    You must goto Settings > General  > Reset > Reset All Settings ... this worked 100% for me and once that is compelte go back and try to pass the terms and conditions, you will see the "agree" button in the bottom right hand corner

  • HT4061 My orange film to go has gone,when I go to iTunes I get the terms and conditions page but no film , help

    I downloaded an orange film to go, now I can't find it, when I try to download it again I get a message saying code already used. And in iTunes I only get the terms and conditions page

    Hi ... I'm having the same problem .... I've download a film
    From orange films to go , I've check in downloads it's
    Disappeared , I've check in iTunes for the film it's comes
    Up in the grey box that is downloaded .... Just can't find the
    Film to watch it ..... Need extra help please to find it .. I'm
    A very frustrated lady & disappointed that I can't  find this
    Film on my iPhone 4s  ..... Please help please

  • TS3988 I recently downloaded iOS 7 on my iPad but now can't get further than iCloud agreement. How do I get to use the iPad? it is stuck on the Terms and Conditions page!

    Greetings Friends!
    Could someone please help?!!!
    I cannot get my iPad to function... I recently downloaded (prompted) iOS 7. next, I forgot the ID for this iPad ... got confused ... now I asked for Email assistance but the iPad is stuck on the page for "Terms and Conditions".
    Please HELP!
    Rhont1996

    Hi Rhont1996!
    In order to troubleshoot this issue, you may need to restart or reset your iPad according to the instructions found here:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    You may also need to go to your Safari settings to make sure you are not blocking cookies:
    Safari settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPadabb26b71
    After making sure your Safari settings allow cookies, you may need to force Safari to close according to the instructions found here to solidify the change:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • HT1766 I Have tried to update to iOS 7 but the iPad has locked on the Terms and Conditions page .I cannot agree to the conditions.Ideas please on how to get the iPad working again.

    having attempted to upgrade to iO7 latest op system,the Ipad has stuck on the Terms & conditions page.It will not accept my agreement to terms and conditions or allow me to read them.
    Ideas please on how to get it to work again,which will have to be via my lap top!
    It sound as if the iPad is woking in the background-i.e.receiving eMails.

    Reset iPad and continue with update.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I am unable to get past the Terms and Conditions in the new update. I have hit agree several times but can not get past that part. What do I do next?

    I am unable to get past the terms and conditions part of the upgrade. I have hit agree several times. What do I do?

    Scroll down to the bottom of the terms and conditions, then the Agree button will light up and you can proceed.

Maybe you are looking for