Control a process at Weigh Bridge
Hi Guys,
We have an interface at our weigh bride.
A custom Tcode ZSD_WB is used to enter the interface and take reading for trucks entering/leaving.
The z object related to its ZWBINF.
My requirement is that on the weigh brigde interface there is an option of manual entry which needs to be checked so that user can make manual changes to the reading and we need to block it.
Please advice how to proceed.
Regards
Abhishek
If it is a dialog tcode then make the check in the PBO module and react to sy-subrc by modifying the screen program.
Make sure there isnt any other call screen subsequently calling the same screen and consider checking input again in the PAI module.
This is very basic and you should atleast post your code where it is going wrong...
Cheers,
Julius
Similar Messages
-
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 TyagiThanks, 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. -
Dear ABAPers,
I am in Cement Implementation Project and they asked for an interface between ERP and Weigh Bridge in SD cycle .
Kindly could anyone tell me how can i start with this task? or can anyone provide methodology for performing this interface?
ThanksDo you have a process controlling the gate, identifying the truck, and collection two weigh-tickets empty/loaded from teh weighbridge?
If so we have an integrated solution to collect all relevant documents (weigh tickets, delivery sheet, truck identification, even photo), outside SAP, and when all is complete send it as one object on-line to the SAP screen for entry validation. This way you get two important benefits: No SAP load for programming and server load, robustness.
Have a look at [SIP Ltd > solutions ISEC|http://www.sip.com.gr:8081/triboni/exec/x/gr.sip.site.display/xsl/display/displayChapter/solutions/displaySubChapter/ISEC/page/chapter.html] the Integrated Services ERP Connector does this exactly. Its a separate server communication directly with SAP. This way the whole process of weighing and making the invoice is off line, easy parametrizable, and on-line with the SD.
Hope this info helped
Spyros -
Integration with PLC, Weigh Bridge, Attendance Machine & Spectrometer
Dear Friends,
Can anyone help me with any knowledge on how to integrate
1) PLC
2) Weigh-Bridge
3) Attendance Machine
4) Spectrometer
with SAP System?
I have never done any integration...and looking for help.
Points assured if helpful.
Regards,
Rohan DasDear Rohan,
You need to go through the SAP xApp Manufacturing Integration and Intelligence (SAP xMII) technology, which offers a sophisticated yet easy-to-use application for aggregating, transforming, and distributing plant and production information.
Do go through some OPC (Object for Process Control) documents also.You can visit the link below to get a feel of it.
http://www.opc-to-sap.com/
Bye
Take Care
Sauvik -
Is there a way to control which processes should run or not ?
I have a mac with Snow Leopard and was wondering if there was an app or some other way to control which processes run at startup and which dont etc ? I made a new user account and logged in and noticed that it ran like brand new. It loaded up faster and smoother than my normal account. I looked at the processes running and noticed that this new account loads up like a 4th of the processes my main account runs at startup . How can i make my main account run the same processes only so it will run as smooth and fast ? is there an app for this ? thanks (an app that also tells me what each process is for will help too so i can close the processes that i dont need and so that i dont have to close them every time i reboot, but that it will also stop them from automatically loading)
Message was edited by: Pianoheromost of the apps that would run at login (which btw is different from startup) automatically are things in the login items. there may be a few items in homedirectory/library/lauchagents but that would be the only place. other than that what runs at login on one account will run on the other. note however, that if you remove any launchdaemons from homedirectory/library/lauchagents the apps that made them may not work properly depending on what those launch daemons do.
what 50 other processes are you referring to that you see on your main account? most of the stuff you see in the activity monitor are system processes that should not be removed. normally they hardly consume any CPU or RAM.
Message was edited by: V.K. -
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 PMDear 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 -
Where is the batch process command in Bridge CS6?
Where is the batch process command in Bridge CS6? I want to convert to Tiffs.
Found it. Woohoo!
-
We want to read data from weigh bridge and display in oracle forms & store
Sir/Madam,
in our organisation we had one requirement. i.e is reading data from weigh bridge using serial port, displying that data in oracle forms and when ever user click save button we store that into my oracle database. we are using oracle 8i and forms 6i and windows OS environment. we don't know reading data from serial port and placing that into form items. please help me as early as possible if there is any property available in d2k regarding this requirement .
thank you,
vishnuThere's no property in Forms that makes you read serial ports, but as far as I know you need to know the API of the machine which you want to read data from (it should come with machine's manual) and then it will be easy to store it in forms item.
Tony -
Hi SAPERS,
Please provide me the information about how to connect the vehicle weigh bridge system to SAP system to get automatic net weight should be populates at the time of GR. Is there any interface is required for it.
Thanks in Advance,
Durga Prasadhi
u have to create gate module with helpof ur abapers
like for inward movement there will be a T code
and for out ward there will be another and u will get diffrence which will be use fo gr
in same frist t code u can proide the gate pass system
what u can do is create a new table for in ward movement and another table for outward
then link them for two t codes for in ward an out ward movement
do t code one for truck+load
then t code 2 truck
so u will get the diff
then do gr for the diff
while doing t code one u can develope some thing for the gate pass like trcuk no or cahllan no etc
just discuss this with ur developer hewill do it
LECI aslo can be use for the in and out pass
regards
kunal -
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 charlesHi 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 -
How to update the HTML file so that we can Control our process in real time
After installing following three steps as per the lookout 4 online help I am unable to Monitor and control the Process in HTML format, which was exported manually in lookout server.
1) Creating a Web Client Page in Lookout
2) Download a Lookout Web Client
3) Setting Up Own Web Server
My browser shows only the instance, which I have uploaded manually without any update
Problem: How to automatically update/refresh the HTML file so that we can Monitor/Control our process in real time/bi-directional mode.Hi,
It seems like your process is not updating. When you create a Web Client, it uses ActiveX which lets you control the Lookout process fully. Make sure that you run the process. You can do this by pressing CTRL+Spacebar which puts it in Run-mode. Perhaps then you may see your graphs, etc updating.
Also, please refer to page 11-1 of the Users Manual linked below:
http://www.ni.com/pdf/manuals/322390a.pdf
What kind of Web Server are you using? Make sure all the settings in it are done properly. If you have LabVIEW, you can use the LabVIEW Web Server.
Hope this information is helpful. Please let us know if you have any further questions.
Regards,
A Saha
Applications Engineer
National Instruments
Anu Saha
Academic Product Marketing Engineer
National Instruments -
What is CONTROL - M process ?
Hi to the group,
can some one let me know - what is CONTROL - M process in detail.
Is it related to back ground job scheduling ?
Regards
MadhuriCONTROL - M is a non-SAP-tool to control the job scheduling in SAP. It is really advanced as you can do all related file handling and/or archiving, control jobs and processes between vaious systems including error handling, conditional processing and so on.
Usually only big companies with many systems will use it; the administration of CONTROL-M can be a fulltime-job for more than one administrator.
Regards,
Clemens -
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 AdvanceHi,
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. -
Interfacing of weigh bridge to SAP system
hi guy's,
our client receiving the raw material by the trucks, so they required the interfacing the weigh bridge to std SAP system. plz light on this scenario,
thanks in advance
mohan.mHi,
Hope your scenario is that you are ordering raw material from a vendor and transporting the raw material ,you have a transport vendor.Once the raw material unloaded in the factory,immediately you have to pay to the transport vendor(Truck) and later based on the payment term you will pay the payment to your raw material vendor.
1.Create material: MM01,
2.Create Raw material Vendor: XK01,
3.Create Transport Vendor: XK01,
4.For Aumatic Pricing Create Calculation Schema and mataioning the Condition type for Material price,Discount, Taxes and Freight chages .
5.Create PO(ME21N) Ordering material to Raw Material Vendor and come to Condition Details.In the Condition Details , select Frieght Condition type and assign to Fright Vendor.
6.Now Go for Goods Receipt with MIGO with Movement type101
7.Now immediately you have to pay to Feieght Vendor, so do Invoice Verification For Fright Vendor.Go to T.Code: MIRO and Select planned Deliver Cost and do the Invoice Veification.
8.Now go to T.Code:F-53 and pay to Fright Vendor,
9.Later you can go Invoice verification for raw material for selecting Goods/Service item
10.F-53: pay to raw material Vendor.
Hope the above will be helpful.
If helpful then reward and close the thread.
Regards,
Biju K -
Hi All,
We are receiving raw materials in bulk(No of delivery for single PO) in trucks. Its weighed at weigh bridge. How can enter the GR qty and truck details in SAP sytem. Same truck wil be weighed after unloading the raw materials.
How can it be mapped in SAP please. Points will be provided immediately.
Thanks.hi
u discuss it with ur abap person he will explain it to u
what u can do is create a new table for in ward movement and another table for outward
then link them for two t codes for in ward an out ward movement
do t code one for truck+load
then t code 2 truck
so u will get the diff
then do gr gor the diff
while doing t code one u can develope some thing for the gate pass like trcuk no or cahllan no etc
just discuss this with ur developer hewill do it
regards
kunal
Maybe you are looking for
-
Can't get EarPods remote and mic to work with my iPad 3. Anyone else having this problem and, if so, how did they fix it?
-
We have recently upgraded remote distribution point to SCCM 2012 R2 CU4. when i try to distribute the package getting the error on the distribution point configuration status "Distribution manager failed to create the defined share or folder on distr
-
Grid in ACR7 lens correction?
i'm sorry if this is a stupid question, but is there any way to turn on a grid in the ACR lens correction?
-
Web Part \ Asynchronous Input Output
Visual Web Part, two controls: textedit and label below. When textedit is changed label should show smthn. This should work dynamically, transparently, asynchronously, without loosing textedit input focus. In other words – without postback. I am look
-
SAP GUI 7.20 PL5 - Does NOT start
Hi there, I just installed PL5 for SAP GUI for Windows 7.20. I hoped this would fix the problem with the centralized saplogontree.xml as said in several notes. But after I installed the patch, the GUI doesnt start anymore. The screen with the version