How to invoke the Cash Drawer to be open by java code.

hi friends,
how to invoke the Cash Drawer and display pole to be open by java code.
pls help me out.

hello,
you need to dig out that in the cash drawer APIs there must be some method responsible for opening the cash drawer
that will supply the operational voltage signal internally to the cash drawer.
your task is to use the API os the cash drawer and supply the arguments in.
and will you please tell us what communincation mode you are using like com port or usb.

Similar Messages

  • How to get the values from struct data type using java code..?

    Hi ,
    I am newer to java.
    we are using oracle database.
    How to get the data from struct data type using java code.
    Thanks in Advance.
    Regards,
    kumar

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How to get the filters of Webi document/Report using Java code in XI SDK.

    Hi All,
       I have a requirement where i have to extrcat filters from the Webi Document.using java SDK.
    I am trying to find the class called "filterable"but not able to use in my java code and will get always
    "java.lang.ClassCastException  com.businessobjects.wp.om.OMDocument cannot be cast to com.businessobjects.rebean.wi.Filterable"
    I am using the below java code like
    ReportElement re=document.getStructure()
    FilterContainer flt=((Filterable) re).getFilter()
    I am stuck and need this in uregent.
    Please help.

    Hi Rajeev,
    To retrieve a FilterContainer you will need to traverse the report structure:
    ReportStructure boReportStructure = boDocumentInstance.getStructure();
    ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
    FilterContainer boFilterContainer = null;
    if (boReportContainer.hasFilter()) {
         boFilterContainer = boReportContainer.getFilter();
    } else {
         boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
    Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
    Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
    Hope this helps.
    Regards,
    Dan

  • How to read the contents of XML file from my java code

    All,
    I created an rtf report for one of my EBS reports. Now I want to email this report to several people. Using Tim's blog I implemented the email part. I am sending emails to myself based on the USERID logic.
    However I want to email to different people other then me. My email addresses are in the XML file.
    From the java program which sends the email, how can I read the fields from XML file. If any one has done this, Please point me to the right examples.
    Please let me know if there are any exmaples/BLOG's which explain how to do this(basically read the contents of XML file in the Java program).
    Thank You,
    Padma

    Ike,
    Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
    Please help me.
    Thank you for your posting.
    Padma.

  • In Exports sales process, how you configure the Duty Draw Back

    in my case
    we r creating Exports but
    duty unavailability of time and time taking process in export processing
    we are creating Excise invoice and cenvat is debited .
    now we r asking the govt. for the duty draw back for the value already cenvat is debited with proper documents like ARE1 etc.
    how to manage this duty back and what r the replications or changes thereafter
    thanks in advance

    Hi Sunitha,
    Pls can u explain how did u solve (In Exports sales process, how you configure the Duty Draw Back) this issue....since i don't have idea abt this...but shortly i am going to do this in my client place....
    thanks,

  • How to invoke the FTP rename operation?

    Does anybody know whether it is possible and how to invoke the 'rename' operation from the FTP Adapter (using ESB)?
    Thanks in advance,
    Jeroen van Schaijk

    Hi,
    Please use the below code for your Web Service Call
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cus="urn:crmondemand/ws/odesabs/customrecordtype/" xmlns:data="urn:/crmondemand/xml/customrecordtype/data">
    <SOAP-ENV:Header>
              <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
                   <wsse:UsernameToken>
                        <wsse:Username> USERNAME </wsse:Username>
                        <wsse:Password> PASSWORD </wsse:Password>
                   </wsse:UsernameToken>
              </wsse:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cus:CustomRecordTypeUpsert_Input>
    <data:CustomRecordType>
    <!--You may enter the following 6 items in any order-->
    <data:Name>myname</data:Name>
    <!--Optional:-->
    <data:SingularName>myname</data:SingularName>
    <!--Optional:-->
    <data:PluralName>myname</data:PluralName>
    <!--Optional:-->
    <data:ShortName>myname</data:ShortName>
    <!--Optional:-->
    <data:IconName>myname</data:IconName>
    <data:ListOfCustomRecordTypeTranslations>
    <!--1 or more repetitions:-->
    <data:CustomRecordTypeTranslation>
    <!--You may enter the following 4 items in any order-->
    <data:LanguageCode>?</data:LanguageCode>
    <data:SingularName>?</data:SingularName>
    <data:PluralName>?</data:PluralName>
    <data:ShortName>?</data:ShortName>
    </data:CustomRecordTypeTranslation>
    </data:ListOfCustomRecordTypeTranslations>
    </data:CustomRecordType>
    </cus:CustomRecordTypeUpsert_Input>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Hope that helps!
    Thanks & Regards
    Sablok Kumar

  • How to invoke the sql lodaer?

    hi,
    i have installed oracle 10g and the loader should have been installed by default as i have been told. Can you tell me how to invoke the loader?. I tried sqlldr in the sql> prompt but receive a "command not known" error.
    thx

    Hi,
    If you set ORACLE_HOME enviroment variables, then just typing command sqlldr should work.
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABDGCHH
    Br, Jari

  • How to change the cash journal voucher

    Hi
    Pls advice how to change  the cash journal voucher lay out , that is auto generated in the system.
    I need to add some fields.
    Thanx

    Hi,
    U need to develop your own layout with the help of your ABAPer with the required fields.
    Then Go to the following path
    Display IMG --> Financial Accounting --> Bank Accounting --> Business Transactions --> Cash Journal --> Setup Print Parameters for Cash Journal.
    Hope you are clear.
    Cheers
    P O I N T S

  • How to invoke the softKeyboard for a TLF textfield in AS3?

    Hi,
    I need to use a TLF textfield in a Flash mobile app.
    How to invoke the softKeyboard on mobile devices for such a TLF textfield? I tried it the way below, but it's not showing up:
    import flash.ui.Keyboard;
    import flash.events.KeyboardEvent;
    import flash.events.SoftKeyboardEvent;
    chat.needsSoftKeyboard = true
    chat.requestSoftKeyboard()
    (I can't use a "classic textfield" for a couple of reasons)
    Any tips welcome

    If you had something like this :
    <FORM name="checkform">
    <input type="text" name="myText" size="5">
    <select size="1" name="select" onChange="check()">
    <option value="1">Number1
    <option value="2" selected>Number2
    </select>
    </FORM>Your javascript funtion would look like this :
    <script language="JavaScript">
    function check() {
         if (this.checkform.select.options[this.checkform.select.selectedIndex].value == "1") {
              this.checkform.myText.size = "20"
         } else {
              this.checkform.myText.size = "5"
    </script>Note the names of the form (checkform) and the input field (myText).

  • How to create the Cash Flow  step by step?

    How to create the Cash Flow  step by step?

    Run S_ALR_87012271 (menu path A/C-FA-GL-Info System- GL Reports - BS/PL/Cashflow-general-cash flow)
    In the screen enter the year & Company code, & execute. you will reach to another screen.
    Click on the "FORM" & you will reach another screen having various forms. The form related to Cash flow is already highlighted.
    Go to EDIT-General Data Selection - Change the financial statment version pertaining to your company
    Then, click on each line item in the form which is being displayed and enter corresponding GLs.
    Save it & execute S_ALR_87012271
    Hope this solves your problem.

  • How to invoke the OAM from Linux

    Hey apps gurs
    any one can tell me,how to invoke the OAM

    OAM is not an .exe but a webpage
    So, you must have an url to startup OAM

  • When a context node use non-singleton, how to invoke the supply funtion eve

    when a context node use non-singleton, how to invoke the supply funtion everytime the lead selection is changed ?

    Hi wei,
    <b>Non-singleton nodes:</b>
    Web Dynpro allows you to define non-singleton nodes. Each non-singleton node has one node instance for each node element of the parent collection at runtime. The advantage is that each instance can be accessed directly. When using non-singleton nodes, the nodes are only created when the node values are retrieved. This can save resources that otherwise would slow down the performance of the application.
    <b>Supply function:</b>
    The Web Dynpro tools also automatically enhance the corresponding controller class with a supply function including the user coding area contained in it
    Supply functions are implemented as methods of type
    <b>public void supplyChildNodeElements(SomeChildNode node,
                                        SomeParentNodeElement)</b>
    in a Web Dynpro controller (view controller or custom controller). Supply functions and context nodes have a 1..1 relationship, that is, supply functions are specific for individual context nodes. Under certain conditions, supply functions are called by pages in the Web Dynpro runtime environment.
    Hope this helps u,
    Regards,
    Nagarajan.

  • How to invoke the app by touching the screen (without using the home button)

    Kindly  provide the solutions for the following issues
    1.       How to invoke the app by touching the screen (without using the home button)
    2.       Estimated lifespan running an iPad3 continuously 24x7
    awaiting for your valuable response.
    Thanks and regards,
    Sathya.

    1.  You can only invoke an app by touching its icon.
    2.  All depends on what your app does.

  • How to invoke the InnerClass method?

    Hi,
    could you please tell how to invoke the method of innerclass in the below example?
    public class OuterClass {
    final String s = "I am outer class member variable";
    public void Method() {
    String s1 = "I am inner class variable";
    class InnerClass {
    public void innerMethod() {
    int xyz = 20;
    System.out.println(s);
    System.out.println("Integer value is" + xyz);
    System.out.println(s1); // Illegal, compiler error
    public static void main(String args[])
          OuterClass2 outer = new OuterClass2();
          outer.outerMethod();
    //      outer.Method().InnerClass inner = new InnerClass(); :-( :-(
    //      out.innerMethod(); :-( :-(
    }

    Pannar wrote:
    kajbj wrote:
    As I said. InnerClass.innerMethod can't be invoked from main. It can only be invoked from within outerMethod.
    KajThats what i wanted. plz specify the line of code which descibes invoking innerMethod() from outerMethod. i wanted to see that line of code. :-)
    public class OuterClass2 {
        private String s = "I am outer class member variable";
        public void outerMethod() {
            final String s1 = "I am inner class variable";
            class InnerClass {
                public void innerMethod() {
                    int xyz = 20;
                    System.out.println(s);
                    System.out.println("Integer value is" + xyz);
                    System.out.println(s1);
            new InnerClass().innerMethod();
        public static void main(String args[]) {
            OuterClass2 outer = new OuterClass2();
            outer.outerMethod();
    }

  • How to get the current path of my application in java ?

    how to get the current path of my application in java ?
    thanks

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

Maybe you are looking for

  • In how to customize std no data found message in Bex Report...

    Hi I am running my WAD report in Portal and report had no data so giving std message "Could not find any data to display. This might be due to the current selection of variable or filter values" I wanted to change this std message to "No Data Found".

  • Oracles Patchset 6 (9.2.0.7) for the 9.2 Database Server and some stats

    Hi, look ( http://orcasoracle.blogspot.com/ ) at some statistics about the Patchsets of the Oracle 9.2 Database Server. regards Carl

  • Future Mac owner seeking advice

    Hi! So I've been using a PC my whole life. Odds are with the new laptops I'm making the switch to try out the Apple brand. I've looked at the "Designing Airport Networks" pdf and just wanted to confirm I read it right and my idea for a home network w

  • Scratches On New iMac.

    I have a new 24" iMac which has some scratches on the white plastic frame around the iSight camera lens. These were inflicted by me quite accidentally. They're not too bad, but is there a way that I can remove these scratches? Is the surround on the

  • Very strange  Viber's behavior under iOS 5.1.1..

    Hello guys, I don't know if someone of you have already experienced this, but I have some strange problems with Viber. The core of the problem is that Viber keeps ringing for several seconds after the answer.  The interesting part is that this occurs