Home / 2010 / September

Archive for September, 2010

What are the different business components in mySAP R/3

mySAP R/3 can be classified into the following business components:

  • Financial applications
  • Human resource applications
  • Logistics
  • Sales and distribution applications

What are the different products of mySAP ERP?

mySAP ERP includes the following products:

  • mySAP Enterprise Resource Planning (ERP).
  • mySAP Supply Chain Management (SCM).
  • mySAP Supplier Relationship Management (SRM).
  • mySAP Customer Relationship Management (CRM).
  • mySAP Product Life Cycle Management (PLM).

What are the advantages of mySAP ERP application

The mySAP ERP application has the following advantages:

  • Mobile infrastructure, which improves workforce mobility.
  • Transparency through a business intelligence framework.
  • Delivery of people-centric services.
  • Faster access to information, which facilitates quick decision making.
  • Seamless integration of processes throughout the business.

What is mySAP ERP?

mySAP ERP is the next-generation ERP application from SAP AG in Germany, and was fi rst launched in 2003. The mySAP ERP application has all the features of previously released SAP ERP software, such as SAP R/3 and SAP Strategic Enterprise Management (SEM), along with its own extensions. The mySAP ERP application provides e-commerce solutions by using Web technology.


What is the history of the SAP software

The SAP software was developed by a company of the same name. SAP (the company) was founded in 1972 by fi ve former IBM employees: Dietmar Hopp,Hans-Werner Hector, Hasso Plattner, Klaus Tschira, and Claus Wellenreuther. SAP released its mainframe product, called SAP R/2, in 1979. The client/server version of the SAP software, called SAP R/3, was released in 1992. Today, SAP is the largest vendor of standard business-application software. SAP constantly delivers scalable solutions to its customers, allowing them to respond to dynamic market conditions and helping them to maintain an advantage over their competitors. Some of the major SAP applications presently available are defi ned in question 4 and include SAP R/3, mySAP ERP, mySAP Customer Relationship Management (CRM), mySAP Supplier Relationship Management (SRM), mySAP Supply Chain Management (SCM), and mySAP Product Lifecycle Management (PLM), to name a few.


What is SAP? How is it used in industries?

SAP is the most popular enterprise resource planning (ERP) software application used to provide enterprise business solutions. It was first introduced in 1972 in Mannheim, Germany. SAP stands for Systems, Applications, and Products in Data Processing.

SAP provides complete business solutions by integrating various business tasks such as sales, purchase, and production. SAP takes information from one business process and incorporates it into another business process, thereby speeding up all business processes. For example, information about the raw material in stock is used by the production department to determine how to prepare products.

SAP is widely used in various industries because as it updates and processes important data very quickly, it can automate business processes and provide real-time solutions for businesses.


Media Mime Types in HTML 5

Configure your servers to serve content for the following MIME types in HTML 5

AddType audio/ogg .oga
AddType audio/wav .wav
AddType video/ogg .ogv .ogg
AddType video/mp4 .mp4

Handling Media Events in HTML 5 audio and video

Example which allows to play the given video:

<!DOCTYPE HTML>
<head>
<script type="text/javascript">
function PlayVideo(){
   var v = document.getElementsByTagName("video")[0];  
   v.play(); 
}
</script>
</head>
<html>
<body>
   <form>
   <video  width="300" height="200" src="/html5/foo.mp4">
       Your browser does not support the <video> element.
   </video>
   <input type="button" onclick="PlayVideo();"  value="Play"/>
   </form>
</body>
</html>

The HTML5 audio and video tag can have a number of attributes to control various functionalities of the control using Javascript:

Event Description
abort This event is generated when playback is aborted.
canplay This event is generated when enough data is available that the media can be played.
ended This event is generated when playback completes.
error This event is generated when an error occurs.
loadeddata This event is generated when the first frame of the media has finished loading.
loadstart This event is generated when loading of the media begins.
pause This event is generated when playback is paused.
play This event is generated when playback starts or resumes.
progress This event is generated periodically to inform the progress of the downloading the media.
ratechange This event is generated when the playback speed changes.
seeked This event is generated when a seek operation completes.
seeking This event is generated when a seek operation begins.
suspend This event is generated when loading of the media is suspended.
volumechange This event is generated when the audio volume changes.
waiting This event is generated when the requested operation (such as playback) is delayed pending the completion of another operation (such as a seek).

Audio Attribute Specification in HTML 5

The HTML5 audio tag can have a number of attributes to control the look and feel and various functionalities of the control:

Attribute Description
autoplay This boolean attribute if specified, the audio will automatically begin to play back as soon as it can do so without stopping to finish loading the data.
autobuffer This boolean attribute if specified, the audio will automatically begin buffering even if it’s not set to automatically play.
controls If this attribute is present, it will allow the user to control audio playback, including volume, seeking, and pause/resume playback.
loop This boolean attribute if specified, will allow audio automatically seek back to the start after reaching at the end.
preload This attribute specifies that the audio will be loaded at page load, and ready to run. Ignored if autoplay is present.
src The URL of the audio to embed. This is optional; you may instead use the <source> element within the video block to specify the video to embed

Embedding Audio in HTML 5 Pages

HTML5 supports audio tag which is used to embed sound content in an HTML or XHTML document as follows.

<audio src="foo.wav" controls autoplay>
    Your browser does not support the <audio> element.   
</audio>

The current HTML5 draft specification does not specify which audio formats browsers should support in the audio tag. But most commonly used audio formats are ogg, mp3 and wav.

You can use source tag to specify media along with media type and many other attributes. An audio element allows multiple source elements and browser will use the first recognized format:

