Ocx displaying a form in labview
hi
in labview, is it possible to make an activeX ocx to display a form?
i have made an ocx-control that contains a form called frmMap. on the
frmMap there is a cmdButton.
first of all i want labview to display the form.
second i would like to return a value to labview upon pressing the
cmdButton.
i have tried the
Communication -> ActiveX -> Invoke Node
and
Communication -> ActiveX -> Invoke Property
however the only thing i have manage to display from the ocx are
messageboxes.
i appreciate any help i can get on this issue
thanks in advance
/konrad
Hi,
displaying a PDF in an iView I receive the following errormessage:
Access denied:.....
security zone:.....
The portalapp.xml is like
<property name="SecurityZone" value="epp/NO_SAFETY"/>
<property name="ResourceBundleName" value="epp_lang"/>
<property name="AuthRequirement" value="none"/>
Any ideas?
Thanks
Walter
Similar Messages
-
Error when displaying xellerate form
Hello,
I have the following error when displaying the form of any xellerate users :
ERROR,03 May 2011 10:40:56,273,[XELLERATE.APIS],Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-19'
All is working fine, just this error that is diplayed each time I want to display a user form. In my formMetadata.xml, I have the following definition for the field -19, it is the manager :
<Attribute name="-19" label="global.label.managerid" displayComponentType="LookupField" variantType="long" dataLength="50" map="Users.Manager Login">
<ValidValues lookupColumnNames="User ID,Last Name,First Name" lookupQuery="SELECT usr.usr_key,usr.usr_last_name,usr.usr_first_name,usr.usr_login FROM usr, ugp, usg WHERE ugp.ugp_name = 'PROF_MANAGER' AND ugp.ugp_key = usg.ugp_key AND usr.usr_key = usg.usr_key AND usr.usr_status = 'Active' AND usr.usr_emp_type = 'Employee'" displayColumns="Users.User ID,Users.Last Name,Users.First Name" selectionColumn="Users.User ID"/>
</Attribute>
What is the problem with my attribute definition ?
Thanks for your help,
Kind regards,
mdadiknHello,
I'm new to OIM. I am a new hire to a group that had a contractor setup the whole system. I'm finding a similar issue on our system here. I've looked through the database and cannot seem to find the issue. Error happens when from the webapp clicking on "Create IT Resource".
From the Error Log:
Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-82'
Line with issue from FormMetaData.xml:
<Attribute name="-82" label="global.label.itresourcetype" displayComponentType="LookupField" variantType="String" dataLength="255" map="IT Resources Type Definition.Server Type" useInRule="true">
<ValidValues lookupQuery="select svd_svr_type from svd" selectionColumn="svd_svr_type"/>
</Attribute>
Please let me know any additional information/questions. From what I can tell everything should be correct. Sorry again if the answer is obvious, I'm only 3 days into OIM.
Thank you,
Ryan -
Display Request Form is not triggering in Standard SAP WDA : FITE_REQUEST
Hi Guru's,
In our Travel Scenario in NWBC, Once the employee finish the Travel Request he is unable to take print out by clicking on Display Request Form. Nothing is happening when we click on "Display Request Form".
The Form I am using is FITP_REQUEST_FORM. It is displaying perfectly when I execute via SFP. The problem I am facing is nothing is happening when I click on "Display Request Button" in WDA
Application:
FITE_REQUEST
Application Component:
FI-TV
Component:
FITE_VC_REVIEW
Window:
VC_WINDOW
View:
REVIEW_VIEW
Application Component:
FI-TV
Give me some lights to solve this issue
Thanks,
Namsheed.Hi Samuli,
Issue is solved. It was Program Error from SAP side.
Now All the buttons are working fine and I am able to print PDF also.
Solution is implement the note 2031585 - SAP NWBC ABAP Runtime Patch 40.
System Details : ECC 6.0 NetWeiver 7.4 ,
EHP 7 , SP-Level 06
Thanks a lot for all your suggestions.
Regards,
Namsheed. -
How to display the form of time statement, which was created in trans. PE50
Hi to all!
I have created the salary statement with the PE50 and I want the form to be displayed in the ESS.
How to display this form?
Thank.Dear Siddharth,
I am getting this error for Time Statement here also we have used PE50 to create time statement for r/3 purpose, Which would be feasible one to work with for getting the display of Time Statement.
Form TH_TIME_ST does not exist
com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Form TH_TIME_ST does not exist
at java.lang.Throwable.<init>(Throwable.java:194)
at java.lang.Error.<init>(Error.java:49)
at com.sap.pcuigp.xssfpm.java.FPMRuntimeException.<init>(FPMRuntimeException.java:34)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:525)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:357)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:292)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:256)
at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:198)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:258)
at com.sap.xss.hr.tim.per.selection.VcTimPerSelection.onInit(VcTimPerSelection.java:238)
at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelection.onInit(InternalVcTimPerSelection.java:246)
at com.sap.xss.hr.tim.per.selection.VcTimPerSelectionInterface.onInit(VcTimPerSelectionInterface.java:162)
at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface.onInit(InternalVcTimPerSelectionInterface.java:144)
at com.sap.xss.hr.tim.per.selection.wdp.InternalVcTimPerSelectionInterface$External.onInit(InternalVcTimPerSelectionInterface.java:220)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:467)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:359)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:755)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:722)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:70)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:818)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1265)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:750)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:715)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:113)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:107)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:278)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:623)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:215)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:113)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:60)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:335)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:101)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Appreciate your help on this.
Regs,
Raj -
Display SMART form as PDF in WD ABAP
Hi ,
To display smart form as PDF , I am following the SDN article :
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785?quicklink=index&overridelayout=true
In my component , I have created the view VIEW_PDF, for this . I have created Adobe interactive UI element, and bind the property source to the attribute (XSTRING) where I will get PDF (after OTF conversion).
First of all I am using the FM SSF_FUNCTION_MODULE_NAME and usingf the import parameter fm_name .
Then using this FM
CALL FUNCTION lv_fm_name
EXPORTING
OUTPUT_OPTIONS = lwa_output_options
GW_VENREQDAT = lwa_venreqdat
GW_REQHEADER = lwa_venreqhdr
IMPORTING
JOB_OUTPUT_INFO = lv_ssf_output.
from smart form ZVM_SFM_SUMMARY,I want to get the data in OTF format using the importing parameter JOB_OUTPUT_INFO of the above FM.
But I am not able to retrieve the data .Please direct me , where am I missing?
For converting it to PDF , I am using the FM CONVERT_OTF .
regards,
amitYou may continue like this there after...
call function w_fmodule
exporting
control_parameters = w_cparam
output_options = w_outoptions ":lv_output_options
user_settings = ' '
importing
job_output_info = t_otf_from_fm
exceptions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
t_otf[] = t_otf_from_fm-otfdata[].
call function 'SSFCOMP_PDF_PREVIEW'
exporting
i_otf = t_otf
exceptions
convert_otf_to_pdf_error = 1
cntl_error = 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.
data: l_dummy type standard table of tline,
pdf_data type xstring,
pdf_size type i.
clear: pdf_data, pdf_size.
call function 'CONVERT_OTF'
exporting
format = 'PDF'
* max_linewidth = 132
importing
bin_filesize = pdf_size
bin_file = pdf_data
tables
otf = t_otf[]
lines = l_dummy
exceptions
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
others = 5.
if sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
data lv_source like ls_pdf-source.
* navigate from <CONTEXT> to <PDF> via lead selection
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
* get element via lead selection
lo_el_pdf = lo_nd_pdf->get_element( ).
* get single attribute
lo_el_pdf->set_attribute(
exporting
name = `SOURCE`
value = pdf_data ).
Regards
Gopi -
Error in Displaying Expense Form
Hi ,
I am working on the SAP T&E Module.I am getting an error when i click on the display expense form button.
The details of the error are as:
Следующий текст ошибки обработан P92 в системе: *Unable to interpret 0 as a number. Ошибка возникла на сервере приложения pep168_P92_10 и в рабочем процессе 5 .
Вид прерывания: RABAX_STATE
Вызов иерархии ABAP:
Function: Z_3AF_GETREPEXPDETAILS of program SAPLZ_3AF_GETREPEXPDETAILS
Form: %GLOBAL_INIT of program /1BCDWB/SAPLSM00000004
Function: /1BCDWB/SM00000004 of program /1BCDWB/SAPLSM00000004
Form: GET_TRIP_FORM of program SAPLPTRM_WEB_FORMS
Function: PTRM_WEB_FORM_PDF_GET of program SAPLPTRM_WEB_FORMS
Function: PTRM_WEB_FORM_GET of program SAPLPTRM_WEB_FORMS
Method: DISPLAY_FORM of program CL_FITV_POWL_UTIL=============CP
Method: DISPLAY_FORM of program /1BCWDY/FTOFAGMKXVYB15ZI8Z1K==CP
Method: IWCI_FITV_UI_DISPLAY_FORMS~DISPLAY_FORM of prog
Kindly provide pointers for the same.Hi Sanjeev,
Unable to interpret 0 as a number means type of attribute and displayed value is not matching. i.e., not of same type.
Check this once.
Cheers,
Kris. -
Cannot display pdf form with Adobe Reader 9.1.3
Since the last update of my Reader (last version is 9.1.3), I can't display pdf form in the workspace. I got a blank page.
Is anybody have the same problem?- Go to the registry HKEY_CLASSES_ROOT > Software > Adobe >Acrobat> delete any older version that is older than the one you just updated to make sure it contains only the current one you have for both Acrobat Reader and/or Pro version since it did not removed when you uninstall or update.
- Also go the installed directory where you installed the Acrobat and delete any folder that contains older version, same here with the registry, it did not remove when you uninstall/update acrobat reader or pro.
The above steps also solve the problem of can not open pdf file within Internet Explorer or browser as well.
Han -
Is it possible to display Oracle form as a region in OAF Page?
Hi
Is it possible to display Oracle form as a region in OAF page something like a master detail relationship such that Master information is displayed in OAF UI but detail information below is displayed in Oracle forms?Is there a tag that lets one do that specific for Form.
One way could be do to embed applet in OAF page which would call and display oracle form but not sure if using javascript/applet in OAF would violate OAF coding standards or create some session management issues.
Regards
PreetiThanks for your reply.I have seen an implementation that uses Adf and able to display form on same page as in inlinefraame in .jspx page using inlineFrame tag
<af:inlineFrame inlineStyle="height:700px; width:1380px;"
id="inlineFrm1"
source="#{gofDrillback01.targetURL}"/>
But I guess OAF doesnt have a similar tag to support forms.Thoughts?
Regards
Preeti -
How do I get to open a access's form with LabView?
I know as to send data to access´s table. Now,I would like to open a access´s form with LabView using activeX or other tools.
I would like to receive, if possible, a v.i. as example.
Thank you ...This is a resource which should help you:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f763aa1d7cd3c83d862568e8007c51cd?OpenDocument -
How to display the Form output in multiple languages ? ------ Urgent
How to display the Form output in multiple languages ? -
UrgentHi,
Do u mean the Form output in 2-3 languages ...like form output will be having english russian etc...
for the above case , what u have to do ...
first have to get the transalations for all the fields
say for example : if the english word is PO Number , then u have to get the transalation text for PO Number :
after this , what u have to is ,,, Log on to SAP with russian language , then in the form o/p u have to paste that russian test ( translation text ) ...
do like this for all the components in the form .
Reward Points if it is Useful.
Thanks,
Manjunath MS -
Display W2 form in PDF format in ESS
I am trying to develop a WebDynpro ABAP application to display W2 Form in the Portal 7.0 ESS. I have designed a view with an Adobe Form element to hold the W2 form, and looking for any ideas about getting W2 form in PDF format from the ECC 6.0 system by providing parameters like EE number, Tax Company, and year.
I know that the tcode PU19 can be used for getting W2 in PDF format, but it involves too many steps to generate and view the W2 in PDF format. I am not sure what kind of coding (e.g. classes, methods, logic to retrieve W2) will I need to do in the Web Dynpro application to retrieve W2 in PDF format from the ECC system.
I will appreciate and reward any useful answers or pointers.
Thanks,
SaurabhSaurabh,
Have you found a way to produce the W2s without using tcode PU19. I am looking at doing W2s in ESS for our company and am interested in anything you have done on this.
Thanks,
Robert -
Hi All.
I am implementing ESS/MSS for Travel expense. I want to use iView and Page "Display Trip Form". This iview and page is in Portal contend directory :Portal COntent -> Content provided by SAP -> End user content -> ESS -> Pages -> Travel and Expense .
When I take a pre view of this page I get bellow error message:
"At least one optional parameter must be specified when method is called"
Do you know why this message is comming and how can we fix it. Is there some config missing or do I need to set some property of iview/ page?
Regards,
Amit.Hi,
Display Form aplication needs trip number & employee number as parameters. if you click on preview in PCD then you are not passing any parameters in application. once you associate this ivew with travel & Expense like in UWL or with some event then you can see proper output.
Regards,
Amit -
Display the form Without explorer
I am using forms builder 10g .
I want to display the form Without explorer.
Is it possible ???
thanks.Start your application using Java Web Start.
[Java Web Start|http://www.bloggingaboutjava.org/2007/04/running-oracle-webforms-like-a-client-server-application/]
It's not supported by Oracle, but it works well and looks good. -
Displaying a form in an iView & displaying data in .pdf format in an iView
Hi,
1)We want to show some details in an iView pertaining to the person who has logged into the portal. We are calling a function module (when a user clicks on a workset in the portal) and passing some parameters to it. The function module pulls the data from the tables and generates a sap script which displays the data in a SAP Script Form.
Now our problem is how do we display the form in the iView?
2) We want to show some details in an iView pertaining to the person who has logged into the portal. We are calling a function module (when a user clicks on a workset in the portal) and passing some parameters to it. The function module pulls the data from the tables and converts the data into a pdf file.
How do we display the data in the .pdf format in the iView.Hi,
displaying a PDF in an iView I receive the following errormessage:
Access denied:.....
security zone:.....
The portalapp.xml is like
<property name="SecurityZone" value="epp/NO_SAFETY"/>
<property name="ResourceBundleName" value="epp_lang"/>
<property name="AuthRequirement" value="none"/>
Any ideas?
Thanks
Walter -
Display a form as a portlet in a page
Is it possible to display a form as a portlet in a page and pass it parameters?
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ben Segers ([email protected]):
Is it possible to display a form as a portlet in a page and pass it parameters?<HR></BLOCKQUOTE>
It's very much possible to publish the Form as a Portlet. Do the following things:
1) Select the Application in which your Form is residing.
2)In front of your Form name,in the Actions cloumn, Click the link named "Grant Access".
3) In the page that is presented to you you will see a title "Portal Access" below which there is a Check Box named "Publish to Portal".
Check this Box and Click "Apply" and then "Close"
This will create a Portlet of that Form which you can use in your Page
Also I am struggling about passing the parameters from one Form to another. I have posted this in the Forum but the things that they advise to try from the FAQ have not yet worked properly for me as yet. Also if you come across any solution pl. let me know
Maybe you are looking for
-
Bluetooth not available running 10.6.8
Mac mini/10.6.8/1.66 GHz/2GB/667 MHz/DDR2 SDRAM/CoreDuo-Intel I have tried EVERYTHING except removing the case to check the bluetooth wire/chip. PLEASE tell me there is a fix out there for BLUETOOTH NOT AVAILABLE, please! I am tired of re-reading t
-
Displaying Word Doc in PDF report
Hi,,, Our web application( using OC4J ) use oracle reports for printing and generate pdf . The problem we're having now is we have to use formating such us indent, bullets, tabs etc. We tried saving it in html format but could not find a away to read
-
How to animate tank treads in 2D picture?
hi I have a .psd picture of a tank and try to animate it in AE by rotating its wheels and tread (or track?). The only solution i have come up with is to slightly change tread layer's x and y positions in every frame, making it to vibrate. However it
-
How do I get the finder windows to display the drive details that were at the bottom?
-
How do I get an old version of aperture?
Quite recently I had to reboot my computer wich runs on OS 10.6.8 and I had Aperture, I believe that it was 3.2 something, the problem now is that I do not want the new os, I think that the lion and mountain lion are rubbish but! And it is a massive