Jumbled text using PrintWriter

Hi,
I'm using an instance of PrintWriter to occassionally output text to a file, but the text ends up messy and jumbled up.
Not on character level but text is not appended in a synchronous way. Things I outputted earlier gets overwritten and text written just before program termination ends up at the beginning of the file etc. I use print(...) and have tried flushing after each call to print, to no avail.
I'm not using any threads and there's just one object accessing the text file...
Any ideas what's causing this?

Maja wrote:
Any ideas what's causing this?Without your code, I don't have a clue.
Your best bet here is to show us your code. We don't want to see all of it, but rather you should condense your code into the smallest bit that still compiles, has no extra code that's not relevant to your problem, but still demonstrates your problem, in other words, an SSCCE (Short, Self Contained, Correct (Compilable), Example). For more info on SSCCEs please look here:
http://homepage1.nifty.com/algafield/sscce.html
Remember, the code must be compilable and runnable for us to be able to understand it fully.
Also, when posting your code, please use code tags so that your code will be well-formatted and readable. To do this, either use the "code" button at the top of the forum Message editor or place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
[code]
  // your code block goes here.
[/code]

Similar Messages

  • Mail attachments showing up as jumbled text

    Starting about a month ago, my school's IMAP account in Mail will randomly show just jumbled text when there should be an attachment, and I have to go onto the webmail server to download the attachment. It doesn't happen with my gmail POP account, so I don't know if it's a problem with IMAP versus POP, or a problem with the university's server, or something else.
    Any ideas on what I can do to stop this from happening?
    EDIT: I have the IMAP account set up on both my iBook and iMac. Oddly, I just noticed that one of the emails that showed the attachment as a jumbled mess of text on my iMac, showed up as the correct excel file attachment on my iBook. Looking back, this seems to happen every once in a while, but usually if one computer shows the attachment as jumbled text, the other does as well.
    Message was edited by: Mark Prinz
    Message was edited by: Mark Prinz

    I don't have an answer but I came here with the same issue. Everyone at my office (20 or so) uses Apple Mail with our Communigate Pro server via IMAP, but I'm the only one who consistently has this problem. I resolved it once by connecting from home over the Internet - all the broken mails fixed themselves by being re-downloaded. However this eats up bandwidth that we can't really spare.

  • Jumbled Text in PDF Graph Output

    Hi there,
    I have an unnusual problem with one of my BI Publisher templates. The template is an RTF Template and I'm trying to output to PDF. I'm using an external font which I have added to the two font folders on the BI Server and added the mappings in the BI Publisher admin tab.
    The template is set up as follows; page 1 of the template gives a summary for all data. It contains a table with four graphs below. Page two is in a for-each group and is identical in every way to page 1, other than it regroups the data by a particular field.
    The summary page displays fine, from what I can tell the external fonts embed correctly into the PDF (If I do Properties -> Fonts in the PDF the font is there as embedded. The problem is that the first graph on each page after the first has jumbled text. For example, page 1 the graph is titled *"Performance Summary"*, on page 2 this is *"Pfymtyparcf R ppay"*, page 3 is *"AeufruoSpae PooSu"*. The legend, title and axis lables are all like this. All other graphs are fine. There is a pattern to what is happening, for instance the axis on page 1 is 1-Sep 2-Sep 3-Sep 4-Sep... on page 2 this is )%Rfu -%Rfu 0%Rfu 3%Rfu and on page 3 it is )%Pet -%Pet 0%Pet 3%Pet.
    If I remove the first graph from the 2nd page, then this issue affects the second graph, if I remove the 1st and 2nd graphs, it affects the 3rd graph and so on. The XML for the graphs on page 2 is a copy of that from page 1 so I know it's not an issue with that. As there is a pattern to the jumbled-up-ness I suspect that it's a problem with BIP greating the glyphs in the PDF but I have no idea how to go about solving this.
    Another interesting thing is if I look at the fonts in the PDF file, along with my embedded fonts, there are a series of T3Font_0, T3Font_1,...,T3Font_12 fonts. These are the ones in use in the graphs.
    Any help with be much appreciated.

    I've worked around the issue by removing the external font from the graphs, however I would still like to understand why OBIEE fails to embed external fonts correctly in my reports.
    Many thanks

  • Jumbled text in web interface after updating Web Services / firmware

    I got a message on the screen of my Officejet 6700:
    Update Recommended
    An update is available for Web Services (ePrint and Apps).
    Do you want to proceed?
    I selected Update Now, and it installed fine, or so I thought.
    I checked the web interface for the printer, and find there is a bunch of jumbled text, like the code is messed up for the web server.
    I had just finished checking the status of ink cartridges (and subsequently replaced one), therefore I fortunately still have the fully functioning webpage open on another machine, so I can tell exactly what the before-and-after is on that one page.
    On the Tools > Ink Gauge page, on the good (old) page the table says (title, first row, first column):
    Installed Cartridges
    Color | Magenta | Cyan | Yellow | Black
    Part Number
    Type
    End-of-Warranty Date (Y-M-D)
    First Installation Date (Y-M-D)
    Ink Zone
    USE
    HP
    But after updating the software, it says this:
    Print Self Test Page
    L@S#0456 | Number of Logged Events | L@S#0462 | L@S#0552 | L@S#0450
    Accumulated Media Usage
    Date
    L@S#0477
    L@S#0561
    L@S#3345
    Also, the "Order Supplies" link, with a popup text of "Order printing supplies"
    now says "Ink Cartridge", with a popup text of 'Block unwanted faxes"
    And "Print Printer Status Report" now says "L@S#2567".
    I went to the support section, and found a firmware update, but upon downloading and running it, upon finding the printer, it says it is already Up-to-date, and won't let me select it to try and re-apply the firmware update (as that's evidently what going through the touchscreen menu has already done).
    Do I need to just restore to factory settings? I would think firmware wouldn't be changed by doing that. There isn't an old version of the firmware available on the product support page, to revert to an older version.
    Via the printer touchscreen menu, a printed Printer Status Report says the firmware version is MPM3CN1322DR.
    How do I force a re-install of the firmware, or get them to fix the firmware that was published on 2013-06-25?
    This question was solved.
    View Solution.

    michaelprang,
    You are unable to revert back or reinstall the firmware since it has already been downloaded and updated.
    Have you attempted to use a different web browser?
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Creating a long text using ABAP code.. fm SAVE_TEXT

    When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
    The text id details are as follows:
    Text Name       500000015000046  which is (5000000 + order number)
    Language        EN
    Text ID            KOPF         Order header text
    Text Object      AUFK       Order text
    If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
    Anyone know how i would go about creating this text using ABAP code?
    Hope this make a bit of sense
    Thanks in advance
    Mart

    I have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
    DATA: IT_TEXTS type standard table of TLINE,
           wa_texts like line of it_texts,
           wa_txtheader type THEAD.
    wa_txtheader-TDID     = 'KOPF'.
    wa_txtheader-TDSPRAS  = 'EN'.
    wa_txtheader-TDNAME   = '500000015000056'.
    wa_txtheader-TDOBJECT = 'AUFK'.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = SY-MANDT
        HEADER                = wa_txtheader
        INSERT                = 'X'
       SAVEMODE_DIRECT       = ' '
       OWNER_SPECIFIED       = 'X'
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      TABLES
        LINES                 = IT_TEXTS
    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.

  • HOW can I enter text using Japanese character sets?

    The "Text, Plates, Insets" section of the LOOKOUT(6.01) Help files states:
    "Click the » button to the right of the Text field to expand the field for multiple line entries. You can enter text using international character sets such as Chinese, Korean, and Japanese."
    Can someone please explain HOW to do this? Note, I have NO problem inputting Hirigana, Katakana, and Kanji into MS WORD; the keyboard emulates the Japanese layout and characters (Romaji is default) and the IME works fine converting Romaji, and I can also select charcters directly from the IME Pad. I have tried several different fonts with success and am currently using MS UI Gothic.ttf as default. Again, everything is normal and working in a predictable manner within Word.
    I cannot get these texts into Lookout. I can't cut/paste from HTML pages or from text editors, even though both display properly. Within Lookout with JP selected as language/keyboard, when trying to type directly into the text field, the IME CORRECTLY displays Hirigana until <enter> is pressed, at which point all text reverts to question marks (?? ???? ? ?????). If I use the IME Pad, it does pretty much the same. I managed to get the "Yen" symbol to display, though, if that's relevant. As I said, font selected (in text/plate font options) is MS UI Gothic with Japanese as the selected script. Oddly enough, at this point the "sample" window is showing me the exact Hirigana character I want displayed in Lookout, but it won't. I've also tried staying in English and copying unicode characters from the Windows Character Map. Same results (Yen sign works, Hirigana WON'T).
    Help me!
    JW_Tech

    JW_Tech,
    Have you changed the regional setting to Japanese?
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me
    Attachments:
    language.JPG ‏50 KB

  • When I send a text using siri the recipient shows that the text came from my email. How do I fix that so it show that the text came from my phone number and not my email address?

    When I send a text using siri the recipient shows that the text came from my email. How do I fix that so it show that the text came from my phone number and not my email address?

    Settings > Messages > Send & Receive > Start new conversations from:
    Only your phone number is selected.

  • Issue in retrieving Optenset text using FormattedValues

    I have a plugin, registered on create of record in post operation. From PluginContext, I got that entity record and tried to read the Optionset text using formattedvalues. But Formattedvalues for that field is not available though that optionset field has
    value. Below is the sample code snippet that I have used.
    EntityrecAppContract = context.InputParameters["Target"]
    asEntity;
    recAppContract.Contains(
    "vc_allocationtype") ? recAppContract.FormattedValues["vc_allocationtype"]
    : string.Empty;
    Earlier this code was working fine. But it is throwing error "the given key was not present in the dictionary" now.
    Please suggest some solution for this issue.
    Thanks

    The Target InputParameter does not include any data within FormattedValues. You can get the data through the Crm metadata, as Andrii suggests above, or you could do an additional Retrieve of the record (though this depends on whether the plugin runs on
    a pre or post step), which would return data in FormattedValues
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Purchse Order Text using SECATT

    Dear all
    I am using SECATT for material master uploading. I want to upload Purchase Order Text using SECATT
    Please suggest me how can  I upload same using SECATT.
    Vipin

    Hi,
    According to my knowledge with help of SECATT purchase order text cannot be uploaded. Because purchase order text is not stored in any table. Its better to follow BDC program to upload thr purchase order text. Ihope this will help you. thanks.

  • "Recognize Text Using OCR" Option Grayed Out in Acrobat 9 Pro (9.5.1)

    Running Adobe Acrobat 9 Pro.  I'm working with electronically filed court documents.  I regularly use the OCR tool (Document -> OCR Text Recognition -> Recognize Text Using OCR...) on these court documents.
    Problem is, every once in awhile, I'll run into a document where the "Recognize Text Using OCR" option is inexplicably grayed out.  I have no idea what is causing this.  I have checked the Document Properties and confirmed there are no security restrictions for the document.  It happens inconsistently, in that OCR will work with a document filed by an attorney in one case, but it won't work in the same kind of document filed by the same attorney in a different case.
    Any help getting OCR to work on these few rogue documents is appreciated!

    Form created with LiveCycle Designer are XML forms in a PDF wrapper and many of the usual PDF properties are not available. This is like embedded rich media in a PDF. If you want to research this, Adobe and ISO have the PDF Reference manual available as a free download.

  • Cannot export text using Acrobat 9 Pro

    Hello all,
    I have a .pdf file that I want to export as text using Acrobat 9 Pro.
    File / Export menu appears to offer this,  as does the help.   But mousing over the arrow to the right of the Export / Text menu
    brings up no options.  I can export as .ps if I want to,  but not text,  or html.
    Is this an installation option (I checked,  and I didn't see any option for this)?
    Or does the program refuse to export files with certain attributes?
    Or is my installation likely to be broken in some way?
    Best Regards,
    Adrian Stephens
    IEEE 802.11n Technical Editor

    You can typically use the copy&paste or use Save As. I am not exactly sure what you mean by export other than one of these two options as suggested in the complete help (I am on AA8 here). It may be that there is no text to export. A lot of the older IEEE pubs are simply scans with no text. You would have to OCR the paper to get the text to export in such a case. If you posted a sample file, maybe we could be of more help.

  • Upload Task List Operation long Text using SAVE_TEXT-Urgent

    Hi ,
    I am trying to create Task List Operation Long text using the function module ..
    SAVE_TEXT .I am passing the following keys
    Text Name       300ATEST057 0000000900000009
    Language        EN
    Text ID            PLPO Long Text
    Text Object     ROUTING    Texts for task list types
    But the long texts are not getting updated in the Task lists operations .
    Can anyone please suggest whether SAVE_TEXT will work for Operation long Texts or not Are we missing something
    .This is pretty urgent requirement .Award points are assured.
    Regards
    Sam

    hi,
    use function module create text
    check the sample code
    DATA: BEGIN OF itab OCCURS 0,
          asnum LIKE asmd-asnum, " Service No
          text(5000)  TYPE c, " Long Text
          END OF itab.
    *DATA: itab1 LIKE itab OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF itab1 OCCURS 0,
          asnum LIKE asmd-asnum, " Service No
          sequ  type i,          " Text Sequence
          text(5000)  TYPE c, " Long Text
          END OF itab1.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline. " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname, " Object Name
           dl_lan TYPE thead-tdspras. " Language
    Constants
    Object ID for Long Text of Service Master
    CONSTANTS:c_best TYPE thead-tdid VALUE 'LTXT',
              c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
    for file splitting.
    DATA: start TYPE i,
          len   TYPE i VALUE 92,
          totlen TYPE i,
          n TYPE i.
    PARAMETERS p_file LIKE rlgrap-filename."input file
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      LOOP AT itab.
        itab1-asnum = itab-asnum.
        CLEAR: totlen,n, start.
        totlen = STRLEN( itab-text ).
        n = totlen / len.
        n = n + 1.
        DO n TIMES.
          itab1-text  = itab-text+start(len).
          itab1-sequ  = sy-index.
          start = start + len.
          APPEND itab1.
        ENDDO.
      ENDLOOP.
      delete itab1 where text is initial.
      SORT itab1 BY asnum sequ.
      LOOP AT itab1.
        dt_lines-tdformat = '*'.
        dt_lines-tdline = itab1-text.
        APPEND dt_lines.
    Call the Function Module to Create Text
        AT END OF asnum.
          dl_lan = sy-langu.
          WRITE : / itab-asnum.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = itab1-asnum
            IMPORTING
              output = itab1-asnum.
          MOVE itab1-asnum TO dl_name.
          CALL FUNCTION 'CREATE_TEXT'
            EXPORTING
              fid         = c_best
              flanguage   = dl_lan
              fname       = dl_name
              fobject     = c_material
              save_direct = 'X'
              fformat     = '*'
            TABLES
              flines      = dt_lines
            EXCEPTIONS
              no_init     = 1
              no_save     = 2
              OTHERS      = 3.
          IF sy-subrc <> 0.
            WRITE:/ 'Long Text Creation failed for Service No'(001),
            itab1-asnum.
          ELSE.
            WRITE:/ 'Long Text Created Successfully for Service No'(002),
            itab1-asnum.
          ENDIF.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    in text file give first field records in capitals
    regards
    siva

  • Problem in populating PO item text using FM:SAVE_TEXT

    Hi All,
    I am having an issue with SAVE_TEXT FM,
    I need to populate the item text field:
    This FM works fine if the Item text field is blank and i am populating it with text, say "This is a test case",
    How ever if the text field is already populated say the item text field has "Testing", my requirement is i will append the new text to the previously existing, in this case it should come as "Testing This is a test case",
    For doing this i am reading the existing text using READ_TEXT FM and concatenating both the texts separated by space, and passing this to i_lines, how ever the O/P which i get in the text field is "Testing".
    Please advice.
    The cod is shown below:
    CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
        CLIENT                = SY-MANDT
         header                = t_head
         insert                = 'X'
         savemode_direct       = 'X'
        OWNER_SPECIFIED       = ' '
        LOCAL_CAT             = ' '
      IMPORTING
        FUNCTION              =
        NEWHEADER             =
        TABLES
          lines                 = i_lines
       EXCEPTIONS
         id                    = 1
         language              = 2
         name                  = 3
         object                = 4
         OTHERS                = 5.

    hi,
    once u use the save_text also
    with save_text u are updating the STXH table .
    there is one field in stxh table which is once updated shows the text in the sceen.
    or u can run a bdc put the default text where u want to put and afterwards when u use create_text and commit_text,u ll be able to see the text in the screen.
    regards
    kanishak

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

  • Issue with Capturing Long text using CALL METHOD EDITOR- GET_TEXT_AS_STREAM

    HI Experts,
    Standard Long text is capturing using CALL METHOD EDITOR->GET_TEXT_AS_STREAM
         but not working for Custom Long text – Only changes
    Here is the Issue:
    1)      Created Custom Long text in TAB. --> Good
    2)      Entered few lines in custom Long text  --> Good
             Click on Standard Tab , Leaving Custom tab and Custom Long text-->Good
    4)      In PAI of Custom Tab – Changes captured using CALL METHOD 1 ( See below Code 1)--> Good
    5)      Entered few lines in Standard Long text in Standard Tab -->Good
    6)      Click another Standard Tab
    7)      In PAI of Standard Tab – Changes captured using CALL MEHTOD 2 ( See Below Code 2)-->Good
    8)      Come back to Standard Tab / Standard Long Text , Enter few more lines.
    9)      Change the Tab , IN PAI of Standard Tab/Standard Text , Changes Captured using CALL METHOD2 ( See Below CODE 3) --> Good
    10)   Go to Custom Tab , Custom Long text , Entered few more lines--> Good
    11)   Click on any other tab, Triggered again PAI of Custom tab / Custom Long text using Call Method1 ( See Below Code 4) -->Good triggered PAI same CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM.
    12)   But additional lines are not captured , saying ZERO LINES in Internal Table and IF_MODIFIED = NO  -->Issues lies here.
    CODE1 ( Custom Long text entry capturing – First Few Lines )
    Custom Long text Entries are stored in LS_OUTTAB-TEXT first time when entered few lines and LV_MOD is 1.
    PAI of Custom tab
    CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
            EXPORTING
              ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=>TRUE
            IMPORTING
              TEXT                                       = LS_OUTTAB-TEXT ( FIlled with Lines entered in custom long text )
              IS_MODIFIED            = LV_MOD ( Value 1 , Modified )
            EXCEPTIONS
              ERROR_DP               = 1
              ERROR_CNTL_CALL_METHOD = 2
              OTHERS                 = 3
    CODE2 ( Standard Long Text Entry Capturing – First Few Lines )
    Standard Long text Entries are stored in SELECTED_TEXT first time when entered few lines and FLAG_MODIFIED is 1.
    PAI of Standard tab
       CALL METHOD EDITOR->GET_TEXT_AS_STREAM
          EXPORTING
            ONLY_WHEN_MODIFIED = YTRUE ( Value 1 , Modified )
          IMPORTING
            TEXT                               = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
            IS_MODIFIED        = FLAG_MODIFIED.
    CODE 3 ( Standard Long Text Entry Capturing – Second time Few Lines )
    Standard Long text Entries are stored in SELECTED_TEXT  second  time when entered few lines and FLAG_MODIFIED is 1.
    PAI of Standard tab
       CALL METHOD EDITOR->GET_TEXT_AS_STREAM
          EXPORTING
            ONLY_WHEN_MODIFIED = YTRUE
          IMPORTING
            TEXT                               = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
            IS_MODIFIED        = FLAG_MODIFIED. ( Value 1 , Modified )
    CODE4 ( Custom Long text entry capturing – Second Time Few Lines )
    Custom Long text Entries are not stored in LS_OUTTAB-TEXT Second Time when entered few lines and LV_MOD is 0.
    PAI of Custom tab
    CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
            EXPORTING
              ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=>TRUE
            IMPORTING
              TEXT                                       = LS_OUTTAB-TEXT  ( ZERO ENTRIES )
              IS_MODIFIED            = LV_MOD   ( NOT MODIFIED Flag )
            EXCEPTIONS
              ERROR_DP               = 1
              ERROR_CNTL_CALL_METHOD = 2
              OTHERS                 = 3
    Can anyone help me out of this.
    With Regards,
    Bala M

    Excellent Eitan,
    Here is what I am trying to Achieve.
    In Create Notification IW21 , They need 5 Long Text in Custom Tab ( Say Tab Name is MBR ).
    TAB1 NOTIFICATION Standard Information , TAB2 REFERENCE OBJ , TAB 3 MalFunction , Breakdown Standard one...... TAB 7 ( Custom Tab ).
    In Custom Tab , I added 5 LONG TEXT ( its 5 WHY Concept ).
    When the User enters data in 5 Long text , it should store long text along with Notification number when save.
    But Notification number will be generated @ the time of SAVE , but before that its just shows as
    %0000000001 ( and Number will be generated 1000065479) at Save.
    How to achive this .
    I did this:
    Added 5 Custom Container. and In PBO / PAI
      PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    IN PBO
       CREATE OBJECT TEXT_EDITOR1 ,    CREATE OBJECT TEXT_EDITOR2,    CREATE OBJECT TEXT_EDITOR3 like wise 5
       CALL METHOD TEXT_EDITOR1->SET_TEXT_AS_R3TABLE ,    CALL METHOD TEXT_EDITOR2->SET_TEXT_AS_R3TABLE .. Like wise 5 , So when the user Click on Custom Tab ( MBR ).
    It give 5 Long text.
    When he click tab1 or tab2 or tab3 .. and again tab MBR , still data is available.
    How to store this data for future retrival ( IW22 or IW23 ) ?
    Its working fine when I enter first time and goes here and there and finall save .
    IN SAVE BADI , I imported the Long text and created Standard Text SO10 with Notification Number with LONG1 , LONG2 .. means 1000065479LONG1 as standard text.
    But not working when I entered first time and go to tab1 and tab2 and then to MBR tab and added few more lines , its not exporting full lines and in IMPORT ( SAVE BADI ) giving ZERO Lines.
    Please help and thanks for your quick response.

Maybe you are looking for

  • Windows 8 Pro + Bitlocker lonely on a MacBook via Bootcamp

    Hello After some digging I was not able to found the answer neither via Google nor in some forums I looked into. So perhaps somebody out here knows an answer. I have a MacBook Alu Unibody late 2008 (MacBook5,1), that I do not use anymore. So to pass

  • Hit Count for a KM Folder

    Hi, Is there any way we can track the hit count for a particular folder in KM? Is there any particular default event where we can listen for this? Helps will be appreciated... Regards BP

  • Exchange mailbox size and OU

    Hi I found the following command but I need to add the OU the user account exists in.   Get-Mailbox testmailbox | Get-MailboxStatistics | Select-Object DisplayName,database, ObjectClass,TotalItemSize,lastlogontime I can get this information from Get-

  • Deleting Non-Contact email addresses

    How can I delete an email address that is not in my contacts. I entered an email address incorrectly and now every time I try entering a similar email address, the bad one shows up.

  • Nested THREADS!!!

    hi frens, i have made a thread say T1 for a class A which extends another class B. class B also has a thread T2. my problem is when i sleep thread T1, thread T2 is still running. but i want both of them to sleep. thread T2 is private so i cant access