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

Similar Messages

  • 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

  • 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

  • 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  Maintain Field Mapping

    Hi SAP Gurus,
    I maintainance LSMW with option recording
    1)     Recording trans action as92
    2)     Maintain Object Attributes with my recording
    3)     Maintain Source Structures
    4)     Maintain Source Fields
    5)     Maintain Structure Relations, between SAP and source structure, choose Check to examine the structure relationships for errors. Yes ok.
    6)     Maintain Field Mapping and Conversion Rules, and now I have trouble, because I havenu2019t screen with field. I canu2019t doing mapping.
    Maybe is any buttom/function which join sap structure with my structure
    Can anyone help me?
    Regd
    Stenwa

    perhaps je have to delete the recording and do a new recording.
    Have you done the following steps
    Maintain Object Attributes
    Go to change mode
    Go to  recordings overview:
    A recording should look like this:
    AS91       asset legacy transfer
               Transaction:         AS91 Create Old Asset
               Owner:              
    SAPLAIST 0105
        BDC_CURSOR                     ANLA-BUKRS
        BDC_OKCODE                     /00
        ANLA-ANLKL                                          ANLKL                asset class
        ANLA-BUKRS                                          BUKRS                company code
    SAPLAIST 1000
        BDC_OKCODE                     /00
        BDC_SUBSCR                     SAPLAIST
        ANLA-ANLN2                                          ANLN2                asset subnumber
        BDC_SUBSCR                     SAPLATAB
        BDC_SUBSCR                     SAPLATAB
        BDC_SUBSCR                     SAPLAIST
        ANLA-TXT50                                          TXT50                asset description line 1
        ANLA-TXA50                                          TXA50                asset description line 2
        ANLH-ANLHTXT                                     ANLHTXT              asset description line 3
    Use the SAP field names like TXA50  this you have to fill in manual
    When you record and when there are default values, still overwrite them manual (other wise you mis them here.
    Blocks
    ANLB-NDJAR(01)                                      NDJAR_01             Usefull life in years line 01
    ANLB-NDJAR(02)                                      NDJAR_02             Usefull life in years line 02
    ANLB-NDJAR(05)                                      NDJAR_05             Usefull life in years line 05
    ANLB-NDJAR(06)                                      NDJAR_06             Usefull life in years line 06
    ANLB-NDPER(01)                                      NDPER_01             Usefull life in periode line 01
    ANLB-NDPER(02)                                      NDPER_02             Usefull life in periode line 02
    ANLB-NDPER(05)                                      NDPER_05             Usefull life in periode line 05
    ANLB-NDPER(06)                                      NDPER_06             Usefull life in periode line 06
    Maintain Source Fields
    ASSET_LEGACY_TRANSFER     asset legacy transfer
        ANLKL                          C(004)    asset class
        TXT50                          C(050)    asset description line 1
        INVNR                          C(025)    asset tag number
        AKTIV                          C(010)    capitalization date
        GSBER                          C(004)    business area
        KOSTL                          C(010)    cost center
        GDLGRP                         C(008)    location
        AFASL-1                        C(004)    Asset depreciation key line 01
        AFASL-2                        C(004)    Asset depreciation key line 02
        NDJAR-1                        C(003)    Usefull life in years line 01
        NDJAR-2                        C(003)    Usefull life in years line 02
        NDPER-1                        C(003)    usefull life periods line 01
        NDPER-2                        C(003)    usefull life periods line 02
        AFABG-1                        C(010)    Dep start date line 01
        AFABG-2                        C(010)    Dep start date line 02
        ANBTR01-1                      C(013)    Aquasition value Tax books
        ANBTR02-1                      C(013)    Aquasition value LO books
        ANBTR01-6                      C(013)    *** depreciation TAX books
        ANBTR02-6                      C(013)    *** depreciation LO books
    These field names you (can) use in the header from the excel file, in some cases with the block you have 1 value in the sourche fields like use-full live but you fill it in in 3 depreciation area's in that case you have to map it manual
    When you have used the same field name's you can use in Maintain Field Mapping and Conversion Rules the option automatecly mapping
    Edited by: Paul Annotee on Apr 28, 2009 9:27 AM

  • 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

  • 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

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

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

  • LSMW Source and Field Mapping

    Hi,
      I'm trying to use the LSMW.  What is the fastest way to maintain the source field and relationship?? Is it possible to define the source field and length in a text file and load it in the LSMW??
    Regards,
    Kit

    Hi Kit,
            u can create source fields in faster way.
    menupath
    In the 3rd step i.e., Maintain source fields
    source fields -> table maintenance
    here u can fill all the fields at a time.
    u can also maintain the fields in a file and copy and paste them in the Table maintenance .
    In 5th step i.e.,  Maintain Field Mapping and Conversion Rules
    Extras -> Auto field Mapping
    Now u get the auto field mapping setting pop-up.
    click ok.
    Now u Get the auto field mapping proposel pop-up.
    Here check Target field and Source field and click on Accept proposel push button for all the fields.
    with this the source and target field mapping are done automatically.
    reward if helpfull
    raam

  • 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: 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 No fields in field mapping

    I created a project to Create Material Basic data. In Maintain Field Mapping and Conversion Rules, I dont see any fields. What could I have done wrong.  I am using Batch input recording.

    Did you assign source structure to target structure ,if not assign them and see the results.
    Step 1 - Maintain Object Attributes
    Recording is done for the transaction
    Step 2 - Maintain Source Structures
    Maintain your source structures
    Step 3 - Maintain Source Fields
    Maintain source fields under the source structure
    Step 4 - Maintain Field Mapping and Conversion Rules
    Map the source structure fields to target structure fields
    Step 5 - Specify file
    Here you specify the file path to the source structure
    Thanks
    Seshu

Maybe you are looking for

  • How to enter a contact's ext. # without auto-dialing it?

    Is there a way to enter the extension for a contact's phone number when the company's phone system doesn't accept automated extension dialing? I used the proper procedure for adding an extension, but the switchboard operator picked up the phone as th

  • Error in Settlement of Asset created to AuC

    Hi All, While settling an asset which was created under AuC I have encountered the following problem: While running the T-code AIBU the system has given me the following error: Company code  not defined in Asset Accounting Message no. AA821 Diagnosis

  • Still freezing (!)

    http://discussions.apple.com/thread.jspa?threadID=2294629&tstart=195 I posted a thread a few weeks ago, explaining the issue I was having with my macbook pro 15". The computer would freeze, for a stretch, almost once each day, while I was simultaneou

  • Renaming main file causes compiled SWF to stop working in Firefox only

    I have a project as follows: src\UploadIndex.mxml (main file) src\com\FileUploader.mxml I want to rename the main file to "FileUploader". I've renamed the component file to "Uploader", then renamed the main file to "FileUploader". The project now loo

  • Importing from a scanner question.

    Hopefully this is a easy, but I can not file the answer to this. Is their a way to change the default file format when scanning to Photoshop CS5. It defaults to a BMP file I want it to a Jpeg file format? Thanks for the help.