Capture Weigh Bridge Reading in ABAP Program through RS232 port

Dear SAPers,
I am in Cement Implementation Project and i have requirement to Connect Weigh Bridge to SAP ERP and capture the readings of that Weigh Bridge in ABAP program.
How can i capture those readings in ABAP program or save them in a Z table using RS232 port????
Best Regards,
Kholoud
Moderator message: please do not cross-post.
Edited by: Thomas Zloch on Mar 17, 2011 1:22 PM

Dear Vijay,
I'm having the same problem in my implementation, the client needs me to capture the readings from Weigh Bridge through RS232 port directly to ABAP program.
Could please tell me how did you solve this??
Thanks
Kholoud

Similar Messages

  • How to interface the Weigh Bridge System with ABAP thru' RS232 PORT

    Hi Gurus,
    Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI.
    I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.
    Goodwill
    Jacob charles

    Hi Jacob,
    <b>You can integrate Weigh Bridge with SAP ABAP .
    I have done this for one of our projects
    The technology used in RFC SDK and DCOM Connector.
    Refer to this link
    SAP Business One SDK Version 2005 [original link is broken]
    Search here for sap software distribution center link
    https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/sapintegration.asp
    http://www.intelligententerprise.com/channels/applications/feature/archive/homann.jhtml;jsessionid=BR44S4YLZ0HSGQSNDLOSKHSCJUNN2JVN?_requestid=505707
    www.sapgenie.com/sapgenie/docs/SAP%20Connectors.doc
    help.sap.com/printdocu/core/ Print46c/en/data/pdf/BCMIDDCOM/BCMIDDCOM.pdf</b>
    Good Luck and thanks
    AK

  • Trigger an ABAP program through a Process Chain

    Hi,
    I have an ABAP program as part of my Process Chain that updates the BW Hierarchy OREGH. 
    However I can't get the program to execute through the chain, even the though chains goes all green. without any REDS anywhere along the chain. 
    When I check if the program has made the desired changes in the tables it hasn't.
    If I run the program using SE38 it works fine and in seconds.
    Is there a parameter setting I have to set in the process chain or within the program itself.Tthe program is active.
    Ive checked many of the  posts about this issue but couldn't find a someone experiencing a similar problem.
    Please Help
    Thanks
    Amir

    Remove that ABAP program from the Process Chain and activate. Leave RSPC screen.
    Re-enter to RSPC, and add that program by creating a new variant with following options:
    Call Mode : Synchronous
    Call From : Local
    Check and Activate process chain.

  • How can user attach file to interactive form, and be read by abap program?

    Hello,
    I created an abap interactive form, sent to the user, then user fills out the form fields, then it is uploaded back to sap, then my program reads this data and process it.
    It works.
    Now I want users to be able to attach any file they want, and the abap program to extract this file out of the PDF, to put it into SAP (or anywhere).
    I succeeded in attaching a file, I can "see" it via function module get_annotations, but I get the file in compressed form by Adobe (filter="FlateDecode").
    Do you know how to unzip the file, or is there another way to attach files in adobe reader/extract them via abap?
    I use acrobat reader 8.1.2
    Thx a lot!
    sandra
    Below is the xml obtained by GET_ANNOTATIONS. We see that there are other text annotations, and that the attached file has {length="98005"}, though real file (before "attach file" to the PDF, and also after "detach file") has length 111 995 bytes. It's why I deduced that there is a compression (I also tried to extract it as-is and open it with adobe but it doesn't work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
      <annots>
        <highlight rect="212.347,624.257996,252.979004,636.539978" creationdate="D:20080604100938+02'00'"
    name="2114308b-275d-4eca-8bfc-c8288ef4a77c" color="#FFFF00" flags="print"
    date="D:20080604100938+02'00'" title="mtresori" subject="Texte surligne "
    coords="215.432999,636.179016,249.893005,636.179016,215.432999,624.619019,249.893005,624.619019"
    page="0">
          <popup rect="595.276001,516.179016,775.276001,636.179016" flags="print,nozoom,norotate"
    open="no" page="0"/>
        </highlight>
        <fileattachment rect="15.345001,802.841003,29.345001,822.841003"
    creationdate="D:20080604101011+02'00'" name="f6e12648-c9b0-4cd1-b08b-82876c8300d7"
    color="#4055FF" flags="print,nozoom,norotate" date="D:20080604101019+02'00'" title="mtresori"
    subject="Piece jointe" file="SAP_WIDGETS2.pdf" mimetype="application/pdf"
    creation="D:20080603112937+02'00'" modification="D:20080603112937+02'00'" size="111995"
    checksum="9F846412B510089F7C6DBCC6527C6339" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>SAP_WIDGETS2.pdf</p>
            </body>
          </contents-richtext>
          <data MODE="raw" encoding="hex" length="98005" filter="FlateDecode">
    4889CC570B5414D719F651A38EC468D5C6A2980104E528BBF3B8F3B2626405242920020A0AA4AEBB
    C3B2BAECEAEEA2A018030A628C8FFA4A0F568F58426A1EF5118FB5266A8D9AA2B16A55044541C5
    A62656EBA315935AE8BDB3BBEC2C0BD9D5B39EB3671966FEFBFCE6BF
    ETC. (all hexa code is the attached file, but with compression by adobe)
          </data>
        </fileattachment>
        <text rect="96.187408,680.099976,116.186996,698.099976" creationdate="D:20080613144537+02'00'"
    name="73360fcf-f5e5-4d5b-9315-fe4c42924300" color="#FFFF00" flags="print,nozoom,norotate"
    date="D:20080613144617+02'00'" icon="Comment" title="srossi" subject="Note" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p dir="ltr">
                <span dir="ltr" style="font-size:10.0pt;text-align:left;color:#000000;
    font-weight:normal;font-style:normal">
    ffffffffffffffffffffff
                </span>
              </p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,578.099976,775.276001,698.099976" flags="print,nozoom,norotate"
    open="yes" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144627+02'00'" state="Marked"
    name="d524b7d5-1a85-4b62-80b3-5875dd152c51"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144627+02'00'"
    icon="Comment" title="srossi" subject="Note"
    inreplyto="73360fcf-f5e5-4d5b-9315-fe4c42924300" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popuprect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144633+02'00'" state="Accepted"
    name="88af2cb6-7516-4f21-81e6-97edc7a85184"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144633+02'00'" icon="Comment"
    title="srossi" subject="Note" inreplyto="d524b7d5-1a85-4b62-80b3-5875dd152c51" statemodel="Review"
    page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144642+02'00'" state="Marked"
    name="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144642+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="f6e12648-c9b0-4cd1-b08b-82876c8300d7" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144647+02'00'" state="Accepted"
    name="0136b689-575c-46b8-a21a-86e3c8d73904" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144647+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144657+02'00'" state="Accepted"
    name="a21fc3c5-cf6a-4c6f-bc1f-328a91050b4e" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144657+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="2114308b-275d-4eca-8bfc-c8288ef4a77c" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
      </annots>
      <f href="acTempF-00000028453-00000000089"/>
      <ids original="03473EFED11DB2110A00000000000000" modified="959796E85292D54DB7FA558CAAD4A346"/>
    </xfdf>

    Hello everybody,
    I am sure you have an answer to my question above. It was :
    how is it possible for a user to ATTACH files to a PDF interactive form, and then be able to READ them via a program ? (I guess the solution to read them via ABAP or JAVA is quite the same?)
    Thx a lot !
    sandra

  • ABAP Query: Access variables in ABAP Program through InfoSet Query.

    Hi,
    While generating a report using ABAP Query Tool, how can we access the variables in the ABAP Program in the InfoSet Query?
    Thanks in Advance!!!

    HI,
    Dear, it seems that you have changed the query in SQ02 and then just save it and not generated.
    or may be after generation again clicked on SAVE button.
    So untill unless you will not generate the query, it won't work.
    Secondly, by chanegs in the query, i don't think it changes the name of the main program.
    Regds,
    Anil

  • How to finish ABAP program in the process chains

    Hello All,
    we have one ABAP program in the process chains which was created in the BW system only.
    this program we are using in the synchronous mode. according to my understanding we can not capture the failure of the ABAP program when it is in the synchronous mode.
    but i found a way through one this forum topic to capture the failure of the program through asynchrous mode by calling a function module RSPC_ABAP_FINISH but it was with the R/3 program in BW.
    can we use the same function module for BW program also.
    kindly let me know what steps we need to follow for the BW program in the process chains to capture the failure status.
    Regards,
    Ala.

    Hi Ala,
    we created an own processtype, look at this HowTo: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179
    and than also an abap which can end red or green:
    PARAMETERS: red   RADIOBUTTON GROUP radi,
                green RADIOBUTTON GROUP radi.
    IF NOT green IS INITIAL.
      MESSAGE i162(00) WITH 'Status' 'Green'.
    ELSE.
      MESSAGE e162(00) WITH 'Status' 'Red'.
    ENDIF.
    with i-message process ends green, with e-message process ends red.
    /manfred

  • Declarations in SAP QUERY generated ABAP Programs

    hi,
    i had created a ABAP Program through ABAP Query (SQ01,SQ02,SQ03) but i have a issue that when i transport it to the PRD server i got the run time error. The Z program which i had created is the copy of the SQ01 generated program and i had done all the includes declarations in this program. but there is a problem that it is consist of the declarations of the structures,quries .
    I want to know is it necessary to always transport the Infoset and user group and the structure which is present in the program generated .
    Please provide me guidelines for this problem  .
    Edited by: ricx .s on Jul 6, 2009 5:31 AM
    Edited by: ricx .s on Jul 6, 2009 8:07 AM

    hi,
    i had copied the program bcoz i want to chekc that it is really necessary to transport the user group and infoset so that it can achieve functionality similar to the SAP QUERY.
    is there any other way without whichi can ahieve the functionality of SAP QUERY generated program and take it into the ABAP Porgram?

  • Can we link GR [Receipt Quantity field] to weighing bridge to compy the Wt.

    Dear Experts,
    I have the requirement In Goods Receipt -
    Material Quantity is to be copied Automatically at Good receipt quantity field from the weighing bridge digital meter.
    Is it possible to link
    if it is possible, please explain how to link?
    which tools we have to use in SAP?
    please brief me on the my requirement.
    Thanks in Advance

    Hi,
    It is possible to link.
    SAP has a command program that is setup and linked with the weigh bridge application.
    The program pushes data to R/3.

  • How to call program through process chain

    Hi Gurus,
    I am in the position to execute the abap program through process chain, I have used  abap program as process type in process chain(First time I am using this process type).when I am executing the process chain, the abap program is not executing.Eagerly anticipating your reply.
    Regards
    Shiva

    Hi
    I managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    I hope that helps.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    regards
    ashwin

  • Workflow vs Abap Program

    Hello Frienz,
    There is a typical business scenario with one of our client, I would like to get inputs from all of u..........
    Could u guys tells me is it possible to Call a Abap Program through a Workflow mail which has come to the supervisor's Lotus Notes Inbox for his/her action????????????????????
    Which means When supervisor opens the mail in LN is it possible to run a abap program when a radio button or any weblink is incorporated he or she clicks in the mail???????
    Requesting all of u to provide their valuable inputs.
    Regards
    Pavani G

    Hello Frienz,
    Thanks for all your valuable inputs................
    Sheeta / Manikya Raju: We had already tried the insertion of HTTP link but when we click on the link we r not able to run the program.......
    SAP HCM:
    1. S email received by supervisor is trigerred through Workflow only...........
    2. Unfortunately our LN Guy has not got any idea abt this..........
    Will very much appreciate for your quick response
    Regards
    Pavani G
    Edited by: G Pavani on Jul 28, 2009 2:04 PM

  • HOW TO DEBUG EXTERNAL ABAP PROGRAM

    HI ALL ,
    I am new to Webdynpro Java.  I am unabe to debug the ABAP program through  web dynpro java application  .
    I want to debug the external  abap program through web dynpro java application.
    If it possible please let me know the required procedure for debugging.  
    Thanks in advance...!

    Hi,
    I donu2019t have any documents for that. But I vl give some points plz go through that.
    1. Login into the ECC System with respective of User name and Password.
    2. Enter T -Code (SE 37). Here Pass to the you are Functional Module Name (BAPI/RFC).
    (By using that same BAPI/RFC u have to develop the that WDJAVA Application)
    3. Pass the RFC and Click on Display Button. That RFC will be open.
    4. Here u have find it Red Icons available (External/Internal Debug) Click on that External Debug.
    5. Finally deploy your WDJAVA Application that time automatically youu2019re ECC System Opened.
    Please check it these
    F5 - Step by Step debugging
    F6 - Skips loops and Subroutines
    F7 - Skips the loop or subroutine and returns to the last cursor point.
    F8 - Execute and come out of debugging
    Hope this helps!!
    Best Regards
    Vijay K

  • Mass tcode creation from abap programs

    Experts,
    Is there any way to create  tcodes for 200 abap programs through any function modules or any abap programs..
    Regards,
    Suresh
    Edited by: Suresh Palani on Dec 5, 2009 8:02 AM

    hi
    through recording method (BDC) u will do this thing.
    create recording through SHDB in transaction se93.
    regards,
    Abhilash

  • Reading data from RS232 PORT

    Hi all
    I have to capture the   WEIGHT from the RS 232 PORT into SAP.
    How to interface the Weigh Bridge System with ABAP thru RS232 PORT.
    Thanks in advance
    Sourabh

    I have the same requirement, but have many different RS-232 devices to read from via serial ports. I would be interested in any solutions that anyone has come up with.
    Thanks,
    Bob

  • How to crete Button through ABAP programming

    Hello Friends,
    I am creating 2 selection screens through ABAP code and using them in my Tabstrip control also created through ABAP programming.
    Can I also create button on the selection screen through abap programming. If yes then how, and how to assign funtion code and capture the Function Code???
    Moderator Message: Read the below advice.
    Edited by: kishan P on Dec 30, 2010 7:44 PM

    Have a look at F1 help on SELECTION-SCREEN. There should be an example as well.

  • Reading Weight from Weigh Bridge....

    Hi.
    The scenario here is that we have to create module pool for picking up
    the weights of trucks from weigh bridge ( AVERY brand ).
    The existing system is in foxpro . Please find attached the text of AVERY guidance which exhaustively shows how the fox system is reading the
    weight from the port, to which the weigh bridge is attached, on the
    system kept at the location.
    I wish to have the info regarding how, this functionality can be
    achieved in ABAP as my perception is that this is not a simple
    execution / run of an external program.
    regards,
    Suman
    TEXT
    getwt.prg
    sample weight recieving program for Avery CTH
    this is demo program for getting weight from the CTH
    using the CALL and LOAD commands of dBASE III PLUS only.
    This demo program demonstrates the use of LOAD and CALL commands
    of dBASE III PLUS to get the weight from the CTH. The actual
    program to get the weight is a file called GETCTH.BIN
    To use GETCTH.BIN directly do the following:
       1. Start dBASE III PLUS normally.
       2. Type the command - LOAD GETCTH at the dot prompt of dBASE III PLUS.
          (Be sure to give the correct drive and/or directory where the
           file GETCTH.BIN resides in your computer system).
       3. The program GETCTH.BIN will return the weight in a variable
          passed from dBASE III PLUS, so first initialize a variable in
          dBASE III PLUS to recieve the weight.
          The weight string returned by the CTH is 26 charecters long so
          define a variable of length 26 by typing the following command
          at the dot prompt:
          WEIGHT = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"   { Any dummy value }
                                or
          WEIGHT = "2BCDEFGHIJKLMNOPQRSTUVWXYZ"   for COM2 port
          ( Note -> The choice for the name of the above variable is
                    purely arbitrary. Any name could have been chosen)
       4. Next type the following command at the dot prompt to call the
          GETCTH function :
          CALL GETCTH WITH WEIGHT
       5. After some time the dot prompt will return. At the dot prompt
          type the following :
          ? WEIGHT
          If the GETCTH function has been successfull in getting the weight
          from the CTH then this function will return the weight as a string
          of 26 charecters containing the weight and other information.
          Otherwise, if the function is not successfull then the value of
          the variable passed will be set to 26 spaces. The major reason
          for the failure of the function will be a timeout error i.e.
          the CTH did not respond after a preset time interval had elasped.
          The returning of 26 spaces makes it easy for a dBASE III PLUS
          program to retry the weighing operation if failure is detected.
          The use of this in a loop till the function succeeds in getting
          a weight is illustrated below in the program.
          The weight returned by the CTH consists of a string of 26 charecters
          A sample weight that could be returned is reproduced below:
          ABCDEFGHIJKLMNOPQRSTUVWXYZ
            19600 kg    G 000016 O
          The following is the sequence of charecters :
          1. The first two charecters ( positions A - B above ) are
             space charecters.
          2. The next five charecters ( positions C - G above ) is the
             weight from the CTH - ( 19600 in this case).
          3. The next charecter ( position H above ) is a space charecter.
          4. The next two charecters ( positions I - J above ) are the weight
             units - ( kg in this case ).
          5. The next four charecters ( positions K - N above ) are space
             space charecters.
          6. The next charecter ( position O above ) specifies mode of
             operation. It shows 'G' for Gross mode and 'T' for Tare
             mode of operation.
          7. The next charecter ( position P above ) is a space charecter.
          8. The next six charecters ( positions Q - V above ) is the
             consecutive number which is unique for each weighing.
          9. The next charecter ( position W above ) is a space charecter.
         10. The next charecter ( position X above ) is the machine ID number.
         11. The last two charecters ( positions Y - Z above ) are
             Carriage return and Line feed charecters.
    Clear the screen and show the copyright notice.
    clear
    @  0,  0  TO 23, 79    DOUBLE
    @  3,  1  TO  3, 78
    @ 11, 25  TO 18, 57
    set color to w/n+
    @  1, 26  SAY "A V E R Y     I N D I A   L I M I T E D"
    set color to
    set color to n/w+
    @  2, 10  SAY " Demo program for getting weight from Avery weight digitiser - CTH "
    set color to
    set color to w/n+
    @  6,  3  SAY "(C) Avery India Ltd.- 1989,1990  All rights reserved."
    @  8, 10  SAY "The source code of this program is for pure demo purposes and all"
    @  9, 10  SAY "copyright  of   this    demo  program  and  its source rests with"
    @ 10, 10  SAY "Avery India Ltd."
    @ 20, 10  SAY "This program and its  accompaining  source  code cannot  be  used"
    @ 21, 10  SAY "without the prior permission of Avery India Ltd."
    set color to
    set color to n/w+
    @ 17,26 say " Press any key to continue...  "
    set color to
    wait ""
    @ 4,0 clear to 23,79
    @ 0,0 to 19,79 double
    WEIGHT = space(26)                && define a variable to get the weight
    load getcth                       && load the module from disk
                                      && this assumes that the file GETCTH.BIN
                                      && is in the current drive/directory.
                                      && If not, use drive specifier.
    do while weight = space(26)       && the main loop
       call getcth with weight
    enddo
    set color to w/n+
    As explained above the last two charecters of the weight string
    are the Carriage return (CR) and the Line feed (LF) charecters
    out of the total of 26 charecters of the weight string. So to get
    the whole weight string other than these last two chareceters we
    can use the SUBSTR command of dBASE III PLUS as follows :-
      @ 14,20 say "The weight is : " + substr(weight,1,24)
    This will show the whole weight string on the screen i.e. all
    24 charecters ( it will not show the CR and the LF charecters ).
    The CR and the LF charecters are as it is unprintable charecters
    and will show up as control charecters if printed on the screen.
    If the whole weight string is not required and only, say, the
    weight and the weight units are required, then the following command
    could be used :-
    @ 14,20 say "The weight is : " + substr(weight,1,10)
    This will show the weight value and the weight units (this substring
    will include the embedded space charecters in this susbtring).
    Similarly, other parameters from the weight string could be
    incorporated, if required, from the whole string to enhance
    the weighing process on the computer.
    The idea of putting the CALL statement above in a loop is that
    sometimes due to unavoidable reasons, there may some garbage
    charecters on the serial port. Thus it may be necessary to flush these
    charecters from the port by CALLing the function again.
    Sometimes, the function may return without a timeout error but the
    variable may contain some control charecters which do not make sense.
    In this case the function should called repeatedly till the proper
    charecters are returned. This occurs due to the reason explained
    above.
    @ 14,20 say "The weight is : " + substr(weight,1,24)
    set color to
    set color to n/w+
    @ 16,5 say "Please read the README.DOC file on this disk for more information"
    release module getcth             && release module from memory
    set color to
    Please refer to the dBASE III PLUS manuals for a
    complete discussion on the LOAD, CALL and RELEASE
    commands.
    Message was edited by: Suman Tyagi

    Thanks, but I've already seen this thread and done the steps described on it.
    Actually, my question is very specific... How to populate the fields LinkVal and LinkUnit of the registry...
    I read all the threads here in SDN and they don't answer my question...
    I'd be glad if someone had already done tcode HUPAST works for Filizola...
    Tks again.

Maybe you are looking for

  • Any ideas why the video camera on my imac is not working?

    Does any one have any idea why the video camera on my imac is not working? I have been using skype on my imac for some time and recently I have discovered that it wont work, could this have anything to do with the mountain lion upgrade?

  • I have an iPhone 4s and I recently tried to download an album.

    Some of the songs downloaded but most of them keep getting close then restarting. Apple already sent me my receipt for the entire album, however. What can I do to either get reimbursed or get my songs? I've already waited awhile for the songs to down

  • Export for iPhone 4

    In the past I've exported full QT files and converted them in MPEG Streamclip for display on iPhone. To take advantage of the hi-rez screen on the iPhone 4, what settings should I change?

  • Blackberry desktop

    Hello, I have two MacBooks Pro, One of them has a Tunderbold port. I have loaded the last blackberry desktop version and it works well in one of the Pro's. The new model does not work, I load the BB desktop program after that I connected the BB and a

  • ADF 11g Hosted Components Demos -  Dead Link

    The following link does not work anymore: http://jdevadf.oracle.com/adf-richclient-demo Did they move it someplace else ? Thanks, Valon