Problem while arranging Bar-code window

Hi,
I recently added a barcode in a widow above main window.
This barcode window is well adjusted in form painter,but when print preview is taken ,Barcode window overlaps main window.
I have clicked on border for frame and shading for barcode window.
Please guide to correct problem.

Hi Sanjay,
May be, it seems the window is over lapping but actually the problem due to the format problem.
Please check with the paragraph and character format that is assigned to the variable which will be shown in the bar code window.
I had a same issue and adjusted the paragraph line space & it got solved. I am not sure, it will work or not. Please check it.
Regards,
Selva K.

Similar Messages

  • Problem While Executing T.CODE DP90

    Hi,
      We have Upgrade our system from 4.6C to ECC6.
      We are facing following problem while executing Resource Related Billing request 
      Through Transaction code DP90.
    Process.
    1.     We are creating Sales Order and system will create Service order automatically as per the configuration.
    2.     In service order we have External as well internal operations ,
    Internal operations will be confirmed through IW41, and External Operations we are creating Purchase Requisition then creating PO and MIRO,
    After all Operations confirmed we will make Service order status as technically completed, then we are executing DP90 for Resource Related Billing, System will determine the material, combination of Cost element and Activity Type (Which is configured in T.Code ODP1) For External Operations System is Considering Activity Type for material determination in 4.6c but it is not considering Activity Type for Material Determination in ECC6 for External Operations.
       Please Help me,
    Edited by: D B on Apr 29, 2008 6:13 PM

    Hi Prashanth,
          Thanks for your reply, but all activity are valid in current period, in our Scenario in the old system for External Operations with combination of Activity type and Cost element system is determining material but where as in the new system for external operations it is not considering the Activity type and system is determining the material in the combination of   Cost element and Blank activity type so, we are getting different material in DP90.

  • Problem while starting DBConsole in windows?

    Hi ,
    Here i am facing problem while starting "OracleDBConsoleoracle". oracle is my oracle_sid.
    when am trying to start this service from services in windows it is showing the error... please see the below link..
    http://picasaweb.google.co.in/rajeshbalusu/Oracle
    can anybody suggest me what is the problem?
    My S/W Details..
    OS : Windows XP Professional Version 2002 Service Pack 3
    Database : Oracle 10gR2
    Thanks
    Rajesh

    rajeshbalusu wrote:
    Hi ,
    Here i am facing problem while starting "OracleDBConsoleoracle". oracle is my oracle_sid.
    when am trying to start this service from services in windows it is showing the error... please see the below link..
    http://picasaweb.google.co.in/rajeshbalusu/Oracle
    can anybody suggest me what is the problem?
    My S/W Details..
    OS : Windows XP Professional Version 2002 Service Pack 3
    Database : Oracle 10gR2
    Thanks
    RajeshPlease check Event Viewer to find out the error raised during startup of the specific service

  • Problems on scanning BAR CODES

    Hi people!
    I have to print bar codes from an abap report and then scan. I've done the first part (printing) but I just can't scan the code I print. Does someone have an idea?
    Thanks,
    Rodrigo.

    Hi Rodrigo,
    Didn't know you could produce Barcodes from ABAP reports - how did you do this? As Christian said, you could also make the font bigger. What are the barcode specs? Sometimes, you need to have the ratios between the "thin" and "thick" lines set up based onthe type of scanner you use. You can manipulate these settings through the Bar Code Settings via SE73.
    This is how you can do it. Let's assume you are using a HP1200 Device Type and a Code 128A Barcode Font. From SE73, click on the "Printer Bar Codes" Radio button and select Display.
    Double Click on the HP1200 Device Type and you will see all the Bar Codes that have been set up for that Device Type. Find "C128A_00" and single click on the Prefix 'SBP25' and hit the "Displ. Print Control" button.
    This Prefix is the external printer control command that SAP will pass to the printer in the printer's language. Once you hit the "Disp. Print Control" button a popup will appear, now look at the Control Char. Seq. This is the printer command for this particular Barcode font. All the characteristics relating to Barcode Font, Size, Height, Spacing, Ratios, etc are defined here.
    Because these commands are in the Printer's Native Language, you will need to get the relevant programming guide for your printer to know what values to manipulate.
    Let me know if you need more info.
    Cheers,
    Pat.
    P.S. Kindly aloocate Reward Points as appropriate.

  • Problem related to BAR CODE

    Hi Experts,
    Is there a function module to create  Barcode for batch and materials .
    we are not using SAP standard material number range .
    insted the materail number will be alfa numeric .
    how can we create a barcode for this ?
    Please suggest.
    thanks in advance,
    Naval Bhatt

    Hi
    Create a character format in the SAPScript.
    Choose the Bar Code for the character format.
    And finally to display barcodes, in the command enter:
    <C1>&vbeln&</>
    &#61607;     where C1 is the character format created and vbeln is the variable for which the barcode is to be created.
    Regards

  • Common screen problem while playing games in Windows 7 x64

    When I start games like Red Alert2 and alot others, the game doesn't show properly as some times the screen goes black or the buttons or menues doesn't show at all
    Some other forums adviced to make these steps
    Right click on Desktop
    Select Screen Resolution
    Click Detect (with no additional monitor connected)
    Next to your first display, you'll see a grey square with the text "Another display not detected" Click on the grey square
    Next to "Multiple displays" it will say "No display detected"
    Click on "No display detected"
    A drop-down menu will appear
    Select "Try to connect anyway on: VGA"
    Click on your primary display (the square with the big "1" in it)
    Next to "Multiple displays" select "Extend these displays"
    I tried these steps and every thing is going fine,  but the annoying problem is that I have to change the display settings each time I run a game and when I'm done playing I have to change them back, since of "Extended displays" order
    In earlier windows versions it worked totally with no problems and even on Windows 8.1 x64
    What would be the error here?
    What should I do instead of all this jam? Is there any Hotfixes?
    Note: I have two video cards running Intel HD graphics and Nvidia Geforce
    ***Update :The problem also exists in Windows 8.1 x64

    Hi Maen Abdulhaq,
    “When I start games like Red Alert2 and a lot others”, ” I don't think that this is a manufacturer problem since it's very common to all those having windows 7 x64 and trying to play such games”
    Did this issue occur in the whole games or just the Red Alert2 in your machines ?
    “unfortunalety windows compatibility settings”
    Have you tried in windows 98 or lower compatibility mode, please ensure you have choose run as an administrator?
    Apart from this ,I recommend you to try this method.
    create a shortcut of "Yuri.exe" (or "Game.exe" if running normal RA2), and place it on the desktop. Open the properties, and in the target line add "-dxlevel 8" to the end. It should look like this (or similar if you're directories
    are different).
     "C:\Program Files (x86)\EA Games\Command & Conquer The First Decade\Command & Conquer Red Alert(tm) II\RA2\YURI.exe" -dxlevel 8
    Meanwhile,  entering Intel HD Graphics control panel (via Windows Control Panel or right-clicking the desktop) and enter Power section. Choose "High performance" mode.
    If the issue persists, I recommend you to disable one graphic card from the device manager to have a check considering you have two graphic cards.
    Best regards

  • Problem while executing the code( that covert jpeg images to movie)

    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.html
    here is the code:
    * @(#)JpegImagesToMovie.java     1.3 01/03/13
    * Copyright (c) 1999-2001 Sun Microsystems, Inc. All Rights Reserved.
    * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
    * modify and redistribute this software in source and binary code form,
    * provided that i) this copyright notice and license appear on all copies of
    * the software; and ii) Licensee does not utilize the software in a manner
    * which is disparaging to Sun.
    * This software is provided "AS IS," without a warranty of any kind. ALL
    * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
    * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
    * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
    * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
    * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
    * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
    * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
    * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
    * POSSIBILITY OF SUCH DAMAGES.
    * This software is not designed or intended for use in on-line control of
    * aircraft, air traffic, aircraft navigation or aircraft communications; or in
    * the design, construction, operation or maintenance of any nuclear
    * facility. Licensee represents and warrants that it will not use or
    * redistribute the Software for such purposes.
    import java.io.*;
    import java.util.*;
    import java.awt.Dimension;
    import javax.media.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.datasink.*;
    import javax.media.format.VideoFormat;
    * This program takes a list of JPEG image files and convert them into
    * a QuickTime movie.
    public class JpegImagesToMovie3 implements ControllerListener, DataSinkListener {
    public boolean doIt(int width, int height, int frameRate, Vector inFiles, MediaLocator outML) {
         ImageDataSource ids = new ImageDataSource(width, height, frameRate, inFiles);
         Processor p;
         try {
         System.err.println("- create processor for the image datasource ...");
         p = Manager.createProcessor(ids);
         } catch (Exception e) {
         System.err.println("Yikes! Cannot create a processor from the data source.");
         return false;
         p.addControllerListener(this);
         // Put the Processor into configured state so we can set
         // some processing options on the processor.
         p.configure();
         if (!waitForState(p, p.Configured)) {
         System.err.println("Failed to configure the processor.");
         return false;
         // Set the output content descriptor to QuickTime.
         p.setContentDescriptor(new ContentDescriptor(FileTypeDescriptor.QUICKTIME));
         // Query for the processor for supported formats.
         // Then set it on the processor.
         TrackControl tcs[] = p.getTrackControls();
         Format f[] = tcs[0].getSupportedFormats();
         if (f == null || f.length <= 0) {
         System.err.println("The mux does not support the input format: " + tcs[0].getFormat());
         return false;
         tcs[0].setFormat(f[0]);
         System.err.println("Setting the track format to: " + f[0]);
         // We are done with programming the processor. Let's just
         // realize it.
         p.realize();
         if (!waitForState(p, p.Realized)) {
         System.err.println("Failed to realize the processor.");
         return false;
         // Now, we'll need to create a DataSink.
         DataSink dsink;
         if ((dsink = createDataSink(p, outML)) == null) {
         System.err.println("Failed to create a DataSink for the given output MediaLocator: " + outML);
         return false;
         dsink.addDataSinkListener(this);
         fileDone = false;
         System.err.println("start processing...");
         // OK, we can now start the actual transcoding.
         try {
         p.start();
         dsink.start();
         } catch (IOException e) {
         System.err.println("IO error during processing");
         return false;
         // Wait for EndOfStream event.
         waitForFileDone();
         // Cleanup.
         try {
         dsink.close();
         } catch (Exception e) {}
         p.removeControllerListener(this);
         System.err.println("...done processing.");
         return true;
    * Create the DataSink.
    DataSink createDataSink(Processor p, MediaLocator outML) {
         DataSource ds;
         if ((ds = p.getDataOutput()) == null) {
         System.err.println("Something is really wrong: the processor does not have an output DataSource");
         return null;
         DataSink dsink;
         try {
         System.err.println("- create DataSink for: " + outML);
         dsink = Manager.createDataSink(ds, outML);
         dsink.open();
         } catch (Exception e) {
         System.err.println("Cannot create the DataSink: " + e);
         return null;
         return dsink;
    Object waitSync = new Object();
    boolean stateTransitionOK = true;
    * Block until the processor has transitioned to the given state.
    * Return false if the transition failed.
    boolean waitForState(Processor p, int state) {
         synchronized (waitSync) {
         try {
              while (p.getState() < state && stateTransitionOK)
              waitSync.wait();
         } catch (Exception e) {}
         return stateTransitionOK;
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
         if (evt instanceof ConfigureCompleteEvent ||
         evt instanceof RealizeCompleteEvent ||
         evt instanceof PrefetchCompleteEvent) {
         synchronized (waitSync) {
              stateTransitionOK = true;
              waitSync.notifyAll();
         } else if (evt instanceof ResourceUnavailableEvent) {
         synchronized (waitSync) {
              stateTransitionOK = false;
              waitSync.notifyAll();
         } else if (evt instanceof EndOfMediaEvent) {
         evt.getSourceController().stop();
         evt.getSourceController().close();
    Object waitFileSync = new Object();
    boolean fileDone = false;
    boolean fileSuccess = true;
    * Block until file writing is done.
    boolean waitForFileDone() {
         synchronized (waitFileSync) {
         try {
              while (!fileDone)
              waitFileSync.wait();
         } catch (Exception e) {}
         return fileSuccess;
    * Event handler for the file writer.
    public void dataSinkUpdate(DataSinkEvent evt) {
         if (evt instanceof EndOfStreamEvent) {
         synchronized (waitFileSync) {
              fileDone = true;
              waitFileSync.notifyAll();
         } else if (evt instanceof DataSinkErrorEvent) {
         synchronized (waitFileSync) {
              fileDone = true;
              fileSuccess = false;
              waitFileSync.notifyAll();
    public static void main(String args[]) {
         if (args.length == 0)
         prUsage();
         // Parse the arguments.
         int i = 0;
         int width = -1, height = -1, frameRate = 1;
         Vector inputFiles = new Vector();
         String outputURL = null;
         while (i < args.length) {
         if (args.equals("-w")) {
              i++;
              if (i >= args.length)
              prUsage();
              width = new Integer(args[i]).intValue();
         } else if (args[i].equals("-h")) {
              i++;
              if (i >= args.length)
              prUsage();
              height = new Integer(args[i]).intValue();
         } else if (args[i].equals("-f")) {
              i++;
              if (i >= args.length)
              prUsage();
              frameRate = new Integer(args[i]).intValue();
         } else if (args[i].equals("-o")) {
              i++;
              if (i >= args.length)
              prUsage();
              outputURL = args[i];
         } else {
              inputFiles.addElement(args[i]);
         i++;
         if (outputURL == null || inputFiles.size() == 0)
         prUsage();
         // Check for output file extension.
         if (!outputURL.endsWith(".mov") && !outputURL.endsWith(".MOV")) {
         System.err.println("The output file extension should end with a .mov extension");
         prUsage();
         if (width < 0 || height < 0) {
         System.err.println("Please specify the correct image size.");
         prUsage();
         // Check the frame rate.
         if (frameRate < 1)
         frameRate = 1;
         // Generate the output media locators.
         MediaLocator oml;
         if ((oml = createMediaLocator(outputURL)) == null) {
         System.err.println("Cannot build media locator from: " + outputURL);
         System.exit(0);
         JpegImagesToMovie3 imageToMovie3 = new JpegImagesToMovie3();
         imageToMovie3.doIt(width, height, frameRate, inputFiles, oml);
         System.exit(0);
    static void prUsage() {
         System.err.println("Usage: java JpegImagesToMovie -w <width> -h <height> -f <frame rate> -o <output URL> <input JPEG file 1> <input JPEG file 2> ...");
         System.exit(-1);
    * Create a media locator from the given string.
    static MediaLocator createMediaLocator(String url) {
         MediaLocator ml;
         if (url.indexOf(":") > 0 && (ml = new MediaLocator(url)) != null)
         return ml;
         if (url.startsWith(File.separator)) {
         if ((ml = new MediaLocator("file:" + url)) != null)
              return ml;
         } else {
         String file = "file:" + System.getProperty("user.dir") + File.separator + url;
         if ((ml = new MediaLocator(file)) != null)
              return ml;
         return null;
    // Inner classes.
    * A DataSource to read from a list of JPEG image files and
    * turn that into a stream of JMF buffers.
    * The DataSource is not seekable or positionable.
    class ImageDataSource extends PullBufferDataSource {
         ImageSourceStream streams[];
         ImageDataSource(int width, int height, int frameRate, Vector images) {
         streams = new ImageSourceStream[1];
         streams[0] = new ImageSourceStream(width, height, frameRate, images);
         public void setLocator(MediaLocator source) {
         public MediaLocator getLocator() {
         return null;
         * Content type is of RAW since we are sending buffers of video
         * frames without a container format.
         public String getContentType() {
         return ContentDescriptor.RAW;
         public void connect() {
         public void disconnect() {
         public void start() {
         public void stop() {
         * Return the ImageSourceStreams.
         public PullBufferStream[] getStreams() {
         return streams;
         * We could have derived the duration from the number of
         * frames and frame rate. But for the purpose of this program,
         * it's not necessary.
         public Time getDuration() {
         return DURATION_UNKNOWN;
         public Object[] getControls() {
         return new Object[0];
         public Object getControl(String type) {
         return null;
    * The source stream to go along with ImageDataSource.
    class ImageSourceStream implements PullBufferStream {
         Vector images;
         int width, height;
         VideoFormat format;
         int nextImage = 0;     // index of the next image to be read.
         boolean ended = false;
         public ImageSourceStream(int width, int height, int frameRate, Vector images) {
         this.width = width;
         this.height = height;
         this.images = images;
         format = new VideoFormat(VideoFormat.JPEG,
                        new Dimension(width, height),
                        Format.NOT_SPECIFIED,
                        Format.byteArray,
                        (float)frameRate);
         * We should never need to block assuming data are read from files.
         public boolean willReadBlock() {
         return false;
         * This is called from the Processor to read a frame worth
         * of video data.
         public void read(Buffer buf) throws IOException {
         // Check if we've finished all the frames.
         if (nextImage >= images.size()) {
              // We are done. Set EndOfMedia.
              System.err.println("Done reading all images.");
              buf.setEOM(true);
              buf.setOffset(0);
              buf.setLength(0);
              ended = true;
              return;
         String imageFile = (String)images.elementAt(nextImage);
         nextImage++;
         System.err.println(" - reading image file: " + imageFile);
         // Open a random access file for the next image.
         RandomAccessFile raFile;
         raFile = new RandomAccessFile(imageFile, "r");
         byte data[] = null;
         // Check the input buffer type & size.
         if (buf.getData() instanceof byte[])
              data = (byte[])buf.getData();
         // Check to see the given buffer is big enough for the frame.
         if (data == null || data.length < raFile.length()) {
              data = new byte[(int)raFile.length()];
              buf.setData(data);
         // Read the entire JPEG image from the file.
         raFile.readFully(data, 0, (int)raFile.length());
         System.err.println(" read " + raFile.length() + " bytes.");
         buf.setOffset(0);
         buf.setLength((int)raFile.length());
         buf.setFormat(format);
         buf.setFlags(buf.getFlags() | buf.FLAG_KEY_FRAME);
         // Close the random access file.
         raFile.close();
         * Return the format of each video frame. That will be JPEG.
         public Format getFormat() {
         return format;
         public ContentDescriptor getContentDescriptor() {
         return new ContentDescriptor(ContentDescriptor.RAW);
         public long getContentLength() {
         return 0;
         public boolean endOfStream() {
         return ended;
         public Object[] getControls() {
         return new Object[0];
         public Object getControl(String type) {
         return null;
    on executing with the command:
    java JpegImagesToMovie -w <width> -h <height> -f <frame rate per sec.> -o <output URL> <input JPEG file 1> <input JPEG file 2> ...
    comes this......
    Exception in thread"JMF thread:SendEventQueue:com.sun.media.processor.unknown Handler" java.lang.NullPointerException"
    plz help

    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • Problems while migrating ODI code from 1 env to other

    Hi,
    I had some ODI code in Env1 i moved it to Env2 and did some new development(created new models, packages etc) over there and then tried to migrate it into Env3.What i found that the exports for new development done at Env2 got imported easily in Env3 however, the exports of the code(of Env1) taken from Env2 are giving error ODI-10018: The repository {0} is not coherent between the current repository and the import file.
    This has put me in lot of trouble is there any way to resolve this.

    Well. This problem is not new and not unusual.
    What are the repository IDs for Env 1, Env 2 and Env 3 ?
    I suspect that Env 1 ID and Env 3 ID are same.
    There is an option in ODI 11g to renumber the repository IDs. In Topology Manager -> Repositories and then select and right click.
    You can select Env 2 and select an unused repository number and renumber your repository. Then the objects wilil be easily imported into Env 3.

  • Problem while writing BDC Code......

    Hi All,
    I am writing a BDC Code to call transaction: PRFI.
    Ones the transaction is run(from GUI directly) for a particular trip number, the status of the trip gets changed to Docs Created. On the other hand while doing the same using the BDC method, the status that is getting generated is: Selection is Running.
    It looks as if the transaction is not getting committed properly.
    I am writing the BDC very correctly and also screen sequences are trapped properly.
    Please help.
    Abhi.
    Edited by: Digvijay Sharma on Jul 29, 2010 12:14 PM

    Hi,
    You saying that all screens and flow logic will be written properly.
    use SHDB for recording that transaction then compare each Dynpro and all the things.
    It will be helpful for you.

  • Problem while Generating client code for webservice

    hi,
    my environnement is weblogic 8.1, and i folow the tutorial to generate stub and client code for invoking a webservice hosted by another weblogicserver, here is a portion of the wsdl file :
    <wsdl:definitions targetNamespace=" .......
    xmlns:tns2="http://exception.toto.fr"......>
    <wsdl:types>
    <schema targetNamespace="http://exception.toto.fr" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ChainedException">
    - <sequence>
    <element name="cause" nillable="true" type="xsd:anyType" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    <wsdl:message ....../>after that, as desribed in the weblogic doc, i create a build.xml, and run the ant command (wich call the clientgen weblo ant task, i end up with the following error :
    [clientgen] weblogic.xml.schema.model.XSDException: Unable to resolve definition for ['http://exception.toto.fr']:tns2:ChainedException perhaps due to the lack of an import statement for namespace http://exception.toto.fr
    [clientgen] at weblogic.xml.schema.model.XSDSchema.getSchemaForName(XSDSchema.java:1062)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupTopLevelObjectImpl(XSDSchema.java:893)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupTypeImpl(XSDSchema.java:881)
    [clientgen] at weblogic.xml.schema.model.XSDSchema.lookupType(XSDSchema.java:872)
    [clientgen] at weblogic.xml.schema.model.XSDObject.lookupType(XSDObject.java:324)
    [clientgen] at weblogic.xml.schema.model.XSDAnyType.getBaseTypeObject(XSDAnyType.java:56)
    [clientgen] at weblogic.xml.schema.binding.internal.codegen.SchemaInspector.realBaseType(SchemaInspe
    .....thanks a lot for your help

    I am facing the same problem.Did any one able to find the solution

  • Problem while uploading commodity codes useing ve94.

    Hi ,
    I am uploading the commodity codes for country france and i am getting the error commodity code length is not correct.
    i have checked the length for country for france and it is 9 but the flat file has 8 characters only.
    So my question is can we change the length of the commodity code?
    because these lengths are defined by SAP.
    Is there any other option to upload. I can't do manually because 9700 entries are there.
    Please suggest me.
    Thanks,
    Ibrahim.

    Syed Nasir explained it well :
    Further there is a blue info button in the selection screen, which gives you instructions too.
    Edited by: Jürgen L. on May 13, 2011 5:13 PM

  • Getting Error while doing Control Panel - Windows Update Error code is 80070103

    Getting Error while doing Control Panel -> Windows Update Error code is 80070103. The optional Windows 7 update is
    Microsoft - Other hardware - WinUsb Device
    Please provide your email ID to send the Error screen shot.

    Hi!
    Check the following link to see if it solves your problem:
    http://support.microsoft.com/kb/952032
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • Bar Code Scanning for Windows Phone 8.1

    Hi,
    I need to find proper way how to scan bar codes in Windows Phone 8.1 or in universal app. I found out that there is native class BarcodeScanner available only for client apps and not for WP. I also find 3rd party library zxing.net, which is not working very
    well on WP 8.1. I have done really deep research, but I have not found any single working solution for WP 8.1, so I would like to ask for your help in finding of library with which I will be able to scan barcodes on WP 8.1.
    Thank you.

    If you don't need a universal App you could build a Silverlight 8.1 App and use the old Camera APIs which work nicely with ZXing.Net. I have done so myself.
    As for Windows 8 and Universal Apps - you would have to implement a CustomSink for the Video Stream, extract Frames from there and pipe those though a recognition library. So far there seems to be no ready made solution that offers this.
    So right now using the old APIs would be my suggestion.

  • Messy code problem while translating XString to String in OfficeControl

    Hi Expert,
        I have messy code problem while translating XString to String in XML-Format Word Doc in OfficeControl.
    I upload an XML-Format template Word Doc to server as a MIME Object.
    When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
    For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
    then translate it to string, I got the XML-format content, it's great!
    However, after the first time, when I input any new contents in MS Word in Web Dynpro,
    no matter I execute "Ctrl + S" or click the "savedocument" button,
    when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
    I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
    SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
    My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
    core source code is as:
    clear itab.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    BUFFER = lv_datas
    IMPORTING
    OUTPUT_LENGTH = lv_length
    TABLES
    binary_tab = itab.
    CALL FUNCTION 'SCMS_BINARY_TO_STRING'
    EXPORTING
    input_length = lv_length
    mimetype = 'text/plain; charset=utf-8'
    IMPORTING
    text_buffer = lv_datas_string
    output_length = lv_data_len
    TABLES
    binary_tab = itab.
    Can you give me some advice?
    Many thanks in advance.
    Best Regards,

    You have already posted this same question several times (and some very similiar questions) within the forum.  Please do NOT multiple post your questions. This is against the forum rules of engagement. SAP employee or not, you will find yourself banned from the forums if you don't follow the rules.

  • Memory leak problem while passing Object to stored procedure from C++ code

    Hi,
    I am facing memory leak problem while passing object to oracle stored procedure from C++ code.Here I am writing brief description of the code :
    1) created objects in oracle with the help of "create or replace type as objects"
    2) generated C++ classes corresponding to oracle objects with the help of OTT utility.
    3) Instantiating classes in C++ code and assigning values.
    4) calling oracle stored procedure and setting object in statement with the help of setObject function.
    5) deleted objects.
    this is all I am doing ,and getting memory leak , if you need the sample code then please write your e-mail id , so that I can attach files in reply.
    TIA
    Jagendra

    just to correct my previous reply , adding delete statement
    Hi,
    I am using oracle 10.2.0.1 and compiling the code with Sun Studio 11, following is the brief dicription of my code :
    1) create oracle object :
    create or replace type TEST_OBJECT as object
    ( field1 number(10),
    field2 number(10),
    field3 number(10) )
    2) create table :
    create table TEST_TABLE (
    f1 number(10),f2 number (10),f3 number (10))
    3) create procedure :
    CREATE OR REPLACE PROCEDURE testProc
    data IN test_object)
    IS
    BEGIN
    insert into TEST_TABLE( f1,f2,f3) values ( data.field1,data.field2,data.field3);
    commit;
    end;
    4) generate C++ classes along with map file for database object TEST_OBJECT by using Oracle OTT Utility
    5) C++ code :
    // include OTT generate files here and other required header files
    int main()
    int x = 0;
    int y = 0;
    int z =0;
    Environment *env = Environment::createEnvironment(Environment::DEFAULT);
    Connection* const pConn =
    env->createConnection"stmprf","stmprf","spwtrgt3nms");
    const string sqlStmt("BEGIN testProc(:1) END;");
    Statement * pStmt = pConn->createStatement(sqlStmt);
    while(1)
    TEST_OBJECT* pObj = new TEST_OBJECT();
    pObj->field1 = x++;
    pObj->field2 = y++;
    pObj->field3 = z++;
    pStmt->setObject(1,pObj);
    pStmt->executeUpdate();
    pConn->commit();
    delete pObj;
    }

Maybe you are looking for

  • Material Master- Display changes thr' Z-program

    Hi,   I have created two custom fields in MM01, which appear as DISPLAY only fields. The value in these fields is populated depending on some another Z-field. This value is populated in database table thr' one Z-program. But reqmt is like, whenever t

  • How do I move itunes library from my ipad back to my itunes library in my windows computer ?

    How do I move itunes library from my ipad back to my itunes library in my windows computer ? All the songs got transfered by mistake from my windows itunes library to my ipad. All i had wanted to do was to move a select # of songs newly purchased fro

  • Formatting Date with JavaScript

    Hello guys, is there a way to change the date format with JavaScript? I have a library with different fields. I hope you can help me! Best regards Matthias

  • Can CM12 hardware inventory get more information by calling a WMI Method

    Hello Everyone, i have a question for CM12 hardware inventory. here is my question i'm now have a powershell script which can lists all the shared folder permissions or NTFS permissions. This powershell get such information by calling a WMI Method in

  • Unable to print Subcontracting challan

    Dear all, I have created a subcontracting challan with J1IF01. now when i want to take a print out, i tick on print immediately in J1IF11 and save it no print out is generated. where as same is okay with my other plants. please help regards Ashish