Regarding Saving of LONG TEXT in QP02/QP03

Hi All,
I am saving the long texts for Inspection Characteristics using SAVE_TEXT.
The Text is getting saved but i am not able to see it in Display (QP03).
To see it in display I need to Save the text first in QP02 and then it is available in QP03.
I tried using COMMIT_TEXT after SAVE_TEXT..but it's not happening.
Your help is needed on this.
Regards,
Priyanka

Hi
one way to upload the long text is to run a bdc.... in BDC check the long text and put the default data in the text with the length greater than 40 characters ........now use  the create_text to upload the long text with the data u need to upload with....
second one in uploading the BOM header i had also updated a field LTXSP in table STKO for those BOM's..this field is required to be updated for the display of long text in BOM.....
Similarly u can also find the field in the table for Inspection plan.....i m sory i dnt know much about inspection plan....but there also a similar logic can be applied....can u tell me about the table u are using to update the QP02
kanishak

Similar Messages

  • Short coming in BAPI for saving Document Long Text

    Hello Experts,
    I would be thankful to you if anyone of you offer a solution to the problem below.
    I have found that the tables parameter LONGTEXTS of function BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT) could include the field TDFORMAT so that the user can specify how the next line should be interpreted by the editor.  This would be in accordance with the tables parameter LINES of function SAVE_TEXT which is used to save long text.  Currently only the text line is catered for in the BAPI and the TDFORMAT is therefore defaulted to u2018*u2019 in the SAVE_TEXT function which causes each line in the table to be treated as a new line. 
    What if the user wanted the lines to be treated as continuous text?
    With Best Regards,
    Mientjie Ferrie

    Hi,
       1. From se37, check for function group STXD
    2. There will be many Fm.
    3. The commonly used are
    READ_TEXT
    EDIT_TEXT
    SAVE_TEXT
    Regards

  • Problem in viewing long text in QP03

    Hi
        Facing a strange problem while trying to upload long text in QP01 using SAVE_TEXT.
    the long text is getting uploaded properly
    an entry is inserted in STXH with object, id, name, etc.
    but when i try to view the long text in QP03 txn. (Display), there is no icon for view long text
    when i go back to QP02 in change mode, the icon for long text (Create long text without horizontal lines embedded on it) exists, after clicking it am able to see the long text and if i am saving the plan while leaving the txn, then again if i see the same plan in display mode (QP03), i am able to see the long text icon and the long text by clicking it..if and only if i view manually every long text in QP02 and save while coming out the txn., I am able to see the long text icon and the long text in QP03.
    Is it any setting problem or where am i wrong?
    Sathish. R

    hi
       r u sure? bcoz the program was running fine with long text viewable in QP03 all this time
    Sathish. R
    Message was edited by:
            Sathish

  • ECC5.0 Long text Problem in QM02

    Hi friends,
    when i am create Item long text in Qm01 when i am reading the text in from FM read_text in tlines my structure is
    tdofrmat ,tdline
             text1(72)
    =          text1(72)
             text2(59)
    after saving the long text and when i am trying to read in QM02 mode ,with same FM i am getting as.
    tdofrmat ,tdline
    X>         * text1(72)
    X>         * text1(72)
    X>         * text2(59)
    Hope u under stand my problem.
    How to Indentify which line is continous to which one,where the word was splitted.i searched FM's but i didn't get.i tried with "Newline" by refering Class No result.Gurus kindly Provide the solution......
    In Advance Thanks...

    Hi,
    Did you try this:
    text1(72)
      text1+72(72)
    text2(59)
    Regards.

  • Tracking of Service master LONG TEXT changes

    Hi ,
    I know we have functionality to track changes made in a Service master thru Change Documents .... but it doesn't show the changes made in SERVICE MASTER long text.
    How can we see those changes ?
    Regards
    shrey

    Changes to long text are not stored in CDHDR/CDPOS tables.
    You can only see that there was a change, but not what was changed in detail.

  • Copy Long text of a notification to its Follow-up Notification

    Hi,
    Need clarification on
    Copying of PM-Notification Long text to the Long text of its Follow-up Notifcations.
    Regards,
    LSK.

    Hi lalitha
    Pl go through the below link for details regarding copy of long text
    http://help.sap.com/saphelp_47x200/helpdata/en/af/cb5447461411d189f20000e81ddfac/frameset.htm
    Regards
    Suhas

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • Error while saving Long Texts

    Hello
    We are using SRM7 Extended classic scenario.
    We don't use shopping carts, rather create POs directly in SRM which will be transferred to ECC as per the standard.
    Error:
    I am getting an error "Error while saving Long Texts" during my PO creation. I get this message in a small pop-up screen. As soon as i click ok or close the pop up screen it kicks me out of the PO creation screen back into the main SRM screen.
    When:
    During the PO Creation
    Any specific situation:
    Yes, only for Material POs
    This is happening when I am creating the PO with a Material code. I can create free text PO without any issues.
    This is a standard message and the message number is 022.
    Thaks for the help guys.

    Hi,
    To confirm can you check commeting "getOADBTransaction().commit();" gives any error message?
    If yes then you can try the following option:
    Have you checked whether the "/" is changed to "\" in the dbc file?
    In the following two entries the slash has to be made as shown below:
    APPS_JDBC_URL=jdbc\:oracle\:thin\:@(DESCRIPTION\=(ADDRESS_LIST\=(LOAD_BALANCE\=YES)(FAILOVER\=YES)(ADDRESS\=(PROTOCOL\=tcp)(HOST\=10.100.503.6)(PORT\=1521)))(CONNECT_DATA\=(SERVICE_NAME\=VIS)))
    JDBC\:processEscapes=true
    Thanks and Regards,
    Lacman

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus,
    Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
    We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
    In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
    It's quite common requirement, hope someone can help me. Thanks.
    Best regards,
    Sun Qiang

    Hi All,
    Thank for your reply.
    After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    It works in Enhancement PPCO0007.
    This call can be closed. Thanks.
    BR
    Qiang

  • Saving long text

    Hi experts,
    Iam working on dialog programing and i have requirement to save two long texts at a time.
    I put the long texts(custom controls) in tab strip control(container1,container2).
    My problem is while saving....
    1)if i enter data only in first container the data is getting saved.
    2)If i enter data in second container it is getting saved.
    3)But if i enter data in both the containers, <b>only second container data is getting saved.</b>
    What might be the reason? What iam doing wrong?
    (commit text written after the save_text.)
    Reward guaraneed
    thanks
    kaki

    Hi Kaki,
    Include the logic to save data from TAB1 under SAVE of Tab2.
    CASE ok_code.
        WHEN 'SAVE'.
          t_rhead-tdname = ag_no.
          t_rhead-tdid = 'Z001'.
          t_rhead-tdspras = sy-langu.
          t_rhead-tdobject = 'ZAGREEMENT'.
          CALL METHOD rem->get_text_as_stream
            IMPORTING
              text = rem_tab[].
          LOOP AT rem_tab.
            t_remk-tdformat = '/'.
            t_remk-tdline = rem_tab.
            APPEND t_remk.
          ENDLOOP.
          PERFORM SAVE_TEXT.
          CALL FUNCTION 'COMMIT_TEXT'.
      ENDCASE.
    <b>This is tab2 container2 code</b>
      CASE ok_code.
        WHEN 'SAVE'.
          CALL METHOD notes->get_text_as_stream
            IMPORTING
              text = notes_tab[].
          IF flag_cont2 = 1.
            LOOP AT notes_tab.
              t_notes-tdformat = '/'.
              t_notes-tdline = notes_tab.
              APPEND t_notes.
            ENDLOOP.
          ENDIF.
          t_nhead-tdname = ag_no.
          t_nhead-tdid = 'Z002'.
          t_nhead-tdspras = sy-langu.
          t_nhead-tdobject = 'ZAGREEMENT'.
          PERFORM save_text.
          CALL FUNCTION 'COMMIT_TEXT'.
    <i><b>* To updated Tab1, when SAVE is clicked on TAB2</b></i> 
    <b>  t_rhead-tdname = ag_no.
          t_rhead-tdid = 'Z001'.
          t_rhead-tdspras = sy-langu.
          t_rhead-tdobject = 'ZAGREEMENT'.
          CALL METHOD rem->get_text_as_stream
            IMPORTING
              text = rem_tab[].
          LOOP AT rem_tab.
            t_remk-tdformat = '/'.
            t_remk-tdline = rem_tab.
            APPEND t_remk.
          ENDLOOP.
          PERFORM SAVE_TEXT.
          CALL FUNCTION 'COMMIT_TEXT'.</b>
      ENDCASE.
    Best regards,
    Prashant
    Message was edited by: Prashant Patil

  • How to create a long text in VF01 before saving the document

    Hi,
      Im tring to create a perfama invoice with the help of delivery number and document type (F8) , by pressing the enter key im going to the second screen, once i get into the second screen im suppose to get the Header text and Item text, i.e long text for both header and item..
    Can u please help me to solve this issue.
    Thanks,
    Reni

    Hi
    Generally in the Sales Flow all the Header and Item texts from sales order are copied into Delivery when it is created and when you create a Invoice using that delivery all those texts are copied into the invoice. check with functioanl consultant once and see.
    We can also create/upload  the texts explicitely using the fun modules
    CREATE_TEXT and SAVE_TEXT .
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Problem in Saving long texts from IC Webclient

    Hi,
    I have a little problem with BP long text transfert.
    In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note).
    I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->text).
    If I create a accounting note directly in CRM, it is transfert to ECC !!
    The transaction PITX is customized in ECC.
    I work with CRM5.0 and ECC6.
    What I missed ?
    Gaétan

    Hi Gaétan,
    Maybe the BDOC BUPA_MAIN responsible to export the change to ECC is not being created when you make the change in IC Webclient.
    Can you confirm it in SMW01? Try to make a change in a partner long text in IC webclient, and check if the bdoc was sent to R3.
    Then try it in BP t-code, and check it again.
    If this is the problem, maybe you should contact OSS suport.
    Kind regards,
    Garcia

  • Saving/Commiting the Long Text

    Hi,
    I am trying to save the long text created in a Z Transaction (Table Control). While saving it, I am getting the message as “Text Saved". But It is not actually stored in SAP. I am not sure, what is that I am missing. I am using the SAP Standard Routine to Save the Long Text. I am also calling the FM: COMMIT_TEXT explicitly after the long text is saved. Can any one please suggest me, what should I do to commit the long text in SAP?
    Appreciate Your Help.
    Thanks,
    Kannan

    May be my earlier post was confusing, I was asking you to set the Insert parameter to SPACE and the Savemode_direct to 'X' and see if it works or not.  I had the same issue and resolved it using the above parameters.  Also try and see if Srinivas's suggestion in the following thread:
    Problem with SAVE_TEXT FM
    hith
    Sunil Achyut

  • Query regarding COPY OF FBL5N : No items selected (see long text)

    Dear All,
    Currently i am executing FBL5N report and it is ok.
    Now i have copied FBL5N program to ZFBL5N.
    Now the issue is when i am trying to execute ZFBL5N, this messge comes and report not generated in some cases.
    "No items selected (see long text) ".
    This error has not come for all cases but just for few cases and i have tried to found out the case,
    and i found that, whenever we maintain vendor in control data tab of XD02(Change Customer : general data) then only above message has come.
    Now i am not getting one thning, Why FBL5N not giving above error because i have copied the program and nothing difference in both code then why ZFBL5N giving error and FBL5N generate report and what should i do for above error.
    Please help regarding this matter
    Regards,
    Shivam.

    Dear Nabheet,
    I have debugg, code is same for both cases becuase i have just copied now.
    Although, i have debugg also and i have seen in coding, when program goes in perform form "read_vendor_items" and in that perform, there is written function, call function 'LDB_PROCESS'
    . Now when i going during debugg time,
       call function 'LDB_PROCESS'
        exporting
          ldbname                     = 'KDF'
          expressions                 = it_dyn_texpr[]
        tables
          callback                    = it_callback
          selections                  = it_selscreen
        exceptions
          ldb_selections_error        = 1
          ldb_selections_not_accepted = 2
          free_selections_error       = 3
          callback_no_event           = 4
          callback_no_program         = 5
          callback_no_cbform          = 6
          others                      = 7.
    After pass this function moduel in case of ZFBL5N, it_pos table is not filled but in case of FBL5N, it_pos table is filled one record and that record also shown.
    But code is same but different only program name.
    Now what can you suggest.
    Regards,
    Shivam.

  • Saving long text - problem

    Hi,
    I am having a long text which has 10lines.. i need to save that long text from a file using migration.
    first i need to store that text in a field for of an internal table & then save it in a long text ..
    can any one help me out in providing the soln/alternatives to fix this..
    Pls. do the needful.
    thanks
    john

    Hi John,
    From what I know about long text in SAP is that they are stored based on ID, Object and Language. First you probabaly need to set them using tcode SE75(Change / Add New Object and ID)
    Then in your program you can use several FM that process long text.
    My favorite is
        CALL FUNCTION 'LANGTEXT_ONLY'
             EXPORTING
                  object           = *Object
                  object_nr      = *Object_no
                  spras           = *language
                  txtid              = *ID
                  x_xaktyp      = *aktyp
               save_mode   = 'X'
               text_history  = 'x'
               text_property = 'x'
             IMPORTING
                  ind_inv       = *line
                  inv_exist     = *exist
             TABLES
                  t_inlines     = t_linetab.
    This FM will call longtext editor and also set the mode
    aktyp = H => create new,
    aktyp = V => change
    aktyp = A => read only
    Another useful FM is READ_TEXT and SAVE_TEXT. Try to experiment with it and see any documentation for detail.
            CALL FUNCTION 'READ_TEXT'
              EXPORTING
                id              = *ID
                language  = *Language
                name        = *Name
                object        = *Object
              IMPORTING
                header    = t_headltx
              TABLES
                lines     = t_linetab
              EXCEPTIONS
                not_found = 1.
            CALL FUNCTION 'SAVE_TEXT'
              EXPORTING
                header          = t_headltx
                savemode_direct = 'X'
              TABLES
                lines           = t_linetab.
    Hope it helps
    Regards
    Hadi

