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 !

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]

  • Using variables in message long text ( SE91)

    Hi everyone,
    Does anyone know how we insert the variables passed in the message can also be used to be printed in the long text as well.
    Suppose , say
    message e000 with a b c d.
    where a ,b , c and  d are the variables...
    How do i use these inside the long text.

    message e000 with 'text' '&variable&'.
    To create a message long text in SE91:
    Select to switch to change mode.
    Place the cursor on the corresponding message.
    Click the Long text pushbutton.
    This starts the SAPscript editor.
    Enter the long text.
    Carry out a check in SAPscript editor.
    Save your data.
    eg: create a msg like this.
    Please enter another value. The value may be &.
    then in pgm do this.
    MESSAGE i014(msg_class_name)  WITH variable_value.

  • Reading long text for more records at a time

    Hi all,
    We have a requirement for which that data like textid textname textobject  and language  must  be taken in to an internal table and for each record in the internal table i  have to read the long text inorder to compare the long text for the given search text.
    If i use Read_text inside the loop and endloop it works but it may not be appropriate in performance point of view.
    Is there any function module which can read long texts for more records at a time.
    The long text data in STXL will be in raw data format right? is there any way to convert raw data to normal so that by hitting the STXL i can read the long text data for more than one record at a time.
    Thanks in advance
    sanju.

    HI Sanju,
    Below is a code snippet which describes reading a long text frm the screen and appending it into the internal table.This code is actually to read the text from the screen and inserting a record into STXl and STXH.
    From your query what i understood is that you are storing the long text from the screen into a internal table and so you not want to use the read_text FM due to performance issue.
    Since tdline(tline table) is 132 char long format i use this small logic to read the screen data and append it to my internal table.
    *Data Declarations
      DATA: lv_strlen TYPE i,
            lv_create TYPE boolean,
            lv_desc TYPE string.
      DATA: ls_text TYPE tline,
            ls_basic_text TYPE stxh.
      DATA: lt_text TYPE ztty_tline_tab.
      CONSTANTS:
       lc_tdid TYPE  thead-tdid VALUE 'Z001',
       lc_tdobject TYPE thead-tdobject VALUE 'Z_ALERTS'.
    *Appending the text to the internal table.
      lv_strlen = STRLEN( iv_alert_text-alert_text ).
      lv_desc = iv_alert_text-alert_text.
      IF lv_strlen < 132.
        ls_text-tdformat = '*'.
        ls_text-tdline = lv_desc.
        APPEND ls_text TO lt_text.
      ELSE.
    *logic to wrap text
        DO.
          ls_text-tdformat = '*'.
          IF STRLEN( lv_desc ) < 132.
            ls_text-tdformat = '*'.
            ls_text-tdline = lv_desc.
            APPEND ls_text TO lt_text.
            EXIT.
          ENDIF.
          IF lv_desc+132(1) <> ' '.
            CONCATENATE lv_desc(131) '-' INTO ls_text-tdline.
            lv_desc = lv_desc+131.
          ELSE.
            ls_text-tdformat = '*'.
            ls_text-tdline = lv_desc(132).
            lv_desc = lv_desc+132.
          ENDIF.
          APPEND ls_text TO lt_text.
        ENDDO.
      ENDIF.
    Please award graciously if found helpful.Please do ask me if i have not answered you properly.
    Thank you.
    Message was edited by:
            P M Harish

  • Update/create the purchase info records

    Hi All,
    i got a requirment for update/create the purchase info records for the transaction ME11.
    i came to know that the FM <b>ME_DIRECT_INPUT_INFORECORD</b> is suitable for this requirment.
    but when i am trying to test this by passing data to I_EINA and I_EINE.
    it is giving some error message like "<b>Please enter at least one vendor</b>, Number entered not within external number range and etc".
    can any one guid me in passing the data to this function module, i.e. what are the required fields that are to be passed to this FM.
    if i have to update/create the EINA & EINE table data.
    Thanks,
    Rama

    Hi,
    Better use report RM06IBI0 - read its documentation with
    Tcode SE38
    Greetings Andreas

  • Update Scales on Purchasing Info Record

    Dear All,
    I need to upload and update Scales on Purchasing Info Record.
    Is there any BAPI or IDOC or Standard Batch/Direct Input (LSMW)  or any Function module for this data upload.
    Thanks in advance.

    Thanks for your suggestion but I have lots of records and I couldn't use t-code MEKP to create those scales on PIR.
    I won't only  update existing scales on PIR but also I want to crate new scales on PIR. Is there anybody to suggest me any upload programme(BAPI, IDOC, Direct Input) for it?

  • When using ZCMMRR08 upload transaction it appears the Info-record may over

    "When using ZCMMRR08 upload transaction it appears the Info-record may over-ride the input data creating a pricing error."
    we have customize this transaction "ZCMMRR08" for contracting and price is suppose to update once a year,i am getting wrong price updated in contract display,any suggestions are welcome

    hi
    Refer the following link.
    http://209.85.173.104/search?q=cache:1nrU3_g6gdoJ:www.le.ac.uk/its/help/sap/mm46b_16.docInforecordHowtocreateME11%2Bsap&hl=en&ct=clnk&cd=6&gl=in
    Reward if helpful.
    Jagadish.

  • How to print out the text for Info record in ME23?

    Dear all,
    I need to print out a report of PO data. need to print out the text from Info record note (like the picture shown below) in ME23, how should I pull that field and display out?
    I need the solution urgently. Hope experts can help.
    Thank you very much.
    [http://img293.imageshack.us/img293/238/inforecordnd1.png]

    Please check below sample code:
    PARAMETERS: p_ebeln TYPE ebeln OBLIGATORY.
    TYPES: BEGIN OF ty_ekpo,
             ebeln TYPE ebeln,
             ebelp TYPE ebelp,
           END OF ty_ekpo.
    DATA: i_ekpo TYPE TABLE OF ty_ekpo,
          wa_ekpo TYPE ty_ekpo.
    DATA: l_name TYPE tdobname,
          i_tline TYPE TABLE OF tline,
          wa_tline TYPE tline.
    CONSTANTS: c_id   TYPE tdid VALUE 'F02',
               c_object TYPE tdobject VALUE 'EKPO'.
    AT SELECTION-SCREEN.
      SELECT SINGLE ebeln INTO p_ebeln
             FROM ekko
             WHERE ebeln = p_ebeln.
      IF sy-subrc NE 0.
        MESSAGE e001(00) WITH 'Enter valid PO Number'.
      ENDIF.
    START-OF-SELECTION.
      SELECT ebeln ebelp INTO TABLE i_ekpo
             FROM ekpo
             WHERE ebeln = p_ebeln.
      LOOP AT i_ekpo INTO wa_ekpo.
        CONCATENATE wa_ekpo-ebeln wa_ekpo-ebelp
           INTO l_name.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            id                      = c_id
            language                = sy-langu
            name                    = l_name
            object                  = c_object
          TABLES
            lines                   = i_tline
          EXCEPTIONS
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            OTHERS                  = 8.
        IF sy-subrc EQ 0.
          LOOP AT i_tline INTO wa_tline.
            WRITE:/ wa_tline-tdline.
            " Format wa_tline-tdline in the way you need to print out
          ENDLOOP.
        ENDIF.
      ENDLOOP.
    Regards
    Eswar

  • 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

  • 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

  • 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

  • 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.

  • Using lsmw to update FI text

    does anyone have any idea how should i update my FI text that is 'we' or 're' document type using LSMW for posting date 01.02.2009 to 10.05.2009?

    Hi,
    Use LSMW and the following object for Long texts
    Object               0001   Long texts
    Method               0001   (No selection)
    Program Name         /SAPDMC/SAP_LSMW_IMPORT_TEXTS
    Program Type         D   Direct Input:
    The above DI program would load the texts...
    Example: if the Documnet number is 5000057140, Doc Type: WE, Fiscal year 2009, with company code 1234
    Text Name is a contatenated string of Company code, document number & Fiscal year - example: 123450000571402009
    Language: EN (the language with which Long text is to be created...)
    Text ID: 0001(Correspondence),0002 (Note), 0003 (Payment advice information)
    Text Object: BELEG (Document text)
    Hope this helps.
    Best Regards, Murugesh

  • Using save_text to change long text of sales

    Hi All,
    I am trying edit the long text on sales order header using FM save_text , But it does not work ,
    the fm is returning subrc  value 0 but the long text does nnot change i have also used commit_text .
    data td1 type thead .
    data : tdlin1 type table of tline.
    data : wa_tdlin1 like line of tdlin1.
    td1-TDOBJECT = 'VBBK'.
    td1-TDname = '188238'.
    td1-tdid = '0002'.
    td1-tdspras = 'EN'.
    td1-tdtxtlines = '1'.
    wa_tdlin1-TDformat = 'U1'.
    wa_tdlin1-tdline = 'this chnaged by vinay to test'.
    append wa_tdlin1 to tdlin1.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
       CLIENT                = SY-MANDT
        header                = td1
      INSERT                = ' '
       SAVEMODE_DIRECT       = 'X'
      OWNER_SPECIFIED       = ' '
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      tables
        lines                 = tdlin1
    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.
    CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
    object = 'VBBK'
    id = 'ZINT'
    language = sy-langu.

    Hi Guys ,
    I figured out the problem and its working now .
    Cheers
    vinay

Maybe you are looking for

  • T410: From Graphics: Intel GMA HD Integrated Graphics to Graphics: NVIDIA NVS 3100M with 256MB DDR3

    Hi, I have a Thinkpad T410. I bought it with integrated graphics card. Now i want to upgrade to the other one: Graphics: NVIDIA NVS 3100M with 256MB DDR3. Is that possible? thanks a lot

  • Update Graphics Card BIOS

    I have N580GTX-M2D15D5/OC. I want to Update the Graphics Card BIOS ,I visited the MSI website and found this BIOS file NV801MS.KG4, Tell me how to update the vga card bios with this file because there is no update utility or rom file with this downlo

  • Video in Flash player does not play in C6

    I have purchased Nokia C6-00, but in this phone videos do not play in Flash player. It gives me warning message that flash player required to play this video. On flash player site, it is mentioned that android 2.2 is required to install Flash player

  • Infotype 0007 - Where used

    Hello HR Gurus, I need to know about infotype 0007 (Planned working Time). This infotype is used in Time evaluation for time processing. I need to know where else is the infotype details like daily working hours, weekly working hours, monthly working

  • Installing logic on new computer

    Hi I had Logic Pro on my previous MacBook Pro and now I want to install it on my new one; how can I do that without buying it again? Cheers