Upload Basic Data Text for Materials

Hi,
I'm trying to upload Basic Data Text for Materials using FM SAVE_TEXT. Everything works fine except long text. It is not accepting more than 132 charactors. What logic should I use so that it will append the remaining text for the same material on the other line?
Please help !!!
Thanks.

If your text is longer than 132 characters, you have to wrap the text into multiple lines (FMs you should be using are FORMAT_TEXTLINES & RKD_WORD_WRAP).
Search in SDN for details on these FMs.
BR,
Suhas
PS: You can also explore uploading the material long texts using BAPI_MATERIAL_SAVEDATA. Uploading Basic Data Longtext into Material Master

Similar Messages

  • Problem updating basic data text for a certain language via MM01 / MM02

    We are facing the following problem :
    We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
    When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
    For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
    But we would like to update the text like we do for the other languages without first pressing the editor icon.
    We are running 4.7 and the sapgui is 7.1 patch 18.

    We are facing the following problem :
    We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
    When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
    For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
    But we would like to update the text like we do for the other languages without first pressing the editor icon.
    We are running 4.7 and the sapgui is 7.1 patch 18.

  • Lsmw problem: for mm01 basic data text two language

    Dear,
    I want to realize, in mm01, under 'basic data text' tab, have English and French text.
    I use lsmw, direct input,object:0020, method:0000, program name:RMDATIND.
    The basic data text function should be done in structure BMMH7.
    Now, I add some codes for BMMH7 after entering 'Display Conversion Program'. But the codes will be covered when the rules changed.
    Could you please tell me how to do the same function in 'Maintain Field Mapping and Conversion Rules'?

    Look at the codes I added in conversion program:
    form convert_transaction.
      check so_tcntr.
      loop at ZMATERIAL.
        perform convert_0001.                                   " BGR00
        perform convert_0002.                                   " BMM00
        perform convert_0003.                                   " BMMH1
        perform convert_0004.                                   " BMMH2
        perform convert_0005.                                   " BMMH3
        perform convert_0006.                                   " BMMH4
        perform convert_0007.                                   " BMMH5
        perform convert_0008.                                   " BMMH6
        perform convert_0009.                                   " BMMH7
    * Add start by SAPGD003
        perform convert_0011.                                   " BMMH7
    * Add end by SAPGD003
        perform convert_0010.                                   " BMMH8
      ENDLOOP.
    * End of transaction
      transfer_transaction.
    endform.                    "convert_transaction
    form convert_0009.                                          " BMMH7
      check g_skip_transaction = no.
      g_skip_record = no.
      g_record = 'BMMH7'.
    * --- __BEGIN_OF_RECORD__
      BMMH7 = INIT_BMMH7.
    * --- BMMH7-STYPE
      BMMH7-STYPE = '8'.
    * --- BMMH7-TDID
      BMMH7-TDID = 'GRUN'.
    * --- BMMH7-TDSPRAS
    * Add start by SAPGD003
      BMMH7-TDSPRAS = 'F'.
    * Add end by SAPGD003
    * --- BMMH7-TDFORMAT
      BMMH7-TDFORMAT = '*'.
    * --- BMMH7-TDLINE
    * Add start by SAPGD003
      BMMH7-TDLINE = zmaterial-TEXTE_CMD_FR .
    * Add end by SAPGD003
    * --- BMMH7-TDSPRASISO
    * Add start by SAPGD003
      BMMH7-TDSPRASISO = 'FR'.
    * Add end by SAPGD003
    * --- __END_OF_RECORD__
      transfer_record.
      g_skip_record = no.
    endform.                    "convert_0009
    form convert_0011.                                          " BMMH7
      check g_skip_transaction = no.
      g_skip_record = no.
      g_record = 'BMMH7'.
    * --- __BEGIN_OF_RECORD__
      BMMH7 = INIT_BMMH7.
    * --- BMMH7-STYPE
      BMMH7-STYPE = '8'.
    * --- BMMH7-TDID
      BMMH7-TDID = 'GRUN'.
    * --- BMMH7-TDSPRAS
      BMMH7-TDSPRAS = 'E'.
    * --- BMMH7-TDFORMAT
      BMMH7-TDFORMAT = '*'.
    * --- BMMH7-TDLINE
      BMMH7-TDLINE = zmaterial-TEXTE_CMD_EN .
    * --- BMMH7-TDSPRASISO
      BMMH7-TDSPRASISO = 'EN'.
    * --- __END_OF_RECORD__
      transfer_record.
      g_skip_record = no.
    endform.                    "convert_0011

  • System table for Additional Data - Basic data text (MM03)

    Hi
    How can I get the system table for stroring data in MM03 in "Additional Data" the "basic data text" ?
    Thanks in advance.

    Hi,
    CALL FUNCTION 'READ_TEXT'
             EXPORTING
                CLIENT                  = SY-MANDT
                ID                      = 'Z610'
                LANGUAGE                = SY-LANGU
                NAME                    = V_TDNAME
                OBJECT                  = 'VBBK'
                ARCHIVE_HANDLE          = 0
             IMPORTING
                HEADER                  = I_TEXT_HEAD
             TABLES
                LINES                   = I_TEXT_LINE
             EXCEPTIONS
                ID                      = 1
                LANGUAGE                = 2
                NAME                    = 3
                NOT_FOUND               = 4
                OBJECT                  = 5
                REFERENCE_CHECK         = 6
                WRONG_ACCESS_TO_ARCHIVE = 7
                OTHERS                  = 8.
    Regards,
    Bharani

  • Table for Basic Data text

    Dear All,
    In which table for a material, Basic Data text can be seen.
    Please advice.
    Regards

    HI,
    You can refer this  post
    Basic Data Text in MM03

  • How to find ObjectID for Basic Data Text?

    I need to figure out what the ObjectID for the basic data text is in CRM...but, have had limited success in figuring out what the object name is for it.
    Using transaction SE75 ---> Text Objects and IDs ---> Double click row with Object = PRODUCT
    This brings up a list that says ID = BASE
    So, if this is correct, would I declare the jsp code for the ISA to search in Basic Data Text like this?
              <tr>
                <td align="right" nowrap><isa:translate key="catalog.isa.description"></isa:translate>: </td>
                <td><input type="text" class="textInput" name="<%= catalog.getCatalog().getAttributeGuid(AttributeKeyConstants.PRODUCT.BASE) %>" size="15" style="width:150px"></td>
              </tr>

    You can use Transp. Table      TBD62 .
    enter Message Type                      CREMAS
    you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table      BDCP.

  • How to Update the Basic Data text in Material Master.

    Hi Abapers,
    I have more than 5000 materials for update basic Data text inside Material Master.
    how to update basic data text using abap programe? is there any bapi or normal program?.
    anybody give me sample of this.
    Thanks
    S.Muthu.
    IT Dept.

    Hi
    You can do by using the FM SAVE_TEXT.
    Just populate text into table i_tline.
    Local data declaration
      DATA: l_wa_thead  TYPE thead, " Header
            l_wa_tline  TYPE tline. " Work area for tline
    Populate header
      l_wa_thead-tdobject = c_obj_material.
      l_wa_thead-tdname   = wa_data-matnr.
      l_wa_thead-tdid     = c_id_best.
      l_wa_thead-tdspras  = sy-langu.
      l_wa_thead-tdluser  = sy-uname.
      l_wa_thead-tdfdate  = sy-datum.
      l_wa_thead-tdtxtlines = '1'.
    IF i_tline[] IS NOT INITIAL.
       l_wa_tline-tdformat = c_slash.
       APPEND l_wa_tline TO i_tline.
    ENDIF.
    Text shd start from next line
      l_wa_tline-tdformat = c_slash.
      CONCATENATE c_text wa_data-text
      INTO l_wa_tline-tdline SEPARATED BY space.
    Append the new text to the int table
      APPEND l_wa_tline TO i_tline and l_wa_thead
      C* Local data declaration
      DATA: l_wa_thead  TYPE thead, " Header
            l_wa_tline  TYPE tline. " Work area for tline
    Populate header
      l_wa_thead-tdobject = c_obj_material.
      l_wa_thead-tdname   = wa_data-matnr.
      l_wa_thead-tdid     = c_id_best.
      l_wa_thead-tdspras  = sy-langu.
      l_wa_thead-tdluser  = sy-uname.
      l_wa_thead-tdfdate  = sy-datum.
      l_wa_thead-tdtxtlines = '1'.
    IF i_tline[] IS NOT INITIAL.
       l_wa_tline-tdformat = c_slash.
       APPEND l_wa_tline TO i_tline.
    ENDIF.
    Text shd start from next line
      l_wa_tline-tdformat = c_slash.
      CONCATENATE c_text wa_data-text
      INTO l_wa_tline-tdline SEPARATED BY space.
    Append the new text to the int table
      APPEND l_wa_tline TO i_tline.
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          client          = sy-mandt
          header          = l_wa_thead
          savemode_direct = c_check
        TABLES
          lines           = i_tline
        EXCEPTIONS
          id              = 1
          language        = 2
          name            = 3
          object          = 4
          OTHERS          = 5.
      IF sy-subrc = 0.
        COMMIT WORK.
    endif.

  • Uploading Basic Data Longtext into Material Master

    Hi Experts,
    While creating material master i need to upload Basic Data Long text into material master.
    For this iam using a BDC.How we can get this long text into sap systen and how we will update in material master.

    Hi,
    you can use the below function module instead of Save_text..
    BAPI_MATERIAL_SAVEDATA.
    in the above function module
        headdata-material = matnr.
        CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
          EXPORTING
            headdata             = headdata   "contains materail number
          IMPORTING
            return               = return
          TABLES
            MATERIALLONGTEXT = t_longtext   "pass long text here
            returnmessages       = returnmessages.
    Prabhudas

  • How to add  basic data text into material master?

    Hi anybody,
    I want update only basic data text into material master. how to update basic data text ?
    is it any bapi or functional module is there in abap?
    anybody please tell me.
    tks
    s.muthu

    Hi Subramanyan,
    Check this function module:
             CREATE_TEXT
    Check out this sample program:
    REPORT ZMM_INSERT_LONGTEXT.*Internal table to hold long text...
    DATA:
      BEGIN OF T_UPLOAD OCCURS 0,
        MATNR LIKE MARA-MATNR,             " Material number
        ID(2) TYPE C,                      " Identification
        LTEXT LIKE TLINE-TDLINE,           " Long text
      END OF T_UPLOAD,*Internal table to hold long text....
      T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
       W_GRUN LIKE THEAD-TDID ,            " To hold id
       W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
                                           " To hold object id
       LV_VALUE(70).                       " Value to hold material number
    START-OF-SELECTION.* This perform is used to upload the file
      PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
      PERFORM PLACE_LONGTEXT.
    *&      Form  create_text
    This routine used to create text in MM02 transaction
    Passed the parameter w_grun to P_C_GRUN
                    and lv_value to P_LV_VALUE
    FORM CREATE_TEXT  USING    P_C_GRUN
                               P_LV_VALUE.  DATA:
        L_ID LIKE THEAD-TDID,
        L_NAME(70).  MOVE : P_C_GRUN TO L_ID,
             P_LV_VALUE TO L_NAME.  CALL FUNCTION 'CREATE_TEXT'
           EXPORTING
             FID               = L_ID
             FLANGUAGE         = SY-LANGU
             FNAME             = L_NAME
             FOBJECT           = W_OBJECT
         SAVE_DIRECT       = 'X'
         FFORMAT           = '*'
           TABLES
             FLINES            = T_LINE
          EXCEPTIONS
            NO_INIT           = 1
            NO_SAVE           = 2
            OTHERS            = 3
      IF SY-SUBRC <> 0.
        CLEAR LV_VALUE.
      ELSE.
        DELETE T_LINE INDEX 1.
      ENDIF.ENDFORM.                    " create_text&----
    *&      Form  upload_file
    This routine is used to upload file
    No interface parameters are passed
    FORM UPLOAD_FILE .  CALL FUNCTION 'UPLOAD'
       EXPORTING
        CODEPAGE                      = ' '
        FILENAME                      = ' '
          FILETYPE                      = 'DAT'
        ITEM                          = ' '
        FILEMASK_MASK                 = ' '
        FILEMASK_TEXT                 = ' '
        FILETYPE_NO_CHANGE            = ' '
        FILEMASK_ALL                  = ' '
        FILETYPE_NO_SHOW              = ' '
        LINE_EXIT                     = ' '
        USER_FORM                     = ' '
        USER_PROG                     = ' '
        SILENT                        = 'S'
      IMPORTING
        FILESIZE                      =
        CANCEL                        =
        ACT_FILENAME                  =
        ACT_FILETYPE                  =
        TABLES
          DATA_TAB                      = T_UPLOAD
         EXCEPTIONS
           CONVERSION_ERROR              = 1
           INVALID_TABLE_WIDTH           = 2
           INVALID_TYPE                  = 3
           NO_BATCH                      = 4
           UNKNOWN_ERROR                 = 5
           GUI_REFUSE_FILETRANSFER       = 6
           OTHERS                        = 7
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.  SORT T_UPLOAD BY MATNR ID.
    ENDFORM.                    " upload_file
    *&      Form  place_longtext
    This routine places the text in MM02 transaction
    No interface parameters are passed
    FORM PLACE_LONGTEXT .  LOOP AT T_UPLOAD.    T_LINE-TDFORMAT = 'ST'.
        T_LINE-TDLINE = T_UPLOAD-LTEXT.
        APPEND T_LINE.    IF T_UPLOAD-ID EQ 'BT'.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'GRUN' TO W_GRUN.                   "Test ID for Basic data text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IT'.
          CLEAR W_GRUN.
          MOVE T_UPLOAD-MATNR TO LV_VALUE.
          MOVE 'PRUE' TO W_GRUN.                      "Test ID for Inspection text
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.    IF T_UPLOAD-ID EQ 'IC'.
          CLEAR W_GRUN.
          MOVE : T_UPLOAD-MATNR TO LV_VALUE,
                 'IVER' TO W_GRUN.                    
                                                      "Test ID for Internal comment
          PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
        ENDIF.
      ENDLOOP.ENDFORM.                    " place_longtext
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • How we enter text for materials in purchase order smartform

    hi guru
    how we enter text for materials in purchase order smartform
    my requirement is create smartform for purchase order.
    in this i have to create item-text, by using which tcode we can give item data
    plz give more expalnation for this plzzzzzzzzz

    Hi,
           You can use read_text function module for readind text of material and store this value in internal table later pass this internal table to smartform will solve your problem.
    otherwise there is direct option for text element property that is include text u can use that also
    Regards
    Gagan

  • Purchase order Text and Basic data text needed from MM03 tcode

    Hi
    I need Purchase order text and Basic data text to be fetched by material number.
    Purchase order text and Basic data text are present in MM03 Tcode.
    Can anyone please guide me how to do it.
    Kind Regards
    Sajid

    hi
    Purchase order text
    GotoMM03 ->view purchase order text.
    In purchase order text screen, below you find one icon 'Editor'
    click on this icon. It will open another screen.
    In this screen -> click Goto Menu->Header.
    It will open the details about Purchase order text.
    TextName (Generally it is material name)
    Language
    Text ID : BEST
    Text Object: MATERIAL.
    Pass the above to READ_TEXT to get the text
    *Basic data text *
    Basic Data Text in MM03

  • Which table do "Basic data text" of material master record in?

    Hi All:
            There is tab with name of "Basic Data text" in additional data of material master, my question is which table record this information?
    BR
    Kevin

    Hi Kevin,
    Please check this:
    Read the long text of material master
    Regards,
    Csaba

  • How to load master data texts for (0calmonth)

    Hi pro's
    i hve a issue.
    How to load master data texts for 0calmonth.
    any help is appreciated
    regards
    cheers

    within the admin workbench goto source systems, right click on your source system and click on transfer global settings. There you can choose fiscal year variants and some other options to be loaded to BW.
    Regards

  • Load Master Data Text for 0COSTELMNT

    Hello,
    I would like to load text for master Data Cost Element (infosource 0COSTELMNT). The loading is Ok but, when I execute the infopackage the next time, I have the status yellow and the message "The data request was a full update. In this case, the corresponding table in the source system does not contain any data. System response
    Info IDoc received with status 8.".
    It's normal that there are no news datas to upload but the problem is that the process remains not yet completed.
    The parameters of the scheduler are :
    - selection : none and "Use conversion routine"
    - Processing : PSA and then in the InfoObject
    - Update : Full update and Fixed Time Interval (start date : today, end date : 31.12.2006)
    - Schedule : Start Data Load Immediately
    The option Treatment of Warning is set to green.
    Thanks in advance to help me.
    Daniel.

    Hi,
    It's yellow.
    On the R/3 system, when I launch RSA3 and Extraction for the DataSource 0COSTELMNT_TEXT, the result is 0 enreg too (no selection in the screen).
    Thanks.

  • Master Data Text for Infoobject Plant Section

    Hi Experts,
    I've changed the standard Infoobject of Plant Section (0PLANTSECTN), so the master data (text & attribute) is active now.
    My question is: Does SAP BW provide the standard business content for master data of 0PLANTSECTN?
    Coz i've checked it on RSA5, but the datasource is not exist.
    Thanks for helping, hope you could give me some enlightenment
    Warm Regards,
    Tika

    Thanks for ur answer Swapnil..
    So the only thing i can do is create a custom DS and load the data (text) via Flat File? Or is there any way else to load the master data text?
    As I know, loading data from flat file is only can be done manually. The problem is, i have to make sure, that data in BW is always relevance with data in ECC. Hence, i need the standard DS. So i could load it directly from ECC.
    Am very appreciate, if any of u could share the best way.
    Thanks

Maybe you are looking for

  • Hiding pdf received in Mail

    I love mail and its threaded messages but I often have to send and recieve huge PDFs with lots of detail. This slows Mail down to a crawl when im scrolling through past messages. A lot of the time I will open the PDF straight in Preview so dont reall

  • Macbook air speaker not working

    I recently discovered that the right speaker to my Macbook Air isn't working... I've tried: checking sliders in Sound System Preference checking MIDI Utility zapping the PRAM resetting all prefs (using Onyx) removing the bottom to look for a loose co

  • Apache fop classloading problem in EAR file

    HI, I am deploying a big EAR in WL 6.1 on solaris and I am bundling FOP 1.20.3 within it, I am also including avalon 4.0 and logkit 1.0 jars within it as they are needed by fop.jar. Whenever I try to construct a "Driver()" class I get a NoClassDefFou

  • IMessage login problem on OSX Yosemite

    Hi. Since i have updated to OSX Yosemite, I cannot sign in to iMessages or Facetime from my macbook Air. could anybody please help me out to resolve this problem? Thanks.

  • Problems running actions

    I am running a batch file with a specific action.  It has been working fine up until today.  I receive the error "The object "layer "add snap"" is not currently available."  Any ideas on how to fix this?