MR21 LSMW

Dear All,
I've done a BDC recording for MR21 in a LSMW. when the recording is complete i was able to find all the fields recorded. But during the step of Field Mapping I was not able to find the fields in Target Structure(RECMR21). My source structure consists of
BUDAT,
BUKRS
WERKS
XBLNR
BKTXT
MATNR
BWTAR
NEWVALPR
NEWPEINH
But after recording MR21, i found the following fields in the structure,
BDC_CURSOR                     MR21HEAD-BKTXT
BDC_OKCODE                     =ENTR
MR21HEAD-BUDAT                 15.07.1995           BUDAT                Posting Date in the Document
MR21HEAD-BUKRS                 0001                 BUKRS                Company Code
MR21HEAD-WERKS                 0001                 WERKS                Plant
MR21HEAD-XBLNR                 CONV_AS_003          XBLNR                Reference Document Number
MR21HEAD-BKTXT                 CONV_AS_003          BKTXT                Document Header Text
BDC_SUBSCR                     SAPRCKM_MR21
MR21HEAD-SCREEN_VARIANT        MR21_LAGERMATERIAL_0 SCREEN_VARIANT       Screen variant
CKM_MR21 0201
BDC_OKCODE                     PROP
BDC_SUBSCR                     SAPRCKM_MR21
BDC_CURSOR                     CKI_MR21_0250-NEWPEIN
MR21HEAD-SCREEN_VARIANT        MR21_LAGERMATERIAL_B SCREEN_VARIANT       Screen variant
CKI_MR21_0250-MATNR(01)        VW-POLO              MATNR_01             Material Number
CKI_MR21_0250-MATNR(02)        VW-POLO              MATNR_02             Material Number
CKI_MR21_0250-MATNR(03)        VW-PASSAT            MATNR_03             Material Number
CKI_MR21_0250-MATNR(04)        VW-PASSAT            MATNR_04             Material Number
CKI_MR21_0250-NEWVALPR(01)     5000,01              NEWVALPR_01          Valuation price
CKI_MR21_0250-NEWVALPR(02)     5000,02              NEWVALPR_02          Valuation price
CKI_MR21_0250-NEWVALPR(03)     18000,03             NEWVALPR_03          Valuation price
CKI_MR21_0250-NEWVALPR(04)     18000,04             NEWVALPR_04          Valuation price
CKI_MR21_0250-NEWPEINH(01)     1                    NEWPEINH_01          Price Unit
CKI_MR21_0250-NEWPEINH(02)     1                    NEWPEINH_02          Price Unit
CKI_MR21_0250-NEWPEINH(03)     1                    NEWPEINH_03          Price Unit
CKI_MR21_0250-NEWPEINH(04)     1                    NEWPEINH_04          Price Unit
CKM_MR21 0201
BDC_OKCODE                     /EABBR
BDC_CURSOR                     MR21HEAD-SCREEN_VARIA
But the problem is during the field mapping, I find only these fields in my Target Structure RECMR21 ,
Field Mapping and Rule
       REC2MR21                       Recording MR21
           Fields
               TABNAME                      Table Name
                                   Rule :   Default Settings
               TCODE                        Transaction Code
                                   Rule :   Default Settings
Please let me know how can i get all the fields that i have recorded.
Thanks & Regards,
Sai

Hi Sai,
I have the same issue as yours ..How to get additional fields ?
Please let me know any ideas
Thanks

