Reference/repeat one piece of text to another

Hi all
I have a Pages document, filled with text in which I've added an invoice number e.g. 123456.
This invoice number should be repeated in a table cell somewhere on the lower side of the page. I would like to see this done automatically, since the invoice number changes with every invoice, of course.
Same story goes for the sum of a calculation. I'd like to see this particular outcome repeated once again in a cell (as described above).
So, how do I go about? Any suggestions are more than welcome.
Elzy

PeterBreis0807 wrote:
That can be done 2 ways which Yvan might better be able to instruct you.
You perfectly know that I'm reluctant to repeat what is available in the User Guides.
These resources where not written to fill our Hard Drives but to help us to find by ourselves the responses to our problems.
What you wrote is the B. A. BA to tables/spreadsheets use.
If someone is unable to discover and understand that from the Guides, better to use a pencil and a sheet of paper !
Yvan KOENIG (from FRANCE mardi 16 juin 2009 13:56:14)

Similar Messages

  • Link to specific text from another web page

    Hello all
    Is is possible to link from one page to a specific piece of
    text in another web page in the same site? I have tried named
    anchor, hyperlink, etc but it just goes to the page rather than the
    text. I don't know if I am attempting the impossible. Can you help?
    Thank v much.

    > This also has a css rule so this 9pt thing is left over
    from copy and
    > pasting
    > from Word. I have it cleaned up as you suggested but I
    still have:
    > <span style="font-family:Arial; font-size:9.0pt; is
    there way of avoiding
    > this?
    It depends on your settings for how you copy/paste. See your
    PREFERENCES
    for those. I don't get such things because my settings are
    'tight' in that
    they are restrictive to what stying is carried into the page.
    > How I do this in a nav bar?
    Change this -
    .nav {
    font: bold normal 14px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    font-weight: bold;
    a.nav:link {
    font: normal 12px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    text-decoration: none;
    a.nav:visited {
    font: normal 12px/normal Arial, Helvetica, sans-serif;
    text-transform: none;
    color: #003300;
    text-decoration: none;
    to this -
    .nav {
    text-align:center;
    .nav a {
    font: bold normal 12px/normal Arial, Helvetica, sans-serif;
    color: #030;
    font-weight: bold;
    text-decoration:none;
    margin-right:35px;
    and then change this -
    <div align="center"><a href="index.html"
    class="nav">Home</a>       <span
    class="nav">About
    Us</span>      <a
    href="impact_HE.html" class="nav">Impact of HE
    Proposal</a>      <a
    href="purpose_ED.html"
    class="nav">The Purpose of
    ED</a>      <a
    href="procedures.html"
    class="nav">Procedures </a>     <a
    href="what_can_we_do.html" class="nav">What Can We
    Do?</a></div>
    to this -
    <div class="nav"><a
    href="index.html">Home</a><a
    href="about_us.html">About
    Us</a><a href="impact_HE.html">Impact of HE
    Proposal</a><a
    href="purpose_ED.html">The Purpose of ED</a><a
    href="procedures.html">Procedures</a><a
    href="what_can_we_do.html">What Can
    We Do?</a></div>
    But an even better way would be to make the menu an unordered
    list, like
    this -
    <ul>
    <li><a
    href="index.html">Home</a></li>
    <li><a href="about_us.html">About
    Us</a></li>
    <li><a href="impact_HE.html">Impact of HE
    Proposal</a></li>
    <li><a href="purpose_ED.html">The Purpose of
    ED</a></li>
    <li><a
    href="procedures.html">Procedures</a></li>
    <li><a href="what_can_we_do.html">What Can We
    Do?</a></li>
    </ul>
    And use this CSS -
    .nav {
    text-align:center;
    .nav ul {
    list-style-type:none;
    margin:0;
    padding:0;
    overflow:hidden;
    .nav li {
    float:left;
    width:150px;
    margin-right:5px;
    border-right:1px solid green;
    .nav a {
    font: bold normal 12px/normal Arial, Helvetica, sans-serif;
    color: #030;
    font-weight: bold;
    text-decoration:none;
    If you want to make the current page look like it doesn't
    have a link, then
    do this -
    <ul>
    <li><a href="index.html"
    id="home">Home</a></li>
    <li><a href="about_us.html" id="about">About
    Us</a></li>
    <li><a href="impact_HE.html" id="impact">Impact
    of HE Proposal</a></li>
    <li><a href="purpose_ED.html" id="purpose">The
    Purpose of ED</a></li>
    <li><a href="procedures.html"
    id="procedure">Procedures</a></li>
    <li><a href="what_can_we_do.html" id="what">What
    Can We Do?</a></li>
    </ul>
    and add this to each page (use the proper ID) -
    a#about {
    cursor:default;
    /* any other styles you want to make the current page show
    > I am being a complete idiot today (maybe it's because
    it's Sunday) Can you
    > talk me through this.
    Make the changes manually in code view.
    If you are getting the idea that you will need to ramp your
    HTML and CSS
    skills to do this stuff, you are right on target!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dottydog" <[email protected]> wrote in
    message
    news:[email protected]...
    > Dear Murrray
    > Thank you very much for your comments.
    >
    > Can I ask you the following:
    > 1. p.MsoNormal {
    > Using Microsoft Word to build an HTML page is not
    advisable. Use DW only
    > or
    > clean up the Word markup
    >
    > This also has a css rule so this 9pt thing is left over
    from copy and
    > pasting
    > from Word. I have it cleaned up as you suggested but I
    still have:
    > <span style="font-family:Arial; font-size:9.0pt; is
    there way of avoiding
    > this?
    >
    > 2.
           <span
    class
    > Using non-breaking spaces as a layout tool is not
    advisable. Use CSS
    > margins/padding instead..
    >
    >
    > 3. This is not a named anchor point. It is not even a
    link. For that you
    > would need -
    > <p style="font-family:Arial,helvetica,sans-serif;
    font-size:small; "
    > id="BDBC">What we have said to
    B&amp;DBC</p>
    >
    > I am being a complete idiot today (maybe it's because
    it's Sunday) Can you
    > talk me through this.
    >
    > Thank you very much for your time. Much appreciated.
    >
    >
    >
    >
    >

  • How do you pass vi references from one event to another

    I have a vi which gets vi references (thereby loading the vi's into memory) for all the vi's in a given directory when a user clicks a button on the front panel. To do this I use an event structure. My question is whether it is possible to have another event (user button on the front panel) which unloads the vi's from memory. I have tried passing the vi references that are initially generated to the close reference function but whenever I do I get a 'vi reference invalid' error. Does this have to do with trying to pass the vi references between one event and another? If I use a local variable simply pass a reference to another indicator and then probe it, the originally-generated refnum and the local vari
    able refnum match up. However once I try to wire that same indicator to the close reference function I get the 'vi reference invalid' error. Is there a different/better way to unload the vi's from memory based on a user button click? Any suggestions would be welcome.
    Jason
    Attachments:
    Load_Directory_of_vi's.vi ‏57 KB

    Several problems with your code:
    1... Bad idea to use lights as buttons. Yes it can be done, but it's not "natural".
    2... If you've gotta do that, set their mechanical action to "LATCH WHEN RELEASED"
    3... Because of #2, you are getting TWO copies of every array when you click the LOAD VIs light (er... button).
    4... No need for the conversion from path to string and back - use BUILD PATH to append each file name to he folder path.
    5... Set the BROWSE OPTIONS on your PATH control to EXISTING DIRECTORY to allow browsing of directories, not files.
    6... Your code doesn't care whether the file is a .VI file, or a .ZIP file, or a .TXT file, or what. Use the PATTERN input on the LIST function to discriminate.
    7... Your code is only storing the latest refer
    ence, not the array of references.
    8... An ERROR DIALOG on the OPEN REFERENCE function will tell you that you're getting an error. Why? You are asking to prepare a non-reentrant VI for reentrant execution (why use options = 8?)
    9... Because of #8, the latest VI reference is invalid.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Text Track font is missing on one computer, but not on another

    I brought in a text track into my QT movie, then saved the whole thing as "self-contained". The font that I set for the text track (with QT descriptor) is Verdana. The problem is that on one computer, the text shows up fine, yet on another laptop, the text shows up as a bunch of boxes instead of characters.
    I know that laptop has Verdana as a font on the system, so I am not sure what's going on.
    has anyone had that problem before?
    Thanks!

    I use a lot of text tracks in my "movies". Since mine are made on a Mac I also use Mac "specific" fonts for some of them. When viewed on a PC the Mac only font always defaults to an appropriate substitute and no one is the wiser.
    If there is an issue with a PC only font it should also revert to a similar substitute.
    Other issues could be a corrupt font or even duplicates or a conflict.
    You may want to experiment a bit with some text track QT files.
    Create your plain text (.txt) file and import into QuickTime.
    Export it (with text descriptors) back to a text file so you can edit the font. Make a few versions and test the file onvarious computers (Mac and PC).
    More info:
    http://www.apple.com/quicktime/tutorials/textdescriptors.html

  • How to copy and paste text from one photo book page to another.

    hello,i downloaded this software 2days ago,and i've been having so much fun with it. pls i need help on how to copy and paste text from one photo book page to another. Secondly how to copy my completed photo book pages project to another laptop for printing. thanks
    This question was solved.
    View Solution.

    Hi DG.
    The easiest way to copy an HP Photo Creations project to another computer is to click the Share button. That will upload the project to the Web and give you a link you can paste into an email. Clicking the link on the other computer allows you to download the project and personalize it. This quick video shows the process. (The screen looks slightly different now, but the concept is the same.)
    Another way to share a project is copy the project folder to a thumb drive. Look in Documents/HP Photo Creations/My Things to find your saved projects.
    Our customer support team would be happy to walk you through the process. Contact them at [email protected]
    Hope this helps,
    RocketLife 
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • How to create a text field (multi-line) that starts on one pages but finishes on another?

    Hi,
    I would like to create a multiline text field that the field starts on one pages but finishes on another?
    Here is an example of what I want. The text starts in the top of the box (1st box) and would continue in the bottom box (2nd box).
    I have Adobe Acrobat X (version 10.1.1) on Windows 7. I know I could use Live Cycle to create an expandable but I need to import this form to Adobe Form Central after therefore Live Cycle isn't an option.
    Thanks in advance for everyone's help!

    Hi,
    I found a possible solution to my question which is working OK with form central (http://forums.adobe.com/thread/303650)
    Here are the limitation of that option (that I found out so far):
    it cuts in the middle of the word you are writting when switching to the next box
    you can't copy and paste a long text
    if you remove text from the first box i won't move text from the second box back up
    you can't go back with your cursor from the second box to the first (e.g. to edit you text)
    Any other ideas of how I can get that done?
    Thank you!

  • Does anyone know, if I can place the footnote text in another textframe without losing the cross references?

    does anyone know, if I can place the footnote text in another textframe without losing the cross references?

    Bleib sachlich Django, deine persönliche Meinung interessiert nicht. Wenn du nix zu sagen hast, dann bitte raushalten.
    Von meinem Windows Phone gesendet

  • When I text one person, It goes to another person...however, the name that I'm trying to text shows the number i'm trying to text. Also, my texts are sent through my email...why?

    When I text one person, It goes to another person...however, the name that I'm trying to text shows the number i'm trying to text. Also, my texts are sent through my email...why? The text preview shows up as the person I did NOT want to text, but when I open it, it shows the person I DID want to text.

    sms's are charged by the sms internet data is charged by megabyte
    so apple make their message system so sms's sendt while connected to the internet were
    sendt by email to the contact rather then by the more expensive sms option

  • How to pass a "Button" reference in one swf to anthor swf file?

    Dear all:
    Please let me describe my problem first.
    In my application, there are two swf files:"sender.swf" and
    "receiver.swf"
    A button named "re_Button" is in "receive.swf", and now i
    wanna operate the "re_Button" through the "sender.swf".
    How to do this?
    Can I access the "re_Button" reference through another swf
    application??
    And I've tried the "locaconnection" class, but it doesn't
    help.
    AnyOne helps me?
    Thanks in advance -_-

    I tried the localconnection class:
    1).Sender.as:
    private var send_tf:TextField;
    private function sendMessage(event:MouseEvent):void {
    conn.send("myConnection", "lcHandler",send_tf); // to send
    the "send_tf" reference to the "Receiver"
    2). Receiver.as
    public function lcHandler(tf:Object):void {
    tf as TextField ==null // here, i find that the "send_tf" is
    not a "TextField" any more!!!!!!!!!!!!!!!!
    I wanna operate one instance reference in one swf from
    another swf.
    Is it possiable??
    Thanks in advance.

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

  • Can you use multiple plugins on one piece of media?

    can you use multiple plugins on one piece of media?
    ...so for example have one plugin for a UI control bar, another for tracking, and another for advertising?
    If this is possible how? What types of plugin would each plugin be and what sort of media element would be required?
    Or is this not the correct approach? If not what would the correct approach be?
    Thanks in advance for support.

    I have got this plugin to set it's proxiedElement.
    To do so, I needed to follow David_RealEyes advice too.
    But I still can not acheive what I set out to find out, all I was trying to do was trace the current time of the videoElement, to begin to understand how plugins work. Can anyone advise please? Thanks in advance for support.
    I thought to acheive this I would just need to add  a listener for like this:
    dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE,  onTimeChange);
    Then write the function like this:      
    private function onTimeChange(e:TimeEvent):void
                 trace('**********onTimeChange: '+ e.time)
    ...But this doesn't work.
    What am I doing wrong?
    Here's the class now for the TraceListenerProxyElement
    package
        import org.osmf.elements.*;
        import org.osmf.events.*;
        import org.osmf.media.*;
        import org.osmf.metadata.*;
        import org.osmf.traits.*;
        public class TraceListenerProxyElement extends ProxyElement
            public function TraceListenerProxyElement(wrappedElement:MediaElement)
                trace('TraceListenerProxyElement')
                super(wrappedElement);
            // Overrides
            override public function set proxiedElement(value:MediaElement):void
                trace('override set proxy')
                trace('value: ' + value)
                if(value)
                   super.proxiedElement = value;
                   trace('proxied element set')
                   enableListeners()
                super.proxiedElement = value;
                trace('proxied el: ' + proxiedElement)
            private function enableListeners():void
                trace('enableListeners')
                dispatcher = new TraitEventDispatcher();
                dispatcher.media = proxiedElement;
                dispatcher.addEventListener(AudioEvent.MUTED_CHANGE, processMutedChange);
                dispatcher.addEventListener(AudioEvent.PAN_CHANGE, processPanChange);
                dispatcher.addEventListener(AudioEvent.VOLUME_CHANGE, processVolumeChange);
                dispatcher.addEventListener(BufferEvent.BUFFER_TIME_CHANGE, processBufferTimeChange);
                dispatcher.addEventListener(BufferEvent.BUFFERING_CHANGE, processBufferingChange);
                dispatcher.addEventListener(DisplayObjectEvent.DISPLAY_OBJECT_CHANGE, processDisplayObjectChange);
                dispatcher.addEventListener(DisplayObjectEvent.MEDIA_SIZE_CHANGE, processMediaSizeChange);
                dispatcher.addEventListener(DRMEvent.DRM_STATE_CHANGE, processDRMStateChange);
                dispatcher.addEventListener(DynamicStreamEvent.AUTO_SWITCH_CHANGE, processAutoSwitchChange);
                dispatcher.addEventListener(DynamicStreamEvent.NUM_DYNAMIC_STREAMS_CHANGE, processNumDynamicStreamsChange);
                dispatcher.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, processSwitchingChange);
                dispatcher.addEventListener(LoadEvent.BYTES_TOTAL_CHANGE, processBytesTotalChange);
                dispatcher.addEventListener(LoadEvent.LOAD_STATE_CHANGE, processLoadStateChange); 
                dispatcher.addEventListener(PlayEvent.CAN_PAUSE_CHANGE, processCanPauseChange);
                dispatcher.addEventListener(PlayEvent.PLAY_STATE_CHANGE, processPlayStateChange);
                dispatcher.addEventListener(SeekEvent.SEEKING_CHANGE, processSeekingChange);
                dispatcher.addEventListener(TimeEvent.COMPLETE, processComplete);
                dispatcher.addEventListener(TimeEvent.DURATION_CHANGE, processDurationChange);
                dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, onTimeChange);
                proxiedElement.addEventListener(MediaElementEvent.TRAIT_ADD, processTraitAdd);
                proxiedElement.addEventListener(MediaElementEvent.TRAIT_REMOVE, processTraitRemove);
            private function onTimeChange(e:TimeEvent):void
                trace('**********onTimeChange: '+ e.time)
            private function processAutoSwitchChange(event:DynamicStreamEvent):void
                trace("autoSwitchChange", event.autoSwitch);
            private function processBufferingChange(event:BufferEvent):void
                trace("bufferingChange", event.buffering);
            private function processBufferTimeChange(event:BufferEvent):void
                trace("bufferTimeChange", event.bufferTime);
            private function processComplete(event:TimeEvent):void
                trace("complete");
            private function processCanPauseChange(event:PlayEvent):void
                trace("canPauseChange", event.canPause);
            private function processDisplayObjectChange(event:DisplayObjectEvent):void
                trace("displayObjectChange");
            private function processDurationChange(event:TimeEvent):void
                trace("durationChange", event.time);
            private function processLoadStateChange(event:LoadEvent):void
                trace("loadStateChange", event.loadState);
            private function processBytesTotalChange(event:LoadEvent):void
                trace("bytesTotalChange", event.bytes);
            private function processMediaSizeChange(event:DisplayObjectEvent):void
                trace("mediaSizeChange", event.newWidth, event.newHeight);
            private function processMutedChange(event:AudioEvent):void
                trace("mutedChange", event.muted);
            private function processNumDynamicStreamsChange(event:DynamicStreamEvent):void
                trace("numDynamicStreamsChange");
            private function processPanChange(event:AudioEvent):void
                trace("panChange", event.pan);
            private function processPlayStateChange(event:PlayEvent):void
                trace("playStateChange", event.playState);
            private function processSeekingChange(event:SeekEvent):void
                trace("seekingChange", event.seeking, event.time);
            private function processSwitchingChange(event:DynamicStreamEvent):void
                trace("switchingChange", event.switching);
            private function processVolumeChange(event:AudioEvent):void
                trace("volumeChange", event.volume);
            private function processDRMStateChange(event:DRMEvent):void
                trace("drmStateChange", event.drmState);
            private function processTraitAdd(event:MediaElementEvent):void
                trace("Trait Add: " + event.traitType);
            private function processTraitRemove(event:MediaElementEvent):void
                trace("Trait Remove: " + event.traitType);
            private var dispatcher:TraitEventDispatcher;

  • I have the new iOS 7 and am getting texts from another family members phone and they are getting mine how do I disable this without changing accounts

    I have the new iOS 7 and am getting texts from another family members phone and they are getting mine how do I disable this without changing accounts

    Welcome to the Apple Community.
    You could simply set each device to only use a single telephone number (settings > messages > send & receive, but this isn't really an ideal solution since the other person can always change their settings and see your messages and send messages that appear as if they are from you. There is only one real solution and that's to have your own accounts.

  • How do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that,

    how do I create 2 motion tweens for one line of text?  the text needs to "fly-in-right", I can do that, then it needs to "fly-out-bottom" again, I can do that, but not on the same line of text...any ideas...

    my question
    1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
    2- how can create manual process to fetch row into specific items in page ( i tray these code
    SELECT col1, col2, col3 ....
    INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
    FROM table
    WHERE id = :P_id ) but no data retrieve .
    I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
    ORA-01403: no data found : Unable to fetch row multiple automated row fetch
    On your second question, the manual process should work provided:
    P_ID has a value when the process executes. You can do it this way:
    i. Make this process as a on-load After/Before header process
    ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • How to create a text editor, the one like header text in PO

    Dear Ones,
    My requirement is that I want to create a text editor for storing terms and condition plant wise.
    The editor should be the one like header text in PO. It can take end number of lines.
    I created the text object ('TERMS') in table ttxob and text for it in table ttxot.
    Also created text id ('L000' and 'L001') in table ttxid and text for it in table ttxit.
    Now using FM read_text, save_text and edit_text, I have written a program but it does not save the data.
    When I run the program initially it displays me blank, then I enter some data into it. Again when I come back it displays the data and also saves the edition. But if I close my session the data is gone.
    It means it is not actually saving the data in database. My code is as below:
    *& Report ZAK_TEXT_EDITOR
    REPORT zak_text_editor.
    DATA : head TYPE STANDARD TABLE OF thead WITH HEADER LINE,
           line TYPE STANDARD TABLE OF tline WITH HEADER LINE.
    DATA : tdname TYPE thead-tdname.
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text-001.
    SELECTION-SCREEN : SKIP 1.
    PARAMETERS       : id TYPE thead-tdid OBLIGATORY
                               MATCHCODE OBJECT zak_textid.
    SELECTION-SCREEN : SKIP 1.
    SELECTION-SCREEN : END OF BLOCK blk.
    START-OF-SELECTION.
      CONCATENATE 'TERMS' id INTO tdname.
      head-tdobject   = 'TERMS'.
      head-tdname     = tdname.
      head-tdid       = id.
      head-tdspras    = sy-langu.
      head-tdlinesize = 132.
      APPEND head.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = id
          language                      = sy-langu
          name                          = tdname
          object                        = 'TERMS'
        ARCHIVE_HANDLE                = 0
        LOCAL_CAT                     = ' '
      IMPORTING
        HEADER                        =
        TABLES
          lines                         = line
       EXCEPTIONS
         id                            = 1
         language                      = 2
         name                          = 3
         not_found                     = 4
         object                        = 5
         reference_check               = 6
         wrong_access_to_archive       = 7
         OTHERS                        = 8.
      IF sy-subrc <> 0.
        CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            client                = sy-mandt
            header                = head
          INSERT                = ' '
          SAVEMODE_DIRECT       = ' '
          OWNER_SPECIFIED       = ' '
          LOCAL_CAT             = ' '
        IMPORTING
          FUNCTION              =
          NEWHEADER             =
          TABLES
            lines                 = line
         EXCEPTIONS
           id                    = 1
           language              = 2
           name                  = 3
           object                = 4
           OTHERS                = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'EDIT_TEXT'
        EXPORTING
        DISPLAY             = ' '
        EDITOR_TITLE        = ' '
          header              = head
        PAGE                = ' '
        WINDOW              = ' '
          save                = 'X'
        LINE_EDITOR         = ' '
        CONTROL             = ' '
        PROGRAM             = ' '
        LOCAL_CAT           = ' '
      IMPORTING
        FUNCTION            =
        NEWHEADER           =
        RESULT              =
        TABLES
          lines               = line
       EXCEPTIONS
         id                  = 1
         language            = 2
         linesize            = 3
         name                = 4
         object              = 5
         textformat          = 6
         communication       = 7
         OTHERS              = 8.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    CONSTANTS:
      line_length TYPE i VALUE 254.
    DATA: ok_code LIKE sy-ucomm.
    DATA:
    Create reference to the custom container
      custom_container TYPE REF TO cl_gui_custom_container,
    Create reference to the TextEdit control
      editor TYPE REF TO cl_gui_textedit,
      repid LIKE sy-repid.
    START-OF-SELECTION.
      SET SCREEN '100'.
          MODULE USER_COMMAND_0100 INPUT                                *
    MODULE user_command_0100 INPUT.
    CASE ok_code.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
    The TextEdit control should only be initialized the first time the
    PBO module executes
      IF editor IS INITIAL.
        repid = sy-repid.
      Create obejct for custom container
        CREATE OBJECT custom_container
          EXPORTING
            container_name              = 'MYCONTAINER1'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            others                      = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      Create obejct for the TextEditor control
        CREATE OBJECT editor
          EXPORTING
             wordwrap_mode          =
                    cl_gui_textedit=>wordwrap_at_fixed_position
             wordwrap_position      = line_length
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
            parent                  = custom_container
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            others                 = 6
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT

Maybe you are looking for

  • Problem with DB2 database connection.

    Hello, I configured a DB2 connection. Was also able to create all the view objects. When I run my application using jdeveloper embedded oc4j I am getting the following error: (The connection is already created and the test is successful. I have also

  • How can I stop iTunes in Windows 7 from coming to front when I am importing by inserting a CD?

    I've set iTunes (latest version as of this message) to "Import CD and eject" because I'm batch importing my CD collection. There's a delay of several seconds between when I insert a CD (after the last one was ejected) and when iTunes begins importing

  • 10g: Invoking a web service asynchronously from BPEL

    Hello, I am trying to figure out a good, generic method for making a previously synchronous web service asynchronous and changing the way in which it is invoked from BPEL. I am using SOA Suite 10g (10.1.3.5) As I understand, one possible method to ac

  • Advice on saving report configurations

    Hey everyone. I'm looking for some feedback on saving a report configuration.   Basically I will have a series of drop downs for a report to be generated.  For example on a downtime report, the user wants to generate 10 charts in the report, first ch

  • .Folio File Format

    Hi DPS Community, I need some clarification on the titled. A couple of years ago, Adobe announced that they were going to offer the .Folio file format for free. Off the back of the news that Adobe are doing away with Single Edition via Creative Cloud