on 09-01-2010 8:26 PM
Hello
i have a scenario where abap proxy has a header and multiple line items.
header record needs to go to a separate table and multiple line items have to go to a separate table. how can this be achieved ?
so basically source structure is one but with header and detail items but header record has to go to a separate database table and detail record to a separate table.
Please advise.
thanks
You can create structure like this
<MT>
<STMT1>
<dbTableName action=u201DINSERTu201D>
<table>HeaderTable</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
</dbTableName>
</STMT1>
<STMT2>
<dbTableName action=u201DINSERTu201D>
<table>LINETable</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
</dbTableName>
</STMT2>
</MT>
Check help@[Document Formats for the Receiver JDBC Adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm]
Edited by: Praveen Gujjeti on Sep 2, 2010 5:52 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Best option is to use Stored Procedure. Since it is the same DB, one receiver channel should be sufficient.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.