DW Concept, measure...

Hi...
I wanna ask about Data warehousing concept, especially about measure.
Does one measure in a fact table MUST involve all dimension that related from it?
For example i have 4 dimension (time, store, product, customer) and 1 FT (sales) with 1 measure (quantity sold).
In this measure do i only can query about 'show quantity of product A that customer buy in store B in 2003?' or can i just query the measure without involving the customer dimension? like 'show quantity product A that sold by store B in 2003? or i can do both in one measure?
the second is, physically, how does the measure store in database? cause i'm building a spatial DW and can't use OWB. Because as far as i know, OWB still does'nt support it yet. CMMIW
Thanks
Hadi

Good morning Hadi,
Yes, you need one column per measure in a fact table.
Typically, since a fact table is still a relational table object, it will consist of columns referring to all dimensions you have defined (1 column per dimension, with a foreign key constraint on it), plus all measures in your fact table
Cheers, Patrick

Similar Messages

  • My Own Concept Idea - Nokia Gorilla Phone.

    I figure a range rather than just limiting myself such as the Navigator Series, the E series, the N series, but this could be the G range or Gorilla Range. anyway i'd like to see this based on Symbian 60
     OK might as well warn you,i'm drunk now, i was drunk when i wrote it too, so i've not spell checked it or anything and to be honest not going to either until i wake up so here goes, if nokia can't take on iphone because they don't understand what 'bling' is yet. so anyway check out my concept phone idea.
     Nokia's Gorrila Phone
    Specs for: Nokia Survival Range - The Gorrila Phone
    This is all new, This is for the mountain climber, the skier the extreme sports, the swimming
    coach, anyone who works in a dusty or dirty enviorment, this is for the construction worker, the
    security gaurd, the police, this is for everyone who likes to venture out past their back doors
    and into the wild extreme world we live in, scared of going into a pub in the fear of dropping it or
    falling out, the Gorilla Phone can handle it.
    We first have to do a special technique to this phone to get it to be what people will need
    and want.
    *Waterproof
    *Sturdy Gel / rubber type case to protect it from drops
    *GPS
    *WIFI
    *Accelerometer
    *Compass
    *Barometer*
    *Signal Amplifier*/Better internal antenna design
    *All the frequencies we can fit on
    *Small Camera, nothing fancy
    *8/16 Gig of Memory for user content files and games images / videos
    *100+ meg of ram
    *OLED 320*200, enough to see a map on would be ok, a little larger than the Nokia 6110
    *Bluetooth *heart rate device
    *Docking Station (maybe compatable for future releases?)
    Able to squeeze as much power out of it as possible with say a 1amp/h battery
    All radio devices off mode except anything you select on the list to help conserver
    battery life or survival mode.
    AND
    Docking Station which connects at the bottom of the phone and then clips onto the phone, there
    will be 5 (or more) little metal pins that protrude out of the plastic phone which is slightly hidden out
    of the view due to the gel like case..
     [Nokia's]
     [Gorilla]
     [_Phone_]
    {  I I I  }
      [     ] (this is the docking station which just clips in and accesses the ports from the PC)
        DPV
    So basically once you cliped it on the 5 little pins (as soldered blobs protude gold coated
    to prevent wearing away
    (Sea water might be an issue, might stick a warning in saying not suitable for sea water due to errorison
    which will be down to you other than that the phone should work fine.... maybe a cost underwarrents to
    just replace those pins meaning a component could be designed to simply pull out with realitive ease making
    it cost efficient to both the user and nokia...)
    Other than being able to make actual phone calls maybe if that went under a thin peace of plastic that can be
    easily heard so that the case does not get in front of sound quality. and likewise near the bottom or some sort
    of attachment for a waterproof speaker. The electronics with the exception of the connectivity modual to make it
    easy to exchange the rusted component pop it out and replace)
    Battery / Sim Card.
    Pull off the battery case, some kind of switch to lock the battery cover into place to prevent it coming out
    even if you try yourself, the inner side  of the phone should have a waterproof gasket to prevent any kind
    of water coming through under the battery.
    Outside of the phone we appear to have 0 inputs but infact we actually have it with this simple docking
    station, the docking station is connected to the PC via usb so this way your phone simply clips on
    no fuss no looking around for a spare usb port, or plugging in the cable, the docking station makes it much
    more easier.
    ---- +
    ---- Data
    ---- Data
    ---- Whatever.
    The data can then be grabbed off the phone on the computer, the docking station, while docked it will charge
    the phone, it will supply USB 2.0 and transfer files between phone and computer, optional for later advances
    could be given on the docking station also USB/WIFI file transfer if not using the docking station
    Gorrila Phone Charge In(0) Such as, External Chager
    USB Out (which connects to PC)
    TV out (TV OUT)
    Headphone out (unplug the computer's USB)
    - etc
    Virtual Drive or Real Drive via Micro SD.
    Virtual would be for example this gorilla phone were the 8 gig internal is the memory card on E:\
    once connected to the docking station, you then have the unquie ability to put in an 8 gig memory
    SD card into the dockingstation and backup or use (from windows explorer) and be able to
    copy either from internal memory or external memory of a memory card you've inserterd, in terms
    this is a way of cloning your memory card as a backup, this could all be done with the docking station
    and a simple button of "Backup Memory Content" simply have a little Green LED and Red Led come up when
    you press copy, Green for writing/Reading, Red for Error, or maybe Orange for finished succesfully...
    you could then back up your phone to another memory card anywhere anytime... how useful's that! or even
    have the ability to use that dockingstation's memory with the mobile device itself and as long as it's connected
    you can even install programs on it.... 2 Drives, the posibilites are endless.
    So all the outputs we're all so a custom all now live on the docking station, so now what, the protection
    of the phone comes first, all the circuits have to be covered in a gel/rubber/glue expoy type substance
    and injected protecting the delecate components, it has to be essential to protect ribbin cables
    and other little pins and cables that have to stay firmly in place, also doing this will increase
    the circuity's protection against g-force and shock.. once all the gaps have been filled and all made
    sure to be very very watertight against dust and all else that is thrown at it...
    Now then the Gorrila Phone's key aspects
    *Survival of any keen trecker or explorer will need and want.
    *Tough for the toughest jobs, Construction Worker, Police, Law Enforcement, Road Workers.
    *can be dropped from X amount of feet (based on calculations done)
    *Survies water and dirt
    *Can be submerged underwater up to 30 Feet for 30 minutes or so? etc, give it an IP rating of IP-6
    Now then why does an explorer or hiker need this?..
    *Electronic compass will always point you north, combine this with GPS and you'll have
    yourself a way of locating your position and which direction you're pointing.
    *Barometer, small symbian application to interpret the pressure in milli bars, you could
    then have your phone warn you if the pressure's increase (high pressure, good conditions) or
    if the pressure starts to drop rapidly which could indicate bad weather (storms etc)
    *Altimeter could be used, however the GPS is far more precise, maybe something in the future could be done, this would
    be uptodate information, other phones could even send into a server, how much processing power and number crunching would
    take place if every mobile phone could send a FREE SMS to a server every few hours with your GPS location
    and altitude, world wide, i'm sure we'd be able to improve weather predicting with so much data coming in
    from the people who say yes to submitting data to a weather server, providing the altmeter is calibrated.
    GPS data, this phone will go all out to get a signal, then you have a series of options like sms my current
    location to another phone or a request for help including how high up (altimeter/gps) his/hers cords from
    the GPS
    with the OPTIONAL bluetooth heartrate monitor.
    *the phone could connect to a bluetooth heartrate monitor and then it displays the BPS of the indvididual
    and a small sensor to measure temprature from the person as well.
    *Maybe a Resuce Mode
    *Safety mode / tacker
    If the person who's in danger is able to get a signal even from 2g or the phone
    will automatically try if it's in rescue mode, in rescue mode it could get your body
    temprature, BPS, get your GPS location and direction heading from compass, even the barometer
    so it could report things like weather info to help, for example is it safe to use a helicopter?
    Why yes, the last 8 sms text messages the barometer has been increasing, but could easily be looked
    up anyway.
    If the person collapses, the SMS messages until someone arrives will be the only info, since we
    are able to monitor heart rate and location, the emergency services will arrive.
    Now if the heart beat drops below X BPS, it could automatically SMS the wife, brother, girlfriend
    or even multiple people, reporting back the person could be in a lot of danger, there would be nothing
    like this on the planet.
    If not in danger, there will be software to monitor vital conditions, tempraterue of you, it can
    also see where you've been by tracking your data and storing it automatically on memory, all data
    stored could be used as a 'black box' once recovered, in other uses..
    In other uses, it could detect that your heart beat has just shot up from 80 up to 120 and higher
    it was an instant change, this could then SMS the parent, or the phone could make a high pitched alarm
    sound either as to prevent an attacker and drawing attention to you or the high pitched alarm could be
    an alert to others to say something is wrong with you and seek help, it could even detect low heart beats
    and also do a similar warning of sms or both.
    the Gorrila Nokia Phone can survive up to say -30c because it's well insulated and well protected
    from the outside elements if there's a way of making a watertight seal with a slide, use that
    if not the keypad can be put below as traditional phones go for example the new nokia 2960 style.
    internally protected by epxoy too, So for a good rough phone that withstands abuse and yet be
    absolutely packed tight of features nobody could say no.....
    With the broadsprectrum of frequencies the phone has to offer, 2G, 3G 3.5G etc etc you stand more
    chance of getting a signal with the better antenna or included signal amplifier/booster to pickup
    that signal that might just save your life and then your phone becomes your only chance of hope....
    Without the gorrila docking station, you wont be able to charge the phone without one although
    you could use bluetooth/wifi in the short term for data transfer...
    *Accelerometer / Barometer/ GPS...
    Each one could be used for this but if all 3 were combined an accurate result would be optained
    and better to accurately determine to warn or not, for example if the heart beat drops or increases
    significantly an automatic SMS text message can be delivered to friends and family instantly before
    the person even realizes themselves...
    The person might be climbing the side of a hill and all of a sudden he trips and ends up sliding down
    the hill, the Gorilla Phone might be a few feet away now even outside the range of the bluetooth heart
    /temp monitor, ok, the phone is montioring the altitude via either altimeter or GPS or both, the acceleromter
    detected the sudden movement and jerk and strong G-Force at the very millisecond he falls.
    the alitmeter suddenly declines in only a couple of seconds, and now the heart rate monitor is out of range
    based on that data.....
    The person has just fell 3ft from X,Y GPS cords, and the phone landed X,Y GPS cords, it then gets as much
    data as possible such as altitude, temprature from phone (or heart rate monitor) and if the phone is not picked
    up within 10 seconds, the Nokia Gorilla Phone kicks into action sending out an SMS with your location on it can send up
    to 10 people or so of importance along with contact info directly to you when it happens.
    by now, the SMS message will provide emergency services precisely to the location of
    where the person has fallen or rough position, as the person may lay 3 or more meter away from where
    the phone had landed, this could very easily save a persons life, imagine if this happening at night
    in a wooded area, if the phone is simply dropped most people would pick it up within 10 seconds, even then
    a drop from roughly were you're holding the phone to where your feet are would indicate a dropped phone......
    The heart rate monitor could sit on you as every day normal life and if you have a heart attack, your
    phone will know (providing you're linked via bluetooth 10/100m range?) there's a serious medical problem
    and again could easily get the message out to save your life, even possibly having an option where the phone
    smses AND turns on the loud speaker so you can talk to emergency services, maybe a simple voice to speech or
    if you can't speech and can't move, there's not going to be that much of conversation but could be added.
    SMS Return: Location: GPS Cords X,Y; Altitude: 844m; HeartRate: 50; Pressure: ?milibars
    time spent getting to you to save your life,
    rather than time spent trying to find out where you are.
    Another option would be to text the phone and then get a text message back automatically
    providing access was granted on the phone.
    The Ultimate Survival Tool... Nokia's Gorrial Range of phones.
    They can save your life, they're tough take them anywhere you want, show it smashed down
    hard onto the table with an iphone (lookalike) that just smashes into pieces with the phone
    saying pick me up (since it will detect the smash as a drop of phone onto say concrete)
    if it detects a fall, if it does not get pickedup within 10 seconds, people are alterted
    to this fall or collapse,
    Difference in this case between fall and collapse is simple, what's your heart rate at if
    there's a problem there, it does not presume it was dropped and that you're in serious medical trouble
    take it swimming with you in the swimming pool, get your GPS cords and display them on a map
    geotag photos, get info about the weather, using the barometer high and low bands if a low pressure
    wave comes in and the barometer is dropping 998, 983 over a period of time will indicate what's likely
    to happen, if it increases better weather, if it decreases the weather coming in is bad, the phone
    will then direct you to start looking for shelter or find a nice lookout sunshine on the way...
    So all is well? the bluetooth monitor could even be attached to you sleeping so if your body
    temp and heart rate drop badly, it looks like you're freezing to death, the phone will then alarm
    a danger sound to try and wake the person sleeping up as well as contacting friends and family
    who will ring you, or give the message out with the GPS info out to the emergency services.
    The nokia gorilla's not just another phone, it's your buddy who looks out for you and will follow you
    into any conditions you go into, you work on the construction site, you wear a hard hat for protection
    when you see a nice new iphone (lookalike) all pretty has to wear a yellow hat, what a disgrace... while
    the Gorllia slilently laughs...
    The toughman phone with the ultimate survival tools, the Nokia Gorilla Phone, kicked, sat on, used
    to prop up your monitor, very tough and very strong handles whatever is thrown at it... but with GPS
    Barometer, WIFI, Compass you'll have everything you'll ever need handle what mother nature can throw
    at you..
    Maybe a couple of LED's to make the casing light up at night incase you drop it, which a sensor can detect
    if it's dark or not after it's been dropped (fed by data by the accelerometer, drop found, any light? no switch on lights)
    Oh yes and relax by playing with the internet browser over wifi, enjoy the better reception you get from better
    antenna or boosed up (amplified) radio signal.. enjoy the fact you can depend on this phone, it's your buddy
    not just a phone.
    So anyway guys what you think?

     The Nokia 3720 classic is a IP54 level water,
    Not even close to good enough, LCD screen will crack, water will go in through the jack/charger ports..
    The phone i describe has no external ports just 4-5 little pins which can't let water in or out of the device, the docking station will connect via these 4 - 5 pins for data transfer and recharging...., IPX8 standard, all the electronics are epxoyed with a glue to stop real bad shocks from drops and bangs, along with a silicon case and all the other preventative meausres means this little phone is going to outlive you.
    in combination with heart rate external bluetooth connection, really what more could you want... only the Sonim comes close in terms of perfection but if it managed to pack all of above, then it would be simply wow... I don't think there's enough people who work for nokia who actually go camping, backpacking, hiking, i'm pretty sure that if i told them one day
    on a holiday you might drop your phone into the swimming pool, ok fine it's a mistake but damn, there goes your $$$$ N7 or N900 or even a HTC or Iphone.... not this, you'd yell to the first person you see in the pool, hey mate can i have my phone back, don't worry about the water damage, i'll get it back on insurance after a small lie stopping the person from running off with it (in fear of the now useless mobile phoned killed by water, making an attempt to steal be useless) 
    The person gets their phone back and carries on about his day, it drops out of your pocket, how many times you ran over it because you happened to leave it behind the back tire. oh no i ran over my phone, the tough casing and the epoxy keeping it nice and safe, except for superficial damage cosmetic, the screen and phone should be working still able to make that call or send out GPS info....
    Sorry nothing comes close by any company (except Sonim) in terms of what they can do... maybe even a portable charger turn it to recharge like on LED dynamos. nah maybe not.

  • What is the concept of  view in material master?

    Hello sap gurus
    Some quetions regarding Material Master
    what is  the concept of views in material master ?
    what is determined by specifying industry sector in material master ?
    To sell material which views are material are maintened in Material master?
    Regards
    Amit

    Hi,
    <b>Material master  for finished ggods is related with SD, MM & PP departments</b>. If you carefully go through the various screens in MM record you will realize the importance of the respective fields and the department to which they belong.
    <b>1.Suppose Base unit of measure</b> in Basic data 1 screen. The production people will keep the stock of the item using this UOM.
    <b>2. In Sales:Sales Org.1</b> screen we have sales unit in which we will sell the material.
    <b>3. Then we have the plant</b> data in which we enter the delivering plant. Also the taxes are determined from the plant so we have the settings for taxes also - whether this material is fully taxable/50% tax/Tax exempted.
    <b>4. Then we have purchasing</b> screen in which the data like the purchasing group, variable units,etc are entered. This will effect the purchasing cycle when we are procuring a material from outside. This is related to MM.
    <b>5. The we have MRP</b>, this is related to PP as to how to manufacture the product, the MRP type, the strategy group - whether it is MTO/MTS like that.
    <b>5. Sales:Sales Org.2 screen</b> - Here we mainatin the account assignment group which is very important as far as the generation of the accounting document is concerned. This triggers the system where to post the value in which G/L account. Accounting document is generated when we create the invoice in VF01 & save it.
    <b>6. Work scheduling</b> - Related with the sceduling of the production as to whether underdelivery or overdelivery is allowed, the storage location
    <b>7. Quality</b> - Here you can select for a particular finished item where where it has to be checked for quality during its journey from the raw material stage to the finished goods store as a finished item.
    <b>8. Accounting</b> - Related to accounting, product costing, total value of the stock in hand, etc. Also related with FI & PP
    So all the screens have data which effects one or more modules for the proper functioning of the system to give the optimum results.
    <b>Industry Sector:</b>
    Key that specifies the branch of industry to which the material is assigned.
    <b>Use</b>
    When you create a material master record, the industry sector you specify determines
    1. which screens appear and in what order
    2. which industry-specific fields appear on the individual screens
    <b>Screens for Sales:</b>
    Sales:Sales Org.1, Sales:Sales Org.2. But other screens also have data which is related to sales. You cannot just maintain the sales views and save the master. It has to be properly linked with the other modules also for the proper functioning of the system. That is why the system is called as "Enterprise Resource Planning" You have to paln the resources of your company and these resources are related with all the modules.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • Display of measurement document - t-code IK17

    hi,experts,
    my clients requirement is to analyse power consumption vs cost in machinewise.from pm aspect, i had suggested to enter power consumption in measurement document but at the same time client's requirement is to have the display of cost also.means suppose 1 unit of power consumption costs Rs.4/- .Now if they enter 4 unit in measurment document total cost should be automatically calculated by system i.e.Rs.16.So.at the month end they want to see how much power is consumed by a particular machine and what is the cost involved for that power consumption in a single screen.At the time of creation of measuring point,there is a field called conversion of measurement unit,can we map this scenario with this concept.please,give some solution how we can address this problem.
    rgds
    rajib

    You can create a sales order with the following two condition types.
    1. PR00 - Price per unit
    2. EK02 - Cost per unit
    By entering the power consumption as a material and the delta usage of power as quantity you will have both.
    No development required. Also check with FI consultants if PR00 can be configured to not hit the revenue accounts. That way you can then treat as a report or write a simple query to get a report.
    Bala

  • Problem in modifying the code using work area concept

    Hi,
    I am working on a code in which i am on the code in which i am using the modify statement but it is not giving the right output.
    here's d code:-
    LOOP AT T_ITPO5 INTO W_ITPO5.
            LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
           LOOP AT T_ITPO4 INTO W_ITPO4 FROM WV_INDEX.
             IF W_ITPO4-AUFNR EQ W_ITPO5-AUFNR.
             IF ITPO4-NTGEW <> 0 .
                CALL FUNCTION 'ZGET_ITEM_WEIGHT'
                  EXPORTING
                    P_BUID   = W_ITPO4-WERKS
                    P_ITEMID = W_ITPO4-MATNR
                    P_QTY    = 1
                    P_UOM    = W_ITPO4-MEINS
                    P_UOM1   = 'KG'
                  IMPORTING
                    P_RETVAL = W_ITPO4-WTKG.
                TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
             IF W_ITPO4-BWART = '261'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
             ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
             ENDIF.
           ENDLOOP.
             MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
           MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
       ENDLOOP.
         WRITE: / 'PRD.NO       ITEM DESCRIPTION                               WIP(KGS)'.
        ULINE.
        LOOP AT T_ITPO5 INTO W_ITPO5.
          READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
          SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
          if sy-subrc = 0 .
          WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
          else.
          write 'Unsuccessful'.
          endif.
        ENDLOOP.
        ULINE.
        FORMAT COLOR 3.
        WRITE: / 'GTOTAL',55 TOT_QTY.
        FORMAT COLOR OFF.
    plzz provide me guidelines to solve this problem.

    here's d code;-
    TYPES: BEGIN OF ITPO1,
           AUFNR TYPE AFPO-AUFNR,      "Order Number
           PSMNG TYPE AFPO-PSMNG,      "Order item quantity
           WEMNG TYPE AFPO-WEMNG,      "Quantity of goods received for the order item
           DWERK TYPE AFPO-DWERK,      "Plant
           MATNR LIKE AFPO-MATNR,      "Item Id
           END OF ITPO1.
    DECLARATION FOR AUFM TABLE
    TYPES: BEGIN OF ITPO4,
           AUFNR TYPE AUFM-AUFNR,      "Order Number
           BWART TYPE AUFM-BWART,      "Movement Type (Inventory Management)
           MENGE TYPE AUFM-MENGE,      "Quantity
           MEINS TYPE AUFM-MEINS,      "Base Unit of Measure
           BLDAT TYPE AUFM-BLDAT,      "Document Date in Document
           WERKS TYPE AUFM-WERKS,      "Plant
           MATNR TYPE AUFM-MATNR,      "Material Number
           NTGEW TYPE MARA-NTGEW,      "Net Weight
           WTKG  TYPE MARA-NTGEW,
           END OF ITPO4,
           BEGIN OF ITPO5 ,
           AUFNR TYPE AUFM-AUFNR,
           MENGE TYPE AUFM-MENGE,
           I_QTY TYPE AUFM-MENGE,
           ITEMDESC LIKE MAKT-MAKTG,
           END OF ITPO5.
        WORK AREA AND INTERNAL TABLE DECLARATION
    DATA : W_ITPO1 TYPE ITPO1,
           W_ITPO4 TYPE ITPO4,
           W_ITPO5 TYPE ITPO5,
           T_ITPO1 TYPE ITPO1 OCCURS 0,
           T_ITPO4 TYPE ITPO4 OCCURS 0,
           T_ITPO5 TYPE ITPO5 OCCURS 0.
    VARIABLES
    DATA: TOTWT1 LIKE AUFM-MENGE,
          TOT_QTY LIKE AUFM-MENGE.
    PARAMETERS N SELECT-OPTIONS
    PARAMETERS: PLANT LIKE AFPO-DWERK.
    SELECT-OPTIONS: PO_DATE FOR AFKO-GSTRP.
        LOOP AT T_ITPO5 INTO W_ITPO5.
            LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
                CALL FUNCTION 'ZGET_ITEM_WEIGHT'
                  EXPORTING
                    P_BUID   = W_ITPO4-WERKS
                    P_ITEMID = W_ITPO4-MATNR
                    P_QTY    = 1
                    P_UOM    = W_ITPO4-MEINS
                    P_UOM1   = 'KG'
                  IMPORTING
                    P_RETVAL = W_ITPO4-WTKG.
                TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
             IF W_ITPO4-BWART = '261'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
             ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
              W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
             ENDIF.
           ENDLOOP.
             MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
           MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
       ENDLOOP.
         WRITE: / 'PRD.NO       ITEM DESCRIPTION                               WIP(KGS)'.
        ULINE.
        LOOP AT T_ITPO5 INTO W_ITPO5.
          READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
          SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
          if sy-subrc = 0 .
          WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
          else.
          write 'Unsuccessful'.
          endif.
        ENDLOOP.
        ULINE.
        FORMAT COLOR 3.
        WRITE: / 'GTOTAL',55 TOT_QTY.
        FORMAT COLOR OFF.
    I want to have output that the production order is displayed along with the deficit quantity. but using this concept it shows only production order no. and qty 0.

  • Lag function not working in calculated measure

    I am facing a strange problem while using "Lag" function in calculated measure.
    I have a time dimension which consists of date, workday, financial week, Financial Month and Financial Year.
    The concept of workday is its a integer number which represents date. In case of holidays this number donot change and remain constatnt till next working day. 
    Here workday no remains 460 as 20120708 is a holiday.27 and 28 denotes FinancialWeek.
    Now basically I want to find previous wokdays count.
    with member [Measures].[Prev Count]
    AS
    sum(
              existing [Date].[Workdayno].[Workdayno].Members,
     ([Date].[Workdayno].lag(1),[Measures].[Fact Count]))
    Select { [Measures].[Prev Count]} on 0,
    {[Date].[Calendar].Members} on 1 from [My Cube]
    Where([Date].[Calendar].&[20120709])
    What I expect that It will give me sum of counts where wokday no is 460.
    But its showing null value.
    with member [Measures].[PrevCount]
    As
    SUM(EXISTING [Processing Date].[Workday].[Workday].MEMBERS,([Processing Date].[Workday].LAG(1),[Measures].[Sequenced Records]))
    SELECT {[Measures].[PrevCount]} ON 0 FROM --[E2Eitem]
    WHERE([Processing Date].[E2E Calendar].[Date].&[20120709])
    It looks like existing function is failing to exist the member related to date??
    Any suggestion.

    Try using
    with member [Measures].[Prev Count]
    AS
    sum(
              existing [Date].[Workdayno].[Workdayno].Members,
     ([Date].[Workdayno].currentmember.lag(1),[Measures].[Fact Count]))
    Victor Rocca

  • Oracle Warehouse Management System system implementaion concepts.

    Hello, we are using an old version of Oracle Warehouse Management System(back in Retek time). Anyways I think the concepts remaon the same. Can someone please point me to some implementation details document please. Hoping for docs that explain, for example how the concentric putaway logic is implemented in the system. That is, the inner workings of the system. I had an issue report for a bug(4896266) that explains the old logic Oracle used and the new logic they are pursuing for concentric putaway. It was clearly explained. I am unable to attach the doc, but hoping for that kind of docs or a place where to find them.

    Hi,
    Ah I see. I'm afraid it's highly unlikely that sort of documentation is available; I've certainly never found anything that useful. I've often had to resort to going through the PL/SQL of various packages to gain an understanding of what the system is doing. Obviously that's a terrible substitute to proper documentation.
    I suppose if you were desperate you could take a look at the operations guide for a more recent version and use this as a starting point for further investigation?...
    I've just had a quick search of the v13 RDM docs and it has the following to say:
    Directed Movement
    When merchandise is putaway, RWMS uses the product location attributes and configurable putaway plan to suggest the location that best conserves space in the reserve locations, or it inquires opportunities such as zone, location type, and status (for example, Different SKU, Same SKU, Empty Loc). The number of storage preferences associated with a particular plan is virtually unlimited, providing significant control over the storage strategy for the overall facility. Inventory Control uses three putaway methods: cube, capacity, and unit.
    Cube – Dimension derived from the length, width, and height
    Capacity – Capacity measured in units
    Unit – Capacity in number of units
    All merchandise in the DC is system-directed whether it is for putaway, processing, or picking goods.
    Concentric Putaway allows for putaway plan creation that suggests reserve storage locations closest to an item picking location. This is done using XYZ coordinates to measure the distance of storage locations from the pick face. This functionality is controlled for each item within a putaway plan.
    Thanks,
    Dave

  • Adding Alternative Unit of measure as part of  attributte of material

    Hi gurus,
    In our source system each material has alternative unit of measure which contain info on converting the base unit of measure (CAR) to MT and PAL.
    I need to add this info as part of material attribute
    e.g.
    Material "A" 10CART = 1 PAL & 100CART = 1MT
    This information captured in MM table "MARM" with material code as the
    As part of 0MATERIAL_ATTR , i need to have additional field that capture the info as below
    CARTPAL = 0.1 (1/10)
    CARTMT = 0.01 (1/100)
    Please help to advice on how to enhance the extractor to cater the above requirement.
    Your help highly appreciated
    Thank you

    hi,
    According to me you can enhance the 0Material_attr to bring the required information from ECC.
    But before enhancing anything ask func consultant or business below ques.
    1) will these unit entry will get created in MARM for any material at the creation of material or it will get updated later on
    2) will this unit value get change for any material during its entire life
    If any of above que ans is yes then how wud u manage in transaction data if unit get changed.
    For that u need to apply feedback concept in transaction dso.
    Regards,
    Ashish

  • Using Write measurement to file There is a huge lag

    I have written a code where it simulates faults i.e the primary i/p the square wave would have a high duty cycle <thats not the problem>
    The problem is i have to store all the data and i'm using Write measurement to file .... but after some time there is a lag between real time and the time it has processed
    require urgent help
    Attachments:
    Air_dryer_read_8.vi ‏659 KB

    Such Kind of TimeOut to editing the first post but...
    "real time and the time it has processed"  
    That's correct.  
    The main reason of that is the Lack of Architecture in our code and overusing of Variables/Inner Loops/Bunch of Writing Files/Express VIs and one Fantastic DLL call... Everything in same Loop.
    Its an heavy computional intensive to process everything without correct using of dataflow concept (Especially in ur Case). I'm still frightened...  Anyway.
    Here some tips:
    Avoid Variables: They can lead Race Conditions in our code and made some copies of data in memory. 
    Avoid Stack Sequence Structures: Use DataFlow Concept to put everything in sequence
    Decouple Processes: Create one Loop to UI actions, one to Data Acquisition/Generation, one to Log Raw Data, one to Create Report and Perform some analysis.Create some mechanism with Queues/Notifier to inter process communication (See Queue Message Handler Architecture).
    Avoid Express VI: They are Inneficient,bad codded (Except File Dialog when there's one VI...) and put bunch of dependencies in your project. 
    Create SubVIs: Provide Modularity and code reuse.
    Stop Button needs to STOP:  Self Explanatory
    Here some links about good pratices:
    http://www.ni.com/white-paper/7117/en
    http://www.ni.com/white-paper/5560/en/
    https://decibel.ni.com/content/docs/DOC-22047
    http://lavag.org/old_files/post-705-1100237457.pdf  <--- (That's good one)
    "In theory, theory and practice are the same. In practice, they’re not."

  • Measuring point,counter & meas document

    What is the concept of Measuring point,counter & meas document in regard to PM ?

    Hi,
    Measuring Points are  measurement of physical condition like temprature pressure, and consumption like fuel, and reading like hour meter , speedometer etc.
    measuring points just like as log book of equipment
    it is created by ik01, against technical object with  characterstics of which we want to take measurment reading
    and  when actual reading are recorded against measuring point  , a document is genrated called measurment document
    it is crated by ik11, ik14 , ik34  against measuring point
    regards
    Jitender Suhag

  • SSAS - Creating a Measure For Defects Per Unit

    Hello, everyone
    I'm attempting to create a Defect Per Unit calculation. I have an odd situation where my source data is recording all of instances of a given Defect (the single defect is recorded in multiple locations, DimLocation). So I'm receiving many rows that I need
    to represent as a single defect.
    How can I create a measure that will properly count each defect (DimDefect) only once-per-unit? Can I do this without creating a separate fact table and measure group that removes DimLocation? (The location is needed for some other measures but this one
    won't use it. My goal is to simplify the cube structure for the user.)
    I'm pretty new to MDX so if there is any other information I can provide, I would appreciate it.
    Thank you!,
    -Aaron B.

    You can also do the same by using the concept of Semi-Additive Measures or the other turn around you can think of is (SUM of DefectMeasure) / (Count of Defects) ... The only problem with the second approach is you will get a Total of the same which sums
    everything and deletes that with the count.. My possible suggestion would be go with Semi - Additive Measure (Last Non Empty / First Non Empty such)... I didn't do this same this MDX way, but I am sure that would be possible too.
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • SSAS Cube Measures will not display for all associated dimensions in Excel client

    Dear All,
    Can you please clarify the below query to me?
    I have one Calculated Member CM1 and the expression used to calculate is:
    ([Dimension1].[HierarchyName1].CURRENTMEMBER.Prevmember,[Measures].[Amount]) associated to a Measure Group MG1.
    Dimension1 is having two Hierarchies HierarchyName1 and HierarchyName2.
    Measure CM1 is used to Calculate another calculated Member CM2 along with other Non Calculated measures and associated to the same Measure Group MG1.
    And the Measure Group MG1 is linked to other dimensions, Dimension2 and dimension3 as well.
    When I query the cube in Excel Client for the measure CM2, values appears only when the dimension Dimension1.HierarchyName1 is used to view the results.
    And values do not appear:
      When I do not use any dimensions (Only CM2 used to display in the excel)
      When I use Other dimensions linked i.e. Dimension2 and dimension3
      And Also does not display any values if the CM2 is used along with other hierarchy of same dimension1 i.e. HierarchyName2
    I don understand this concept OR Is this the concept how the tuples work in SSAS MDX?
    If a Calculated measure is created using a one of Dimension member, cannot we view that measure value along with other dimensions linked or when we do not use any dimension to view the results in excel?
    Can you please help me to understand this.
    Thanks in Advance and Regards.

    As you explained CM2 depends on CM1.
    The dependency for CM1 is "[Dimension1].[HierarchyName1].CURRENTMEMBER.Prevmember".
    So to get value for CM1 you need to bring HierarcyName1.
    So for CM2 also HierarcyName1
    has to be used only then the data will be visible. When HierarcyName1 is used you can play with
    the combinations of other dimension as well .
    http://www.bifeeds.com

  • Measured data frm labview to be saved in a databank

    Hello again.. I hope I am in the right forum to be asking this.. Im working with another project which requires me to use LabView software (apart from the other project about welding process)..
    This project is a bout solar cell which will give me certain current and voltage values according to certain irradiation... So far, the measured data are presented and saved as excel file..
    However, i need to do another backup concept, to make sure that the measured datas obtained are saved in another way in to make sure it wont be lost.. (i hope my explanation makes sense..:-s) ..
    My question is, is it posible to save the measured data in a LabView Databank??
    Thanks..
    Solved!
    Go to Solution.

    For the photovoltaic modules test, i will run the program using LabView software.. For each test done, it will give me a results which is presented in an excel data.. (Like attached below).. However, i will run more than 1 test on this module.. 
    So my question is, how do i save all these results together in one databank/ database.. is there a way? :-s im an IT Blind so hope my question make sense..
    Attachments:
    Heckert Solar - 08220483.xls ‏365 KB

  • [cRIO] Pulse width measurement

    Hello,  I am working with cRIO-9074 with digial I/O module 9403. I was wondering where I could find examples or a list of function relevant to measuring the pulse width of a digital input (with resolution of about 10 usec).
    - Thank you 

    I've implemented something similar using the example given above, however due to hardware limitations I'm unable to use the SCTL, this isn't too much of a problem as I simply use a while loop with a 4-tick loop timer, however when driven with a constant digital signal I get the pulse width measurements 'bouncing' between two values, it's not out by 1 or 2 ticks, it jumps around 1000 ticks, it also 'sticks' when I slowly ramp up the frequency, suddenly jumping to other values
    any suggestions? I'm currently using the FPGA open function and accessing the FPGA in (I believe) scan mode, could this be the culprit? I've not undertaken the RT training course yet so I'd be poking in the dark a little
    this is for a proof of concept demo in a few weeks time!

  • Hi guys please provide me the concepts on workflow

    hi guys,
    please provide me the concepts on workflow.
    i have no idea on workflow,
    if you have any helpfull documentation and also some scenarios where u have faced and solved those,also some real time examples.
    please help me, and also i will give points if it is helpfull.
    thanks.
    prasadnn.

    Hi Prasad
    Please find some questions related to WorkFlow
    1. Is there a good book about this subject?
    Yes, "Practical Workflow for SAP" by Rickayzen, Dart, Brennecke and Schneider. Available from SAP press at the end of July. A german translation of this workflow book is also available directly from Galileo-Press, the publisher.
    2. How do I convince my company to use workflow?
    Feedback from user groups emphasizes that although the competitive advantage gained by using workflow eclipses the financial savings, it is the financial savings that are the deciding factor when obtaining support from senior management. Projects getting the blessing at the CEO level are much easier to manage, and far more likely to reach their goal within the project time frame. So plan well, and don't neglect the business case.
    Because the following questions deal with the financial case in more detail, this section will finish by listing the competitive advantages.
    The quality of the process is assured by pushing the relevant information together with links to related transactions directly to the user. Managers don't have the time to search for information so give them what they need to reach the correct decision.
    Cycle time is reduced by pushing the process directly to the users. The users receive notification of a task immediately and can even be prioritized by the system.
    The tasks are performed consistently and diligently by the users. The workflow system pushes all the necessary information needed to perform a task, including a clear description of what has to be done, how to do it and the impact this task has on the business process for your company. At any time, the user can check the list of tasks pending and determine at a glance which are the important tasks, and which tasks can be completed the next day without any negative impact.
    The process instance is transparent. Any user can check at any time how far the process has progressed and which stage the process has reached. For example the call center can immediately see the status of a purchase order, an employee requisitioning a purchase would see at a glance if a colleague has been sitting on it for too long, the ad hoc notes made when approving an engineering change request are visible long after the request has gone into production.
    The process is flexible, allowing it to be changed on the fly without retraining everyone involved. The description accompanying the change takes care of on-the-fly process improvements.
    Deadline handing ensures that users perform the tasks within the time planned. Escalation measures ensure that the failure to meet a deadline can be corrected by other means.
    Intelligent reporting highlights the weaknesses of a process. Often there is a simple cure to such weaknesses such as reeducating the users involved in the bottleneck or providing additional information (automatically). The difficulty of a non-automated process is identifying such bottlenecks.
    The process definition is transparent. You can see at a glance how the process works and who will be selected to perform the different tasks. Think of the workflow as the process book. If you can spot the pattern and define the process without headaches, you can create a workflow definition effortlessly. However, don't forget that if a company has business processes that are erratic and lack a consistent pattern, the company is very likely to be losing a lot of money in terms of lost contracts, labor intensive administration and low customer confidence. It is my personal opinion that automating exactly this type of processes will yield the best returns, but only if you limit yourself to automating the basic skeleton of the process first. Don't get bogged down in the detailed exception handling. That can be done in the next phase once you've checked the process statistics and determined which exceptions are worth tackling.
    As with most software the reasons for automating business processes are primarily to increase the competitive edge of your company and to cut costs. Although the increase in competitively gained by radically reducing process times is by far the most insignificant gain from workflow, you should not ignore the cost savings. The cost saving calculations are needed by upper management in order to approve workflow projects. This upper management signature will be very useful in different phases of the project and cannot be underestimated.
    3. How do I calculate the cost saved by workflow?
    Calculate the cost of the manual process in terms of man hours. Don't neglect the time spent gathering information. Ask the following questions:
    Is the user forced to log into different systems, or scan through printed documentation....?
    Does a skilled user spend time on parts of a task, where less skilled (less expensive) user could do the groundwork? I.e. Can a single task be split into skilled and unskilled tasks to free the skilled worker for work where his/her skills are really needed?
    Is time spent researching the progress of a process (usually done by someone not involved in the process directly)?
    Is time spent determining who to give the task to next?
    Probably the most significant cost will the be the cost of failure?
    How often does the process fail?
    What is the real cost of failure? Loss of a contract? Loss of a customer? Law suit?
    If the failure can be rectified, how labor intensive is it?
    4. What are typical costs saved by workflow?
    A manually processed accounts payable invoice will cost about 25 USD. After workflow enabling about 15 USD (one example based on customer feedback from a user group meeting).
    5. What are typical reductions in processing time caused by workflow?
    A traditional paper based approval process involving three people will typically take seven days to complete. The automated process will take one day (results based on customer feedback).
    6. What do customers say are the strengths of SAP WebFlow?
    WebFlow is the internet functionality of SAP Business Workflow. Based on customer feedback from the various regional users groups, the main strengths of SAP Business Workflow are:
    Robust production workflow system, (upgrade continuity with the rest of the SAP system, versioning, scalability, no gluing....)
    Standard workflow templates delivered by SAP can be used out-of-the-box or tweaked to deliver the optimum business process for your company. Workflows can be up and running including training in under a day (thanks to the knowledgeware delivered as part of the template packet).
    Seamlessly integrated into the SAP environment, be it R/3, Business to Business Procurement, CRM, APO, mySAP.com.... Examples of integration are:
    Business Reporting (WIS),
    Context sensitive availability at any time through the system menu (available anytime, anywhere)
    More and more standard SAP functionality is being provided by using SAP Business Workflow so your homegrown workflows fit the landscape exactly,
    More and more workflow functionality is available directly within the SAP transaction or Web MiniApp.
    WebFlow is becoming more and more important because companies are no longer being judged by their own performance but by the combined performance of the company AND its partners. In other words it is not enough that the business processes within your company run smoothly and faster than your competitors. You have to ensure that the processes between you and your partners are also as fast, efficient and flexible as possible. WebFlow delivers this.
    7. How are users notified about their work pending?
    The users are informed by a work item which you may think of as being very like an e-mail. The difference is the work item contains intelligence and by executing the work item you will be taken to the form or SAP transaction that makes up the step in the workflow. This form or transaction could be a decision, a request for information or a request for confirmation that a particular task has been performed.
    The work item is usually accompanied by a description of what has to be done, where to refer to when assistance is needed (help desk, intranet...) and a summary of information about the business object or process which enables the operator to attack the task immediately.
    This work item can be received and executed in MS OutlookÒ, Lotus NotesÒ, mySAP Workflow MiniApp or the SAP integrated inbox. If this is not enough, the workflow system can transmit e-mail notifications directly to any mail system, informing the user of the need to log in to the SAP system to execute the task. The e-mail notification is done on a subscription basis so that users can de-subscribe from this service if they already check their work item inbox regularly.
    8. What workflow reporting is available and is it useful?
    Standard workflow reports exist which allow the administrator to check statistics such as the frequency and average duration of the workflow processes. However the real strength of the workflow reporting is that it allows reports to be configured which analyze the process statistics in combination with the data involved within the workflow process and the organizational units associated with the process. For example you can determine the average time invested in a failed contract renewal request, the time taken to create material masters in different plants or the frequency of rejected purchase requisitions on a department to department basis. Often, big reducations in cost or cycle time can be obtained without touching the workflow definitions. Reeducating a particular group of users or incorporating supplementary information in a work item description can often cause dramatic improvements on the cycle times of particularly critical subsets of the process. It is not unusual that this may have a big impact on specific products, plants or organizational units. This will show up in the WebFlow reporting in LIS or the Business Warehouse but it might not show up in traditional statistical workflow reporting. Even though the average time does not change significantly, the impact on costs and profit can be dramatic.
    9. How do I choose who to distribute the tasks to?
    A work item is assigned to one or more users. Whoever reserves or executes the task first wins and the work item vanishes from the other users' inboxes. This eliminates the need to assign the user to one single user. I.e. No need for complicated algorithms to determine which single user will receive the work item and no need to worry about what will happen when one user is ill for the week (also taken care of by sophisticated substitution mechanisms which can be linked to the SAP organizational model).
    Tasks can be assigned to an organizational unit but the strength of the workflow system is to enable business rules which select users according to the data being processed. For example, you might have one group of users associated with one quality notification type. The workflow can be configured to query the QM module directly to determine the users. You can define fallbacks using the default role associated with a task and allow agents to be specified on the fly by a supervisor.
    Tasks can be assigned to office distribution lists which is useful when you want your users to subscribe or unsubscribe to a particular task. A typical use of this would be where you have a work rote or want to reduce user maintenance to an absolute minimum. The users subscribe or unsubscribe by joining or leaving an office distribution list (one mouse click).
    10. What happens when a deadline is missed?
    This depends on your workflow definition. In the simplest case an e-mail is sent to another user by the system (typically your supervisor so watch out!). However in more sophisticated scenarios a missed deadline can redirect that path that the workflow takes. One customer uses deadlines to automatically make an approval if the deadline is missed (at about the eighth approval level!!!). This gives the user the chance to make rejections but does not force him/her to go into the system to approve the other 99.9% of the requests. In safety critical environments the workflow might trigger off preventative action when a deadline is missed or might put other processes on hold. There is no limit as to how you can use this functionality.
    11. What deadlines can be monitored?
    Many different types of deadlines can monitored. At the single workflow step level you can define deadlines which trigger when the work item has not completed within a certain time and other deadlines when no one starts working on the work item within a given time. You can specify the task deadline statically (e.g. 1 week) or dynamically (e.g. 1 week for material type A and 2 weeks for all the other materials). The offset can be related to the step (e.g. you have 1 week to complete this step) or related to the process (e.g. complete within 2 weeks of the complete process starting, irrespective of how long your colleagues have hogged the previous steps).
    Last but not least, deadlines can be set for sub-processes, which is often more important than the deadline of a single step in a workflow.
    12. How can I check the status of a workflow?
    This is one of the very cool features of SAP Business Workflow. You can usually navigate directly from the business object to check the workflow progress. For example, while viewing a purchase order you can select "workflow" from the system menu or toolbar and you will see a list of workflows related to the purchase order. Usually just one, but if you have created a few of your own and these have been triggered you will see the status of these too. And that is not all. You also see a simplified summary of all the steps that have taken place so far including who performed them, when they were executed and which ad hoc notes were attached.
    13. How are workflows triggered?
    Workflows can be triggered automatically by changes in the system or manually by an operator. Manually triggered workflows are good for processes that remedy a problem the operator has noticed or for dealing with a forms-based requests (E.g. my PC won't boot). Automatically triggered workflows are useful because the operator does not even have to be aware of the workflow's existence to trigger it. In addition to triggers embedded in transactions there are also generic triggering mechanisms such as a change in the status of a business object or a change in the HR data. Irrespective of how the workflow is triggered, it is linked to the business object as described in the previous answer and can be tracked easily. Because WebFlow is part of the basis system, this triggering is reliable and easy to implement.
    Workflows may be triggered by events but this is not essential. The event-handling makes it easy to trigger workflows from transactions and system changes without you having to make modifications. If you are creating your own report or transaction which triggers a workflow, avoid events and trigger the workflow directly with the WAPI function call. This is particularly important when triggering a workflow from outside the SAP system. This method reduces flexibility (the workflow ID is hard-coded) but increases performance if this is an issue (we're talking about 50 000 work items a day here!).
    Any exception handling workflows that are intended to be triggered manually can be triggered from the system menu when viewing the relevant transaction. The SAP system has the intelligence to suggest workflows that can be triggered manually based on the authorization of the operator and the context that the operator is working in. No additional customizing is needed here.
    14. What open interfaces are supported?
    The most significant interface supported is the Wf-XML standard from the Workflow Management Coalition. This is an independent organization of which SAP is a funding member, along with most other major workflow vendors. The Wf-XML interface is based on XML and allows workflows from different vendors to communicate with each other. A detailed description of the interface is available on the WfMCs web site at www.wfmc.org.
    15. What is Wf-XML used for?
    Although a company is far better off workflow enabling their system with SAP WebFlow when SAP software is used anywhere within the process, a collaborative process can take place between partners using different software platforms employing different workflow systems. To support SAP customers in this situation, WebFlow offers the open interface Wf-XML. This allows Business Processes enabled using different tools to communicate and control each other. Any workflow tool offering this interface can connect up with other tools that also offer this interface.
    Wf-XML is the only open interface for supporting interoperability of business processes, independent of what the business process being integrated.
    16. Where does Wf-XML come from?
    Wf-XML comes from the Workflow Management Coalition, an independent body of workflow vendors, customers and higher education establishments.
    17. How does the workflow call procedures from non-SAP systems?
    The Actional control broker integrates directly into SAP WebFlow enabling proxy objects to be called directly from the workflow step. When called, the proxy method will make a call to the outside system either as a background task or as a dialogue step. These proxy objects are generated in the SAP system using a converter which converts the objects interface (DCOM, CORBA...) to the SAP syntax. A syntax converter also lets developers view any object in any of the participating systems in the developer's preferred language.
    18. How can I get the workflow initiator information in my task?
    1) From your triggering event to the workflow, bind the event creator element to the workflow initiator element.
    2) Create a workflow container element based on USR01.
    3) Add a step based on USR01.FINDUSERFROMAGENTSTRUCTURE to convert your initiator to a USR01 object.
    4) Pass the USR01 object to each task you want to display the details.
    Mailing
    19. What differences are there between a work item and a notification mail?
    a) The work item cannot be used to notify several users.
    Mails can be routed to several users, just like work items. When a mail is sent, and one recipient reads and deletes the mail, all other recipients will still have access to their own copy in their own inbox. However, when a work item is processed by one of the recipients it will automatically disappear from all the other inboxes. So you can see that a work item is unsuitable for notifying several users.
    It is also worth noting that a mail can be forwarded in many different ways (fax, internet...) whereas the work item cannot.
    b) The work item holds up the workflow
    When the workflow sends a mail (usually as a background step) it continues with the process immediately after transmitting the mail. When a work item is generated, the workflow will not continue until the work item has been processed. This slows down the process. Occasionally this is what is intended (using the work item as an approval step without the ability to reject) but usually you will better off using mails for notifications.
    Note: You can send business objects as references with the mail either as a business object reference attached to the mail or as an URL (ABAP required).
    What is the difference between sending a mail to a recipient list compared to sending individual mails via a dynamic loop?
    Performance. Sending 1 mail to 20 recipients will cost considerably less performance than sending 20 individual mails. If the mail is sent as a SAP Office mail (as opposed to e-mail, fax...) disk space will also be a factor because the SAP office mail will only exist once in the database, with references being created for each of the recipients.
    The only time you need to consider individual mails with a dynamic loop is when the text of the mail varies from one recipient to another.
    20. How do I send a standard text as an e-mail from workflow?
    It is very easy sending standard text , which may include data from the workflow. You simply create a background step which sends the work item description. This may include variables which will be substituted when mail is sent.
    In early releases you have to create your own task based on the method SELFITEM SendTaskDescription. In later releases a wizard is available for creating the step and in release 4.6 there is even a step type which does this all for you automatically.
    Whichever path you take, there is very good online documentation describing exactly what has to be done.
    21. How do I send a complex text from the workflow?
    You may create mails using SAPscript. These mails can include conditions which are evaluated in order to determine which text blocks which are used in the mail. Workflow variables can be used in these conditions and workflow variables can be substituted into the body of the e-mail text.
    22. How do I send really complex mails from the workflow?
    If you this is not enough for you will probably want to write your own ABAP routines for generating the text and generating the attachments to go with the text.
    Use the function group SO01 which contains functions of the form SO_*_API1 which are ideal for creating your own sophisticated messages. There are plenty of advantages of how these are used within the SAP system.
    23. How do I send reports?
    There are wizards (Release 3.1) which will create workflows for you to send reports to a distribution list. You can specify whether the results should be transmitted or evaluated at the time the recipient wishes to view the report. It is usually better to send the evaluation because this allows the recipient to see the results instantaneously, without having to wait for the report to execute first.
    Deadlines
    24. How can I configure the workflow so that different types of messages are sent out to different people depending on how late the processing is?
    Follow these steps:
    1. Specify a deadline period for the step.
    2. Specify a name for the event. This adds new branch from the step.
    3. Add a new step to the branch which sends a mail message.
    4. Add another step to the branch which sends out the second deadline warning (see mail steps above). Use deadlines in this step to configure an earliest start so that the second message is not sent until a further time has elapsed.
    5. Repeat step 5 as often as you like.
    25. How can I configure the workflow so that when the deadline is missed the workflow step is simply skipped?
    This is tricky to explain but easy to implement once you know how.
    Follow these steps (in later releases there is a wizard which takes you through the steps):
    1. In the terminating events view of the workflow step activate the "obsolete" event and give it a name.
    2. Specify a deadline period for the step.
    3. Specify a name for the event. This adds new branch from the step.
    4. Add a new step to the deadline path. This step must be of type "process control".
    5. Select the control "Make step obsolete" and use the search help to specify the workflow step that has the deadline. Only steps with obsolete paths defined will be displayed (see step 1).
    26. How do I trigger a workflow with an e-mail?
    You can customize the system to call a BOR method when an external mail (fax, e-mail...) arrives in the system. You BOR method should either trigger the e-mail directly or trigger an event. To customize this user exit use the transaction SCOT.
    27. How can I make sure that user's access their tasks via the workflow and not via the menu or launch pad?
    The routing mechanism for work items uses roles and organizational assignments to determine who receives which work item. However the routing does not provide extra authorization checks based on the routing configuration. If you want to ensure that the tasks are executed within the workflow, and not via the standard transaction, service or MiniApp, then you will have to apply your own protection.
    The simplest way of doing this is to remove the standard transaction from the user's menu or Workplace role (but include it in the supervisor's role, just in case).
    If you want to allow the user to execute the task from the menu if and only if they have received the work item then you should replace the standard transaction with your own custom built transaction. Your own transaction simply calls the standard transaction but performs it's own authorization check first, based on the routing mechanism used in the workflow. Tip: Add a second (ored) authorization check to make sure that a supervisor can execute the transaction in an emergency.
    28. What is a workflow? What is a single-step task?
    A single-step task is based on an object type from the object business repository (BOR) (for example, a purchase order) and a method for the object (for example, change). A workflow can contain several single-step tasks and activities such as loops and forks. Through a workflow, you create a logical sequence for the single-step tasks. The tool for creating or changing these types of workflows (workflow template) is the Workflow Builder (transaction SWDD).
    29. What is a work item (important terms)?
    A work item is the runtime object of a workflow or of a single-step task.You can execute dialog work items with the inbox (transaction SBWP). Each workflow and single-step task started is assigned a unique number known as the work item ID.
    30. How is an event triggered from the application and a workflow then started?
    An event can be triggered from the application in three different ways:
    Directly:
    Within the application, the SWE_EVENT_CREATE function module or the SWE_EVENT_CREAT_IN_UPD_TASK function module, for example, generates an event in the update.
    With a change document:
    Change documents are written within the application when you change application objects in the update. You can link events that have the same key with these types of change documents via transaction SWEC.
    With status management:
    The SWE_EVENT_CREATE_STATUS function module triggers an event in the same way as the direct method when a status is changed. This event contains the object type (for example, purchase order), the object key (for example, purchase order 4711) and other information. Using transaction PFTC, you can assign the event to a specific workflow or single-step task. More settings are available in transaction SWE2.
    31. How are the responsible agents determined?
    You can assign agents to a single-step task in transaction PFTC. For example, you can do this using organizational units, work center roles or positions. Within a workflow pattern, you can assign specific agents for this workflow to a single-step task. The overlap between both numbers of 'possible agents' represents the number of agents ('selected agents') who have the work item in the inbox later.
    32. What is the difference of between an e-mail and a work item?
    E-mails and work items are two completely separate things. They just happen to be displayed in the same inbox. An e-mail is a message sent to one or several people. However, a work item is a runtime object of a single-step task or workflow. Consequently, a work item cannot be deleted from the inbox of a user. In this case in fact, you have to adjust the agent assignment or delete the work item as described in note 49545.
    33. PFAC no longer works for my role responsibility setup...
    Use tx: OOCU_RESP
    34. How do I transport workflow definitions and agent assignments?
    When transporting workflows, you have to differentiate between the workflow definition and the agent assignment.
    A workflow definition is a workbench request. When you save the workflow, a workflow version is created and a request written. Further information about the transport or about the status management is provided in note 378487 and in the notes mentioned there under related notes.
    However, where the agent assignment is concerned, this is a Customizing request. To allow transport of agent assignments, the value of the semantic abbreviation CORR for the TRSP group name must be empty in table T77S0.
    35. How do you debug a background workflow process?
    In your method write the following code:
    data exit.
    Do.
    if exit = 'X'.
    exit.
    endif.
    enddo.
    Run the workflow, causing an infinite loop on that step, and then go to SM50.
    Here you can debug the process.
    36.What is the Workflow basic Customizing?
    Before you can use the Workflow module, you must first execute the basic Customizing in transaction SWU3. All of the listed points should be green (the number range for customer tasks is no longer required). A detailed description of the activities is provided in the relevant information buttons. You can also execute some (but not all) of the points using the Automatic Customizing button. See the online documentation for an exact description of what happens there. The RFC destination must work correctly and the user (usually WF BATCH) should have the SAP_ALL profile.
    37.: What options do I have as a user to configure the inbox individually?
    You have the following options:
    You can create separate user-dependent or user-independent layouts so that you can adapt the displayed columns individually. You can access the function in the Workplace via an application function key.
    You can set filters to set certain criteria for individual columns or several columns simultaneously, according to which specific work items are then filtered.
    You can add dynamic columns in the layout that then display dynamic elements for certain tasks and users from the work item container. However, this is only possible if all tasks in the inbox belong to just one task. If they have several tasks in the inbox, filtering serves no useful purpose because all tasks are first completely read once. You can define these dynamic columns using transaction SWL1.
    38. What does the substitute rule system look like in the workflow?
    You have a choice of two different substitute rulings:
    Active substitute ruling (for example, for absence due to vacations): In this case, the items belonging to the absent person are automatically assigned to the substitutes inbox (in addition to his own work items).
    Passive substitution (for example, for absence due to illness): the substitute must explicitly assume the substitution and can only view the items of the absent person in this mode.
    For other questions, you must also refer to note 74000.
    39. How can users be automatically notified that new work items are available for processing?
    Unfortunately, the dialog box that informs users of new work items which appears in SAPoffice is not available within SAP Systems.
    However, the following two options are provided:
    In the Workflow Builder, you can designate the item as an express item via additional data. The user then receives a corresponding express dialog box.
    The RSWUWFML report (note 131795) is a more flexible option. This report sends an e-mail to an external Internet address to notify the user of new work items.
    40. Can I set deadlines for the latest processing of work items?
    this is where you can use deadline monitoring for work items. In the Workflow Builder, you can set dates for a requested/latest start/end date for each individual step. You must schedule the SWWDHEX job via transaction SWU3 for this. Schedule the job permanently in the production system otherwise it is difficult for the job to schedule individual deadline monitoring scenarios when workflow is heavy.
    41. Can I also execute work items with external programs such as Outlook?
    You can use the Web GUI for HTML instead of the Windows GUI. However, note that some functions do no work in the WEB GUI, due to technical restrictions in the browser. You must refer to note 487649 on this subject.
    SAP also provides interfaces which allow you to process work items with external programs such as Lotus Notes or Microsoft Outlook. Refer to notes 77099, 98408 and 454845 for details.
    Hi ,
    More stuff on WORKFLOW
    Transactions
    AWUV Wizard for event creation Definition tools -> Event creation -> Set up with wizard
    MCA1 Workflow Information System Reporting -> Workflow Information System (WIS)
    OOAW Evaluation paths
    PFAC Maintain standard roles
    PFAC_CHG Change roles Definition tools -> Standard roles -> Change
    PFAC_DEL Delete roles Definition tools -> Standard roles -> Delete
    PFAC_DIS Display roles Definition tools -> Standard roles -> Display
    PFAC_INS Create roles Definition tools -> Standard roles -> Create
    PFOM Maintain assignment to SAP organizational objects Definition tools -> SAP org. objects -> Create assignments
    PFOS Display assignment to SAP organizational objects Definition tools -> SAP org. objects -> Display assignments
    PFSO Organizational environment of a user
    PFT Maintain customer task
    PFTC General task maintenance
    PFTC_CHG Change tasks Definition tools -> Task/Task groups -> Change
    PFTC_COP Copy tasks Definition tools -> Task/Task groups -> Copy
    PFTC_DEL Delete tasks Definition tools -> Task/Task groups -> Delete
    PFTC_DIS Display tasks Definition tools -> Task/Task groups -> Display
    PFTC_INS Create tasks Definition tools -> Task/Task groups -> Create
    PFTR Standard task for transaction
    PFTS Standard task
    PFWF Maintain workflow task (customer)
    PFWS Maintain workflow template
    PPOC Create organizational plan Definition tools -> Organizational plan -> Create
    PPOM Maintain organizational plan Definition tools -> Organizational plan -> Change
    PPOS Display organizational plan Definition tools -> Organizational plan -> Display
    SWDA Ongoing Settings Administration -> Settings
    SWDC Workflow editor administration data
    SWDM Business Workflow Explorer Definition tools -> Business Workflow Explorer
    SWE2 Display and maintain event type linkage Utilities -> Events -> Type linkages
    SWE3 Display instance linkages Utilities -> Events -> Instance linkages
    SWE4 Switch event log on/off Utilities -> Events -> Event/log -> On/Off
    SWEC Link change documents to events Definition tools -> Event creation -> Change documents -> Linkage
    SWED Assignment of change document objects to object types Definition tools -> Event creation -> Change documents -> Define workflow properties
    SWEL Display event log Utilities -> Events -> Event log -> Display
    SWF3 Workflow Wizard Explorer Definition tools -> Wizards -> Workflow Wizard Explorer
    SWF4 Workflow Wizard Repository Definition tools -> Wizards -> Workflow Wizard Repository
    SWI1 Selection report for workflows Utilities -> Work item selection
    SWI2 Work item analysis Reporting -> Work item analysis
    SWI3 Workflow outbox Runtime tools -> Workflow outbox
    SWI4 Task analysis Reporting -> Task analysis
    SWI5 Workload analysis Reporting -> Workload analysis
    SWI6 Object links Runtime tools -> Object links
    SWI7 Workflow resubmission folder From Integrated Inbox or Workflow Outbox
    SWI8 Error overview Part of administration of workflow runtime system (transaction SWUF)
    SWL1 Settings for dynamic columns Customizing, part of ongoing settings
    SWLC Check tasks for agents Utilities -> Consistency check -> Organizational assignment
    SWLD Workbench for Workflow 4.0
    SWLP Copy plan version
    SWLV Maintain work item views Customizing, part of ongoing settingS
    SWLW Workbench for Workflow 3.0
    SW01 Business Object Builder Definition tools -> Business Object Builder
    SW06 Customizing object types From Business Object Builder, choose Settings -> Delegate -> System-wide
    SWU0 Event simulation Utilities -> Events -> Simulate event
    SWU2 RFC monitor Utilities -> Workflow RFC monitor
    SWU3 Customizing consistency check Utilities -> Customizing
    SWU4 Consistency check for standard tasks Utilities -> Consistency check -> Task -> Standard task
    SWU5 Consistency check for customer tasks Utilities -> Consistency check -> Task -> Customer task
    SWU6 Consistency check for workflow tasks Utilities -> Consistency check -> Task -> Workflow task
    SWU7 Consistency check for workflow templates Utilities -> Consistency check -> Task -> Workflow template
    SWU8 Switch technical trace on/off Utilities -> Technical trace -> On/off
    SWU9 Display technical trace Utilities -> Technical trace -> Display
    SWUD Diagnostic tools Utilities -> Diagnosis
    SWUE Trigger event Utilities -> Events -> Generate event
    SWUF Runtime system administration Administration -> Runtime system
    SWUG Workflow start transactions Definition tools -> Workflow start transactions
    SWUI Start workflows From the R/3 initial screen, choose Office -> Start Workflow
    SWUS Start tasks Runtime tools -> Start workflow
    SWUY Wizard for message linkage to workflow Definition tools -> Wizards -> Create "Call workflow from message"
    SWX1 Create notification of absence
    SWX2 Change notification of absence
    SWX3 Display notification of absence
    SWX4 Approve notification of absence
    SWXF Form applications: Access point Environment -> Demo examples -> Fill out form
    Reports
    RSWWWIDE – Delete work items
    RHSOBJCH to fix PD Control Tables
    Tables
    SWW_OUTBOX - Lists Workflows in outbox together with status
    SWW_CONT - Container Contents for Work Item Data Container
    SWW_CONTOB- Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST- History of a work item
    SWWORGTASK- Assignment of WIs to Org.Units and Tasks
    SWWUSERWI - Current Work Items Assigned to a User
    SWWWIHEAD - Header Table for all Work Item Types
    Reward poits if helpful.
    Regards,
    Amber S

