on 03-07-2016 3:57 PM
Hi, I am trying to do a multiple table insert with each table being able to have multiple records inserted. The first record for each table is the only record being inserted. I think my structure is correct but that I have a mapping problem. What should be the repeating parts? Just the access and key or the whole update_insert statement?
Thanks,
Katie
your structure dont look correct.. it should be as follows
<DT>
<StatementName 1-unbounded>
<TableName action = "">
<table></table>
<Accesss> </ACcess>
<key> </Key>
</StatementName>
For update_Insert you should repeat the <StatementName>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok structure is not correct.. please follow as below.
1. in your case <DT_CAZ_.. > is STATEMENTNAME., So no need to add Message <tag>
2. Remove the Message from your struct.
3, It should show as
<MT_MobRep>
<DT_>
<insert>
<table>
<Access>
4. Please go with one at a time.. disable other structure in your mapping test first with insert..
I reverted all my changes back and the insert is working again but to do this, I also have to have the access repeat to insert multiple records for each table. I am able to successfully insert multiple records into each table. The problem I have is when I do an update and I need to repeat the key and access. The message comes like:
<access></access>
<access></access>
<key></key>
<key></key>
when it should be
<access></access>
<key></key>
<access></access>
<key></key>
Here is my insert.
Here is my update:
I also have to suppress E1EDC01 when posex is 000000000 so maybe this is where my problem is. I need access and key to repeat as one unit.
Hi Katie,
I think your structure is wrong.
The action/access/key tags have to be repeated with each update_insert. Check this blog
In this document (Defining an UPDATE_INSERT Statement - Advanced Adapter Engine - SAP Library😞
Enter the new column values in the <access> element. Enter exactly one <access>element.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.