Open and editor windown from a dialog screen.

Hi,
Does anybody know how to open an editor window to write large text notes (1,000 chars or more) from a dialog screen?
Then how this data is stored on a table?
I need to save large amounts of text and I have seen this on SAP transactions.
Any help will be appreciated.
Thanks,
Orlando.

Oh, I see.  I would not suggest using a sapscript editor. I would use the text editor that I mentioned early.  If you really want that functionality of the sapscript editor, you can do that.  Either way you will need to create a custom text object/id to save your text to the db.  Here is an example of using the sapscript editor.
report zrich_0002.
data: header type THEAD.
data: txt_lines type table of tline with header line.
header-TDOBJECT = 'AUFK'.
header-TDNAME   = '001000000001'.
header-TDID     = 'LTXT'.
header-TDSPRAS  = sy-langu.
header-TDLINESIZE = 70.
* First read the text, if there is any.
call function 'READ_TEXT'
  exporting
*   CLIENT                        = SY-MANDT
    id                            = header-tdid
    language                      = sy-langu
    name                          = header-tdname
    object                        = header-TDOBJECT
*   ARCHIVE_HANDLE                = 0
*   LOCAL_CAT                     = ' '
* IMPORTING
*   HEADER                        =
  tables
    lines                         = txt_lines
* 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.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
* throw editor, allow user to change
call function 'EDIT_TEXT'
  exporting
*   DISPLAY             = ' '
*   EDITOR_TITLE        = ' '
    header              = header
*   PAGE                = ' '
*   WINDOW              = ' '
    SAVE                = 'X'
*   LINE_EDITOR         = ' '
*   CONTROL             = ' '
*   PROGRAM             = ' '
*   LOCAL_CAT           = ' '
* IMPORTING
*   FUNCTION            =
*   NEWHEADER           =
*   RESULT              =
  tables
    lines               = txt_lines
* 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.
* When user comes back from editor, save the text
call function 'SAVE_TEXT'
  exporting
    CLIENT                = SY-MANDT
    header                = header
*   INSERT                = ' '
*   SAVEMODE_DIRECT       = ' '
*   OWNER_SPECIFIED       = ' '
*   LOCAL_CAT             = ' '
* IMPORTING
*   FUNCTION              =
*   NEWHEADER             =
  tables
    lines                 = txt_lines
* 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.
So for your case, you must create a custom Text Object and ID via SE75.
REgards,
Rich Heilman

