on 06-29-2011 4:35 PM
I have the following scenario IDOC to JDBC. The receiver table has 6 fields f1 , f2 ,f3 ,f4 , f5 , f6 . There is a stored procedure sp_test created to populate the table to be executed from PI.
Can someone please let me know the correct xml structure to map the IDOC to target structure?
Thank you,
Hari
Edited by: Hari Krishna on Jun 29, 2011 5:37 PM
ref this [link |http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm]
and create target structure similar to below....
<Statement>
<storedProcedureName action=u201D EXECUTEu201D>
<table>ProcedureName</table>
<param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</Statement>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to verify. I believe input parameter what we pass for insert and output for select fields. So input might be for insert.
The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=u201C1u201C (input parameter) or isOutput=u201C1u201C (output parameter) or both (INOUT parameter).
Edited by: Baskar Gopal on Jun 29, 2011 12:28 PM
this shows you the use of SP - /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.