How to pull data from a c/c++ Application
I am working on a project to instrument a product which runs on java as well as c/c++.
Is there a way to pull data from a c/c++ application to a MBean?
I am able to push the data through a custom TCP Adapter, But I could not get much help on a pull model.
Also I would like to get some pointers on instrumentation techniques / patterns.
Regards
Chandramohan
I'm not aware of any JMX out-of-the-box support for managing C++ applications with JMX or MBeans, but you can find some ideas on how this might be done in [this thread|http://forum.java.sun.com/thread.jspa?threadID=5240363] from [this very forum|http://forum.java.sun.com/forum.jspa?forumID=537&start=0].
Similar Messages
-
How to pull data from oracle GL to planning
Hi all
Can one suggest me how to pull data from oracle GL in to hyperion planning(we are using hyperion planning 9.3 with limited licence for analytic services). i guess we can use HAL ..any thing else
any help is appreciable
regards
M.VHi
I appreciate for your response. Yep you are exactly right it is data only, but I do have a problem these people have their licence of limited version of Essbase.
Let me give you the information of their licence agreement.
The licence for the hyperion planning- sytem9 programs includes a limited use license for both the hyperion Essbase- system 9 and hyperion Financial reporting - system 9 programs. Such limited use license means that the hyperion Essbase- system 9 and Hyperion financial reporting -system 9 programs may only be used to access data from the Hyperion planning -system 9 program.
Specifically, the hyperion essbase- system 9 program cannot be used to create Essbase cubes that do not contain data used by the Hyperion planning- system 9 program and the Aggregate storage option component of the Hyperion Essbase - system 9 program may not be used.
1) what it(licence agreement) really means - can you install Essbase, if not how can you create dimensions dynamically using planning.
2) Is it possible without Essbase as far as I know its not possible
3) are we going to face any issues with this licence.
4) Is it possibe to pull data with planning
I appreciate if any one resolve this issue
regards
M.V -
How to Pull data from sap r/3 tables to oracle tables
how to fetch data from sap r/3 tables & data pulled to oracle table .
GIVE THE APPROPRITE ANSWER FOR THIS.
THANKS IN ADVANCE.
If it is useful for me , i am giving point.
regards ,
Navita
Edited by: NAVITA YADAV on Mar 7, 2008 2:07 PM
Edited by: NAVITA YADAV on Mar 7, 2008 2:08 PMYou need to perform some native SQL to fetch data. Before doing this connection must be exists b/w your R/3 and Oracle server.
Basis team will help you to have connection.
Check the connection name in the table DBCON.
Check the below code to handle native SQL.
SELECT SINGLE DBMS
FROM DBCON
INTO DBTYPE
WHERE CON_NAME = DBS.
IF DBTYPE = 'ORA'.
TRY.
EXEC SQL.
CONNECT TO :dbs
ENDEXEC.
ERROR Handling for Native SQL *************
IF SY-SUBRC <> 0.
MESSAGE `Docusphere connection failed.` TYPE 'I'.
EXIT.
ENDIF.
EXEC SQL PERFORMING loop_output.
OPEN C1 FOR
SELECT UK1, UK7, uk6, uk9, uk22, uk23, uk25 "field names of Oracle table
FROM IIS_DOCS_AP10D
WHERE ( UK2 = 'ZFIINVOICE' OR UK2 = 'ZFIPAYREQ' ) AND
UK19 = 'E' AND
UK20 IS NULL
ENDEXEC.
DO.
CLEAR W_OUTPUT.
EXEC SQL.
FETCH NEXT C1 into :wa1-arc_doc_id, :wa1-bukrs, :wa1-belnr, :wa1-gjahr, :wa1-wi_id, :wa1-ARCH_METHOD, :wa1-barcd.
ENDEXEC.
enddo.
Reward points if helpful................. -
How to pull data from sql server ( Seperate server) & upload it into sap
Hi All,
I have a SQL Server database in System1,
data base name DB1
Table name TB1
I want pull data from TB1 & upload the same into ztable in SAP.
How I can I achive this in ABAP.
Thanks in Advance
Appropriate points will be rewarded.
Arun kumarHi Arun,
You have to do the following:
1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
Regards,
Raj
For eg:
TABLE DBCON Entry can be like this...depends on your External database..
CON_NAME Raj Logical name for connection
DBMS MSS Microsoft SQL Server
USER_NAME <User name> For SQL Serve
PASSWORD <password> " "
CON_ENV MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
DB_RECO Availability type for an open database connect
FUNCTION z_houston_connect.
""Local interface:
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
l.loc_id,
l.loc_name,
a.acc_id,
a.acc_name,
d.person
from ho_loc_mast as l
inner join snd_acc_mast as a on l.loc_id = a.loc_id
inner join snd_acc_addr as d on a.loc_id = d.loc_id and
a.acc_id = d.acc_id
where l.loc_id = '001'
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
ENDEXEC.
IF sy-subrc = 0.
PERFORM loop_output.
ELSE.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE C1
ENDEXEC.
ENDFUNCTION. -
How to pull data from EJB and present them using Swing ?
Hi all,
I've written stateful session bean which connect to Oracle database, and now I must write stand alone client application using Swing.
The client app must present the data and then let users add,delete and edit data and it must be flexible enough to iterate through the records.
The swing components can be JTextField,JTable etc.
How to pull the data from EJB and present them to users with the most efficient network trip ?
Thanks in advance
SetyaThanks,
Since the whole app originally was client-server app and I want to make it more scalable, so I decide to separate business logic in the EJB but I also want to keep the performance and the userfriendliness of the original user interface, and I want to continue using Swing as the original user interface does.
I've read about using Rowset and I need some opinions about this from you guys who already have some experience with it.
Any suggestions would be greatly appreciated.
Thanks
Setya -
How to pull Data from SQL server in FDM
Hi Experts
How to pull the HFM data from One SQL server to Another SQL Server using integration scripts in FDQM?
regards
DevCould you clarify why you want to do this?
If you are trying to synchronize two databases (apps) to have a backup or something running in a development environment, I would suggest configuring replication between the two databases. It would be much more efficient to do this at the SQL Server level than through the FDM application, IMHO.
Charles -
Newbie: how to pull data from different data bases to a central location
Hello,
I have no experience at all in Oracle; just in MySQL, PostgreSQL, Firebird for simple applications. I have this project where my Client wants to extract data from related 5 tables, from 12 databases in different locations. Table structure in all 12 locations are the same, and I need to consolidate information for reporting purposes. I was planning in developing a Delphi application for this purpose, yet maybe with pure Oracle SQL or Oracle tools can I automate this?
Thank youPlease clarify your term "database".Instance of an Oracle database, one in each of the 12 locations.
Are the computers in all these locations available via Internet?My client can see all 12 databases from an Oracle database manager; I still have to investigate if its through Internet or private WAN.
What RDBMS are all these data sources?I have yet to verify the precise Oracle version, yet I know its an old one: 7 or 9. Will confirm it.
What flavor of RDBMS is the target data repository?Same as previous question
Is this a 1 shot data load or an ongoing requirement to consolidate "new" data into repository?The require to pull data automatically, maybe a batch process done by night. -
How to pull data from Active Directory in ABAP (non-CUA approach)?
All,
We have a requirement to pull information from AD into a WAS 6.20 system.
I know there is the standard CUA/UME LDAP synchronization discussed at length in this forum but this in not what we are looking for. We would like to connect from an ABAP program (BAPI/RFC) to AD and pull a specific field and store it in a custom table.
I found one thread that describes how to do this with WebDynpro in Java, but this would be our last resort since we wouldn't be able to do that from the actual 6.20 WAS but would have to use another 2004s system which would extend the architecture of the current design.
Any thoughts?
Thanks
GSHi,
1. First configure the LDAP properties in transaction LDAP
2.You can use the functions LDAP_SYSTEMBIND and LDAP_SEARCH to retrieve the info you want
you can read <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/906061c5-176b-2910-5091-e23baa4e7038">this document</a> for more help -
How to Pull Data From CRT table PCL2 Cluster
Hi,
I want to show a Report, below is the Fields in the Report
<b>Descripton</b>----
<b>Table Name</b>
Total Current Month Salary----
CRT table PCL2 cluster
monthly member contribution-----CRT table PCL2 cluster
Net difference in Pay----
CRT table PCL2 cluster
How to get the Data from the CRT table PCL2 cluster in BW
is there any procedure to get the payroll data in BW?
I think CRT table is a internal Table.
any good idea's will be appricated...
Thanks
PriyaHi,
check whether is it populating when u call
Function Module - PYX X_READ_PAYROLL_RESULT .
If not Use this Marcro.
RP-IMP-C2-IN.
Call this macro and check EPF[ ].This marco will populate both RT and EPF.
Check transaction - PC00_M40_ EPF
Cheers,
Manoj. -
How to pull data from SAP for OWB
I am new to OWB but old to SAP. My experiance is that you can not go straight to the database in SAP to pull data. How does the OWB SAP connector work?
I think i need to write a RFC module to pull the data - but my PM is telling me that Oracle WB can do it all for me. Can you tell me how or point me to where i read about the details of how this is suppose to work.
Please and Thank you.
very lost in FloridaI'm assuming you're using OWB 10g release 2. You can find the documentation related to the SAP connector here:
http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28223/ref_import_thirdparty.htm#i1094516
This should give you a start.
Antonio Romero
Senior Product Manager, Oracle Warehouse Builder -
How to send data from a web dypro application using workflow
Hi All,
I am working on a web dynpro application where the user will enter the header and item details for a FI document to be posted. Once the user enters the data the workflow should initiate and should also send the data across to the approver to approve. To initiate the workflow I am using the function module 'SAP_WAPI_START_WORKFLOW' and it's working fine and generating a uniquw workflow item id. Now my main concern is how to send the data across from web dynpro application through the workflow. I have my data in three internal tables: 1. header table. 2. G/L table and 3. Currency table, I am capturing all this data from the web dypro screen entered by the user. Right now I have the following code in my web dypro application.
METHOD execute_bapi_acc_document_post .
DATA: return TYPE TABLE OF bapiret2.
DATA: wa_return LIKE LINE OF return.
DATA lo_bapi_acc_document_po TYPE REF TO if_wd_context_node.
DATA lo_changing TYPE REF TO if_wd_context_node.
DATA lo_accountgl TYPE REF TO if_wd_context_node.
DATA lo_currencyamount TYPE REF TO if_wd_context_node.
DATA lo_importing TYPE REF TO if_wd_context_node.
DATA lo_documentheader TYPE REF TO if_wd_context_node.
DATA lo_element TYPE REF TO if_wd_context_element.
DATA lt_elements TYPE wdr_context_element_set.
DATA ls_c_documentheader TYPE if_componentcontroller=>element_documentheader.
DATA lt_c_accountgl TYPE if_componentcontroller=>elements_accountgl.
DATA ls_c_accountgl LIKE LINE OF lt_c_accountgl.
DATA lt_c_accountgl_cp TYPE if_componentcontroller=>elements_accountgl.
DATA lt_c_currencyamount TYPE if_componentcontroller=>elements_currencyamount.
DATA ls_c_currencyamount LIKE LINE OF lt_c_currencyamount.
DATA lt_c_currencyamount_cp TYPE if_componentcontroller=>elements_currencyamount.
DATA wa_c_currencyamount type bapiaccr09.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
EXPORTING
TASK = 'TSXXXXXXXXXX'
USER = sy-uname
IMPORTING
RETURN_CODE = L_RETURN_CODE
WORKITEM_ID = LV_WIID
TABLES
* INPUT_CONTAINER = lt_input_container
MESSAGE_LINES = lt_message_lines
AGENTS = ls_agents
lo_bapi_acc_document_po = wd_context->get_child_node( wd_this->wdctx_bapi_acc_document_po ).
lo_changing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_changing ).
lo_accountgl = lo_changing->get_child_node( wd_this->wdctx_accountgl ).
lo_currencyamount = lo_changing->get_child_node( wd_this->wdctx_currencyamount ).
lo_importing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_importing ).
lo_documentheader = lo_importing->get_child_node( wd_this->wdctx_documentheader ).
lo_element = lo_documentheader->get_element( ).
lo_element->get_static_attributes(
IMPORTING static_attributes = ls_c_documentheader ).
lt_elements = lo_accountgl->get_elements( ).
LOOP AT lt_elements[] INTO lo_element.
lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_accountgl ).
INSERT ls_c_accountgl INTO TABLE lt_c_accountgl[].
ENDLOOP.
lt_c_accountgl_cp = lt_c_accountgl[].
lt_elements = lo_currencyamount->get_elements( ).
LOOP AT lt_elements[] INTO lo_element.
lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_currencyamount ).
INSERT ls_c_currencyamount INTO TABLE lt_c_currencyamount[].
ENDLOOP.
lt_c_currencyamount_cp = lt_c_currencyamount[].
READ TABLE lt_c_currencyamount INTO ls_c_currencyamount INDEX 2.
ls_c_currencyamount-amt_doccur = ls_c_currencyamount-amt_doccur * '-1.0000'.
MODIFY lt_c_currencyamount FROM ls_c_currencyamount INDEX 2.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = ls_c_documentheader
TABLES
accountgl = lt_c_accountgl
currencyamount = lt_c_currencyamount
return = return.
ENDMETHOD.
Please suggest.
Thanks,
Rajat
I am not sure if this falls in webdynpro or workflow threads.. so I am posting it here also
Edited by: rajatg on Jun 23, 2010 9:28 PMDear Colleague,
You have different method to send parameters to Workflow.
1. Method
Container Set Element
DEFINE SWC_SET_ELEMENT.
CALL FUNCTION 'SWC_ELEMENT_SET'
EXPORTING
ELEMENT = &2
FIELD = &3
TABLES
CONTAINER = &1
EXCEPTIONS
OTHERS = 1.
END-OF-DEFINITION.
Set the data into Workflow container
SWC_SET_ELEMENT IT_CONTAINER 'parameter1' lv_parameter1.
Start the Workflow
CALL FUNCTION 'EWW_WORKFLOW_START'
EXPORTING
X_TASK = 'WS90000001' " your wf
IMPORTING
Y_WORKFLOW_ID = WF_ID " your workitem id
TABLES
X_CONTAINER = IT_CONTAINER
EXCEPTIONS
INVALID_TASK = 1
NO_ACTIVE_PLVAR = 2
START_FAILED = 3
GENERAL_ERROR = 4
OTHERS = 5.
2. Method,
You can also add your parameters direly to a container,
DATA: lt_simple_container TYPE TABLE OF swr_cont,
ls_simple_container TYPE swr_cont.
ls_simple_container-element = 'parameter1'.
ls_simple_container-value = lv_parameter1.
APPEND ls_simple_container TO lt_simple_container.
CALL FUNCTION 'SAP_WAPI_WRITE_CONTAINER'
EXPORTING
workitem_id = WF_ID " your workitem id
do_commit = 'X'
TABLES
simple_container = lt_simple_container.
Bulent. -
How to input data from labview to executable application and export the results back to labview
I have a simple function written in m file under Matlab enviornment,
function [c]=myadd2(a,b)
c=a+b;
I built it into a executable file (.exe), then I want to call it in labview and get the results.
I followed this tutorial and some other information on line:
http://digital.ni.com/public.nsf/allkb/5CF9526FF069EA8E862564C400579DBA
But I didn't see any telling me how to get the Labview array data input to the EXE file and return the results data back to another indicator in labview.
Any one have some idea?
I appreciate the help very much.
ArnoldYou probably need to include some command line arguments on your executable that would be the name of a file to get the data from. You could also include a command line argument telling that exe where to store the results.
I am not familiar with Matllab to give you advice on how specifically to do that with your exe though.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
How to pull data from a constructor?
Hi there, I have set up this simplified program to try and understand how to find the data of an array of an object in the main method.
I want to run a System.out.println(newPspArray[0]) from the main method but it says cannot find the variable.... I want to run this println to check if the array actually has data in it and that the object has been made
public class Demo {
public static void main(String args[]) {
public class Psp {
public String genre;
public String coolness;
public int rating;
public Psp() {
genre = "";
coolness = "";
rating = 0;
public Psp(String genre, String coolness, int rating) {
this.genre = genre;
this.coolness = coolness;
this.rating = rating;
Psp[] newPspArray = new Psp[50];
newPspArray[0] = new Psp("cool", "totallycool", 5);
public String getGenre() {
return genre;
public String getCoolness() {
return coolness;
public int getRating() {
return rating;
}public class Demo {
public static void main(String args[]) {
Psp[] array = new Psp[50];
array[0] = new Psp("cool", "totallycool", 5);
System.out.println(array[0]);
public class Psp {
private String genre;
private String coolness;
private int rating;
public Psp() {
genre = "";
coolness = "";
rating = 0;
public Psp(String genre, String coolness, int rating) {
this.genre = genre;
this.coolness = coolness;
this.rating = rating;
public String getGenre() {
return genre;
public String getCoolness() {
return coolness;
public int getRating() {
return rating;
public String toString() {
return "genre=" + getGenre() + " coolness=" + getCoolness() + " rating=" + getRating();
}1. Put classes in separate files Demo.java and Psp.java. You had
accidentally nested Psp inside Demo.
2. Put some code in your main. I think the code meant for there had
been accidentally placed in the constructor.
3. To turn an object into s String, which is your intention when you pass
it to System.out.println, override toString. -
How to pull data from a website..
Hi all,
My scenario is to
1>Pull a bank statement from its website and store the corresponding data in r3.
the point is,there is no particular file name or location..
we should be able to get the bank statement within a specified period(given by user)..
My interface will accept username password, from and to date for the bank statement.
with this is it possible to pull the data out form the bank...
Can we crack this..!!Hi,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
inside a java proxy you just need to write a java code that will fetch
the WWW page and return it to XI and you can have anything from the web
inside XI
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Help! How to pull data from a database into form
I have information store in a database and I need to import(place) it onto a form. The form already has a connection to the database, I just don't know how to update the information on the form with the information that is stored in the database. Can anyone help?
Yes there is ....now you need to do a query agianst the DB looking for that specific record. I did a webinar on this topic some time ago but i believe the link is still active. Have a go at this:
http://adobechats.adobe.acrobat.com/p69655795/
Paul
Maybe you are looking for
-
Creating a "bunched" report (intercompany)
Hi Gurus, I have a tricky report requirement that can be achieved using multiple reports but that is not ideal and will make it difficult to maintain. The report is an intercompany report with Entity, Interco member and Account in the rows. The repo
-
File content conversion in receiver
Hi, My receiver Message type structure is Heading1 subheading 1 FieldValue1 FieldValue 2 Fieldvalue3 I want to create file content conversion in receiver side. plz help me to create what could be my recordset structure, name, value. my
-
Resolving EDI trading agreement
Hi, Using BizTalk 2013, I am generating a custom 997 from my orchestration and sending out by resolution via role link MyRoleLinkName(Microsoft.XLANGs.BaseTypes.DestinationParty) = new Microsoft.XLANGs.BaseTypes.Party(PartnerGSID , "1"); The send por
-
Large messages cannot be saved out from tracking
Hi, Using BizTalk 2013 Enterprise, we cannot save out larger messages from tracking. In one example we have an XML-message of 6 MB, saving it renders a zero byte file. Smaller messages can be saved. Any ideas what this could be? Is it a known problem
-
I have posted this on another forum. I would love to know if anyone has an answer. Even no would be acceptable. Has anyone noticed when using the Book function and creating Bookmarks using the Interactive PDF maker, that the Bookmarks look for th