How to collect data and store data through printer port usind Dev'6i
Hi,
When we make a phone call through a PABX machine, the PABX machine print the call's detail if it is connect to printer. Let us assume, the PABX machine is connected via the printer cable with a PC at it's printer port. Now, the data sending by the PABX machine is reaching to PC's printer port, I would like to collect those data and store in a file(of any format) using Developer 6i. Is that possible? If yes, then how? Do I need to use any ActiveX control? Or is there any other way?
Please Help me out. Thanks in advance.
Bivash
Dear Friends
I also need a solution to this problem. But it may require sequance / format of information being sent by weigh bridge to the COM port. Normally the W/b company has their own format of information. We might have to change the COMP port speed also .e.g 9600 BPS, 2400 BPS etc.
Rajan
Similar Messages
-
How can I transfer and store data from my PC on the ipad without using icloud
I am a new user having received the iPad air/2 from my family as an 80th birthday gift. (at my request).
At this stage my principal usage is to transfer photos for PC to show family when visiting. I tried iTunes but it caused many problems with my PC, so I un-installed it. I found an ap which did the job simply and easily via wi fi transfer.
My other main usage is to be able to play my music transferred from my PC to the ipad and held in it's memory so that it can be used even when off line.
In other words iCloud doesn't seem to be able to do this.
I sent myself a song via an email, downloaded it on to the ipad, listened to it, then closed the email.
I cannot now find where that song has got to to retrieve... ipad search says it can't find it.
Basically I want to transfer a folder of music into the ipad and play them back at will.
Can anyone help me?
Sorry to be so longwinded.. cheers Ted
My PC runs Windows 7 64 bit.
iPad is IOS8 I believe with 64 GB memory.You shouldn't be worrying about 'hackers'. Apple have good security & so long as you pick good passwords the data should be safe.
There are parts of using iOS & iTunes that requires an Apple ID & iCloud, however you can disable many of the feature you do not need, and avoid syncing any files into iCloud. It can be annoying, but a lot of the services help to make backups easy.
You may want to visit into an Apple store if you are near one, they may try to sell you on the benefits of iCloud (it's kind of their job), but they may also be able to help you get the iPad under control. See if you can get the PC setup with iTunes, that is probably where you need to start.
Good luck with it -
How to update link and import data of relocated incx file into inca file?
Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo
>
I can say that anybody with
no experience could easily do an export/import in
MSSQLServer 2000.
Anybody with no experience should not mess up my Oracle Databases ! -
How to accessed,created and modified date of particular file in java
Hi,
I am facing one problem.
I know how to get the modified date/time of file in java.
but i don't know how to find created and accessed date/time of file in java.
Thanks,
TejasI guess thats not possible in in Windows.
But if u r trying it on a unix machine.
You can use Runtime class to call exec on the command
ls -l filename
and then store the result in a file . And then take out the last modified time. But you cant get created time.
Thats a clumpsy way i believe. -
How to collective read PP master data in Production order?
Hi: Guys
Please tell me how to collective read PP master data in production orders. in COHV, I can find out some collective functions but read PP master data.
Thanks
HenryRead PP master data is only to update routing and BOM in production order if it is already created to effect the changesmade in routing and BOM. I think in that collective option is not possible.
Regards
KrishnamurthyDSS -
How to collect responses under one data.
how to collect responses under one data.
I am using VI
I create my form
Then click track form not distribute
Under there you will find distribute form
It will send this out and compile into one spread sheet -
I use a translation stage for the experiment.For each user in the lab the stage position (to start an experiment) is different.I defined one end of the stage as zero. I want to save the position , date and time of the stage with respect to zero.I want all these in one file, nd everytime I run it it should save to the same file, like this:
2/12/03 16:04 13567
2/13/03 10:15 35678
So I will track the position from day to day.If naybody helps, I appreciate it.Thanks.evolution wrote in message news:<[email protected]>...
> How can I save my data and the date,the time into the same file when
> I run this VI at different times?
>
> I use a translation stage for the experiment.For each user in the lab
> the stage position (to start an experiment) is different.I defined one
> end of the stage as zero. I want to save the position , date and time
> of the stage with respect to zero.I want all these in one file, nd
> everytime I run it it should save to the same file, like this:
> 2/12/03 16:04 13567
> 2/13/03 10:15 35678
>
> So I will track the position from day to day.If naybody helps, I
> appreciate it.Thanks.
Hi,
I know the function "write to spreadsheet file.vi"
can append the data
to file. You can use the "concatenate strings" to display the date,
time as well as data... Hope this help.
Regards,
celery -
How to combine sales and delivery data
hi
i have requirement to make a report from sales as well as deliveries. Important fields in report are sales document , material , plant , sales document type , country key , sold to party , ordered quantity , delivered quantity , price from vakon ( KBETR ), actual goods issue date.
The required extractors are 2LIS_11_VASCL, 2LIS_11_V_SSL ,2LIS_11_VAKON.
Problem is how to combine sales and delivery data as V_SSL has different key figures.Multicube is not the solution as dont have plant , sold to party and many other fields in V_SSL.
Kindly suggest how to combine sales and deivery data.
Regards,
MonikaI guess you do have shipping point in delivery.
In most scenarios shipping point may not(or) may be same like order plant.
Although they are different you can still roll up the delivery information to order level by plant since you have order # available as reference key in delivery.
With this reference key you can convert all delivery information to order (item) level.
I guess you can use one merge ODS with one cube (or) with 2 ODS for each at order level for validation.
You may have to map delivery type to order type as per R3 configuration as well.
speak with any Logistics guys for help.
cheers
Martin -
How to do reconcilization of ODS data and CUBE data
Hi All,
How to do reconciliation of ODS data and CUBE data,I know how to do reconciliation of R/3 data and BW data.
Regards.
hariHi,
create a multicube based on your ODS and cube, identify commen characteristics and perform the key figure selections; create then a query showing both information from the cube and ODS with perhaps some formula showing differences between key figures.
hope this helps...
Olivier. -
How to call routine and pass data to routine in vofm
Hi Experts,
I need to update KBETR and KWERT values present in 'Conditions Tab' in Purchase Order (ME21N/ME22N).
I have created a new customer tab in which we enter amount field and percentage filed. When user enters some value in this and clicks on 'Conditions Tab', calculation has to be done and the calculated value has to be appeared across a specific condition type.as i am new to abap i dont know how to create routine and pass data to routine in vofm from customised tab in me21n .
Thank's in advanceHello Rajendra,
You can get plenty of forums in SCN related to it. Follow below steps to create VOFM routine.
Go to VOFM Transaction Code
1. On the Menu Select required Application i.e Pricing
2. Enter any Number in between 600 to 999 for Custom Developments.
3. On entering Pop Screen appears ask for Access Key(We have to remember that Every New Routine needs an Access Key)
4. Once the Access Key is received we can do modification.
5. Enter the Routine Number ,description and insert the Access Key
6. Now the ABAP Editor will open and required code can be copied from Standard SAP Routine and Custom Code Can be developed.
7. Once the coding is completed we have to Activate the Routine
8. Select the Routine and Go to Edit – Activate
9. Ensure that Active check box is ticked upon Activation of the Routine.
10. Double click on the routine will enter into ABAP Editor, we have to generate the Routine
11. Go to Program and select Generate
12.A screen pops up with the related Main Programs and select all required main programs wherever the Routine is being called.
13. Once the Routine is Generated and Activated, We need to configure the Routine in the config.
** Important SAP note: 156230.
Check the below document too.
http://www.scribd.com/doc/35056841/How-to-create-Requirement-Routines
Regards,
Thanga -
In Numbers, how do I lock in the date and time data when an IF/THEN formula is used with the "NOW" function?
=IF(I127,NOW()," ")
I127 equals a check box. The formula retuns a value of the current date and time when a check is placed in the box. How does one lock that date and time so that it cannot be changed?I don't think it is possible to lock in the date and time using a formula. You could put NOW() in a cell, copy, and Edit Paste Formula Results where you want the result.
Or if you are "time stamping" a lot, you may find this Automator Service (Dropbox download) helpful. It puts a "Today" function (actually it should be named "Now" because it includes both date and time) in your Services menu like this:
Just doubleclick the .workflow package to install it. You may have to click "download anyway" in System Preferences > Privacy & Security.
If you want you can assign the service a keyboard shortcut in System Preferences here:
SG -
How to get month last date and first date without FM's
Hi Guru's,
How can we get month's first date and last date based on the date given in selection screen without FM's?Is it possible ?
Like if i give 05-Oct-2008 in the selection screen, i should get the output as 01-Oct-2008 to 31-Oct-2008.Without FM's???
Regards
Rakesh.Hi Rakesh,
You can implement this logic as follows:
You can have two internal tables, one containing the days as numbered 31, 28, 31, and so on with the month number. This holds good if the year is a common year. Another internal table contains days as numbered 31, 29, 31 and so on with the month number. This year would be a leap year.
An year can be calculated depending on the conditions:
Say date is given as 20081008
Concatenate 20081001 + 0(4) into l_date.
Divide l_date by 4 and remainder should be equal to 0.
Divide l_date by 400 and remainder should also be equal to 0.
Then the dominical year will be a leap year.
Now, if l_date divided by 100 and the remainder is 0 then the year is a common year.
So depending on this populate the first date and last date from the respective internal table
Regards,
Sumalatha N. -
Most attachments from a specific address (work) can not be opened, identified as winmail.data and no data available. Not sure if this is based on the e-mail coming from a windows based system, too old of a windows based system or simply how i have it set on my Mac.
Brightbleu wrote:
Most attachments from a specific address (work) can not be opened, identified as winmail.data and no data available. Not sure if this is based on the e-mail coming from a windows based system, too old of a windows based system or simply how i have it set on my Mac.
Winmail.data are not usable files. They just preserve RTF within the message.
http://support.microsoft.com/kb/278061
Cheers
Pete -
How to create start date and end date
Hi guys
Need to create start date and end date as prompt in webi report.... how could it be possible please help me ...
regards@Universe:
Go to Condition/Filter:
Definition: Date=@Prompt("Select Start Date",D,,mono/multi,free/constrained,...)
OR @Select(Class\Object Date)=@Prompt("Select Start Date",D,,mono/multi,free/constrained,...)
Parse it & Apply OK.
Class/Object : If you have already object Date in any class already, use them.
Follow the same for End date also.
For both filters/prompts, check Apply on Universe
@Report/Query:
Drag [Date] object to Query filters section and in Operand say Prompt. Change text as Select Start Date & again drag [Date], this time say Select End Date.
Hope it helps you alot.
Gracias...!! -
How we will display the header data and item data seperately in lists
how we will display the header data and item data seperately in lists
REPORT z_alv_list_block.
TYPE-POOLS: slis. " ALV Global types
SELECTION-SCREEN :
SKIP,
BEGIN OF LINE,
COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
1st Table
BEGIN OF gt_kna1 OCCURS 0, " Data displayed
kunnr LIKE kna1-kunnr, " Customer number
ernam LIKE kna1-ernam, " Name of Person who Created
erdat LIKE kna1-erdat, " Creation date
name1 LIKE kna1-name1, " Name 1
END OF gt_kna1,
2nd Table
BEGIN OF gt_mara OCCURS 0,
ernam LIKE mara-ernam, " Name of Person who Created
matnr LIKE mara-matnr, " Material number
ersda LIKE mara-e rsda, " Creation date
brgew LIKE mara-brgew, " Gross weight
END OF gt_mara,
3rd Table
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " SD document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
Read data
SELECT * FROM kna1
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
SELECT * FROM mara
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_mara.
SELECT * FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'.
PERFORM list_append TABLES gt_kna1
USING '1'
'GT_KNA1'.
PERFORM list_append TABLES gt_mara
USING '2'
'GT_MARA'.
PERFORM list_append TABLES gt_vbak
USING '3'
'GT_VBAK'.
PERFORM f_list_display.
FORM USER_COMMAND *
FORM user_command USING i_ucomm LIKE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN 'GT_MARA'.
WHEN 'GT_KNA1'.
WHEN 'GT_VBAK'.
READ TABLE gt_vbak INDEX is_selfield-tabindex.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
----< /div>
Form list_append
FORM list_append TABLES ut_table
USING u_no TYPE char1
u_tabname TYPE slis_tabname.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA :
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv. " Sort table
DATA:
lt_events TYPE slis_t_event,
ls_event TYPE slis_alv_event,
ls_layout TYPE slis_layout_alv.
ls_layout-group_change_edit = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-zebra = 'X'.
ls_layout-detail_popup = 'X'.
ls_layout-get_selinfos = 'X'.
ls_layout-max_linesize = '200'.
CASE u_no.
WHEN '1'.
Build field catalog and sort table
m_fieldcat 'KUNNR' 'KNA1'.
m_fieldcat 'ERNAM' 'KNA1'.
m_fieldcat 'ERDAT' 'KNA1'.
m_fieldcat 'NAME1' 'KNA1'.
m_sort 'KUNNR'.
WHEN '2'.
m_fieldcat 'MATNR' 'MARA'.
m_fieldcat 'ERNAM' 'MARA'.
m_fieldcat 'ERSDA' 'MARA'.
m_fieldcat 'BRGEW' 'MARA'.
m_sort 'MATNR'.
WHEN '3'.
m_fieldcat 'VBELN' 'VBAK'.
m_fieldcat 'VKORG' 'VBAK'.
m_fieldcat 'KUNNR' 'VBAK'.
m_fieldcat 'NETWR' 'VBAK'.
m_fieldcat 'WAERK' 'VBAK'.
m_sort 'VBELN'.
ENDCASE.
IF u_no CA '13'.
MOVE 'TOP_OF_PAGE' TO ls_event-name.
CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ELSE.
MOVE 'TOP_OF_LIST' TO ls_event-name.
CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = lt_fieldcat
is_layout = ls_layout
i_tabname = u_tabname
it_events = lt_events
it_sort = lt_sort
i_text =
TABLES
t_outtab = ut_table
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " LIST_APPEND
Form f_list_display
FORM f_list_display.
DATA ls_print TYPE slis_print_alv.
ls_print-no_print_selinfos = 'X'. " Display no selection infos
ls_print-no_print_listinfos = 'X'. " Display no listinfos
ls_print-reserve_lines = 2. " Lines reserved for end of page
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
is_print = ls_print
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_LIST_DISPLAY
FORM top_of_page1 *
FORM top_of_page1. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page3 *
FORM top_of_page3. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page *
FORM top_of_page.
ULINE.
WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
ULINE.
ENDFORM.
FORM top_of_list2 *
FORM top_of_list2. "#EC CALLED
WRITE 'TOP OF LIST2'.
ENDFORM.
END OF PROGRAM Z_ALV_LIST_BLOCK ***********************
Maybe you are looking for
-
How do you print data from a form?
From the interactive report, there's a built in function to print to variious formats (e.g., PDF, CSV, etc). As long as the columns do not exceed the width of a page, it's okay. But what I want to do is when a user clicks on 'edit' from the interacti
-
HI, How to user multiple column in where clause Like Select * from tab where (col1 ,col2) ..... Regards Mani
-
Variable Parameters for customization
Hi All, As a SCM functional consultant- 1. What are the variable parameters(like DFF) for customization/apps extn in oracle apps for me? 2. I will have to prepare/use MD50 docs for apps extension. How can I update my skill on that? 3. I will have to
-
I am using windows-7 as the OS and firefox was working well in both the adminstrator aswell as the user accounts. Since this morning I am unable to load firefox from the user account; but it is loading when I login as administrator. Have tried reinst
-
Hi, I am new to this DB system. I am using oracle 8.1.7 version on solaris. As i was running out of space i deleted one of .dbf file( that i had created ) Now its not getting started giving error ORA-01157: cannot identify/lock data file 7 - see DBWR