Similar Messages

  • How to open and save pictures from 1 folder at the same time?

    Is there a way to open and save pictures from 1 folder at the same time?
    I'm creating a vi that resizes the picture but I want to do it with 1 folder at a time... Is this possible?
    greetings!

    Hi Kway,
    Here you are. I wrote a file a customer times ago & It did what you want!
    Just see the attachements and keep me inform.
    Regards,
    Julien Roland - District Sales Manager
    NI Belgium - Technical Support
    Don't forget to rate a good answer
    Attachments:
    Test existing Files.vi ‏23 KB
    Delete files from array of files (SubVI).vi ‏16 KB

  • I just set up a new computer running Windows 8.1. When I go to my icloud photostream, the pictures are in PNG format NOT JPG. When I open and upload photos from the photostream, the resolution is so low that the image quality is terrible. Help?!?

    I just set up a new computer running Windows 8.1. When I go to my icloud photostream, the pictures are in PNG format NOT JPG. When I open and upload photos from the photostream, the resolution is so low that the image quality is terrible. Help?!?

    Hey Sierra, You can do just what you have stated. My question, what is your "other"? If it is over 1.5 GB you most likely have corrupt files. Doing a Restore to New, Factory restore should correct it. Just make sure you make a full backup of all information on your iPod to your computer before you restore, so you don't lose your stuff, contacts, videos, pictures, non-iTunes music, etc, use the cable and connect with your computer. Then, via cable, connect to your computer, run the Restore to new, don't use your backup. Treat this iPod as if it was your first one ever. When restore is done, set up and add what info you wish to install on this iPod. The music apps etc you purchased should be on your computer, if not you should be able to retrieve purchased apps and music from iTunes. Any music, videos, apps not purchased from iTunes will be lost to you if you do not save them to your computer or the cloud first. When your done, make a current Backup and you should good to go. Hope this helps. Good luck. Cheers.

  • I updated to io7 and the photos from the welcome screen and the wallpaper are like too much zoomed thank you

    I updated to io7 and the photos from the welcome screen and the wallpaper are like too much zoomed thank you

    View your landscape photo with your phone in the upright position.
    Tap on the photo once so the background goes black
    Take a screenshot now by pressing the round button and the top button together.
    Go back into your photos and find this new screenshot - then apply this as your wallpaper. You should be able to resize it :)

  • Adobe LiveCycle opens and closes automatically from Acrobat 9 Pro

    I just upgraded to Adobe Acrobat 9 Pro because I wanted to use the LiveCycle form editor. When I try to open LiveCycle from Acrobat 9 Pro Forms menu tab, LiveCycle opens and then closes instantly.  I tried to open it several times but the same thing happened. Luckily I had an old form which was save as *.xpd which opened LiveCycle.
    Does anyone know what the issue is when trying to open LiveCycle from the Adobe 9 Pro Form tab? Thanks in advance.

    I can't answer as to why Designer is opening/closing in Acrobat, but you can open it by itself.
    The EXE file is located with the Acrobat install.   On my Win 7 its located in C:\Program Files (x86)\Adobe\Acrobat 9.0\Designer 8.2\FormDesigner.exe

  • I'm experiencing extremely slow response when attempting to open the control center from the lock screen, any suggestions?

    When trying to access the control center from the lock screen, it takes anywhere from 2 to MANY swipes to get a response.  Never opens on the first try.

    I'm not having the same problem, but there is a feature in the OS that attempts to discern from swipes to unlock and swipes to open control center. This is what you may be experiencing.

  • Help, how to open and display blobs from tables

    Dear all,
    I am trying to store ms-word files on a table using a blob column.
    Does anyone how to open the files and display them from a form using 9iAS?
    Thank you.
    Carlos.

    And there may be, but you won't likely find that here. Do some time searching Google and maybe you'll find code that someone was nice enough to make freely available, although I wouldn't count on it. Were i a programmer and took the time to read those docs and write the code, I'd want to be paid for my time. But there are a lot of programmers who swear by freeware! You may get lucky.

  • Opening and closing stock from mb5b

    Hi Experts
    I am writing a code which will display goods reciept, issue, transfer, etc according to movement type .
    I have done the coding but the problem is I am not getting the opening stock by period , I want to get sum (lbkum)  sum (salk3) into some formulae column .. I want to get the sum of lbkum from mbewh joining mseg,mkpf  as period -1
    ie if I select 04.03.2009 , I want the sum of stock from mbewh based on period -1 . so what formale I have to write
    to get the opening stock on the date selected . The date range is selected from mkpf .
    I want to get stock on whatever date selected from mkpf.
    SELECT SINGLE * FROM mardh
    WHERE matnr = p_matnr
    AND werks = p_werks
    AND lfmon = p_buper
    AND lfgja = p_gjahr.
    Regards
    Piroz

    you can get all data using MC.9 report
    here you can get opening and closing stock with values based on material, plant, storage location
    Kindly make sure while giving period
    here it will take period in month and year i.e if you want opening stock for April then you have to give it as 03.2008 to 03.2008 and closing as 04.2008 to 04.2008
    Regards
    Edited by: WISH on Apr 23, 2008 1:15 PM

  • Automator application: Rtf's converted from pdf's do not open and word files from same rtf's are blank--???

    I found directions for converting pdf's to word documents to facilitate editting.  The process used Automator by selecting
    pdf's to be converted to rtf's.  The resulting rtf file could then be saved as a word document.  The problem is that the resulting
    rtf's do not open and the saved word document opens blank.  What's the problem and the solution?

    mns579 is correct, but it is even more complex than that. To put it bluntly, the only thing a PDF is guaranteed to do is print. There is no guarantee that any PDF will convert into any format other than an image (for printing). Some PDFs are composed of actual text or vector data and those are nice to work with, but not commonly encountered. In fact, pretty much the only time you are likely to have a PDF in a format that can be easily converted is when you have the document in some other original format from which you made the PDF. And, if you have said original format, why do you need PDF?

  • The shutters on my camera on my iPod touch 4th gen don't open and stop me from using my camera

    When ever I turn on the camera app the shutters never open and I can use it because I can't see abut it and if I press anything it just freezes, it's rather annoying and makes me wish I did get the 4g touch seeing with out he camera working there is no real defference. Please help me, I'd rather of jot of spent my money for nothing D:

    Have you tried basics from the manual?
    iPod touch User Guide (For iOS 4.3 Software)
    restart, reset, restore

  • HT201210 How do I remove itune and charger icon from my iphone screen and allow access

    How can I remove itune and charger icon from my iphone 4s screen and allow access. While downloading the lastest version of iune my iphone was being charged. The phone do not allow access anymore.

    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    Miss Bspace wrote:
    How can I remove itune and charger icon from my iphone 4s screen and allow access. 
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    Then see Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • How to trap opening and closing of adobe print dialog?

    I'm working on a asp.net page with dynamically embedded pdf document in it.
    I'm using embedded  javascript to print the pdf document after a button click and some processing serverside.
    As you know print dialog doesn't open immediately and it takes some to open.
    And now I'm in a situation where I need to trap opening and closing events of pdf print dialog,
    as internet explorer doesn't wait for print dialog to be closed before returning the page control flow to my
    script and as a consequence the user will not be aware of opening print dialog and maybe perform other actions
    without printing.
    Thanks in advance for any HELP!

    I'm working on a asp.net page with dynamically embedded pdf document in it.
    I'm using embedded  javascript to print the pdf document after a button click and some processing serverside.
    As you know print dialog doesn't open immediately and it takes some to open.
    And now I'm in a situation where I need to trap opening and closing events of pdf print dialog,
    as internet explorer doesn't wait for print dialog to be closed before returning the page control flow to my
    script and as a consequence the user will not be aware of opening print dialog and maybe perform other actions
    without printing.
    Thanks in advance for any HELP!

  • How do I open and close VIs from within a VI?

    Ladies and gentlemen,
    I would like to use a VI to open and close other VIs based on user input.  Example:  The first VI will have text that reads:  "Does the car have heated mirrors?"  There will be two buttons: one for "YES" and the other for "NO."
    If the user hits the "NO" button, the current VI will close and a similar VI will open that asks the user the next question, "Are the mirrors lighted?" "YES" or "NO..."
    If the user hits the "YES" button, the current VI will close and another will open that will tell the user to "Activate the heated mirrors" and press a button that will say "NEXT."  At that point, that VI will close, and in two minutes another VI will open and ask the user "Is the driver's side mirror hot?" with another set of "Yes" or "No" buttons.  If the user presses "YES" we will have verified that the heated driver's side mirror is working properly and store that information somewhere .  If the user presses "NO", the VI will close and another VI will open with some kind of repair instruction and a button that says "RETEST" that will rerun the heated mirror test when repairs are completed.
    During the two minutes we are waiting for the mirrors to heat up the program should move on to the next question: "Are the mirrors lighted?" "YES" or "NO..."
    Does anyone know how to manipulate VIs in this way?  Please help!
    Drew

    Instead of opening and closing vi's, just create one main vi with a state machine architecture.  Search for examples on state machines to get a basic understanding of them.  This is pretty complex so I have written an example of how this could be accomplished.  The trick part was the 2 minute timer (my vi is set for 5 seconds for quick testing).  Each state produces a question, and depending on the answer, the next state is inserted into a queue.  You can add more states for more questions and answers.  Notice that the boolean buttons can be hidden if you just want to show one button (like Next) instead of two buttons (Yes and No).  Study the vi and let me know if you have questions.
    - tbob
    Inventor of the WORM Global
    Attachments:
    Q&A.vi ‏166 KB

  • BUG in PE 13- cannot open and save projects from PE11!!!!!!!

    For 1 month I'm requesting a TECH Support to resolve a BUG in Adobe Premiere Elements 13 that cannot load and save projects from PE11. I already provided all details several times (about my PC system & exact steps to reproduce a problem, etc) & posted in this PE forum as well.
    Adobe is the WORST company I have ever came across that shows NO SUPPORT for its clients. Not only they don't have a phone line, but lacking in providing its clients with other channels to contact Tech Support (if such exists??) via emails or a chat. It is unheard of that a company would SELL its products, collected money & then had NO responsibility to correct problems they introduced. SHAME on you! I will post this opinion in Facebook and everywhere. I will warn people they should beware on spending money on Adobe horrible products where a company refuses even support these products and where a company only relies  on common users who also already spent money and now experiencing all sort of problems. Unbelievable!
    Adobe team, if you are not helping with resolving your last bugs, you should at least send me a link for the old PE11 that I could finish my projects. I hope that someone will finally contact me

    Please see- http://barbarabrundage.com/2010/11/29/using-photoshop-elements-9-with-iphoto/
    Thanks
    Andaleeb

  • How to open a brfplus Catalog from abap webdynpro screen.

    How to open a catalog from abap web dynpro application. and also what roles are to be provided to a user for restricting access only to the objects in the given catalog.

    Hi Pratik,
    do you use NetWeaver 7.0, Enhancement Pack 2 (or higher)?
    Then you can then define an own UI mode class and set it via SET_UI_MODE( ) in IF_FDT_WD_UI_EXECUTION before you call EXECUTE_CATALOG_BROWSER().
    An explanation how to define a UI mode class is available in the chapter "Configuration through a UI mode class (7.0/7.1 EHP2)" of the document [Embedding a BRFplus Object in an ABAP WebDynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50e44bf9-9135-2d10-2ea2-b13e5be8661d]
    Hint: With help of the interface IF_FDT_WD_USER_CONFIGURATION you have the possibility to hide views in the navigation view by using the respective, listed parameters (e.g.. GC_PARAMETER_FAVORITES_VIEW). Please be aware of that the configuration is just available to adapt the UI, it does not fulfill the requirements to act as an authority concept. If you do not set the parameter GC_PARAMETER_HIDE_SETTING_DLG of the interface IF_FDT_WD_CONFIGURATION to false, the user is also able to change it via the configuration dialog in the BRF+ workbench.
    With the current available BRF plus standard authority concept you can prevent that the user can see the content of objects like applications but you have no influence to prevent the user from seeing UI artifacts like the repository tree. Please consult the documentation to learn more about its capabilities.
    Kind Regards,
    Marco

Maybe you are looking for