Facing a problem with standard text in custom program

Hi,
As per my requirement i need to create a standard text (transaction code s010 ) in custom program using below code. But when click save button then it needs to be come out of the screen without click back button.
CALL FUNCTION 'CREATE_TEXT'
    EXPORTING
      FID         = G_THEAD-TDID
      FLANGUAGE   = G_THEAD-TDSPRAS
      FNAME       = G_THEAD-TDNAME
      FOBJECT     = G_THEAD-TDOBJECT
      SAVE_DIRECT = 'X'
      FFORMAT     = '*'
    TABLES
      FLINES      = I_TLINE
    EXCEPTIONS
      NO_INIT     = 1
      NO_SAVE     = 2
      OTHERS      = 3.
  IF SY-SUBRC <> 0.
  ELSE.
    CALL FUNCTION 'EDIT_TEXT'
      EXPORTING
        HEADER        = G_THEAD
        SAVE          = 'X'
      TABLES
        LINES         = I_TLINE
      EXCEPTIONS
        ID            = 1
        LANGUAGE      = 2
        LINESIZE      = 3
        NAME          = 4
        OBJECT        = 5
        TEXTFORMAT    = 6
        COMMUNICATION = 7
        OTHERS        = 8.
    IF SY-SUBRC <> 0.
    ENDIF.
  ENDIF.
Can you please help me how to do this
Regards
nag

But when click save button then it needs to be come out of the screen without click back button.
can you explain me, what do you mean by that.
~satya

