‎2009 Mar 25 12:50 PM
Hi Experts,
I am working on Wave Bridge,
we have a device (MettelerTotredo 8142 PRO) to weight the loaded vehcles
it will transfer the data into PC , So now i need to upload the data from there and delete the record or
use some logic that it should not replicate again the same data but the same vehcle will come again to weight to get the tare weight.
So plz suggest me that How can i comlite the object.
Regards ,
D T Kumar
‎2009 Mar 25 12:56 PM
What does this have to do with ABAP?
Also, do not have your subject in ALL CAPITALS.
‎2009 Mar 25 1:27 PM
Hi,
I have devlop a Gate Entry Programe in Module pool.
So here i need at the time of Gate Entry through my programe it should update automaticaly the Accual Gross weight of goods for that we have Wave Bridge to weight the Vehcle with Goods Minus Emty vehcle Equals Actual gross weight of Goods.
We have a Device (MettelerTolredo 8142 PRO) to connect Wave Bridge and PC after instaletion of some software it ll transfer the data into PC.
SO here i need whenever the data updated in PC i want the the data automaticaly should come into gate entry ie no body could not change the actual data.
For this i need your suggetions that how can i link with & how it will know that data updated.
Thanks & Regards.
D Tarun Kr.
Edited by: Devalla T Kumar on Mar 26, 2009 5:44 AM
‎2009 Mar 26 6:04 AM
Hi,
First change ur sunject line to Weighbridge to SAP Integration.
within some days i will start to do the same .
search on web giving above subject and in SDN also. u will get more help.
i have lot of information to share u.
1. u have to connect sap to vb exe, yours might
be a weighbridge or weigh feeder thing, right?,
use the function module ws_execute to run the vb exe..
It might be storing the values in some text file or so...read from
that text file the return value using fm ws_read or so..
i have done a similar thing for a cement industry in a weighbridge case.
for any help pls reply...
regards
Ranjith, SAP Group, KELTRON
Hi,
Thanks for posting . I have the same problem what u have specified in
the posting. that is i have take the readings from the weigh bridge
through a VB.exe file (Cement manufacturing company). if u have the
code for that weight bridge please mail be to email@removed.
really i will be thank ful if you send me the code for weigh bridge to execute.
please help me in this regard
orm grosswt .
refresh itab3.
clear itab3.
Executing VB EXE file to get the weight from weigh bridge
call function 'WS_EXECUTE'
exporting
DOCUMENT = ' '
CD = ' '
COMMANDLINE = ' '
inform = 'X'
cd = 'C:\SAPWEI'
program = 'C:\sapwei\MyVB.exe'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Fetching Value from VB text file
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = 'C:\sapwei\w1.txt'
FILETYPE = 'ASC'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTHtables
data_tab = itab3
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
.
if sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at itab3.
v1 = itab3-num.
pgrwt = v1.
endloop.
message 'Save Gross Weight' type 'S'.
endform. " grosswt
2. how to connect weighbridge to sap
The solution is like, through the vb program you create a file and stores it in the local PC's desktop or in any folder in which the Weigh Bridge is connected and write a FTP program in SAP .Scheduled the program in BG so that it will fetch the file from the directory and send the data to SAP.
3. plz go through
http://help.sap.com/saphelp_47x200/helpdata/en/72/90fd343603c95ee10000009b38f844/frameset.htm
‎2009 Mar 26 6:55 AM
‎2009 Apr 05 8:36 AM
‎2009 Apr 05 9:02 PM
u posted a duplicate post for the same requirement, pls. close either one.
thanq
‎2009 Apr 06 5:19 AM
Hi Devella,
I saw your post in sdn for reversal entries . I am also have same requirement . I got the solution for blocking reversal entires but i am not getting how block the cleared items And How to block the reversal entires and cleared in SD.
Regards
Nandan.N
‎2009 Apr 28 10:17 AM
Hi Devella,
I am also having the same requirement and I am unable to know how to approach to wards it.Kindly let me know how did you approach, even my weigh Bridge vendor is Metler Toledo, I spoke to them they gave some protocals and I do not how to use them, any way let me know how did you resolve this issue.
Thanks and Regards,
Varun.K
‎2009 May 07 6:13 AM
‎2009 May 27 4:39 AM