Update in JDBC Sender adapter for more than one table
Dear Friends,
I have to select more than one table in the JDBC sender using the join condition. But i found that update statement is also mandatory in the sender comm channel. I am not going to update any flag after the select but as it is mandatory, i have decided to use the following update statement which wont effect the existing data UPDATE <tablename> set flag = ' ' where flag = ' '.
But in my case i have 3 tables, do i need to update stmts for all the three tables.
if yes how can i do the same.
plz revert back i u couldnt get the queries.
Thanks
Prem
HI
UPDATE T1
Set T1.flag =1
where T1.columnA=value1 and T2.columnB=value2
where T1 and T2 are tables in the same database,
and the values (value1 and value 2 ) are provided to XI by SAP based on which the flag need to be updated in T1
write a stored procedure specifying the join and call it in XI.
For doing it in SQL statement only reffer to the below link ..sur you will get help .
Multiple records update using JDBC
Regard's
Chetan Ahuja
Similar Messages
-
How to create Criterian For more than one table
Hi,
I have one problem how to create criteria for more than one table in that using one criteria hot to get the values from database in that more than onetable for getting these values .Please send me the exampke code.
reagrds,
raghuHi,
I don't think its possible to create fieldcatalog for different tables,
but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
populate the data from different table to that dummy table
then create fieldcatalog for that table and pass it in the function module...
Regards,
Siddarth -
Trigger for more than One table
Hi,
is it possible to create a trigger for more than one table?
I need a trigger that fires when anyone of the users updates a special value in one of the DB tables.
this value is in about 8 or 10 tables, or must i create a trigger for each table?
thanx
marcelYou would wrap the functionality required into a packaged procedure and then have a trigger on each of these tables that simply call this packaged procedure.
Yes, you would have one trigger per table. -
Creating SQL-Loader script for more than one table at a time
Hi,
I am using OMWB 2.0.2.0.0 with Oracle 8.1.7 and Sybase 11.9.
It looks like I can create SQL-Loader scripts for all the tables
or for one table at a time. If I want to create SQL-Loader
scripts for 5-6 tables, I have to either create script for all
the tables and then delete the unwanted tables or create the
scripts for one table at a time and then merge them.
Is there a simple way to create migration scripts for more than
one but not all tables at a time?
Thanks,
Prashant RaneNo there is no multi-select for creating SQL-Loader scripts.
You can either create them separately or create them all and
then discard the one you do not need. -
Entity bean for more than one table
Can an entity bean represent more than one phyical table in the database? (i.e. span tables) If so, how is it coded up?
Yes, probably either using BMP entity beans, or creating a database view of the two tables.
However, the actual implementation depends a lot on your database and EJB container. Since I didn't see any details of these in your post, I suggest you research the documentation for both your EJB container and database.
[Of-course, I'm assuming that you are already using a database and EJB container :-]
Are you familiar with the following Web sites:
http://java.sun.com/j2ee/tutorial/1_3-fcs/
http://www.theserverside.com
Have you read the specification?
http://java.sun.com/j2ee/download.html
Hope this helps.
Good Luck,
Avi. -
I have OS X 10.9.2. and have downloaded Maverick. If I am sending an email message to one person, options for addresses from my Address Book appear. However if I want to send it to more than one person, the potential addresses for the other persons do not show. Can you please help?
Install ClamXav and run a scan with that. It should pick up any trojans.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
My phone has been plugged in to my computer for more than one hour and the status bar only shows about less than 1/4 completed. I have an iphone 5s btw.
Depends on how strong your wifi connection is.
you can try a reset hold down the home/sleep button together until you see the apple logo and then release. -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
Can we use same program ID for more than one RFC scenarios
Hi experts,
I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
data: iquote type standard table of ZIQMD initial size 0,
IPRODUCT type standard table of ZPMS initial size 0,
wa_quote type ZIQMD,
wa_PRODUCT type ZPMS.
CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
TABLES
I_QUOTE = iquote .
CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
'ID4'
TABLES
I_QUOTE = iquote .
COMMIT WORK.
CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
TABLES
IPRODUCT = IPRODUCT .
CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
'ID4'
TABLES
IPRODUCT = IPRODUCT .
COMMIT WORK.
when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER' , but iam not getting data for 'Z_CBT_RFC_PRODUCTMASTER' interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
Thanks in advance.
Thanks & Regards,
Poorna.Just tried this and I can confirm that my earlier understanding was correct!
One of my colleagues confused me out and the conclusion is,
1. You need a separate TCP IP Connection for every interface with a Unique program ID.
Regards
Bhavesh -
Editing 'Media Kind' for more than one song.
Team,
After downloading the newest update, I am no longer permitted to edit the "Media Kind" for more than one item at a time. I need to be able to select an entire album at a time in order to efficiently update my library. I sincerely appreciate your help.I am having the same issue. The first song and beat markers work great. I add a second song and set beat markers. When I add photos, the appear at random spots with random lengths. I haven't seen a pattern yet. Spent 30 minutes on this topic at my last 1:1 session in the store. No luck figuring it out.
One work-around might be to create one song per project (so beat markers work), then combine the two (or more) projects. But I'm not sure if that's possible or how to do it.
Thanks for any help on this. -
Can more than one table be updated from a single form that was created using a wizard? If so, how? I tried firing a trigger to add a new record to another table, but get this message "No updatable report found. Multi row updated and delete operations can only be performed on tabular forms of type "Updateable Report"
Thanks
JohnHi John B
Please make sure you explain to forum when asking for help.
What version of Apex your using.
Database Version:
Browser etc.
Yes you can update multiple tables from one single form. I'm not 100% sure about the wizard part, because before anyone can answer that we need to know which version of Apex your using? -
Use of same iTune for more than one iPod
I need to find out whether I can use the same itune in one computer for more than one iPod nano and one iPod video?
I looked at the article, but it doesn't help me know how once I have downloaded onto a nano, for example, the itunes knows that the next thing I connect is something different. My son hooked up his 20GB ipod last night after updating his sister's nano and now the itunes thinks his ipod is a nano. How do I get the itunes to recognize his ipod as the 20GB it is?
-
SMS ---HOW DO YOU SEND SMS TO MORE THAN ONE PERSON
SMS HOW DO YOU SEND SMS TO MORE THAN ONE PERSON
yes you can. look at this:
4. I cannot receive or send MMS (text with pics)?
iPhone at this time CANNOT send MMS at this time. Whether or not this will be remedied remains to be seen. A workaround is to email their SMS/MMS servers with the picture as an attachment.
Alltel = [email protected]
AT&T = [email protected]
Boost Mobile = [email protected]
Cingular (AT&T) = [email protected]
Einstein PCS = [email protected]
Sprint = [email protected]
T-Mobile = [email protected]
US Cellular = [email protected]
Verizon Wireless = [email protected]
Virgin Mobile = [email protected]
*x is the digit of your phone number
for an awesome thread with lots of good info:
http://discussions.apple.com/thread.jspa?threadID=1032295 -
Perform VENDOR EVALUATION for MORE THAN ONE VENDORS at a time
Hello all,
Please guide for any process where i can perform Vendor Evaluation for MORE THAN ONE vendors AT A TIME.
At my location there are around thousand vendors, which are to be evaluated, and difficult to perform the evaluation process one-by-one.
(ME61/ME62/ME63)
Detailed replies with various possibilities would be highly appreciated.
Thanks & Regards,
Joy GhoshThe vendor evaluation for some thousand vendors at the same time has already been in SAP long before they developed LSMW. The purpose of LSMW is to load data from a legacy system, of course you can (mis-)use it for a lot other things.
But you should not always use LSMW if you are to lazy to go thru the SAP standard menu to find a transaction like ME6G
There you define a job that runs RM06LBAT report.
You first have to define a selection variant for this report. this can be done in SE38 by entering the report name, select variant, clicking display, then entering a name for the variant and clicking Create. -
Setting Equalizer for more than one song at a time
Is there any way to set the equalizer setting for more than one song at a time. For example, if I have a classical music album with 10 songs, can I set the equalizer for "classical" for all 10 songs at once? It's a pain to have to do it for each one individually. I tried using the "shift" key, but to no avail.
Thanks,
Joe The Authorhighlight all the songs you want then right click and go to get info. in the options tab at the top there is an equalizer preset option.
Maybe you are looking for
-
Display of Report Totals of different groups
Hi I have a requirement in XML Publisher where in I need to display the Total of all the sub totals of the 3 groups which i am currently working on. I am able to display the sub group totals . Example A B 100 200 -----------Group 1 C D 30 50 --------
-
Under iDVD preferences and the Projects tab it asks a few things that I know nothing about: 1) Video Mode: NTSC or PAL. What are those and when would I use one over the other? 2) Encoding: Best Quality or Best Performance? Which is better to use and
-
Bridge Doesn't Like Index Color .gif Files Over Networks?
It's been a nightmare trying to navigate network folders with Bridge CS3 (Mac 10.5.3, 2x2.8GHz, 4GB ram) It's not uncommon to have to restart Bridge numerous times daily (tried all the fixes mentioned on these threads, and updated to the latest versi
-
Why do stills appear clearer when Photo Settings are being modified?
I have noticed that stills imported from iPhoto are grainier than how they appear in iPhoto. When adjusting the Photo Settings, the stills are as clear as they are in iPhoto. Any suggestions as to what is causing this? More importantly, what can be d
-
For Inter company scenario when we configure we need to assign Assign Organizational Units By Plant. In my case i have 2 dist chnls and 4 div, but in this assignment i can only do one, so how will i do it for other sales areas. Eg: Plnt-ABC Sorg-