How to call sender JDBC Adaptor, if there is a indication file
Hi All,
I have a requirement need to pull data from Oracle and send it to BI.
Here what i need is like Oracle will give me Indication flat file with 0 records and it will be there in FTP floder, once XI finds that file in the FTP folder then only my JDBC sender adaptor needs to pull data from Oracel and send it BI
Could you pls suggest me how i can achive this hope we can do it with BPM, or any suggestions to do this.
Thanks in advance,
Venkat.
Hi,
True that i am new to XI.
Here the problem is i will get 0 bites flat file i will not get any data in that file, so how i can handle that flat file, and once the flat file is there after that i need to start the JDBC sender adaptor to pull the data
1. Receive step for the Flat File
2. Synchronous Send step for Calling JDBC (so you will get some JDBC response back to IP).
3. Asynchronous Send step to send step2 JDBC response to BI system.
as you said the BPM will be like this am i correct
Receive step for File-->Receive step for JDBC-Send step for BI am i correct this process.
could you pls explain me bit more so its like
Thanks inadvance
Venkat
Similar Messages
-
Two select query in sender JDBC adaptor
Hi
We are doing JDFC-RFC scenario, in which i need to fetch the data from two tables (header and item table) whch correspondes to the 2 table parameter of RFC .
Any clues how to configure sender jdbc CC having 2 select query ??????
Regards
VijaySwatantra,
You can have a look at the below URL for more info on JOIN.
http://www.w3schools.com/sql/sql_join.asp
Best regards,
raj. -
How to Hardcode sender JDBC action node as EXECUTE
Hi ,
I have JDBC to File scenario ,please suggest me how to hardcode sender JDBC structure nodes <b>action</b> as "EXECUTE" and <b>table</b> as "ST_PROS.Get_Table" while designing the message mapping.Raju,
In the ase of sendrer JDBC adapters you need to provide the SQL Query in the adapter.
Also, the document name and document namespace will be the values for the Message Type Name and MessageTypeNamespace.
The Messagetype youcreate will have to be of this format,
<MESSAGETYPENAME>
<row> <b> 0 to unbounded</b>
<ColumnName1> </ColumnName1>
<ColumnName2> </ColumnName2>
</row
</MESSAGETYPENAME>
if your select query is
Select name,empno from emptable;
the datatype will be,
<MESSAGETYPENAME>
<row> <b> 0 to unbounded</b>
<name> </name>
<empno> </empno>
</row
</MESSAGETYPENAME>
Regards
Bhavesh -
how can I send multiple pictures to the Kodak link (under file & then order prints)? if the photos are not sequential can it be done?
Does the order matter here?Because the photos will be sent for printing. If there is any other reason, can you please cite example.
-
My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?
thanksfor windows you should have an exe and a 7z file. put both in the same directory and double click the exe.
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
Lightroom: 5.7.1| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5.5, 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
How can I send a document in iworks as a pdf file?
How can I send a document in iworks as a pdf file? My friends who have windows are not able to open any attachment I send them. Very frustrating.
Click 'Print' - then in the dialogue window in the bottom left, select save as PDF.
Done! -
Mail Adaptor : How to configure sender mail adaptor?
Dear @,
I have to configure the sender mail adaptor I have gone thru varios blogs related to it but I am struck with some questions:
1.Where to find the message structure of the input message / what will be the input message structure
2.what is the default namespace / default interface name in the mail adaptor configuration
Thanks in advanceHi Monika,
My scenarion is Mail to File .I have to read mail from the mail server and then send it to file .
When I am trying F4 in the default namespace/Interface I am not getting any option also these values are fixed as http://sap.com/xi/XI/Mail/30 as I have observed in varios blogs and examples
This name spcae I guess we need to craete But why and what is the use
Regards -
HOW CAN I SEND THIS MANUAL TO A FOLDER AS A FILE ON MY COMPUTER?
HOW DO I SEND THIS FOLDER TO FILE ON MY COMPUTER?
Hi, you have a lot of questions! Here are some articles that should help - [[Create bookmarks to save your favorite webpages]]. And - [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]]. And - [[Learn more about the design of the new Firefox]].
To export/import bookmarks: Open bookmarks > Show All Bookmarks > Import and Backup.
You can bring up the Main menu bar temporarily by pressing Alt, or right click in the tab bar (but not on a tab) and tick/check Menu Bar if you want it to be there all the time.
The help button is at the bottom of the 3-bar menu (question mark).
Hope that helps! -
How to call SQL job step by step from windows batch file
Hi ,
I have a SQL agent job [POC_IOD_RunPkgJob] which is being called from bat file with below command.
Could you please tell me how to call only one step of this job, what command I need to mention in the batch file.
SQLCMD -Sabcwi\SQLI01,51565 -E -Q"exec msdb.dbo.sp_start_job [POC_IOD_RunPkgJob]"Hi RameshDravid,
Regarding your description,though not aware of what is the purposed to call only one step of that job, the below sample can somewhat help to achieve your requirement.
--find the job steps
SELECT
steps.step_id,steps.step_name,steps.subsystem,steps.command
FROM msdb.dbo.sysjobsteps steps
JOIN msdb.dbo.sysjobs jobs
ON steps.job_id = jobs.job_id
WHERE jobs.name = 'youJobName'
--find the command runs in that step, usually that is some command exec stored procedure
SQLCMD -Sabcwi\SQLI01,51565 -E -Q"exec stored procedure found in the above query"
If you have any question, feel free to let me know
Eric Zhang
TechNet Community Support -
How can someone send an email and there be absolutely no way to trace it?
For a year now I have been receiving emails from this anonymous emailer, who has totally disrupted my life and invaded my privacy. I am not starting to have strange things happen with my iPhone. I am so desparate to find out who wants to destroy my life so badly. PLEASE HELP ME! I am She know alot of personal things that no one would know unless they are hacking into either my computer and/or phone. I was told by a PI that from the email header the person used an AIR CARD and that the only way to find out if my fiance was cheating with this person was to surveillance him. That cost $4000 minimum. I am am not so worried about her claims of infidelity, but I am worried about how she is getting this info.
Sending untraceable emails is so easy you could do it with 5 minutes of instruction. That's how spammers avoid getting caught. If you feel threatened save some of the emails and take them to the police. There are ways to trace "untraceable" emails that are available to law enforcement. You will need the message with full headers, which you cannot get from the iPhone. You will need to use webmail or a computer email client to get the full headers.
-
How to call a java method so I can pass a file into the method
I want to pass a file into a java method method from the main method. Can anyone give me some help as to how I pass the file into the method - do I pass the file name ? are there any special points I need to put in the methods signature etc ?
FileReader file = new FileReader("Scores");
BufferedReader infile = new BufferedReader(file);
Where am I supposed to put the above text - in the main method or the one I want to pass the file into to?
ThanksIt's a matter of personal preference really. I would encapsulate all of the file-parsing logic in a separate class that implements an interface so that if in the future you want to start taking the integers from another source, e.g. a db, you wouldn't need to drastically alter your main application code. Probably something like this, (with an assumption that the numbers are delimited by a comma and a realisation that my file-handling routine sucks):
public class MyApp{
public static void main(String[] args){
IntegerGather g = new FileIntegerGatherer();
Integer[] result = g.getIntegers(args[0]);
public interface IntegerGatherer{
public Integer[] getIntegers(String location);
import java.io.*;
public class FileIntegerGatherer implements IntegerGatherer{
public Integer[] getIntegers(String location){
FileInputStream fs=null;
try{
File f = new File(location);
fs = new FileInputStream(f);
byte[] in = new byte[1024];
StringBuffer sb = new StringBuffer();
while((fs.read(in))!=-1){
sb.append(new String(in));
StringTokenizer st = new StringTokenizer(sb.toString(),",");
Integer[] result = new Integer[st.countTokens()];
int count = 0;
while(st.hasMoreTokens()){
result[count]=Integer.valueOf(st.nextToken());
count++;
catch(IOException e){
//something sensible here
finally{
if(fs!=null){
try{
fs.close();
catch(IOException f){
return result;
Once compiled you could invoke it as java MyApp c:\myInts.txt
Sorry if there are typos in there, I don't have an ide open ;-> -
How do I send a blank value to a MailMerge data file cell
I have a Client_OLE2 process that loads individual data cells used for mailmerging to a word document. The process loads a cell, moves on to the next cell and loads that with data.
Everything works fine until I try and load a cell with a blank or a null. The process stops dead and issues a 100501 exception.
Is there a work around for trying to load blanks or nulls into data file cells?
A sample of my code is below: (Say for example that 'ADDRESS2' is blank)
APPLICATION := CLIENT_OLE2.CREATE_OBJ('Word.Application');
CLIENT_OLE2.SET_PROPERTY(APPLICATION,'Visible', 1); -- VBA CODE
WORD.APP := APPLICATION;
WORD.SEL := CLIENT_OLE2.GET_OBJ_PROPERTY(WORD.APP,'SELECTION');
args:=CLIENT_OLE2.create_arglist;
CLIENT_OLE2.add_arg(args,3); --Unit :=wdCell
CLIENT_OLE2.add_arg(args,1); --Count:=1
--- Insert GOVERNOR_NAME name
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',GOV_NAME);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
--- Insert sysdate "Letter Date"
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',LETTER_DATE);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
--- Insert INMATE_NAME_NUMBER OR ATTORNEY NAME
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',NAME_1);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
--- Insert PRISON_NAME OR ATTORNEY FIRM NAME
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',NAME_2);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
--- Insert PRISON_ADDR1 OR ATTORNEY ADDRESS1
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',ADDRESS1);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
--- Insert PRISON_addr2 OR ATTORNEY ADDRESS2
CLIENT_OLE2.SET_PROPERTY(WORD.SEL,'Text',ADDRESS2);
CLIENT_OLE2.INVOKE(WORD.SEL,'Move',args);
CLIENT_OLE2.destroy_arglist(args);
Any advice would be appreciated. thanksHi,
It is actually possible to do this on a computer.
Copy whatever is in the spoiler tag and send it to him. The text is very small, but it's still there.
Spoiler (Highlight to read)
If my post above answered your question, please click "Accept as Solution". Also feel free to give Kudos to my post if you found it helpful.
Also — I’m back!
Thanks and kind regards. -
I am new to XS but i managed to enable a table through xsodata:
service namespace "sap.hana.democontent.epm" {
"AA465342"."TMP_HENK" as "TMP_HENK";
But now i am looking for code that can call a stored procedure that has 2 input- and 3 output parameters.... who can help me out with this?Hi Vivek, thanks for the quick response!
I already found that blog, but it does not completely answer my question. i am struggling to get my content procedure working. call the R (catalog) stored procedure:
the code
/********* Begin Procedure Script ************/
BEGIN
call "AA465342"."MO_PP_SENTIMENT"(SP_IN,SP_OUT) with overview;
END;
/********* End Procedure Script ************/
where it goes wrong:
: Only table variable is allowed in input parameter in a nested call
I have defined SP_IN and SP_OUT....
Can someone give me a clue what i have to change? -
Windows Authentication in Sender Jdbc Adapter
Hi,
We have a sender jdbc scenario where there is no user id/passowrd maintained for the database. ONly the windows user id/password is used.
Is it possible to connect to such a database through JDBC adapter. If so, please tell how to do that?Hi Aarthi,
As per my knowledge there is not posssible to do that.
Assumption :
Database : MSSQL Database
Authentication : Window only
Solution :
You need to change authentication type become mixed.
There is some workaround for .NET webservices using windows domain authentication but not for JDBC.
Regards
Fernand -
hello friend ,
my xi-content scenario is oracle -> xi ->sapr/3
i am getting erro message in adapter monitor as following
Sender Adapter v0915 for Party '', Service 'oracle':
Configured at 04:26:46 2006-04-03
Last message processing started 05:17:12 2006-04-03
Error: SQLException during update 'TEST': java.sql.SQLException: ORA-00900: invalid SQL statement
last retry interval started 05:17:12 2006-04-03
length 60,000 secs
but update sql query is running fine on DB. still i am getting invalid SQL statement .
no message in sxmb_moni.
how should i check my jdbc adapter is running fine if it fine then what is error .
thanks friends.
amit ranjanAmit,
You are using a sender JDBC adapter. There are 2 SQL querries you write in a sender adapter(JDBC).
1. Select querry which selects the fields and fetch it to your XI server.
2. Update SQL. This is a crucial one coz you can not process same set of rows again and again. So you may want to maintain a flag. This happens here.
In your case update SQL querry does not seem to work.
Check it.
For more help post us the 2 querries(select & update).
Look into this link for info on config of sender JDBC adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
<i>(P.S: Reward replies that are helpful)</i>
Regards,
Jai Shankar.
Maybe you are looking for
-
New fields in purchasing contract.
Hi SAP gurus, Any ideas how to add quickly new custom fields to contract header data? Thanks for replies Best regards
-
Interactive PDF Layer Visibility Buttons Not Working On iPad
I've created a document in Indesign CS6 and exported the layers to pdf. I created a button in acrobat pro to change a layers visibility. The pdf is intended to be viewed on an iPad and the button wont work. It does however work perfectly on my deskto
-
Insert where the fieldname is in a variable.
Hi, I want to execute an insert query. But the fieldname is stored in a variable. The query looks like this: insert into xx (var1, var2, var3) VALUES (insertvalue1,insertvalue2,insertvalue3) Example: 1st time: var1 = field1 var2 = field6 var3= null 2
-
Hello I have an imac with os x 10.7.5 and I have some doubts: the new version of garageband 10.0.2 is compatible with os x 10.7.5? I have not installed mavericks. should I install? Thanks!!
-
CC just successfully updated a lot of stuff marked with a (2014) but three things failed: Ps, Ae and Fl with error code 49. The retry's don't work. These three don't have the (2014) behind them. I'm on a new iMac running Maverick. Help...