Similar Messages

  • Mass update price in MM01 and ME11

    Dear Gurus,
    I need to upload new prices of material, earlier in most cases V is 1. Now we got new prices. Please advice how we should proceed. should we go with MR21 or through LSMW in MM01.
    Also in ME11 how should we upload new prices.
    regards
    Vikrant

    for mr21 lsmw.. check these forum discussions
    [http://forums.sdn.sap.com/thread.jspa?threadID=80038]
    [http://forums.sdn.sap.com/thread.jspa?threadID=1856257]

  • MR21 Data upload using LSMW

    Hi,
    Please help me in creating an LSMW for MR21 Transaction. I have a flat file, But i'm not sure about how this can be acheived thru Direct Input. Please also educate me on the other techniques of acheiving this Data Transfer.
    Thanks & Regards,
    Sai

    Hi Thanks.
    I have used the same IDoc. But the following fields are not in the IDOC structure .
    2. RQPAS-QUALITAT - Qualitative Characteristic
    3. PLMK-MKVERSION - Version Number of the Master Inspection Characteristic
    4. PLMK-PMTVERSION - Version Number of the Inspection Method
    I found that MKVersions are maintaining in the MIC (Master of Inspection Characteristic) , Once the MIC number is given in the inpsection plan , It is populating the version automatically.
    SInce IDOC has qunatitive indicator, If value is populated to qunatitative indicator it is checking the quantative othwise if empty it is populating qualitative .
    Thanks,
    Karunanidhi

  • LSMW for MR21

    Hi Experts,
    What we are trying to do is to change prices for 106 products for 26 plants. So when we try to record LSMW it is giving  materials and plants as index. Like MATNR_01 MATNR_02 and NEWVALPR_01NEWVALPR_02.
    How will we make the file based on this then the columns will be too many in excel. Please let me know steps for recording LSMW for MR21.
    -- Syed Abid Hussain

    Hi,
    the LSMW recording must be created for 20 line items (material, new price, maybe new price unit) and is stored then, thus 20 price changes are posted using ONE document number (it works like that).
    After you have created youe LSMW-project with that recording, go to T-code LSMW enter the project and than "Goto / recordings". Edit your recording in a way that the field for "material number, new price, new price unit" which appears 20 times is changed to "material1, material 2, material 3,... material20" (the other repeating fields as well) to make them unique within your recording.
    Your MS Excel source can look like that (columns):
    Plant, Material1, New price1, New price unit1, material2, new price2,...material20,new price20, new price unit20.
    Now do the field mapping in LSMW and try...
    Best regards, Christian

  • BDC or LSMW for MR21

    Hi,
    Can anyone help me in creating a BDC for MR21:
    •Create a batch input recording and generate a program that can be modified. A transaction code should be created to run the program, and users must have the transaction included in their profiles. The program must allow BDC sessions to be created (rather than only offering a call transaction option). In the case of large files, the BDC session may be scheduled to run in background. Whereas a program running a call transaction can only run in foreground, if the file is being uploaded from the PC / network.
    or an LSMW for MR21.
    •Create a batch input recording through LSMW, and create the dataload using that. Since the data will be provided in SAP format, it is not strictly necessary to have an LSMW, but the developer may decide this is the simplest development method anyway.
    Please help me in this regard.
    Thanks,
    Sai

    hie
    for a BDC program for MR21 go to transaction SM35. Recording --> New Recording -->enter the a suitable name for the recording name and transaction MR21 and start to carry out the recording with the help of a functional guy. After you the process has gone through press save and back. Highlight your recordings name and press program. fill in the required name and on the filed contents radio button select Transfer form recording. After this you will have your BDC program ready.
    Create another program with type Executable. Copy and paste your BDC program into that one.  We do this so that you can assign a transaction code to your program.  For the transaction code go to transaction SE93 and fill in a relevant transaction code for your program. Press Create and fill in a relevant description for your transaction code. On the start Object radio button select option Transaction with parameters (parameter transaction) since we will have a parameter for picking the logical destination for the file to be uploaded.
    Make adjustments to your program according to your requirements.
    I would be happy to assist further.
    Regards
    PrinceIsaac

  • Automate MR21 Process

    Hi Experts,
    We have a client requirement as below:
    Client wants to compare the info record price per material for all related vendors.
    Once he arrives at the best effective price (Material Price + Freight + Duty), he would want this price to update in the Material Master Record as Standard price.
    I know we can use MR21 and LSMW to update this manually but we are looking to automate this process as we have more than 100,000 records in the system.
    Thanks,
    jammy

    Hi
        We donot have any other alternate than the LSMW or a BDC. But these lsmw/bdc can be run through the batch jobs that means only u can make schedule .
    (Be careful  before u change material master price especially for standard price any how that u migh tknow that. Just i had some exp that is why i am cautioning u)
    Thanks
    Ganesh

  • LSMW for Moving average price upload

    Dear Guru,
    Can anyone please advice if there is a way to mass upload/upload the moving average price for material master by using LSMW?
    Regards
    CW

    Hi there
    You can use the Recording of MR21,, may be it is going to be only three to four fields,,
    BUDAT, BERKS, WERKS, MATNR_01 and NEWVALPR_01
    Have it all the records in the excel file and convert into .txt,
    1.Go to the LSMW,, Click on the create icon,, maintain the details of below,,
    Project
    Subproject
    Object
    2.Maintain Object Attributes (double click)- Select the Batch input recording-Recording overview-Create icon-Enter Recording, Description-enter- Enter the T code MR21- Date, Comp Code, Plant And enter- Material Number and enter - Feed the new price and save,, now go back and click on default all and save,,,
    3.Maintain Source Structures(double click)- Change mode- Save
    4.Maintain Source Fields-(double click)-Change mode-(Ctrl+F9)Table maintenence- Enter the fields which you populated in MR21- Save-save and back.
    5.Maintain Structure Relations-(double click)-Change mode- Save
    6.Maintain Field Mapping and Conversion Rules-(double click)-Click on the fields which you are going to populate and selct the source field and map it,,
    7.Maintain Fixed Values, Translations, User-Defined Routines-(double click)-maintain the fided values if any like BUDAT
    6.Specify Files-(Double click)-Change mode- Select the legacy data-and upload the file-as per the reqd format and save
    7. Assign Files- (Double click)- and check the assignment and save
    8.Read data- (Double click)- Execute it and check the data and save
    9.Disply Read data- (Double click)- Enter and check the values as per the file you uploaded
    10.Convert data-(Double click)-Execute it - and check the line items which is equla to your upload file or not,,
    11.Create batch input session-(Double click)-Execute it- you will get the pop up "1 batch input folder with XXXX transactions created"
    12.Run Batch Input Session-(Double click)-Select the first line- (Chk the date and time)- Click on process- Display errors only and enter,,
    LSMW will run and change the MAP for all the materials,, Imp point is your file has to be as per the reqd format,,
    hope it helps,,
    Thanks
    Senthil

  • MR21 change price bapi

    hi all
    i search a bapi to change price in transaction mr21. I have found several bapi BAPI_MATVAL_PRICE_CHANGE and BAPI_M_REVAL_CREATEPRICECHANGE, but the both can't need it, it doens't change
    the price. there are two function modul PRICES_CHANGE and PRICES_POST. I've searched the forum already, but nothing found.
    Can anybody help me....
    Thx

    Hi,
    IFound BAPI_M_REVAL_CREATEPRICECHANGE but in this BAPI block by statement
    Im Standard deaktiviert
    error_flag = 'X'.
    IF ( NOT error_flag IS INITIAL ).
    EXIT.
    ENDIF.
    i created a custom  ZBAPI   and remove that statement and running well.
    Note :
    minimal required for parameters table MATERIAL_PRICE_LIST is
    plant = ft_list-werks.
    material = ft_list-matnr.
    curr_type = '10'.
    IF ft_list-vprsv = 'S'.
    change_std_price = 'X'.
    std_price = ft_list-nstpr * 100.
    ELSE.
    change_mov_price = 'X'.
    moving_pr = ft_list-nstpr * 100.
    ENDIF.
    currency = ft_list-waers.
    iso_code = ft_list-waers.
    price_unit = ft_list-peinh.
    quantity_unit = ft_list-meins.
    isocode_unit = ft_list-meins.
    check like this.If you d not want to create a custom one the go for lsmw recording and change.
    Regards,
    Madhu.

  • Upload price changes with lsmw

    Hi there,
    For my current project I need to upload some price changes via LSMW. I figured out that it can be done manually via transaction MR21. Is there an object in the Standard batch input that I can use to do this?
    Thanks for your help.

    HI,
    You will not have Direct input batch.
    All you can do is to record the LSMW for MR21 and provide and flat file and load it. It hardl takes minutes to do this recording and creating the LSMW for MR21.
    Thanks & Regards,
    Kiran

  • Logical filename and logical path in lsmw

    Hi all,
           I am doing a lsmw for purchasing info record . i created a logicalpath and assigned a physical path to that . i created a logical filename and assigned the logical path .but when i assign that to the lsmw it is throwing error as 'LOGICAL PATH DOES NOT POINT TO PHYSICAL DIRECTORY' .
    can anybody provide a solution for that .
    Thanks & regards
      Magesh anandan

    hi ,
      goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
    hope it will helps u..
    regards,
    venkat.

  • LSMW  - Open Sales Orders

    Hello  Friends
    I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
    Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
    Regards.

    Dear Mehmood,
    I want to find if anybody can guide me on how to get all open sales order tables
    You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
    Secondly, you can get the data by using Query also- in SQVI
    design a query with VBAK / VBAP & VBUP
    so that from VBAK you can give time period & sales area details
    from VBAP - you can enter plant relevant details to filter certain records & item category as well
    where as VBUP- filter wth the status.
    once downloaded store in flat file.
    Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
    prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
    Hope this is what you are looking for.
    Regards,
    ReazuddinMD

  • Error while creating a LSMW

    Hi,
    I have created a LSMW for updating sales office in the Sales order by using Direct input method.
    While specify files;I specified the file saved in the Desktop.While saving I get an error saying 'Logical path is not specified'.
    Can anyone tell me why this error occurs and how to rectify this??
    Thanks in Advance.
    Thanks&Regards,
    Sophia Xavier

    HI
    Place the cursor on "legacy data" and click on "create" option.
    You will get one screen. There, you have input box called "FILE". By selecting drop box or pressing F4 on that, you will get all folders, files available at ur PC.
    Search for you file, and double click on ur file. Next give all mandatory information in that screen. Finally press ok and save your "specify screens". It can be saved.
    Reward if it is useful.
    Thanks.
    Siva kumar

  • Creation of partner functions for customer master with LSMW

    Hello,
    I try to create partner functions together with a customer via Batch Input in LSMW.
    Object: 0050, method: 0000, program name: RFBIDE00, program type: B.
    I use the structure BKNVP (Customer master partner functions) to create a new partner and set values for the fields KTONR and PARVW.
    When I start the batch input the fields are filled in correctly in a new dynpro. After the confirmation of these values the dynpro changes back to the partner functions sscreen, but the value for KTONR isn'n being transferred. So I get an error message.
    Is it only possible to update partner functions with that BI or what is going wrong ?
    Thanks in advance and regards
    Alex

    Hi Alex,
    Could you specify what error message you are getting?
    Thanks!
    Rudra

  • Error in Creation of Purchase Requisition through LSMW

    Hi
      I am trying to craete a PR upload prog through LSMW batch input method. In the Specify File option I am giving the TXT file destination.The TXT file is saved at my desktop. But while saving it is givving an error as "No logical path has been specified", Message no. /SAPDMC/LSMW_OBJ_060046
    If anyone can help me out.

    Hi,
    I would suggest to create a new one for this as file is placed on your desktop. But you can refer the standard one with which you will get the idea for creation:
    Standard logical file name for this is: MM_PURCHASING_REQUISITIONS
    In this file location is default in location /usr/sap/trans/data/mmrequisitions, instead of this you can give your converted data file name from step 7 Specify file for e.g PROJECT00_CUTOVER_MB1C_1.lsmw.conv
    You can refer or use standard logical path LOCAL_TEMPORARY_FILES for this scene.
    Hope this solves your problem.
    Regards,
    Brajvir

  • Creation Of LSMW for Actions..........

    Dear ALL
    Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
    This is for external vendor employees hiring actions.
    While recording or manually running the process, it is working fine.
    When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
    Kindly suggest me in this issue.
    Thanks
    MJ

    Hi,
    1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
    2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
    3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
    Check the alternate number to see if anything gets assigned to it.
    salil

Maybe you are looking for

  • Error while testing the Service Provider

    Hi All, I have developed a WebService model for Purchase Requisition scenario and followed all the steps of the Duet Developer Guide up to creating the SCL Business Object. While testing the service on SAP side, when I execute the server proxy and in

  • No effect attribute node

    Hello I am having problems with the programmatical adjustment of a numerical input. I am using attribute nodes to set the precision and data range, but it has no effect on the input element. I recently updated from 6.0 to 7.1 and never had that probl

  • VENDOR With Multiple Location

    Dear Experts we r having Single Company Code & Multiple Plant , and our vendor Having Multiple Location so through Company Code i want to Create only one Vendor but whenever order will be placed then Purchase order should Contain different Address An

  • Error during variable selection

    Hi Expert, BW server: BI 7.0 version and SP: 15. Sap Gui is 6.4 version Patch leve 24. I am in production support. User's are getting the following error, when they try to change the variable values after executing the query. Program error in class S

  • AME CC and 2014 crashed

    Hi, I am having some difficulties transcoding from XMF to .mov (screenshot attached) at HD 1080i 25,H.264, AAC 48Khz using both the CC 7.2.2.29 and CC 2014  8.0.0.173 version with an unknown error. Would like to know if any experts can help System Sp