LSMW Material Master - create several valution types within one Run

Hello @ll,
i created a LSMW for material master migration, and i would like to create up to 4 different accounting views (based on different valuation types) within one LSMW Run.
As there is the Field BWTAR on Structure BMM00, and the accounting fields on Structure BMMH1 i dont know if:
1. this is possible in general with LSMW and
2. if possible where i have to set the "transfer_record" commands...
Does anybody have experience on this?
BR,
Gregor H.

I never used the standard batch input method, so I cant answer this part. But with IDOC as import method I do this right now and it works without any problem
The transfer record command is set in the  section of processing time  __END_OF_RECORD__
you can display this section when you are in field mapping and conversion rules. choose from menu Extras > Layout and activate all boxes.

Similar Messages

  • Material Master create / change screen addition

    Hi
    I am trying to add purchasing order text screen to material master create / change Z T code. I added purchasing order text for screen sequence group through T code OMT3B. But when I check screen sequnce in TCode OMT3R - Change view of screen order, new screen is not apperaing.
    I did similar configuration in sandbox of my system, I am able to add screen in material master create / change t code.
    Is there any other settings need to be maintained to add this screen?
    Regards,
    Nilesh Sankpal

    Do the maintenance in OMT3E also.

  • Automatic Trigger of Idoc Sending to PI on Material Master Create/Change

    Hi All,
    I would like to ask how to automatically trigger sending of idoc on material master create/change without using a standard transaction like BD10. I already tried using MASTER_IDOC_DISTRIBUTE in the material master change user exit. It does send the idoc but my problem is when an inbound idoc creates a material, it will then pass through the userexit and use MASTER_IDOC_DISTRIBUTE again.
    Any suggestions? Or do you have a better solution for this? My requirement is when uer goes throgh MM01/MM02 an idoc will automatically be sent to PI.
    Thanks.

    First of all a quick comment to your present solution. If it works and your only problem is that you'd like to suppress triggering the IDoc creation when a material is created/updated via inbound IDoc then you might want to just fix that. There's many possible ways to approach this, it all depends how much you want to change and what your processes are (I sorted the listed ones in order of personal preference, though the list is not complete for sure):
    <ul style="list-style:circle;">
    <li>Export some flag to memory when processing an IDoc that you can import in your exit and thus recognize that you don't want to send an IDoc. Depending on how you are processing your inbound IDoc BAdI BADI_MATMAS_ALE_IN might work; you might find others if this is not applicable or sufficient. If you're working on ECC 6.0 you could also consider coding the export of the flag in an implicit enhancement spot in your function modules used for IDoc processing.</li>
    <li>Evaluate in your existing coding the transaction code SY-TCODE; most likely you should see a clear difference between your IDoc processing and the other updates where you want to trigger the IDoc.</li>
    <li>Most likely the IDoc processing triggers function module MATERIAL_MAINTAIN_DARK (e.g. MATERIAL_INPUT_MATMAS01 does); this function module uses a global variable FLAG_BAPI_CALL to indicate the non-dialog processing. So if you feel adventurous you could evaluate this flag in your coding.</li>
    </ul>
    Change pointer won't really do you any good if your functionality is already working without them apart from the trigger. Even if you write change pointers, you still have to implement the trigger functionality, so essentially back to square one...
    In general another good option is often to use workflow events that are already triggered. I.e. in your case business object BUS1001006 almost does the trick. It has events for <em>ViewCreated</em> and <em>Created</em>, but unfortunately lacks events for material updates (and I didn't see any other appropriate object that has it and a quick trace while updating a material didn't fire any appropriate event).
    Cheers, harald

  • In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph?

    In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph. 
    I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature.  I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph.  Is this possible?
    Thanks!

    Nice of you to be doing this for your Mother's Thesis.
    There are several issues here:
    1. A Paragraph Style is what it says, the style for the paragraph
    2. You can format text within a paragraph by applying a Character Style
    3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
    So in answer to your question, no.
    You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
    Peter
    Apple's marketing slogan:
    Pages 5.5.1 - Can't Do That!

  • LSMW- Material Master Performance issue

    Hi All,
    We are using the prgoram RMDATIND to upload material master through LSMW and having a problem of performance while using this technique.
    Have 4Lak records to be uploaded in 10 hrs as it required to upload all views.
    Pl advice except separate the records.Is that any option to run the file in parallal views?
    Regards,
    Asirvad

    I think best option is to break the file up into many chunks that can be processed in parallel. If this is not an option then you need to consider what is on the selection screen of RMDATIND, for example "Create change documents". Is this required for your purposes as this takes a lot of time.
    The other thing I would suggest is to talk to your basis team because there are settings and config they can put in place to aid this load.

  • LSMW: Material Master Data migration

    I will be migrating material master data using LSMW IDOC.
    I also want to migrated associated material class data.
    The question is:
    How do I extract the material class data so that I can load them with LSMW IDOC CLFMAS after the materials are loaded?

    Hi,
    You have 2 possibilities.
    1. If it is 1:1 transfer for source SAP system to target SAP sytem ( without data modification ) you to establish the ALE interface and distriute by using the prg: RBDSECLF
    2. If it is a transfer of CLF data between 2 SAP systems where you need to modify the data based on some rules after you extract the data from the source system, you could extrace the data from Legacy by BAPI: BAPI_OBJCL_GETDETAIL. Once you extract the data, you could process as per the reqmt, & load the data by LSMW either by DI or by IDoc method.
    Hope this helps.
    Best Regards, Murugesh

  • LSMW - Material Master

    I am trying to upload data via batch input in LSMW for material master.
    I am getting error - Problem inserting  or updating MLAN
    The tax category fields are not appearing in converted data.
    Kindly help.

    Hi
    Welcome to SCN.
    Post your questions in correct forum.Please post your question in Data Transfer forum for quick response.
    Cheers,
    Hakim

  • LSMW - Material Master upload

    Hi all,
    1)I am uploading materials by LSMW - Direct input method.
    [5th step in LSMW(Maintain Field Mapping and Conversion Rules).]
    I would like to know the field name for mapping for Tax classification field in Sales Org 1 view of Materail Master.
    I need to upload this field with 1 as input.
    How do this?.
    2) What would be the input value for Check Box in Material Master for LSMW.
    Thanks in Advance.

    Hi,
    1.) You can map this value with the field TATY and TAXM.
    2.) The check box which you are checing on the material master would be represented by 'X' in the LSMW mapping.
    hopefully this is helpful for you.
    Regards,
    Lalit Kabra

  • Listening to several xml-events within one workflow

    We are running WLI20 and are using Sybase(11.5) as a respository database. We are
    having the following problem with eventnodes.
    1: Within one template we are using the action 'post external xml' to post three
    unique messages to the destination JMSQueue "com.bea.wlpi.EventQueue".
    2: In the same template we have added three eventnodes which are listening for
    the unique messages. The number of unique messages is the same as the number of
    eventnodes.
    We get the following result:
    All messages are sent to the JMSQueue(this is verified).
    Often one or more of the eventnodes does not receive the xml-message. It is no
    obvious pattern in which eventnode that doesn't receive the message. Once in a
    while all three eventnodes get their messages.
    Attached is a test template that will raise the problem.
    Have you got any ideas of how to solve this problem?
    [test.xml]

    I am also getting exactly the same behaviour. In one template I have 4
    tasks. each task posts intenral xml event and waits for the response with a
    unique key value.
    Sometimes the all the steps in the workflow get completed and with the same
    message input, one of the event does not invoked even though the XML message
    does contain the key-value that matches that event. I even verified this
    with the EventWatch table..
    Looks like there is problem. Pls WLI guys test it out.
    - Jagdish
    "tony lodge" <[email protected]> wrote in message
    news:[email protected]..
    Stian
    Although I do not have any idea what is causing the problem please try
    using addressed messaging and see what happens. Also, can you log asupport
    case so that I can create a debug version of the event listener so we can
    see what is actually making into WLI
    Tony
    "Stian Dahle" <[email protected]> wrote in message
    news:3b681540$[email protected]..
    We are running WLI20 and are using Sybase(11.5) as a respository
    database.
    We are
    having the following problem with eventnodes.
    1: Within one template we are using the action 'post external xml' to
    post
    three
    unique messages to the destination JMSQueue "com.bea.wlpi.EventQueue".
    2: In the same template we have added three eventnodes which are
    listening
    for
    the unique messages. The number of unique messages is the same as thenumber of
    eventnodes.
    We get the following result:
    All messages are sent to the JMSQueue(this is verified).
    Often one or more of the eventnodes does not receive the xml-message. Itis no
    obvious pattern in which eventnode that doesn't receive the message.
    Once
    in a
    while all three eventnodes get their messages.
    Attached is a test template that will raise the problem.
    Have you got any ideas of how to solve this problem?

  • Creating another class window within one class

    Ok I have a main window class, at some point if you click some button I want it to make the first window invisible and have this other, second class, appear, and further on, for both to talk to eachother. These are applets, and I have tried having one applet launch using applet.init() and hoping it would launch but it doesn't work that easy.

    so it has to create a new window within the first class? I cannot use two classes? here:
       import java.awt.*;
       import java.awt.event.*;
       import javax.swing.*;
       import javax.swing.JOptionPane;
        public class Darkness extends JApplet implements ItemListener, ActionListener
              private int intBold = Font.BOLD;
              private int intItalic = Font.PLAIN;
          private Color currentColor = Color.blue;
              private Color dateColor = Color.red;
              private Color regColor = Color.black;
              private JComboBox Years;
          private JRadioButton Sword, Bow, Flame, Ice;
          private JButton Walk[] = new JButton[6];
          private int x, y;
            private ButtonGroup Months;
              private int MO;
          private String[] buttonnames = {"Walk", "Town"};
              private String[] section = {"Forest","Mountains"};
              private String SECTION;
    public void init()
                   SECTION = section[0];
                   Image image = getImage(getCodeBase(), "Background.jpg");
                   Container content = new Work(new ImageIcon(image).getImage());
                   setContentPane(content);
                   Years = new JComboBox(section);
                   Years.setMaximumRowCount(3);
                   Years.setSize(80,30);
                   Years.setLocation(260,450);
             Container c = getContentPane();
             c.setLayout(null);
                   c.add(Years);
             Sword = new JRadioButton("Sword");
             Bow = new JRadioButton("Bow");
             Flame = new JRadioButton("Flame");
             Ice = new JRadioButton("Ice");
             Sword.setLocation(50, 400);
             Bow.setLocation(175, 400);
             Flame.setLocation(300, 400);
             Ice.setLocation(425, 400);
                   Sword.setBackground(currentColor);
                   Bow.setBackground(currentColor);
                   Flame.setBackground(currentColor);
                   Ice.setBackground(currentColor);
             Sword.setSize(100,30);
             Flame.setSize(100,30);
             Ice.setSize(100,30);
             Bow.setSize(100,30);
             Sword.addItemListener(this);
             Flame.addItemListener(this);
             Ice.addItemListener(this);
             Bow.addItemListener(this);
             c.add(Sword);
             c.add(Ice);
             c.add(Flame);
             c.add(Bow);
             Months = new ButtonGroup();
             Months.add(Sword);
             Months.add(Ice);
             Months.add(Flame);
             Months.add(Bow);
    int b = 200; //for button placement
         for(int i = 0; i < 2; i++)
                        Walk[i] = new JButton(buttonnames);
                        Walk[i].setSize(80, 40);          
                        Walk[i].addActionListener(this);
                        Walk[i].setVisible(true);
                        Walk[i].setLocation(b, 500);
                        c.add(Walk[i]);
                        b = b + 100;
    public void itemStateChanged(ItemEvent e)
    Container d = getContentPane();
    d.setLayout(null);
    int y = 200;
              if(e.getSource() == Years)
         SECTION = section[Years.getSelectedIndex()];
         repaint();
    }//end
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.red);
    g.drawRoundRect(0,0,600,600,10,10);
    g.setColor(Color.red);
                   g.setFont(new Font("Courier", intBold + intItalic, 30));
    g.drawString("Darkness",250,50);
    g.setFont(new Font("Courier", intBold + intItalic, 12));
    g.drawString("Monster", 150,175);
    g.drawString("Monster Health", 250,175);
                   g.drawString("Pick an area", 260,445);
    public void actionPerformed(ActionEvent e)
    int Randomizer;
    java.util.Random r = new java.util.Random();
    Randomizer = r.nextInt(10)+1;
         if(e.getSource() == Walk[0] & SECTION == "Forest")
              JOptionPane.showMessageDialog(null, "" + Randomizer, "Damage!", JOptionPane.INFORMATION_MESSAGE);     
         if(e.getSource() == Walk[1])
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
              JOptionPane.showMessageDialog(null, "Returning to Town", "Info", JOptionPane.INFORMATION_MESSAGE);
    //THE FIRST CLASS SHOULD CALL THIS CLASS::::Completely different file not same .java
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JOptionPane;
    public class Town extends JApplet implements ActionListener
                   private int intBold = Font.BOLD;
              private int intItalic = Font.PLAIN;
    private JButton Buy[] = new JButton[6];
    private String[] ButtonNames = {"Walk", "Town"};
    public void init()
              Image image = getImage(getCodeBase(), "Town.jpg");
              Container content = new Work(new ImageIcon(image).getImage());
              setContentPane(content);
    Container c = getContentPane();
    c.setLayout(null);
    Buy[0] = new JButton(ButtonNames[0]);
    Buy[0].setSize(80, 40);          
                        Buy[0].addActionListener(this);
                        Buy[0].setLocation(400, 300);
                        c.add(Buy[0]);
         public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.yellow);
    g.drawRoundRect(0,0,600,600,10,10);
    g.setColor(Color.red);
    g.setFont(new Font("Courier", intBold + intItalic, 30));
    g.drawString("Town",110,150);
    g.setFont(new Font("Courier", intBold + intItalic, 12));
    g.drawString("Sunday", 25,175);
    g.drawString("Monday", 100,175);
    g.drawString("Tuesday", 175,175);
    g.drawString("Wednesday", 250,175);
    g.drawString("Thursday", 325,175);
    g.drawString("Friday", 400,175);
    g.drawString("Saturday", 475,175);
                   g.drawString("", 260,445);
    public void actionPerformed(ActionEvent e)
    if(e.getSource() == Buy[0])
    JOptionPane.showMessageDialog(null, "" , "Info", JOptionPane.INFORMATION_MESSAGE);     
              public static int Money()
    int t = 3;
    return t;

  • Mass upload of Object Services to material master - Create Document (URL)

    Hi there,
    Does anyone have any experience of uploading URL's to material masters via object services. Can we use LSMW?
    I have tried to record the transaction, however, this excludes the object services button
    Any feedback greatly appreciated
    Steve

    Hi Csabar,
    Thanks.
    BUt may I know clearly what do you mean by your following statement?
    I would suggest you should always create/modify/delete only one record in config via LSMW. 
    I have more than 3000 records for this exercise, do You mean I should test it out on one record first in 0VRF during the recording??
    thanks
    tuff

  • Bapi  material master create

    heloo gurus,
    when i execute the below code
    it throws a short dump error
    can u please correct my code if there is anything wrong in it
      DATA: headdata    TYPE bapimathead.
      DATA: clientdata  TYPE bapi_mara.
      DATA: clientdatax TYPE bapi_marax.
      DATA: plantdata  TYPE bapi_marc.
      DATA: plantdatax TYPE bapi_marcx.
      DATA: descdata    TYPE TABLE OF bapi_makt WITH HEADER LINE.
    *data: return  type table of bapiret2 with header line.
      DATA: returnm TYPE TABLE OF bapi_matreturn2 WITH HEADER LINE.
      DATA: imat    TYPE TABLE OF bapimatinr WITH HEADER LINE.
      CALL FUNCTION 'BAPI_MATERIAL_GETINTNUMBER'
        EXPORTING
          material_type          = 'ZMED'
      INDUSTRY_SECTOR        = 'M'
        TABLES
          material_number        = imat.
      READ TABLE imat INDEX 1.
      IF sy-subrc = 0.
        headdata-material = imat-material.
      ENDIF.
      headdata-ind_sector      = 'Z'.
      headdata-matl_type       = mtart.
      headdata-basic_view      = 'X'.
      headdata-purchase_view   = 'X'.
      clientdata-base_uom      = meins.
      clientdatax-base_uom     = 'X'.
      clientdata-old_mat_no    = bismt.
      clientdatax-old_mat_no   = 'X'.
      clientdata-matl_group    = matkl.
      clientdatax-matl_group   = 'X'.
      clientdata-document      = zeinr.
      clientdatax-document     = 'X'.
      clientdata-size_dim      = groes.
      clientdatax-size_dim     = 'X'.
      clientdata-std_descr     = normt.
      clientdatax-std_descr    = 'X'.
      clientdata-basic_matl    = wrkst.
      clientdatax-basic_matl   = 'X'.
      clientdata-del_flag      = lvorm.
      clientdatax-del_flag     = 'X'.
      descdata-langu = sy-langu.
      descdata-matl_desc = maktx.
      APPEND descdata.
      plantdata-pur_group     = ekgrp.
      plantdatax-pur_group    = 'X'.
      plantdata-auto_p_ord    = kautb.
      plantdatax-auto_p_ord   = 'X'.
      plantdata-plant         = werks.
      plantdatax-plant        = 'X'.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
          headdata                   = headdata
          clientdata                 = clientdata
          clientdatax                = clientdatax
          plantdata                  = plantdata
          plantdatax                 = plantdatax
      FORECASTPARAMETERS         =
      FORECASTPARAMETERSX        =
      PLANNINGDATA               =
      PLANNINGDATAX              =
      STORAGELOCATIONDATA        =
      STORAGELOCATIONDATAX       =
      VALUATIONDATA              =
      VALUATIONDATAX             =
      WAREHOUSENUMBERDATA        =
      WAREHOUSENUMBERDATAX       =
      SALESDATA                  =
      SALESDATAX                 =
      STORAGETYPEDATA            =
      STORAGETYPEDATAX           =
       IMPORTING
          return                     = return
        TABLES
          materialdescription        = descdata
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
          returnmessages             = returnm
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    CHECK sy-subrc  = 0.
      IF sy-subrc EQ 0.
        return-number     = 0.
        return-type       = 'S'.
        return-id         = 'Z1'.
        return-message    = 'Successfully updated'.
        return-message_v1 = ''.
        return-message_v2 = ''.
        return-message_v3 = ''.
        return-message_v4 = sy-mandt.
      ELSE.
        return-number     = 0.
        return-type       = 'E'.
        return-id         = 'Z1'.
        return-message    = 'Not updated'.
        return-message_v1 = ''.
        return-message_v2 = ''.
        return-message_v3 = ''.
        return-message_v4 = sy-mandt.
      ENDIF.
    <b>Error analysis</b>
        An exception occurred. This exception is dealt with in more detail bel
        . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGA
         was neither
        caught nor passed along using a RAISING clause, in the procedure
         "ZTEST_BAPI_MM01" "(FUNCTION)"
        Since the caller of the procedure could not have expected this excepti
         to occur, the running program was terminated.
        The reason for the exception is:
        The call to the function module "BAPI_MATERIAL_SAVEDATA" is incorrect:
        In the function module interface, you can specify only
        fields of a specific type and length under "RETURN".
        Although the currently specified field
        "RETURN" is the correct type, its length is incorrect.
    Thamks
    senthil

    i have uncommented the line
    data: return  type table of bapiret2 with header line.

  • PO text using lsmw MATERIAL MASTER

    Hi , how to upload PO text trhough LSMW as its only loading 132 char, if i have 400 char how to load.
    there is a structure in lsmw BMMH7, but what to pass in tdformat and tdline and TDSPRASISO
    thanks

    Hi Heilman ,
    thanks for the reply, but is there any other way by which I can upload PO text as I have potext in one column and line. I am using LSMW , where it concatenates to 132 character, but i have to upload full say 400 char text.
    thanks
    bobby

  • How do I create several pdf files from one large original pdf?

    Good afternoon-
    Newby here-  New to Acrobat.com.  How can I convert/save 1 large pdf into several smaller pdf files using acrobat.com?

    You can't. This needs the desktop Acrobat app.

  • Can I create several guest systems in one domain?

    Hi
    I have a host with 16 cores.
    Can I allocate 12 of these cores to 3 user domains, and run 4 guests on each domain?
    Or is there a 1:1 link between user domain and guest?
    Thanks!
    -Johan

    Hi,
    So you want to affect for your VMs (domainU) some specific CPU. in this case you want to use the hard partitioning (CPU pinning).
    Oracle VM offers an advanced feature for hard partitioning, also known as CPU pinning. Hard partitioning means binding a virtual machine CPU to a physical CPU or core, and preventing it from running on other physical cores than the ones specified. This is done for Oracle CPU licensing purposes, since Oracle VM is licensed on a per-CPU basis.
    Warning:
    Live-migration of CPU pinned virtual machines to another Oracle VM Server is not permitted under the terms of the license. Consequently, DRS and DPM policies should not be enabled for server pools containing CPU pinned guests.
    Fore more Information, look at this URL.
    I hope this can help you
    Best Regards

Maybe you are looking for