Maybe you are looking for

  • Linebreak Code in Character Mode Report

    Dear All I m saving a Character Mode Report which is 132 column Wide, and i can access that report in Note Pad in proper format and alignment but when i m use WORDPAD, it open in un aligned format i mean with line break. so any one can give me any Id

  • BUG: JSP disappears from design view with MyFaces / Tomahawk

    Hi, When I try to create a JSF JSP in design view (as opposed to code view) using MyFaces and Tomahawk 1.1.3, the design view will blank and display "Type, paste or drag and drop content onto this blank....". This usually happens after I've dragged h

  • Play a QuickTime file with eight separate audio channels

    I'm trying to play a QuickTime file with eight separate audio channels but they only play in stereo......  the same QT file will play all 8 channels separately in Qlab, which has separate level controls for each channel, and which "sees" my Digidesig

  • TRANSFORMATION STARTS AGAIN, WHEN I RESTART THE COMPUTER OR ENABLE THE CAPTURE PROCES

    Hello all, I am using a Transformation function which is invoked by Capture process whenever a delete is performed on source table, then Transformation function collect the required data from LCR and stores in some other local table. When capture pro

  • Query Cost GL_JE_LINES

    Dear All, Im working on R12.1.1 and Database Version is 11.1.0.7. . . There are more than *33326139* in GL_JE_LINES Table and its cost is *228155*. I want to reduce its cost because the queries and reports which are using this table is performed very