Lonf text update in Transcation

Hi,
I am uploading  long text in IA05 transaction.
Using function modules SAVE_TEXT, COMMIT_TEXT.
The text gets updated in the database i can see the text through READ_TEXT fm.
But when i m going in the transaction i m not able to see the text.
Please suggest me whats the problem & the solution for it.
Thanks
Kapil

Hello,
I prefer to do a recording to register the LT in LSMW.
I would navigate in the transaction to get the LT editor (Line editor) and enter a * in the tag of second line & save the transaction where the LT gets registered and later update the LT by SAVE_TEXT FM.
Hope this helps.
Best Regards, Murugesh AS

Similar Messages

  • Problem in Material master sales text update

    Hi,
      I have make the LSMW for uploading material master sales text update by using standad batch / direct input object 001 program /SAPDMC/SAP_LSMW_IMPORT_TEXTS  but as the formate of NAME required is as below
    Materila code  18 Char             SALES ORG 4 CHAR      DIS. CHANNEL 2 CHAR   total 24 char    but  in our system  some material code is only 6 CHAR  e.g  ABCXYZ   now when we pass the value for name
    ABCXYZ            SORGDC ,  it works  OK  we have to add blank spaces  between material code asnd sales organuization  so that total lenght of material should be 18 char  so is there any option  for this  insted of addin gblank spaces  because  for each material code lenght is diffrent  due to external number range .
    regards,
    zafar
    Moderator Message: Search before you post. If you fail to get an answer, type a question, spell-check it and post it here.
    Edited by: kishan P on Feb 16, 2011 4:47 PM

    from http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
    Text Entry Area 
    Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
    To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
    Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents.

  • Header text updation at the time of IP10

    When the user converts the maintanence plan for PRS at the time of IP10 the user wants to know the below
    1. Need to get the prs number in the footer so that immediately he can not it down
    2. They have some specific text to be updated in the PRS where while converting that in to po the same will get reflected in the PO print previe
    at the time of creation of PR itself the same text need to get updated in PR header text and as well as in the item level

    PRAVANESH TN,
    You post isn't clear...
    I'm assuming that a PRS is a purchase requisition??
    And where is this text coming from?
    PeteA

  • BDC for Purchase order text updation in MM02 Transaction

    Hi ALL,
    I am updating purchase order text of a material in MM02 using BDC program.
    I have done recording, and the program is updating text if the text field already contains some value. but,
    when the field is empty and if the program tries to feed new data then it is not working.
    Please help me!
    regds,
    Rajan

    Hi
    material master purchase order long text
    you can use through BDC or LSMW it is possible,
    here we need to check in lsmw  Direct input mentod Program name "/SAPDMC/SAP_LSMW_IMPORT_TEXTS"  object name (0001) method(0001) program type (D).
    Header we have ---  MATNR and TEXT ID
    Item ---LINE(Text line).
    in header- for NAME and ID map the source fields MATNR and TEXID respectively.
    OBJECT and SPRAS pass the constants.
    in Item--for TEXTFORMAT pass the constant '*' and for the TEXTLINE map the input field LINE of the ITEM structure.
        or else u can check in SE37 'CREATE_TEXT'   , in that function module check it object Id , name , spras, lineitem,  language "E"
    here i mention example of text flat file,
    H  100-100 best
    longtext1

  • Reg: Header text updation in VL02n transaction

    Hi Experts,
    i have one requirement in return delivery.
    I am executing one customizing trasaction, and it displays screen.
    In that screen i am editing the fileds and when i click on the save button i need to update in delivery transaction header texts (VL02n transaction goto header texts).

    Hi,
    Use the SAVE-TEXT FM as below.
      CALL FUNCTION 'SAVE_TEXT'
           EXPORTING
                HEADER    = LS_THEAD
           IMPORTING
                NEWHEADER = LS_THEAD
           TABLES
                LINES     = TLINETAB
           EXCEPTIONS
                ID        = 1
                LANGUAGE  = 2
                NAME      = 3
                OBJECT    = 4
                OTHERS    = 5.
      IF SY-SUBRC = 0.
    Where LS_THEAD, CONTAINS:
                                            TDOBJECT                                             VBBK
                                            TDNAME                                             00999999(Your delivery no)
                                            TDID                                                         Z950
                                            TDSPRAS                                             E.
    You can find this details, when you go to the transaction(VL02N) and enter some text and do the debug on  SAVE_TEXT FM, then get the values it uses to save the text, use the same in you program.
    Hope this helps,
    Cheers,
    Srini.

  • Text Updation failure in Purchase order creation

    Hi
    We are trying to update the PO Item Text Object in PO User Exit include ZXM06U44.
    In most cases, Text is updated into PO text correctly and sometimes, it doesnot. In particular if its PO's are created in batch mode.
    Have any one of you faced this issue  and how did u resolve it.
    Any inputs or suggestion is highly appreciated.
    Thanks
    Joe G A

    Hi Ravi / Lokesh,
    My apologies for not sending the required additional information.
    We are calling this SAVE_TEXT in custom function call in update task (in include ZXM06U44) with priority 'V1'(Update module set as 'Start Immediately'.
    so when we call this save_text, PO should have been created and PO no is available. Do u agree on this ?
    Infact I checked this part and we are getting the PO no always when it hits the SAVE_TEXT.
    This problem occurs mostly when POs are created in batch mode.
    Appreciate your reply.
    Thanks
    Joe G A

  • Text update master data no more possible/ Not existing duplicate keys

    Dear colleagues,
    we cannot load any new text for master data info objects.
    There are no duplicate keys in the delivered nor in psa.
    If the key value is allready loaded and the PSA containes changed text
    fields to this key, the DTP update fails and says: duplicate data record!.
    If I switch on the "Handle duplicate record keys"-flag, the DTP deletes
    the correct record with the changed texts from the delivered data.
    So, it is no more possible to get changed texts into the system.
    Attribute load has the same issue.
    Please help fast.
    Many regards,
    Wolfgang Taag

    Problem seems to be solved!
    Transfers start routine proceeds a "short dump" while selecting duplicate records from an differnt info object.
    But there is no real short dump in in ST22.
    DTP catches user's short dump and gives the message, that there are duplicate records in the loaded data.
    If you check "handle duplicate records" at the DTP, no error is messaged, even though startroutine dumps!
    Fattaly, in this case, DTP deletes rows from loaded data!
    Thanks,
    Wolfgang

  • BAPI_SALESORDER_CHANGE for Ship to party header text updation.

    hello gurus,
    My requirement is to update SHIP to PARTY text at header level using BAPI_SALESORDER_CHANGE.
    exisiting logic is updating same through below parameter to BAPI for line item with pop up to change the SHIP to party text..
    partnerchanges   = tb_partnersc
    But to the same parameter if i am passing header record also long with Line item , header data is not updated but line item is updated,
    ITM_NUMBER = '000000'.  "header line item = 000000
    headerx-update = X is also passed.
    Please help me .
    regards,
    Jayant.

    pradeep,
    I still see this thread as open.  Please review this code as a more clear solution.
    REPORT  ZR_SANDBOX_PROG.
    data: vb like BAPIVBELN-VBELN.
    data: cl like BAPISDH1X.
    data: rt type table of BAPIRET2 with header line.
    data: rt2 type BAPIRET2.
    data: pt type table of BAPIPARNRC with header line.
    vb = '0000153147'.     " your sales order here
    cl-updateflag = 'U'.
    pt-DOCUMENT = vb.
    pt-ITM_NUMBER = '000000'.  "header line item = 000000
    pt-UPDATEFLAG = 'U'.
    pt-PARTN_ROLE = 'WE'.
    pt-P_NUMB_OLD = '0003300744'.
    pt-P_NUMB_NEW = '0003300074'.
    append pt.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = vb
        ORDER_HEADER_INX            = cl
      TABLES
        RETURN                      = rt
        PARTNERCHANGES              = pt.
    loop at rt.
      write: / rt-MESSAGE.
    endloop.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = rt2.
    Reward points accordingly.

  • Delivery text updation using user exits

    Hii All
    Our client has a requirment where we need to update text in delivery header when we save the delivery.
    The delivery text needs to be updated when we save the delivery.
    Can anyone help me in letting me know steps to be followed to do the same.
    Thanks & Regards,
    Gaurav Manocha

    First of all identify the text id associated with your delivery. Once you identify the text id, change the text id in the sample program below. You can have this logic coded within your MV50AFZ1 user exit
    data: w_txt_hdr  LIKE thead,
          i_text  LIKE tline  OCCURS 0 WITH HEADER LINE,
                         i_text-tdformat = '* '.
                         i_text-tdline = 'sample'.
                   append i_text.
                  w_txt_hdr-tdobject = 'VBBK'.
                  w_txt_hdr-tdname   = likp-vbeln.
                  w_txt_hdr-tdid     = '0008'. "text id
                  w_txt_hdr-tdspras  = sy-langu.
                 CALL FUNCTION 'SAVE_TEXT'
                       EXPORTING
                            client          = sy-mandt
                            header          = w_txt_hdr
                            savemode_direct = 'X'
                       TABLES
                            lines           = i_text
                       EXCEPTIONS
                            id              = 1
                            language        = 2
                            name            = 3
                            object          = 4
                            OTHERS          = 5.
                  IF sy-subrc <> 0.
                  ENDIF.

  • Long text updation using QSS_TEXT_PROCESSING

    Hi,
    I am entering Long text in Inspect. description  QE17  using QSS_TEXT_PROCESSING from  custom program.
    I could able to open editor (which comes in SAP standard transaction QE17) and enters text .Also the text module is been created.
    If you check STXH table -there is an entry, But long text indicator is not being updated.
    Can you please advice me how to use QSS_TEXT_PROCESSING function module or any means of updating Long text for Insp.description .
    Thanks in Advance,
    R.Gopal

    Hi,
    I think in READ_TEXT , the paramters what you are passing incorrect.
    go to that CJ20n text block -> doublick.. it will take you to the standard text screen
    goto GOTO->HEADER in menu... take the paraemters from that screen.
    Text Name
    Language
    Text ID
    Text Objec
    regrds,
    Rama reddy
    Edited by: ram reddy on Jul 14, 2009 7:18 PM

  • Header text update problem for BAPI_CONTRACT_CREATE

    Hi,
    We are in the process of converting the BDC for Contract creation ME31 into BAPI.
    For the purpose we had identified the BAPI,
    BAPI_CONTRACT_CREATE.
    The bapi works fine , except it doest not update the Header Text.
    The parameters passed for header text are
    Text ID : K01.
    Text Form : *
    Text line : ( Header text content).
    We are working on ECC6.0.
    Pls advice me how to proceed.
    Regards
    harish

    Hi Harish,
      Can you please give me a brief idea on how you are using this BAPI?
    1) What would be the format of excel file?
    2) Does the BAPI work for both create and update ?
    3) Any know limitation ?
    4) Any documentation you have or you can point me to on the web regarding this BAPI?
    Thanks
    AK

  • About the sales texts' updating logic.

    Dear All,
    I am a beginner of sap sd module, and I met a problem of sd logic, looking forward to your kindly help.
    Please see the logic below in our system:
    There is a Sales order which is created referred to the Customer. If we changed the Texts in Sales Area Data in Customer, the Texts in Sales order would be updated automatically.
    For example, If we deleted the comment of one text in Customer, the comment of the referred text in Sales order would be deleted automatically.
    But the issue is that despite the comment had been deleted, but the icon of the text would not be changed to blank, and the language key would still exist.
    Therefore, I want to know whether it is a standard process or can I do some changes of it, such as delete the language key and change the icon to blank?
    I have debugged the program and couldn't find any useful information, so I have to resort you guys,any kindly help would be appreciated.
    Best regards,
    Benny

    Thanks for all your reply.
    But I had asked some other experts in SD, who said that there are 2 standard process to control this logic. in my case, this updating process is controlled by the Text reference, but I am not sure about it.
    The actual situation is that if I deleted the text in the Customer master data, and then, in the sales area data in sales order, the content of the same text(same ID) would also be deleted(This is truely happened), but without deleting the language key and the icon didn't become blank, that is the point what I really care.
    and I also checked the configuration in the Text control, found that there is user exit maintained in the column Data transfer routine in the subscreen of the Access sequence for the text ID which I deleted,but I don't know which action would trigger that and whether it has any effect on this logic.
    Please help me.
    Any suggestions about this would be appreciated.
    Many thanks.
    Benny

  • Header text update in creation of PO

    Hi All,
    Our reqd is to change the header text while creation of PO.
    I am using the badi BBP_CREATE_BE_PO_NEW.
    Could some one please tell me how to use this badi for populating the header text in PO.
    Regards
    Bidyut

    thanks

  • JTextField text updates

    Is there a method in text fields that is called each time a keystroke is made in the field? I am hoping to capture the first keystroke and change the background color when it occurs. Is the only option a keystroke listener or is there a method like setText that I can overload that is called with each entry to the field. I would also want to capture pastes.
    What I would like is to be able to overload a method in JTextField that is called like the Document's replaceString method.
    Thanks,
    John

    in JTextField that is called like the Document's
    replaceString method.Yes. So why don't you do this?
    Get the document and add a document listener

  • Header Text Update(Sales Order) in - MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREP

    Hi,
    I am creating a sales order from third party systme and do saom validation in EXIT - MV45AFZZ(the exit called before saving Sales Order). Based on my validation I am appending the header text incase if it is available already else I key in some text incase if we don't have a text.
    Since we don't have the OBJECT NAME (Sales order number) at this point I am not able to do this. Can you please help me to resolve this.
    Thanks in Advance... <<Text removed>>
    Regards
    Mohan
    Edited by: Matt on Apr 9, 2009 9:58 AM - Do not offer points

    Write the same logic 'after sales order number has been generated', it will be done in USEREXIT_SAVE_DOCUMENT  user exit.

Maybe you are looking for