Retail: how to mass assign stores to class 030

Hi,
does enyone know, how to make a mass assignment of stores to one class 030.
In transaction CL24N it is only possible to do it one by one.
Is there any other option in release R/3 4.7, than LSMW?
greetings
Antoni

Hi
If you are familiar with SCAT, it will be done easily. Otherwise take abaper help and use BAPI_OBJCL_CHANGE.
regards
Srinivas

Similar Messages

  • How do I assign a css class based on spry data?

    I need to assign a css class based on the value of spry data. IOW - I need to do a calculation on two values and assign a class to that <tr> if the resulting value if > 0. Is it possible to plug spry data into php? Is there a better way to go about doing this? Spry may have a function that will hide or style data based on the value of that data, but I can't find it.

    I think I need to provide better information. I currently have:
    <tbody spry:repeatchildren="JSCC_Courses" spry:choose="choose" >  
                            <tr spry:when="'{method}' == 'WEB'" style="background-color: #fffdc7;">                                       
                                <td>{callno}</td>
                                <td>{rubric}</td>
                                <td>{session}</td>
                                <td>{hours}</td>
                                <td>{title}</td>
                                <td>{days}</td>
                                <td>{time}</td>
                                <td>{room}</td>
                                <td>{instructor}</td>
                                <td>{seats}</td>
                                <td>{location}</td>
                              </tr>
                             <tr spry:when="'{method}' == 'VDC'" style="background-color: #cbffc7;" >                                       
                                <td>{callno}</td>
                                <td>{rubric}</td>
                                <td>{session}</td>
                                <td>{hours}</td>
                                <td>{title}</td>
                                <td>{days}</td>
                                <td>{time}</td>
                                <td>{room}</td>
                                <td>{instructor}</td>
                                <td>{seats}</td>
                                <td>{location}</td>
                              </tr>
                           <tr spry:default="default">                                       
                                <td>{callno}</td>
                                <td>{rubric}</td>
                                <td>{session}</td>
                                <td>{hours}</td>
                                <td>{title}</td>
                               <td>{days}</td>
                                <td>{time}</td>
                                <td>{room}</td>
                                <td>{instructor}</td>
                                <td>{seats}</td>
                                <td>{location}</td>
                             </tr>
    </tbody>
    I now need to add a class to the <tr> if the {seats} > 0. I'm having trouble conceptualizing how this works in conjunction with my current spry:whens.

  • How to create unique objects in class and store

    Hi, I have a class that opens a text file and reads in the
    lines. each line holds an ip address. i need to create x amount of
    objects, and each object is assigned a unique ip address from the file.
    and here i am stuck. the class reads in the file, then i think it should create an object for each line read in and assign that object the ip address. i want to store the objects in some sort of array or collection, and i guess each object will need a unique name, but i dont know how many objects until i read in the file and count the number of lines. can anyone give me any pointers as to how i should create/store the objects
    many thanx
    ness

    You could use your own object:
    public class Test {
      public class IPNumber {
        public int ip;
        public IPNumber(int ip) {
          this.ip = ip;
      public Test() {
        int numberOfIPs = 5; // this is your number of lines
        IPNumber[] ips = new IPNumber[numberOfIPs];
        for (int i = 0; i < numberOfIPs; i++) ips[i] = new IPNumber(i); // assign ip address from file
      public static void main(String args[]){
        new Test();
    }or you could store the ips as strings:
    public class Test {
      public Test() {
        final int numberOfIPs = 5; // this is your number of lines
        final java.util.ArrayList al = new java.util.ArrayList(numberOfIPs);
        for (int i = 0; i < numberOfIPs; i++) al.add(""+i); // assign ip address from file   
      public static void main(String args[]){
        new Test();
    }p.s Objects don't have names

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • How do we assign mass BP's to an ORG UNIT

    Hi Experts,
    I need to assign a more than 500 BP's to a Position.Could you please tell me that how do we do this mass assignment of Bp's to a position?What will be the impact if assign many bp's to an orgunit.
    Thanks in advance,
    Regards,
    Kishore

    Hello
    PPOMA is a transaction in which org data assignment must be done manually. Anyway, you can create a report using FM RH_INSERT_INFTY_EXP, but this FM is not released by SAP so be careful with the BP load.
    Another option would be running report CRMC_R3_ORG_GENERATE in order to replicate partners from ERP to CRM.
    The impact of 500 BPs to a single org unit is clear: Everytime you load the WebUI, all the structure is loaded, so you will possibly notice an impact in performance when loading WebUI. My recommendation is performing stress tests before passing the org structure to your production system.
    Hope it helps
    Joaquin

  • In SAP Retail, How can a sale Org be assigned to a purchase Org?

    Hi, All
    In SAP Retail, How can a sale Org be assigned to a purchase Org? This cannot be found in IMG.
    Thanks.
    Best Regards
    Jiande Ding

    refer to:
    assignment of sales organization to purchasing organization

  • How to assign multiple batch class to material in classification view

    Dear Gurus,
    How to assign multiple batch class to material in classification view.
    plz explain what are the procedure and what are the configuration required before assignment.
    Thanks
    Mani

    OK, Thanks for your reply.
    Regards
    Mani

  • How do I assign images to grid cells based on their random number value?

    Hello everyone!
         I need a good point (or shove) in the correct direction.
    Background
         I've created (with previous help from this forum) a 12 x 9 random number grid which cycles through the numbers 1 to 9 a total of twelve times each. I've then created a button which shuffles the current grid's cells each time it is clicked. I now want to use 9 images that I have imported as individual symbols into the library (I have given them each their own class titled "skin1," "skin2," ... "skin9") as cell labels or the equivalent. I have also set the images up as individual movie clips (using the .Sprite class as the extended base class but keeping the actual image class names in line with their object name, i.e. the "skin1" image is the "skin1.as" class).
    Question
         How do I assign these images to the grid cells based on their respective values (ranging from 1 to 9) and have them populate the grid each time I click the "shuffle" button? So for example, in my grid the numbers 1 through 9 randomly appear 12 times each. Every time the number 4 appears in a cell, I want it to be assigned to the image "skin4" (which is just a graphic that looks like a button and has a fancy number "4" printed on it). Below is a chunk of the code I am using to draw the grid cells with:
    // Creates a grid cell when called by generateGrid().
    private funciton drawCell(_numeral:int):Sprite
              This is the code I am currently implementing to populate the grids with (although I
              don't want to use text labels as I want to fill each grid with an image according
              to its numerical value (1 to 9).
         var _label:TextField = new TextField();
         _label.multiline = _label.wordWrap = false;
         _label.autoSize = "center";
         _label.text = String(_numeral);
         // Add numerical label to cell array.
         cellLabels.push(_label);
         var _s:Sprite = new Sprite();
         _s.graphics.lineStyle(2, 0x019000);
         _s.graphics.drawRect(30, 0, cellW, CellH);
         _s.addChild(_label);
         return _s;
         While the following isn't working code, it will hopefully demonstrate what I want to achieve inside this function so I don't have to use the above snippet for text labels:
         //This will "hopefully" create an array of all 9 images by calling their classes.      var _imageArray:Array = [skin1, skin2, skin3, skin4, skin5 , skin6, skin7, skin8, skin9];      // This is what I want to happen for each cell using the above image array:      for (i = 0; i < cells; i++)      {           if (_numeral == 1)           {                // Insert skin1 image for each instance of #1 in the grid.           }           if (_numeral == 2)           {                // Insert skin2 image for each instance of #2 in the grid.           }           ...           if (_numeral == 9)           {                // Insert skin9 image for each instance of #9 in the grid.           }      } 
         Again, I don't want to use text labels. I have a custom skin graphic that I want to go over each number on the grid based on its numerical value (1 to 9). Any help with this is much appreciated!

    kglad,
         Thank you for your help with this one. Using the code below, I have successfully populated my grid cells with the desired corresponding graphics. I noticed one thing though regarding my use of the shuffle button with this particular implementation: even though the numerical values residing in each cell get shuffled, the original images remain in the grid rather than being replaced by new ones. The first code snippet below is the revised cell drawing function including your help; the second snippet shows you my simple shuffle button function (where the problem lies, I think).
    Snippet #1:
         // Creates a grid cell when called by generateGrid().
         private function drawCell(_numeral:int):Sprite
              var _label:TextField = new TextField();
              _label.multiline = _label.wordWrap = false;
              _label.autoSize = "center";
              // Creates a label that represents the numerical value of the cell.
              cellLabels.push(_label);
              var _s:Sprite = new Sprite();
              _s.graphics.lineStyle(2, 0x019000);
              _s.graphics.drawRect(30, 0, cellW, cellH);
              // Physically adds the labels to the grid.
              _s.addChild(_label);
              // Assigns a graphic class to a cell based on its numerical value.
              var _classRef:Class = Class(getDefinitionByName("skin" + _numeral));
              // Undefined variable for holding graphic classes.
              var _image:* = new _classRef();
              // Lines the images up with the grid cells.
              _image.x = 30;
              // Physically adds a graphic on top of a cell label.
              _s.addChild(_image);
              return _s;
         So far so good (although I question needing text labels at all if they are just going to remain invisible underneath the images, but enough about that for now). This next part is the reason that the images won't shuffle with the cell values, I think.
    Snippet #2:
         // When shuffleButton is clicked, this event shuffles
         // the number array and fills the cellLabels with the new values.
         private function onButtonShuffleClick(e:MouseEvent):void
              // Shuffles the number array.
              shuffle(numbers);
              // Verifies the array has been shuffled.
              trace("After shuffle:", numbers);
              // Loop replaces old cellLabels with new number array values.
              for (var i:int = 0; i < cells; i++)
                   cellLabels[i].text = String(numbers[i]);
         As you can see, it never replaces the original images that populate the grid. I tried using the _s.removeChild(image) function but that didn't work, nor would copying/pasting some of the code from snippet #1 directly into this function as it would cause another instance of the images to be placed over top of the existing ones rather than actually swapping them out. Any continued help here is greatly appreciated!
         PS Is there a quicker method for posting code into these forums without having to type it all out by hand again (i.e. copy/paste or drag/drop from my .fla or Notepad file directly into this thread)?

  • How do you assign multiple values to a single element in an array?

    I'm probably not wording the question right.
    I have an array, let's call it M[], and for each element in the array (we'll say M[1]), I need assign three integers: row, col and value.
    I need to set it up so I can do something like this:
    A.row = M[i].col;
    A[i].col = M[i].row;
    A[i].value = M[i].value;
    The algorithm isn't what I need help with, it's assigning .col, .row and .value to an index of an array.
    Please help if you can.

    You are right. You did not word your question perfectly, but I still think I get what you want.
    First of all: A single element in an array always has exactly one value. No more, no less.
    But that's not a problem. The element in an array is either of a primitive type (boolean, byte, char, short, int, long, float, double) or it's a reference (to a Object, String, MyClass, ...).
    You can simply write a class that holds your three values and create an array of that type:
    public class SomeData {
      public int row;
      public int col;
      public int value;
    // somewhere else:
    SomeData[] a = new SomeData[10];
    a[0] = new SomeData();
    a[0].row = 10;
    a[0].col = 5;
    a[0].value = 42;Note how you only assign a single value to the element (a[0]) itself. All other assignment actually go to fields of the object refered to by that element in the array.
    Also note that in Java types (such as classes, interfaces, ...) should start with a upper-case letter, while variables (local variables, members, parameters) and method names should start with a lower-case letter.
    Edit: I'm getting old ...

  • How to include assigned .as files in MXMLC ant task ?

    When i use mxmlc ant task, i found that
    the tag <include-sources/> doesn't support !
    ( described by http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a63.html )
    neither SDK version 3.x nor 4.x
    Are they lying?!
    How to include assigned .as files ?
    Thank you !

    My understanding is that mxmlc will use all available resources in the source path, as needed. Instead of giving it individual resources to include, you simply need to give it the source-path that contains those resources. This is different from a library project, which may need to include individual classes that are never used in that library.

  • How to create a model access class ???

    HI,
          Can somebody tell me how to create a Model Access Class. In the Application Set, i can find the Model Access folder, but it has a list of application sets which is already created and the system asks to select a Application set. I need to create a new application set. Please help.
    Regards,
    Shiny

    Hi Shiny,
    I would suggest you not to create a new application set.
    If you are enhancing a standard PCUI application, i would suggest you to create new model access classes and assign them to the same application set which is assigned with the standard model access class for that application.
    Creating a model access class can be done through the transaction SE24(like any other Z-class).
    Go to transaction CRMC_BLUEPRINT_C and you could assign this newly created Model access class to the standard application set. This can be done under Application Element->Application Set->MOdel Access Class.
    If you still feel the need to create a new application set altogether, it can be done from Trx CRMC_BLUEPRINT_C->Layout of PCUI-> Application Element->Application set.
    I hope it helps.
    Cheers,
    Gyan.

  • IS-Retail: Site stock levels in Store and DC

    Hi Friends,
    I have created a site 1200. I maintained the same as DC in WB01 and created article and in Logistics:DC view and maintained stock level like reorder point, max stock , etc.
    If I have to extend the same article to another DC and I want to maintain stock levels for site (DC) separately, how to do this ?
    How to create the same site 1200 as Store for maintaining Logistic:Store view. I tried to create in WB01 and it says site already exists. In the list of store, 1200 is not appearing.
    Can the stock levels be different or same for DC and Store for a site?
    Please help.
    Regards,
    Ram

    Hi Ram,
    Two types of sites are used in SAP Retail:
    a)Distribution Centers that store and prepare merchandise for
    other sites or customers-Profile 0100 Category -B
    b)Stores which present merchandise and sell it to consumers
    Profile -0110/0120 Category -A
    Only One Reference Site will be created each for Distribution
    Center and Store. In Reference Site  no stocks will be
    maintained .
    Stocks will be maintained individually for DC and Stores. 
    For e.g  Create Ref DC 1000 and use it in WB01 for your New
    DC 1001 so that all common data wil be copied . Same applies to Stores. Ref Store 2000 and use it for New Store 2001.
    Hope this helps you.
    Regards,
    S.V.ManiKumaar

  • How to link Variant Material with Class n Char ?

    Hi,
    I am new to variant Config.
    I created Char, --> Class n dependencies.
    Created KMAT material.
    But i m confused how to link Materil to the Class or is there anymore i have to do for setting?
    PL. guide.
    thanks,
    Roopan.

    Here are the simple steps to follow to link the material to class. The steps also include set-up for creating material to assignment.
    1. Create Material
    Menu Path: Logistics – Materials Management – Master Data – Material- Create
    <b>Transaction Code: MM01</b>
    [Enter the material type as “Configurable Material”.
    Ensure that check box “Material is configurable” is checked (i.e. MARA-KZKFG has value X) in Basic Data view]
    2. Create Characteristics
    Menu Path: Logistics – Central Functions – Classification – Master Data – Characteristics - Create
    <b>Transaction Code: CT04</b>
    All the required characteristics should be created before proceeding to next step.
    3. Create Class
    Menu Path: Logistics – Central Functions – Classification – Master Data – Class - Create. <b>Transaction Code: CL01</b>
    Enter name of class.
    Enter class type as 300 - Variants.
    Enter description and other relevant details.
    4. ASSIGN CHARACTERISTICS TO CLASS
    Menu Path: Logistics – Central Functions – Classification – Master Data – Class - Change <b>[Transaction Code: CL02]</b>
    <b>Note:</b> Assignment of characteristics to class can be done while creating class also, if all the characteristics are created before creating class.
    Go to Characteristics tab and assign all the characteristics in sequence in which you want them to appear logically.
    5. CREATE CONFIGURATION PROFILE
    Menu Path: Logistics – Central Functions – Variant Configuration – Configuration Profile – Create <b>[Transaction Code: CU41]</b>
    Material to class assignment is created via Configuration Profile.
    Regards,
    Gauravjit.
    Reward points if the solution is helpful

  • Batch-Classification - Mass Assignment

    Hallo all,
    I created a new Class for Batch-Classification.
    Now a would assign this new Class to existing Batches in the System.
    Unfortunately I didn't found any "MASS" transaction for this change.
    Transaction   MSC2N  has only separatelly usage for it.
    Transaction   CLN24N can I use only for the material assignment (material master data - classification for batches). 
    The direct assignment (Material + Batch) I didn't find there.
    I'm still looking for something easier then LSMW is.
    My question: is any possibility for MASS assignment for existing batches in the system (except LSMW)?
    I'm looking forward of your answers
    Katie

    Hi,
    Thank you for your answer.
    Transaction MSC5N could be O.K. for a users, I think, that better is BMBC, because there is the function MSC5N integrated.
    But I need only assignment for classification fields (without value) to a batch for 100.000 items
    For this action are MSC5N and BMBC useless, because I can assign the fields only manually for every item there.
    Regards
    Katie

  • How can we assign Wagetypes

    Hi all,
    How can we assign wage types to Palnt.
    With Regards,
    Venu

    hi venu
    after doing the wage type please do the processing class in sm30 table name is v_512w_d see venu you are assigning here wagetypes that is not specific for a plant.  so you proceed like this
    Times Paid at an Average Rate
       Use
    Wage type ML02 is used to indicate time tickets paid according
    to
         averages in incentive wages.
    Wage Type ML01 and Wage Type ML02
    The wage type specified on a time ticket in Incentive Wages
    determines
         whether the time ticket is paid according to piecework or according to
         averages.
         The standard system uses wage type ML01 for piecework payment and
         average payment is represented by wage type ML02.
         Processing class 46 is used to distinguish between payment types
         (piecework or average) in the wage types in table T512W. In the standard
         system, the processing class has two specifications:
         o   time tickets paid according to piecework
         o   time tickets paid according to averages
         Processing class 46 has different specifications for the standard wage
         types ML01 and ML02.
    bye
    naveen

Maybe you are looking for

  • Trying to install OSX.4 sys stalls when booting from dvd

    I've read many of the discussions on this topic. Some are close but none are exactly like the problem I am encountering. I have a Power Mac G4 that was running OS9.2 and I've been trying to install OSX.4. I've tried every possible combination of star

  • Synchronizing Microsoft Excel 2010 with Sharepoint 3.0

    We would like to synchronize calendar entries from MS Excel 2010 (64-bit) to SharePoint 3.0, so that every time a change is made in Excel, it automatically syncs in SharePoint 3.0.  We have already installed an add-in (Excel 2007 Add-in: Synchronizin

  • How do I re-style the 'Menu' button in Yahoo! Menu Popup from the Widget Gallery by Zizzer Zazzer

    Ive re-styled everything else by editing the CSS in the head of the doument, and in both CSS files. I dont find anywhere that this button is mentioned in any CSS. It is outside the OAWidget Div. This menu is using the Sam Skin. Here is the code: <!DO

  • Unknown Error Occured

    Everytime I try connecting my iPod it won't recognize it and shows an error. "Unkown Error Occurred, Cannot connect to iPod" I can't restore because iTunes won't even try to recognize it. Can someone help?

  • Uprading a 'Not-For-Resale' FB 4.5 license to FB 4.5 for PHP, possible?

    Sorry for cross post, got no replies in the "Installing and activating" forum, so posting here. I have a 'Not-For-Resale' FB 4.5  license. Can I upgrade this to FB 4.5 for PHP? If I purchase a regular  upgrade from FB 4.5 to FB 4.5 for PHP from Adobe