cancel
Showing results for 
Search instead for 
Did you mean: 

File to JDBC Scenario using stored procedure Question

Former Member
0 Kudos

Does anyone have an aswer (or have you seen a Blog that covers it) to the problem of having to do a table refresh before doing inserts in a file 2 jdbc scenario?

Essentially the details are as follows:

I have an input file that has all the data for a table (it's a complete table dump) of lets say userdata (username, name, hiredate).

I need to pass that to an oracle database via stored procedure(s). But before I start issuing my insert (via insert stored procedure) I have to somehow issue a delete statement to delete all the contents of the table I'm about to update. I'm on XI 3.0 and aren't sure what the best solution to this may be.

Again if there is a blog that covers this then if you could point me in that direction it would be great. Otherwise if anyone has any good ideas it would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

For structure refer this blog..

/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30

Use two <Statement> tags as shown here and there you may have separate tablenames.

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm

Thanks,

Jogula Ramesh

Answers (0)