Re: Error in LSMW Field Mapping and Conversion Rules

Hi Friends,
In Step Field Mapping and Conversion Rules:
Am not able find the fields.
1. I checked the source structure relationship it is ok.
2. I have assigned the fields in recording too.
Please help me out.
Thanks in advance
vivek

hi ram,
I think u have gone wrong in the first step itself............
Do like this,
1) Goto Maintain Object Attributes
2) Select Batch Input Recording and Enter Ur recording Name
3) Then Select Recording Overview...
4) Thne Press DEFAULT ALL on ur Application Toolbar or Select EDIT-> DEFAULT ALL
5) All ur Source Fields will be mapped for Recording Fields......
6) Now u can see ur Fields in Field Mapping and Conversion Step......
I hope this will work u r doing with BATCH INPUT METHOD...
Reward me if useful.......
Harimanjesh AN

Similar Messages

  • Maintain Field Mapping and Conversion Rules//LSMW

    Hello Friends,
    I want to add new fields in the step.no.5(Maintain Field Mapping and Conversion Rules).
    Indetail i'm going to upload the GL balances, for DR and CR line item fields are same so system is not accepting the same field value, so i have added 1 for the CR line item fields like in the below example.
    BSEG-WRBTR(Dr line item)
    BSEG-WRBTR1(Cr line item)
    but BSEG-WRBTR1(Cr line item) field not displaying in the step.no.5 to mapping to source field.
    please let me know the solution for this.
    thanks
    swapna.

    Hi,
    I would like to ask few questions.
    1. Are you using batch input recording or using any program for uploading. (through LSMW)
    2. Whether all your debit or credit line items are same every transactions. I believe they should be same, because you are uploading the balances.
    You should not have two similar fields for example, if it is WMBTR, then again WMBTR should not be there, it should WMBTR1 and WMBTR2. Make sure you have done the field mapping properly. When you have done the field mapping all the fileds must have been mapped. If any one of the fields are not mapped, then it will not be uploaded.
    Please see the following LSMW sample guide:
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Maintain Object Attributes Do the recording - Make sure that you do not have two fields with the similar name. If you have two fields with the same name double click on the field name and add1 or 2 to differentiate between field names. Just Copy those fields and descriptions in excel sheet, delete the blank lines, then in excel data => text to columns, your field names and descriptions will be now in two columns. Copy them, then put your cursor on the next sheet, then edit => Paste Special => Transpose, all the columns will become your rows. Now your file structure is ready. Maintain Source Structures Give some unique structure name and description Maintain Source Fields Here you add the fields that are being used in EXCEL first sheet, just copy them and make all the fields as C (Constant) and then give length of 60 for all fields. Maintain Structure Relations Though structure relations are already created just go to this step, click on edit, then click on create structure relation, just accept the message stating that the structure relation has already been created. Maintain Field Mapping and Conversion Rules Do the field mapping for all the fields, all the fields willl be stretched and you will see five rows against each row. In case if there is any row that has NOT stretched means, there is something wrong in the mapping. Maintain Fixed Values, Translations, User-Defined Routines There is nothing to be done at this step. You can simply ignore this. Specify Files Make you must have saved your excel file as .txt (before saving make sure you have copied data from sheet2 to sheet 3 and then sheet 3 is saved at tab delimited file. Text (Tab delimited) Select your file, make SURE that you have select "TABULATOR" radio button and say OK. Assign Files Go to this step and click on Create assignment button and accept the message and say ok. Read Data Remove two check boxes and just click on execute button. See the log. Make sure you have number of entries (lines) in your excel file are matching with this. Display Read Data Display data give 1 to 999 lines and double click on one of the line and see whether fields are mapped correctly are not. Convert Data Execute and see the log match the number of entries. Display Converted Data Display converted data, give 1 to 999 and double click on one of the line and see whether fields are mapped correctly or not. Create Batch Input Session Check on Keep Batch Input sessions check box, then execute. If you select that check box, even after execution it will be there and you can analyze what happened. Run Batch Input Session (Takes you to SM35) Go to SM35 select the batch and click on process button (execute), make sure you have checked right hand side first three check boxes and FOREGROUND (because you want to save what it is creating) Say OK Keep on press ENTER on your key board in order to move the session further. If you follow these steps along with the guide, surely you should be successful. There may be small difference between the file and what I have explained but ultimately the purpose is same. Hope this is useful and let me know in case if you have any issues.
    Regards, Ravi

  • Maintain field mapping and conversion rule

    hi
    could you please tell me,
    IN LSMW  5 th step, what is the role of maintain field mapping and conversion rule, please throw some light on it.
    Thanks

    it will set up the connection between your defined "source field" and the field which has been maintained by your import method .

  • Lsmw..........Step 5: Maintain Field Mapping and Conversion Rules

    Hi All,
    After maintaining all the four steps in LSMW, when I goto Step 5, I cannot see any fields which I have created in recording to map the fields to source fields. If i remember correctly there is a button to click to see all the fields under "Fields" after TCODE. Can anyone explain how to see all the fields which I have created using the recording session.
    Any inputs will be highly appreciated. I can explain the issue if some one didnt get this?
    Regards
    Shane.

    Hi All,
    My question is, In step 5, when I go to map fields, under the "Fields" I can only see four sub nodes. and they are
      Fields
              __BEGIN_OF_RECORD__ Before Using Conversion Rules
                        Rule :   Default Settings
                        Code:    MATMAS = INIT_MATMAS.
              TABNAME                      Table Name
                        Rule :   Default Settings
                        Code:    MATMAS-TABNAME = 'MATMAS'.
              TCODE                        Transaction Code
                        Rule :   Default Settings
                        Code:    MATMAS-TCODE = 'MM01'.
            __END_OF_RECORD__   After Using Conversion Rules
                        Rule :   Default Settings
                        Code:    transfer_record.
    My question is after TCODE, i should see all my fields to assign the source structre fields. I can also send the screenshot if anyof you can reply to my sapshane27 at gmail
    Shane
    Edited by: shane shane on Jan 18, 2009 7:14 PM

  • Problem in lsmw. step: display field mapping and conversion rule

    hi,
    The IDOC structure to be mapped is missing in step 5[lsmw using IDOC]. Hence target structures are missing in auto gnerated conversion program.
    As a result the the step Convert Data step is failing.[Converted data cant be generated]
    I am using standard BAPI charcteristics as my Basic Type.
    Anyone having idea why the target structure is missing??..

    The problem is solved....The field mapping was missing coz i didnt assign the target structure properly....

  • LSMW  Field Mapping: can't map Batch Input Structure for Session Data

    In step 5 Maintain Field Mapping and Conversion Rules, I can not see Batch Input Structure for Session Data Fields.
    Can somebody tell what's wrong?
    Here's what I see:
    Field Mapping and Rule
            BGR00                          Batch Input Structure for Session Data
                Fields
                BMM00                          Material Master: Transaction Data for Batch Input

    Hi Baojing,
    To see structure BGR00  you have to map this structure first with input file structure in step 4 (maintain structure relationship).
    Regards
    Dhirendra

  • LSMW for 2001 with conversion rules....

    Hi Data migration experts,
    I have a requiremet,i have to do a LSMW for infotype 2001 where i have to write some converion rules as follows:
    1. If PERNR begins with '00' must be changed to '01' - e.g. '00000010' becomes '01000010'
    2.  Begin date and End date should be converted from YYYYMMDD -> DD.MM.YYYY.
    CAn you please help me,how and in which step i can do this
    A s i am doing LSMW first time,pls tell me in detail
    Waiting for youer reply..i have complete this requirement in 2 days..
    Sathavahan
    9920732955

    Hi,
    Select the Radio Button Maintain Field Mapping and Conversion Rules and double click on the this step.
    After Mapping is done..Place the cursor on the field and press the Insert Rule(Ctrl+F4) a popup get displayed and select the radio button  ABAP Code and press ok.
    Script Editor is opened and you can write the conversions here.

  • LSMW field mapping

    Hello,
        I am doing Material master load using LSMW in 3loads.
    First load is for basic data with matnr , mtart,mbrsh,maktx,meins,bismt,mtart.
    wht should be the format of my input file, it should be like in the step " maintain field mapping and conversions" , because when in see the data in "display read data " and " display converted data ", its loading the records but its deleting some parts of it and after executing the last step its giving errors.
    If LSMW is success, where can i see the output?
    I would appreciate if some can help me , i am doing LSMW for the first time.
    the problem is with field mapping and file format?
    thanks.
    Raghu

    the file format is same as the field mapping and conversions, still its picking the values from the file in different order . I am saving the excel sheet in tab delimited form and mentioned it in the LSMW.if anyone done Material master load , if would appreciate if u can give the steps and file format..
    points are rewarded..
    thanks.

  • Mapping and transformation rules

    Hi experts,
       pls tell  me what is this mapping and transformation rules in context wz filw to RFC scenario.
    what do u mean by transformation and transformation rules.
    Thanks
    veeru

    Hi
    Mapping and Transformation both are same,to understand clearly we go for transformation.
    Generally we go for Mapping/Transformation when ever you want to change the source structure into required format of the target structure we gor for mapping ie. Transforming the one structure to another.
    Ex:
    Source Structure:
    Fname
    Lname
    Empid
    Fname------>CONCATE   theswe togetherly gives Name.
    Lname------->CONCATE
    My required Target Structure is:
    Name(So to get Name we will use the CONCATE preefined functon under Graphical Mapping in Mapping Editor )
    Empid
    Thanks

  • LSMW field mapping Rule-ABAP code

    Dear Guru!
    I'm new to ABAP, but I have to write a little in ABAP.
    I create a LSMW project using BAPI for changing standart price of material.
    Input data: material, price, posting date.
    The point is: system should found in table MBEW all valuation areas and valuation types fo which the material record is exist and cang price for all these records.
    I wrote a code for these fields in Field Mapping menu. But it puts in only one record whereas I need it to execute BAPI for all records.
    I wrote the folliwing:
    VALUATIONAREA                Valuation Area
                       Code:    tables MBEW.
                                select * from MBEW
                                 where MATNR = ZHEADER-MATNR.
                                E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
                                endselect.
    VALUATIONTYPE                Valuation Type
                       Code:    select * from MBEW
                                 where MATNR = ZHEADER-MATNR.
                                E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
                                endselect.
    May be it's simple, may be not. But I don't know how do do it.
    Will be grateful for any hints.
    Thanks.
    Edited by: assoli on Aug 3, 2011 3:51 PM

    select endselect goes like a Loop, so if you don't store the value in some table (internal table), only the last row will be available to you as it will be overwritten everytime in the loop.
    There is no need of using 2 selects, one select itself will give you all the data for that material in MBEW table. I don't understand what you are doing with
    E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY
    Is E1MATERIALVALUATION_PRICECH a structure ? You need somethng like
    select * from MBEW
    where MATNR = ZHEADER-MATNR.
    E1MATERIALVALUATION_PRICECH-MATERIAL             = ZHEADER-MATNR
    E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
    E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
    Append E1MATERIALVALUATION_PRICECH to itab.             "(itab is internal table)
    endselect.
    Then use that itab for your purpose.

  • Field mapping and value mapping - Basic

    Hi,
    Assuming I have a repository containing a main table with 3 fields
    1)Product
    2)Description
    3)Manufacturer (lookup field)
    When i map the source file to the destination repository
    1) i map fields product and description of the source file and destination repository.
    2) map the manufacturer field between the source file and destination repository.
    3)Value map the contents of the manufacturer field between the source and destination.
    If i have a  source file like this.
    Product                                         Description                                Manufacturer
    a                                                         a                                              Hindustan lever
    b                                                         b                                              Hindustan lever
    a                                                         a                                              P&G
    b                                                         b                                              P&G
    Since i have made the manufacturer field a lookup field, it can hold the lookup values Hindustan lever and P&G.
    what happens to prduct ? i have made only a field mapping. Will the values a & b be stored in the destination repository this way?
    Is a value mapping required for product as well to hold both the values?
    Please help
    Thanks,
    Vignesh

    Hi Vignesh,
    You do not have to value map it. Import managerwill automatically assign both the values to product a and b. Basically it is set in the configuration options of the import manager. There is a setting "merge source records based on matching field". If that option is set to yes,  both the values will be assigned to product a and b respectively.
    Best Regards,
    Dheeraj

  • Bulk 2.0 Deletion of Field mapping and Data

    I have created a Account Export field mapping using Bulk 2.0 API and after creation, I tried  SYNC and retrieved the Data. This was completed without issues.
    Then I tried  deleting export entity from Eloqua using an HTTP DELETE request.
    Using HTTP DELETE,."accounts/exports/24/data";I tried deleting the data.
    The request was successful, Eloqua returned a 204 response.
    But Using Get request, I was able to retrieve the data again. It wasn't deleted
    Again,Then I tried deleting the mapping itself, I got the status as '204 No Content'.
    The data got deleted but  When I tried '/accounts/exports', the mapping still exists there.
    Is anyone aware of this issue and also how to resolve this?

    I finally found it. Its mapping's are present in FieldTypes class. Even though its not mentioned in the API.

  • SAKNR and conversion rule

    Hello!
    It is possible that u201CG/L account numberu201D (Data element: SAKNR) could be stored without a conversion rule?
    Now when we introduce a new account this is left aligned and zeros are introduced at right. There is any mechanism to deactivate this conversion?
    Thanks a lot.

    Are you sure of your description, SAKNR has the ALPHA rule, and is intend to receive numbers, so they are Right Justified and internally padded with leading zero (so the identification is sorted like the number), there is an Alphabetic field SKA1-SAKAN which contains the external format for search help purpose.
    Nevertheless, there is a SMOD Enhancement to manage the general account number SAPMF02H. (Create a project under CMOD and attach the Enhancement)
    Edit the ZXF03U01 include of function module EXIT_SAPMF02H_001.
    Be aware that your Enhancement must not change the coding of an existing account, else your database will become inconsistent.
    Regards

  • LSMW field relations and mappings

    Hi,
    In LSMW, I need to define multiple relationship to same structure, is that possible ,pls suggest.
    The mappings needs to be done in IDOC type PORDCR101, from one field in header structure and another from line-item structure comes from flat file and maps to the same segment E1BPPAREX of the IDOC type PORDCR101,.
    Pls suggest.
    Thanks in advance
    Regards
    Anand

    Sorry, only one source structure per target structure.
    Study the generated conversion program, there is a clumsy workaround by manipulating the internal tables that the LSMW uses.
    Thomas

  • Mapping and Conversion?

    Hi Gurus,
           I am trying to take 20??000 to F_100 as opening balance and few GL's to Flow dimension. Is it possible? If so the how to map it and what are the conversions I have to maintain.
    For Ex:
    102345  -  Project related expense
    102346  -  Project Services
    102347  - Project TA/DA
    all this GL's are common for 9-10 types of project. So for this GL I want to map them to Flow Dimension as follows
    102345 - F_551
    102346 - F_552
    102347 - F_553
    How I can do it? Next in time dimension external we have 20??000 which is opening balance, this I want to map it to F_100 internally. So pls explain me what are the conversions I have to maintain and how to map them?
    Regards,
    KumarMG
    Edited by: KumarMG on Jun 15, 2011 7:47 AM

    This may help.  After a few tests of my own in appshell, I had built a new export transformation file, added the concatatonated columns, but I added VALIDATERECORDS=NO and SPECIFICMAPPING=NO.  It appeared that after several different runs, the data would come out with a HEADER that was alphbetical. 
    Now the other big difference is that I generally export data using the EXPORTFROMFACT package, which will eliminate all parent records from my data and may be slightly different than the EXPORT package.  But I suggest using this when pulling base data for other application purposes.
    Based on my testing, it did not matter where I placed my mapped names, but that they eventually were all alpha sequenced in the data file.
    Good Luck.

Maybe you are looking for