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

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

  • FB01- LSMW - RFBIBLOO: Field mapping for WBS Element

    Hi,
    Iam using the standard program RFBIBLOO for Balance Sheet and Profit n Loss uploads thru LSMW.
    I have a field in the source structure which needs to be mapped to WBS element in RFBIBLOO.
    Could anybody tell which is the field to which i need to map this WBS. It is not present in BBSEG..
    When I check the data element of WBS in FB01, it is in structure COBL.
    Regards
    Syam

    Hi,
    You can map the WBS in RFBIBLOO for this BBSEG-PROJK (Project Account Assignment (PS_PSP_PNR Batch Input Field))
    Thanks

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

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

  • How to add a new field in the Field Mapping

    Dear Freinds,
                   I have two un used fields in the  Source fields to the Target Fields ,
    i have to add the 3   fields which r there in the my source fields to that
    of the target fields ( as per the change in the requirement) in the 5th Step
    i.e Maintain Field Mapping and Conversion Rules
    the Target strucutre & the Source fields( by clicking the button
    Source field and selcting the fields from the popup menu) in the mapping and conversion step  ,i want to  add  3 fields which are availabe in the list of th source list  which i want to map to the Target strucutre  .
    When i tried it is adding in the othe target field
    presently i have mapping (5th sept ) as below.
       ZPA30_08                       LSMW
           Fields
               TABNAME                      Table Name
                                   Source:  ZP0008_STRC-PERNR (Personnel Number)
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TABNAME = 'ZPA30_08'.
               TCODE                        Transaction Code
                                   Rule :   Default Settings
                                   Code:    ZPA30_08-TCODE = 'PA30'.
    now i want to add 3 fields Pernr,wage type and Amount  , but when iam trying it is
    getting and saved in the TABNAME .
    How can i map please let me know .
    Regards
    syamla

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • Auto field mapping not working

    Hi,
    I am working on LSMW for transaction DGP2. for the 5th step (  5 Maintain Field Mapping and Conversion Rules), this functionality is not working niether I am able to assign manually. The source structure might have problem. How should I find out the error in which step and how to sort out that?
    Thanks in advance,
    Rgds,
    Madhuri

    Hi Chenna,
    I have given same structure for this one. Still its not working.
    please help.
    Thanks
    Rgds,
    MAdhuri

  • LSMW  - Maintain Fixed Values, Translations, User-Defined Routines

    Hi all,
    I know a little about LSMW.I can perform all the steps and I have uploaded from flatfile to standard tables for transaction XK01. I just want to know what we can perform in sixth step.If I want to write a user defined routine how can I do that ? Can anyone explain me with a simple example and detailed description.
    Regards,
    Vijay.

    hi, you means the 'Maintain fixed values, translations, user-defined routines'.
    You can definite some fixed values and translations rule in this step.
    And go back to the 'Maintain field mapping and conversion rules' steps.
    You can utility these pre-defined in the data mapping.
    E.G.
    You defined a fixed valued name 'BUKRS'
    Through click the button in the application bar in step 5,
    you can use a FV_BUKRS in data mapping.
    FV_BUKRS is the name of the fixed value name in data mapping.
    thanks

  • ABAP code which will use function module during field mapping in LSMW

    Hi,
    During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.
    How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?
    Please help...
    Regards,
    Tushar.

    Hi Tushar,
    You can write in FORM ROUTINE and LSMW.
    I hope you know how to write ABAP code at field level.
    If not ...
    Come to change mode->select the field->Rule->ABAP Code
    write a perform statement in ABAP code at field level.
    <b>PERFORM test</b> using val
                 changing valu.
    Go to Utilities(at menu)->switch layout-> extras ->select Layout->check Form routine-> it will display a FORM Routine... at bottom
    this is the place where you can write some code for
    <b> FORM test</b> using value
              changing value1
      FM call....
    .ENDFORM  
    Get the value1 returned and use for the Field population.
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

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

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

Maybe you are looking for

  • How to auto change the name in X-Axis and Y-Axis in chart ?

    Hi, I want to plot data into a chart. I make a selection switch for each channel, there are for temperature measurement and voltage measurement. What I want is when I switch the selection to temperature measurement, the Y-axis´s name change into Temp

  • Sync DOES NOT WORK on IPHONE 2.0 for Calendar & Contacts

    Multiple issues with new IPHONE 2.0 Purchased today 11/6/08. VERY DISAPPOINTING to have so many bugs first up. 1. Calendar Sync is 17 HOURS behind. Yes, my [phone has been set correctly to the correct time zone) but after syncing, all appointments ar

  • Camera Raw 7.2 Corrects Columnar Artifacts Introduced in 7.1

    I'm happy to report this bug, introduced in 7.1, appears to be completely fixed: http://forums.adobe.com/message/4450716#4450716 Thank you to Eric and the Adobe team for correcting this image quality bug. -Noel

  • Import - Export feature

    Is there a way to import - export routes or locations from HERE from-to other devices? I have a lot of routes created with different softwares and would like to import them on my Nokia phone. Igor http://jenga.wordpress.com

  • Adobe Drive 2 and Alfresco CMIS in virtual PC

    0. MS virtual PC with windows XP started 1. alfresco 3.3. installed and started in the virtual-pc image 2. adobe drive installed and started in the virtual-pc image 3. enter the URL cmis://[IP-ADDRESS]:8080/alfresco/service/cmis     (or cmis://localh