Maybe you are looking for

  • How to Troubleshoot iTunes 10.6 Download Failure in Firefox 14.0.1 ??

    How to Troubleshoot iTunes 10.6 Download Failure in Firefox 14.0.1 ?? posted Thursday, 02 August 2012 at 07:43AM PDT, by Matthew B. | @QHereKidSF SIMPLY-PUT !! I am desperate to know of any possible workaround solutions that might resolve inexplicabl

  • Create new text file in UTF-8 format by default

    I'm working a lot with UTF-8 text files and mainly in this format. It's becoming annoying when I have to manually save every text file as UTF-8.  After several trial-and-errors, I've made up a procedure that I've put in a blog. I think I could share

  • Stored procedures and JDBC Adapter

    Hey guys , any blog where i canlook up w.r.t. working with  any stored procedure through xi ? Appreciate ur help. Krishna

  • ADF DataControl for WebService with unexpected blank objects

    Hello experts! I'm developing for BPM Suite 11.1.1.5 PS4 Feature Pack using JDeveloper 11.1.1.5 I am currently using Data Controls for web services that interact with SAP; I can retrieve information successfully displaying items in tables and selectO

  • Mission: Credit Rebuild. Destination: Garden.

    Starting a thread so I can track everything I'm doing and have done to get these collections taken care of. FAKO Scores and the baddies as of 2/8/13:Experian: 485 - 8 collections, 2 CO.TransUnion: 503 - 6 collections, 2 CO.Equifax: 590 - 0 collection