Ferrousduke Posted June 4, 2011 Report Share Posted June 4, 2011 Dear All, I have been trying to establish a communication mode between SAP ERP and LabVIEW. Moreover, I am completely new to SAP. The objective of the task is to fetch some Business related data such as Process order details, sales order quantity etc etc.. This data is lying in BOR (Business Object Repository) which is accessible via R/3 server. Some of the BAPI Function calls are designed by SAP that let a third party software talk to the database. I have gone through the documentation related to the BAPI ActiveX Control, which describes the procedure to call any of the BAPI function for which one can find a screenshot of a VI. The problem is that I am able to logon to a SAP server but when it comes to opening up an instance, I am getting error (Marked RED). Any support for this would really be appreciable.. With Regards, Dharmesh Bhanushali. Quote Link to comment
Ton Plomp Posted June 6, 2011 Report Share Posted June 6, 2011 I am not familiar with SAP, but what kind of error do you receive? Ton Quote Link to comment
Ferrousduke Posted June 7, 2011 Author Report Share Posted June 7, 2011 I am not familiar with SAP, but what kind of error do you receive? Ton Error -2147352567 occurred at Property Node (arg 2) in SAP_GetProcessOrderDetails.vi This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input. Quote Link to comment
Anders Björk Posted June 7, 2011 Report Share Posted June 7, 2011 Error -2147352567 occurred at Property Node (arg 2) in SAP_GetProcessOrderDetails.vi This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input. Have you tested to make any examples first? Examples where they use C# or VB. I supect that BAC-reference should come from some already used component, before your where your error is seen. Quote Link to comment
gb119 Posted June 7, 2011 Report Share Posted June 7, 2011 Error -2147352567 occurred at Property Node (arg 2) in SAP_GetProcessOrderDetails.vi This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input. Hmmm, does it count the arguments from 0 or 1 ? If the former, then the problem would be the hWnd=0 which I think I would interpret as creating a client window on the desktop - perhaps it doesn't like doing that ? I'm afraid I rather suspect the intersection of the sets of SAP users and LabVIEW coders is probably a small number approximating unity Quote Link to comment
Ferrousduke Posted June 9, 2011 Author Report Share Posted June 9, 2011 Have you tested to make any examples first? Examples where they use C# or VB. I supect that BAC-reference should come from some already used component, before your where your error is seen. No, I am trying BAPI Controls for the first time without VB.. Posting the screens of a SAPGui that is installed and running on my pc. Front Screen LogON Screen Adding Transaction ID.. se37 After which a function module that is interested to me.. In this case, I am trying to access process order. A process order number is given to the module to get required details. To retrieve all the entries.. Time to execute the module.. Table retrieved.. Details Any kind of help will be appreciated.. With Regards, Dharmesh. Quote Link to comment
Stagg54 Posted June 28, 2011 Report Share Posted June 28, 2011 Hmmm, does it count the arguments from 0 or 1 ? If the former, then the problem would be the hWnd=0 which I think I would interpret as creating a client window on the desktop - perhaps it doesn't like doing that ? I'm afraid I rather suspect the intersection of the sets of SAP users and LabVIEW coders is probably a small number approximating unity SAP => Run for the hills! Quote Link to comment
S59X Posted September 26, 2011 Report Share Posted September 26, 2011 Dharmesh, have you made any progress on LabVIEW SAP integration. Do you have a working example? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.