<!DOCTYPE HTML>
<html>
<body>
   <audio controls autoplay>
       <source src="/html5/audio.ogg" type="audio/ogg" />
       <source src="/html5/audio.wav" type="audio/wav" />
       Your browser does not support the <audio> element.
   </audio>
</body>
</html>

Video Attribute Specification in HTML 5

The HTML5 video tag can have a number of attributes to control the look and feel and various functionalities of the control:

Attribute Description
autoplay This boolean attribute if specified, the video will automatically begin to play back as soon as it can do so without stopping to finish loading the data.
autobuffer This boolean attribute if specified, the video will automatically begin buffering even if it’s not set to automatically play.
controls If this attribute is present, it will allow the user to control video playback, including volume, seeking, and pause/resume playback.
height This attribut specifies the height of the video’s display area, in CSS pixels.
loop This boolean attribute if specified, will allow video automatically seek back to the start after reaching at the end.
preload This attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present.
poster This is a URL of an image to show until the user plays or seeks.
src The URL of the video to embed. This is optional; you may instead use the <source> element within the video block to specify the video to embed
width This attribut specifies the width of the video’s display area, in CSS pixels.

Embedding Video in HTML 5 Pages

The HTML5 audio and video tags make it simple to add media to a website. You need to set src attribute to identify the media source and include a controls attribute so the user can play and pause the media.

Here is the simplest form of embedding a video file in your webpage:

<video src="foo.mp4"  width="300" height="200" controls>
    Your browser does not support the <video> element.   
</video>

The current HTML5 draft specification does not specify which video formats browsers should support in the video tag. But most commonly used video formats are:

Ogg: Ogg files with Thedora video codec and Vorbis audio codec.

mpeg4: MPEG4 files with H.264 video codec and AAC audio codec.

You can use source tag to specify media along with media type and many other attributes. A video element allows multiple source elements and browser will use the first recognized format:

<!DOCTYPE HTML>
<html>
<body>
   <video  width="300" height="200" controls autoplay>
       <source src="/html5/foo.ogg" type="video/ogg" />
       <source src="/html5/foo.mp4" type="video/mp4" />
       Your browser does not support the <video> element.
   </video>
</body>
</html>

Square translated by 25 pixels vertically and horizontally in Silverlight

The TranslateTransform element allows you to define how to transfer an element from one location to another.

<Rectangle Width="50" Height="50" Fill="Green" Stroke="Black">
<Rectangle.RenderTransform>
<TransformGroup>
<TranslateTransform X="25" Y="25"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

Basic square skewed by 18 degrees on both the x and y-axes in Silverlight

A SkewTransform warps the coordinate space in a divergent manner. By skewing or shearing an element, you basically slant the element in a direction.

<Rectangle Width="75" Height="75" Fill="Green"
Stroke="Black" Canvas.Left="12" Canvas.Top="12">
<Rectangle.RenderTransform>
<TransformGroup>
<SkewTransform AngleX="18" AngleY="18"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

Square that has been scaled by a magnitude of 2.5 using scaletransform in Silverlight

<Rectangle Width="30" Height="30" Fill="Green"
Stroke="Black" Canvas.Left="35" Canvas.Top="35">
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="2.5" ScaleY="2.5"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

A square that has been rotated by 30 degrees using rotatetransform in Silverlight

<Rectangle Width="50" Height="50" Fill="Green" Stroke="Black">
<Rectangle.RenderTransform>
<TransformGroup>
<RotateTransform Angle="30"/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>

Available transformation options in silverlight

RotateTransform
Rotates an object by a specific Angle.
ScaleTransform
Provides a zoom in or out effect by specified amounts
SkewTransform
Tilts an element by defined amounts
TranslateTransform
Moves an element by specified amounts
TransformGroup
Not a type of transform; rather, a container that groups multiple transforms to be applied
CompositeTransform
Provides an easy way to combine the other four transforms
MatrixTransform
Provides a way to use a low-level matrix to perform multiple simultaneous transforms


Caching a group of elements in a StackPanel

<Grid x:Name="LayoutRoot" Background="White"
CacheMode="BitmapCache">
<Rectangle Height="60" Width="50"
Fill="Green" />
<Ellipse Height="30" Width="200" Opacity="0.75"
Fill="Blue" />
<Path Stroke="Orange"
StrokeThickness="10"
Height="200" Width="200"
Data="M 10,80 C 150,5 100,0 200,50 H 100" />
<Path Stroke="Purple"
Height="100" Width="300"
StrokeThickness="10"
Data="M 80,10 C 350,5 100,0 100,55" />
</Grid>

Moving a TextBlock five pixels with GetValue and SetValue in Silverlight

<Canvas x:Name="parentCanvas"
Width="400" Height="400" Background="LightGray">
<TextBlock x:Name="myTextBlock"
Text="Click Me"
Cursor="Hand"
MouseLeftButtonUp="MyTextBlock_Click"
FontFamily="Verdana" />
</Canvas>
private void MyTextBlock_Click(object sender, MouseButtonEventArgs e)
{
double top =
(double)(myTextBlock.GetValue(Canvas.TopProperty));
double left =
(double)(myTextBlock.GetValue(Canvas.LeftProperty));
myTextBlock.SetValue(Canvas.TopProperty, (top+5));
myTextBlock.SetValue(Canvas.LeftProperty, (left+5));
}

Layout rounding in action with two rectangles

<Grid x:Name="LayoutRoot" Background="White">
<Rectangle Margin="10.5"
UseLayoutRounding="True"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Fill="Transparent"
Stroke="Black" StrokeThickness="1"
Width="150" Height="30" />
<Rectangle Margin="20.5"
UseLayoutRounding="False"
Fill="Transparent"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="Black" StrokeThickness="1"
Width="150" Height="30" />
</Grid>