Similar Messages

  • Problem with sending text messages replies

    After update to OS 3.0 I have problem with sending text messages:
    - I CAN send new text message to someone but
    - When someone REPLY me, then I CANNOT send next message in conversation
    - If I DELETE someone's reply from that conversation text message sends fine.
    Anyone have this problem? I have iPhone 3g with OS 3.0 update, previously on 2.x the problem didn't appear. Carrier Orange in Poland

    no my girlfriend, was useing my old N75, now she is useing her old phone last night and today. we have been texting with no problems at all. ..so i'm back in the iphone, and we're going to get her a new phone tonight,or she's going to use one of my other back-up phones till we get one for her. called at&t today to see if she could get an early upgrade before oct. just to make me happy with all the BS i've been through (10 hours or more on the phone trying to fix the problem). but at&t came through with their great customer satisfaction!!! NOT!!! so, gonna try and get her a good phone out of contract and see after hers and mine are up might just jump from at&t. very unhappy with them as how they handled this whole thing.

  • Problems with importing text messages from PC Suit...

    Problems with importing text messages from PC Suit 7.1.18.0 to my Nokia 5800
     I am trying to import a csv file that contains text messages (Note that this file was created using PC Suit 7.1.18.0) to a subfolder that I have created to My Folders but PC Suits only imports the text messages to the Draft folder. Note that initially it shows that the messages are import in the correct folder but after a refresh it shows them in the Draft Folder. Is their any setting that I should change in the PC Suit or the phone? My computer runs on Windows XP Service Pack 3 and the Nokia 5800 was upgraded to the latest firmware v20.0.012
     Thanks for your help

    Most phones only allows importing of draft and archived box for SMS.
    To do a restoring, you need to backup the SMS as a .nbu file using PC Suite and restore later.
    If you got an SD card, you can also do a backup on the SD Card (backup.arc) then restore later (reset and restore: backup.arc and mmc).
    What's the law of the jungle?

  • Problem with iChat changing my custom away message after 30 minutes

    Lately, I've been having a big problem with iChat changing any custom away message that I put up to "Away" after 30 minutes or so. Is there anything I can do to make it stop? Another issue I'm having is that sometimes when people on my buddy list change their away message, it doesn't show up on iChat unless I go offline and then sign back on. Any idea why it's doing that, and what I can do to get it to stop?
    Thanks.
    - Danielle
    G3 iMac   Mac OS X (10.3.9)  

    Hi ienjoyanime,
    Go to the General Section of iChat Preferences.
    Does it say you are set to Go to Away when you log off/QUit iChat ?
    is the computer going to Sleep at this point ?
    10:59 PM Saturday; April 1, 2006

  • A problem with copying text from english pdf to a word file

    i have a problem with copying text from english pdf to a word file. the english text of pdf turns to be unknown signs when i copy them to word file .
    i illustrated what i mean in the picture i attached . note that i have adobe acrobat reader 9 . so please help cause i need to copy text to translate it .

    Is this an e-book? Does it allow for copying? It is possible that the pdf file is a scan of a book?

  • Problem with selecting text in Adobe Reader XI

    Hi all, I am encountering a problem with Adobe Reader XI and it is very strange I could not find an alike issue on the internet so I guess I have to submit a question with it.
    So here it is, I am using Adobe Reader XI Version 11.0.2, operating system: Windows 7. I do not know it starts from when but it has the problem with selecting text - to be copied in pdf documents. I ensure that the documents are not scanned documents but word-based documents (or whatever you call it, sorry I cannot think of a proper name for it).
    Normally, you will select the text/paragraph you want to copy and the text/paragraph will be highlighted, but the problem in this case that I cannot select the text/paragraph, the blinking pointer (| <-- blinking pointer) will just stays at the same location so I cannot select/highlight anything to be copied. It happens oftenly, not all the time but 90%.
    This is very annoying as my work involves very much with copying text from pdf documents, I have to close the pdf file and then open it again so I can select the text but then after the first copying or second (if I am lucky), the problem happens again. For a few text I have to type it myself, for a paragraph I have to close all opening pdf documents and open again so I could select the paragraph to copy. I ran out of my patience for this, it causes trouble and extra time for me just to copying those texts from pdf documents. Does this problem happen to anyone and do you have a solution for this? I would much appreciate if you could help me out, thank you!

    Yeah,  I totally agree, this is very strange. I have always been using Adobe Reader but this problem only occurred ~three months ago. It must be that some software newly installed I think. But I have no idea.
    About your additional question, after selecting the texts and Ctrl + C, the texts are copied and nothing strange happens. It's just that right after I managed to copy the texts, it takes me a while to be able to select the texts again. For your information, I just tested to select the texts and then pressed Ctrl, the problem happened. And then I tried pressing C and then others letters, it all led to the problem.
    I guess I have to stick with left-clicked + Copy until I/someone figure the source of this problem. Thanks a lot for your help!

  • Problem with append += text in Text Field

    Hi guys
    i have a problem with append text.
    I have one array which contain some city names, like CityArea=["NAME 1", "NAME2" ...etc];
    Then i have one String and one Text Field.
    Using for loop im getting right results. But when im running script again then im getting  same text again.
    F.ex.
    First time:
    City name: Name 1
    City name: Name 2
    Second time:
    City name: Name 1
    City name: Name 2
    City name: Name 1
    City name: Name 2
    I have tried to make TextField to and String to Null and delete it, but it's appearing again.. :/
    How to avoid this?
    Here is script:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    _CityAreaTF1 = new TextField();
      _CityAreaTF1.border = true;
      _CityAreaTF1.wordWrap = true;
      _CityAreaTF1.multiline = true;
      _CityAreaTF1.selectable = false;
      _CityAreaTF1.antiAliasType = AntiAliasType.ADVANCED;
      _CityAreaTF1.name = "CityAreaTF1";
      _CityAreaTF1.embedFonts = true;
      _CityAreaTF1.htmlText = _CityAreaString1.toUpperCase();

    I think i found why.
    There was no problem with TextField.
    There was a problem with Array. "CityArea"
    So each time I executed script it added new string in Array. And that is because i got like:
    TextField
    City 1
    City 2
    City 1
    City 2
    Running this script is Ok:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    But outside of this for loop there is another for loop for adding Cities in CityArray.
    I fixed it by adding empty array at the start of function
    function myFunc():void
    CityArea = [ ]; // Empty array fixed this issue
    // LOOP FOR ADDING SHOPS IN CITY AREA
    for (var j:int = 0; j < _Shops; j++)
    CityArea.push(_Shop);
    // FOR LOOP TO ADDING SHOPS IN STRING
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    Thank you for your help kglad

  • CS3 - Problem with dynamic text -

    Hello,
    I have a problems with my text, when i write a few ligne inside a dynamic text box, if i selec the text and by the way drag it down the first line goes up and disapear. Is there any way to solve this?

    This is the Flash Player forum; please post your question in the appropriate product forum.

  • I am facing some problem with my ipod videos

    I am facing some problem with my ipod videos

    Because many apps are not compatible with your old device
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.
    Starting when iOS 7 was released, Apple now allows downloading the last compatible version of some apps (iOS 4.2.1 and later only)
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • I have migrated from London to New Delhi and i am facing some problem with my iPhone 4s and i am not able to setup a repair .My phone is in under warranty too. Can anyone tell whats the matter?

    I have migrated from London to New Delhi and i am facing some problem with my iPhone 4s and i am not able to setup a repair .My phone is in under warranty too. Can anyone tell whats the matter?

    The warranty is NOT international. You must take it back to the country of origin if it needs repair. The E.U. is considered a single country for warranty purposes.

  • Problem with the text from previous year in current year appraisal (PPR)

    Hi Gurus,
    I have some problem with the text from the PPR of the previous year in the PPR current year.
    The text from the previous year have not the same displaying in the tab "previous year" of  the current year PPR.
    EXAMPLE :
    this is write in the PPR of year 2009 in Individual Targets without Incentives (tab My S-imple) :
    -Aufrechterhaltung der MA motivation, in dieser Zeit der Neuorientierung.
    -G1 Unterstüzung
    -Fachübergreifende Teamarbeit ausbauen
    Gefährdungsbeurteilung weiter führen
    -tragen von PSA einfordern
    -VI Opt.(Intervalle)
    -Azubi und Praktikanten AUsbildung unterstüzen
    and this is what I have in the PPR of 2010 in Individual Targets without Incentives (tab Previous Year's Targets):
    -Aufrechterhaltung der MA motivation, in dieser Zeit der-Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    there is the error, all the end of the text isn't displayed and the begin of the text is repeated.
    I think that this issue is created at the creation of the PPR.
    If someone have a idea he is welcom.
    thanks and regards

    Hi,
    Please follow the note:425601,
    Go to Tcode: OBA5 change the error messge into warning message. carry out the settlement and roll abck the warning message into the error message after sucessfull settlement.
    Reward points if found useful.
    Thanks!

  • We have 'CS6' version of Adobe. We are facing a problem with 'Acrobat Pro'. Every month that is stop working and everytime need to install. Kindly help us regarding solving this problem...

    We have 'CS6' version of Adobe. We are facing a problem with 'Acrobat Pro'. Every month that is stop working and everytime need to install. Kindly help us regarding solving this problem...

    Your Acrobat is running in Trial Mode.  Try this KB: Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    If it doesn't work you need to contact Adobe Support for assistance.

  • Facing a problem with my iphone 4s

    facing a problem with my iphone 4s

    my icloud account not access from my cell phone.
    message occur
    Varification Failed
    the certificate for this server is invalid,.you might be connecting to a server that is pretending to be ''setup.icloud.com'' which could put your confidential information at risk.

  • HT1296 I am facing a problem with my iPhone 4. I applied the first syncing with outlook 2007 by choosing the "merge" option. At the end of the process, some contacts are correctly sync, but most are only sync with the names. Numbers are lost. Any suggesti

    I am facing a problem with my iPhone 4. I applied the first syncing with outlook 2007 by choosing the "merge" option. At the end of the process, some contacts are correctly sync, but most are only sync with the names. Numbers are lost. Any suggestion?

    I would love to do this as well. All I need is my calendar appts from outlook. Right now I am using google calendar sync, but I would like to move to the cloud and away from google. I find it hard to believe there isn't an option to do this.

  • Premiere Elements 13 , Problems with new text/titles

    Premiere Elements 13, bisher keine Probleme. Nachdem die Filmlänge etwa 15 Minuten beträgt immer größere Probleme Titel/texte einzugeben. Wartezeiten sind extrem lange oder Programm stürzt ganz ab.

    High ATR,
    Computer running on Widows 7 ,64 Bit System, Service Pack 1, Processor AMD Phenom(tm) X4 945 3.00 Ghz;RAM 8 GB
    Grafikkarte: NVIDIA GeForce 8800 GT
    If the video on the timeline is longer than 10 minutes the problem will be remarkable. The response times adding a title is getting longer(2-15 seconds).
    As the video is now 18 minutes the response time is after each action(resizing of letters or any changes of the text) up to 30 seconds or the program crashes completely.
    Project settings are the following:
    General HD 1080i; 29,97frames/second; Video:1920v 1080 H, 30 fps
    Video: maximale Bittiefe, Dateiformat i-frame only mpeg, Kompressor MPRG i-Frame, Standbilder optimieren
    The video is a mixture  of full HD videos 1920x 1080 .mov and pictures up to 4608x3456 pixels.
    When the program crashes I remarked that the main memory RAM(8Gb) was fully used by the premiere program. Might there be a problem?
    Thank you for your service.
    thomasd
    Von: A.T. Romano 
    Gesendet: Sonntag, 1. Februar 2015 23:55
    An: Thomas Deschler
    Betreff:  Premiere Elements 13 , Problems with new text/titles
    Premiere Elements 13 , Problems with new text/titles
    created by A.T. Romano <https://forums.adobe.com/people/A.T.+Romano>  in Premiere Elements - View the full discussion <https://forums.adobe.com/message/7151822#7151822>

Maybe you are looking for

  • Can't Sync New Nano: "The disk could not be read from or written to."

    I just got a new nano for Christmas, but can't seem to sync it with iTunes. I updated all the software, reset, restarted, restored, and all the rest, but it still gives me the same error whenever I try to sync it: "Attempting to copy to the disk "{Ip

  • HELP!!! AT THE END OF MY ROPE!!!

    I've tried "restore to factory settings" with no avail. I am tempted to "Erase all data and petitions" but will that also mean that the system recovery petition will also be erased? I don't want that but I don't know what else to do!

  • Error Saving

    When I try to save the Captivate 4 file I am working on I get the following error, "Unable to save the project. You do not have permission to save to this location or the file may be locked by another user. Please check your security privileges or tr

  • Cannot UNINSTALL Premiere

    Hi All of a sudden I cannot start up Premiere Pro CS3. So I went to Add/Remove programs, and opened up the Master Collection repair window, and that's when it got really weird... If I try to INSTALL Premiere, it's greyed out saying "Already Installed

  • Blackberry Tour Browser Internatio​nal Germany

    Hey there I bought a BB Tour from the US and I live in Germany. I am able to make phonecalls and write text messages. But the internet broweser doesn't work. I read a lot of forums -> bought a MSL code and now I can make changes on the "CDMA Service