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

Similar Messages

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

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

  • 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

  • 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

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • 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

  • 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

  • Problem while uploading master data through two files

    Hi all,
    When i try to upload master data of CUSTOMER with two files , Attribute and Text.
    Text gets uploaded perfectly.
    for Attribute, the data upload is done and psa i can see the exact data. But when i check the CUSTOMER object, i am not able to find the actually Attributs data. Instead those colmns are filed with 'E'.
    Can anybdy please explain me wheret the problem is.
    Thanks..

    Hi Sun,
    First check the data in PSA whether the records are fine or any discrepancy in them. Also check the properties of the COSTUMER object into which you are loading. The properties "type" or the "size" of the object may not be matching with the same in the file.
    Check them and try to load once again.
    Hope this helps u...
    Regards,
    Koundinya Karanam.
    Edited by: koundinya karanam on Jan 15, 2008 12:05 AM

  • Using TREX for Material master for longtext (basic data) and classification

    Hi together,
    I am only having some basic know how about TREX.
    We want to use TREX for quick search in Material master long texts (like basic data and so on) and also for searching in characteristic values of material master (tab: classification).
    The TREX is successfull installed and It was possible for me to create an index for Material BUS1006001 in SES_ADMIN and search the material in this transaction by TREX. I also find the index in TREX_ADMIN "green".
    But there I could only use the attributes of the standard business objects (for example describtion of material master = short text).
    Now I want to use the long texts and the classification. What do I have to do in SES_ADMIN or somewhere else? Actually I only want to use the functionality in SAP GUI. If I know how to make the indixes I could program an own F4-Help for this in ABAP.
    Can anybody help me?
    Thanks a lot.
    Florian

    Hi Florian,
      SES_ADMIN is the admin cockpit of the Search Engine Service (SES).
    SES-based solutions usually include searching the long text. Just test!
    SES-based solutions usually do not include searching via classification.
    The successor framework of SES is "Embedded Search".
    Embedded Search is available with NW 7.01, corresponding to ERP 6.04. For details see SAP note 1254901
    Classification is supported by Embedded Search with NW 7.02, corresponding to ERP 6.05.
    ERP 6.05 is in unrestricted availability since summer 2011.
    If the customer can not upgrade to ERP 6.05, there is a preliminary SES-based solution for searching via classification.
    The solution can only be provided via SAP PLM consulting.
    Kind regards, Klaus Irle

  • LSMW procedure for PP master data

    Hi
    i have some doubts regarding LSMW .... can we upload  PP master data BOM,Resource,MasterRecipe and Production versios through LSMW. could u pls guide me in this issue.
    Regards
    hgvd

    Hgvd,
    You will create the procedures.  I have never seen detailed procedures published for all possible LSMW scenarios, probably because, they are always different for each project..  
    Every Data requirement is different, based upon the business requirements.  The LSMW project concept is pretty intuitive, so even without much training, a novice can create data upload functionality.  Read the docs previously quoted in this thread, and if you want more detail, try the old online word doc at
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000455036&_SCENARIO=01100035870000000112&_OBJECT=011000358700000728862003E
    Although this doc is for an old version of LSMW, it is particularly useful for a novice, since it contains so much detail.  There is some added functionality is later versions of LSMW, but for the objects you have mentioned, this doc should suffice.
    Best Regards,
    DB49

  • Problems for creating a header text in a Purchase Requisition by IDOC

    Hello,
    I´m creating Purchase Requisition by IDOC. I use PREQCR02  like basic type (   Message type PREQCR-Create purchase requisition )
    I don´t have any proble for creating item text, but I can´t create a header one.
    Any Idea?
    thanks for all.

    What is "it" that you cannot do (+ hate)???
    What is "status"? LineStatus???
    What is your problem when you try to skip an item?
    PS: You should always use enums instead of hard-coded values e.g.: Use the BoAPARDocumentTypes Enumeration for delivery.Lines.BaseType

Maybe you are looking for

  • Table for price produced in the invoice-SD module

    hi friends is there any table(not structure) from which i can find the value for total Basic price(without any tax of frieght etc) of an item in the invoice.like if the per unit value is 100/- nd qty is 10/- then total =1000/- i want this basic  tota

  • Error (ORA-01403) saveing data form a report with apex_item items

    Hi all, I've a problem saveing data that's inserted into a report which I created using apex_item items. Reproducing the exact issue on apex.oracle.com will take me a lot of time, and I don't know if I really can reproduce this matter... So I hope I

  • File format while sending a file  using FTP Process

    Hi, I am facing a formatting problem when i send a file from SAP application server to a different sever using FTP process. The problem is like this: Lets say I have a file with 10 records on the application server. When i am downloading this file to

  • Transports(bps objs)

    Hi mates, Base cube(bw) is linked to Plnning cube(sem) via DTP & transformation and everyday data is to be updated in plnning cube. I have to design one process chain for this requirement which should be triggered at particular time. Base cube is alr

  • How to track my iphone when i lost it

    pls tell me when i lost my Iphone then how i track this..