MM02: Problem in updating Long Text

Hi All,
My requirement is to do MM02 Conversion. I have to Update 14 fields in the transaction.I got a Problem with my LONG TEXT Field.
Requirement for updating is whenever a double quotes comes in the place of LONG TEXT in the input file, i have to empty the LONG TEXT in the transaction.
For modifying the already existing Long Text, its working perfectly. But problem is arising only when i want to empty the LONG TEXT field.
What i did was,    IF zbasic-matnr_long_text = ' "" '.
                           bmmh7-tdline = ' '.
Also i have passed Text ID, Text Langauge.
So please Help me with this Problem
Message was edited by:
        karthikeyan Thangavel

Hi Sathish,
If i use Fm Delete_Text, as soon as it encounters the FM it will delete the LONG Text.
Since Im using LSMW, everything should happen after i run the step 'Start Direct Input Program'.
Please just consider, suppose there is a Transaction Error in my LSMW. So according to this situation no transaction should happen i mean LONG TEXT should not get deleted.
But Since it has enountered the FM, Long text must get deleted.
Please correct me if anything is wrong in my Logic.
Also tell me what i should do if my Logic is correct.

Similar Messages

  • About updating  long text  in the document item  with bdc of fb02

    HI,
    I have a question about updating  long text  in the document item of sap:
    Can I directly updating the long text information with the fuction save_text?
    The long text is in :
    tcode: fb02 -->input document no ... --> Document overview --> select one document
    long text --> updating the value.
    Becaust I want to update some items in a G/L Account with bdc or other technique, but I found I can't   choose the items in the G/L Account with bdc automatically .That means I can't get the selected items and update them.So I try to update them with the function save_text  directly (I know the doc no,bukrs,fiscal year ,item no which will decide the long text item).
    Who can help me ?Or is there any way to solve the problem? Thanks very much.

    Yes, you can update directly using SAVE_TEXT.
    Check this for the same.
    [update long text in FB02|https://forums.sdn.sap.com/click.jspa?searchID=22194840&messageID=5418662]

  • Problem in uploading long text in service master through AC02

    hi experts,
    while iam recording the LSMW through T Code AC02 the system is not linking to the longtext in service master. Kindly guide me in this regard to upload service master with service long text together

    I have the same problem where the long text is not being updated through a AC02 BDC session.  Did you find a solution to the problem yet?
    Thanks
    Johan

  • 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

  • Problem in downloading long text

    Hi Experts,
    I am facing problem  while downloading long text.
    previously it was working 5ne. now it is giving the error meaasge
    ID ST Language En not found
    is there any settings to do.
    Thanks & Regards
    Sangareddy

    In a SAPscript you do not need to use ABAP code to retrieve long text - Just use the INCLUDE command in SAPSCRIPT - see help for details
    /: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
    this puts the complete long text in and formats it for the window
    Long text problem in sap script
    Reward points..

  • How to update long text in symptoms/problems ?

    Hi All,
    Can anybody help me regarding how to update the long text of a symptom/problem?
    Please help.
    Regards,
    Jeetu

    Hi Jeetu,
    Can you Please elaborate your query.
    Are you talking about Problem/solutions created using Tcode: IS01( used in service scenario)
    Or
    The Text Management i.e. Text Types
    Regards.
    Shalini Chauhan

  • Problem in Getting Long Text After uploading LT using CREATE_TEXT in CORS

    Hi Gurus,
    i am uploading long text for Reason for cancellation in CORS Transaction through CREATE_TEXT.
    after uploading this text by using this FM CREATE_TEXT i am seeing the long text what ever i uploaded through CREATE_TEXT , i am unable to see first 40 characters of that long text.
    if anybody faced this problem earlier please guide me to resolve this problem.
    Thanks & Regards
    Venkata Ramesh J

    Hi,
    can you please check this link
    Replacing the text created in create_text
    Thanks
    durga.K

  • Update Long Text of Production Order

    Hi ABAP Gurus,
    We want to update some information in long text automatically while releasing production order.
    We try PPCO0007
    We found that we must update AUFK-LTEXT as 'E' then we can see long text via CO02, CO03.
    Without updating AUFK-LTEXT, even if the long text value saved in SXTL, but it can not be displayed via CO02, CO03.
    After saving the text using 'SAVE_TEXT' function module and commiting it we 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.
    However, it only works when we go to CO02 and press 'Save' button without changing anything.
    If we press 'release' button, AUFK-LTEXT will be overwritten by system. >_<
    What we expect system to do is that when we release production order, AUFK-LTEXT can be changed to 'E', so that we can display long text via CO02, CO03.
    Please help.
    Cheers,
    Qiang

    There is no standard SAP enhancement we can use for this purpose.
    We have developed another program to maintian the long text in production order.
    This call can be closed.
    Cheers,
    Qiang

  • BAPI_SERVNOT_ADD_DATA-update long text of activities in Change Notification

    Hi All,
    I am trying to use this "BAPI-BAPI_SERVNOT_ADD_DATA" call to change a Service Notification.
    The partners,activities get updated. I am unable to update the long text of each of the actvities item.
    I am using the following code to update the longtext.
    Defects/activities table
    data: activities like table of bapi2080_notactvi with header line.
    long text table
    data: longtext like table of bapi2080_notfulltxti with header line.
    *partnr table
    data:  notifpartnr  like table of bapi2080_notpartnri with header line,
            longtext-objtype = 'QMFE'.
            longtext-objkey = activities-act_sort_no.(item # of the activity)
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text1.
            append longtext.
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text2.
            append longtext.
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text3.
            append longtext.
    call function 'BAPI_SERVNOT_ADD_DATA'
        exporting
          number                  = zwin-qmnum
      I_BAPI                  = ' '
    IMPORTING
      NOTIFHEADER             =
      NOTIFHDTEXT             =
       tables
       notfulltxt               = longtext
      NOTITEM                 =
      NOTIFCAUS               =
          notifactv             = activities
      NOTIFTASK               =
        notifpartnr             = notifpartnr
      KEY_RELATIONSHIPS       =
         return                 = lt_return
    Any help appreciated.
    Thanks
    Mala

    Hi Neil,
    Thanks for the update.  The issue has been resolved.
    The BAPI- 'BAPI_SERVNOT_ADD_DATA'   cannot be used to update the item long text. (activities long text ) . The length of the object key is only 8 characters.
    I used the following function module('IQS0_ADD_ACTIVITY_LONGTEXT')  to update the item>>activties>> long text after the  BAPI  call to  'BAPI_SERVNOT_ADD_DATA' .
    data:  v_line like table of  tline with header line.
    call function 'IQS0_ADD_ACTIVITY_LONGTEXT'
                 exporting
                   i_qmnum             = wa_qmnum
                   i_manum             = wa_item_no
                   i_post              = 'X'
                    I_RESET             =
                 tables
                   t_inlines           = v_line
                  EXCEPTIONS
                    SHOW_MESSAGES       = 1
                    OTHERS              = 2
    The call to 'BAPI_SERVNOT_ADD_DATA'  took care of all changes to the Notification except the update of the item>> long text. After committing this transaction, I did a BAP  call to 'IQS0_ADD_ACTIVITY_LONGTEXT' to update the item>>actvities>>long text.. This has been working fine and is currently in productin.
    Appreciate all your feedback .
    Thanks
    Mala

  • AC02 - Problem in uploading Long text data

    Hi All,
    I record a BDC for AC02 tcode and i am able to upload all the data in AC02 tcode except long text. How can I upload this, kindly suggest.
    Thanks and Regards,
    Rajesh Vasudeva

    Hi,
    Check the below threads.It could be helpful to you.
    LONGTEXT: MATERIAL - PRUE
    problem with long text
    Cheers,
    Hakim

  • RFBIBL00 - updating long text

    Hello Experts,
    I am using RFBIBL00 program to post documents through FB01.
    I have a requirement to update longtexts.
    I updated BBKPF, BBSEG structures and wrote to a file which is the input for the program RFBIBL00.
    Everything is working fine but i could not able to find the way to update the long text.
    Please guide me how to deal with this issue.
    I seen some posts for this type of issues but no where I got solution.
    Thanks in Advance,
    Venkat

    Since there is no option in RFBIBL00, I have developed a program separately using Save_text and run the program take text from flat file and create long text

  • Update long text in notification

    Hi experts,
    I try to update (add next entry) to the long text in notification header. I tried with BAPI 'BAPI_ALM_NOTIF_DATA_ADD' to fill table NOTFULLTXT, but it seems that it can only add an entry and not append another one (one entry already exists). In 'BAPI_ALM_NOTIF_DATA_MODIFY' there is no table NOTFULLTXT. Could you advice me how to do it? Thank you in advance.
    BR
    Paul

    Just found something. Have a look at class CL_ILM_BE_WOC, Method NOTIF_TEXT_UPDATE, as they do this here.

  • 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

  • Using CATT to update Long Text in Info Records

    I am in a 4.7 environment, and trying to use CATT to update Purchasing Info Records (PIR) to include Long Text.  Does anyone know how I can get the script to work with long text that changes for each PIR?  I have tried several times, but can only get it to work with a single text entry.  Any help would be greatly appreciated.
    Cathy

    Hello Cathy,
    I use tcode OMQ3 to transfer texts. It took me awhile to figure out the easiest way to use and find it very simple now. Read the program documentation on how to use.
    Hope this helps.
    Cheers !

  • Problem in getting long text in Cash receipt.

    Hi all,
    I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text.  So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
    Thanks in Advance.

    Hi Keyur,
    when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
    Hope these details are enough.
    Regards,
    Clemens

Maybe you are looking for

  • Exporting podcast URLs?

    Is there a way to export my list of podcast feeds to a file so that I can (1) import it into iTunes on my other computer and/or (2) send a copy to a friend so he can import it too?

  • When will we have ringtones for texts/voicemail?

    Seriously, this is totes redonk! My old Motorola Razor had this capability and that was like 8 years ago. For being the cellphone of "the future" it sure seems awfully behind in terms of technology! Just last month we barely got the ability to send p

  • Advanced search in NLS environment

    Customer environment: - 8.1.7.1 and iAS 1.0.2.2 with portal created a number of Portal Content Area's with default language Danish with online translation to english. Uploaded a number of document - all stores 2 types (Danish and English)with use of

  • Using FLash Text & Buttons Links

    They have worked fine in the past, but my web pages that use Flash buttons or text now require two mouse clicks to make the links work work. This problem occurred some months ago and is applicable to all my web pages, some made years ago and some ver

  • Colors In Exported Video Different From Preview In Premiere

    I have a short video I put together in Premiere that contains some image overlays I created in Photoshop. Everything looks fine in Premiere, but when I export it, the overall video has a warmer, yellow-ish/orange-ish color cast to it. My Sequence set