on 08-02-2016 1:46 PM
Hi folks,
we have following problem: After adding a new segment to an ERP Idoc, we can't send the new segment in the xml-file to the receiver ftp server.
I had done the following things:
- Reimport the idoc with the new segment and field
- Add the new segment and field in the message mapping to the target message and activated the changes
- Reload the idoc metadata in PI
- refresh/delete the caches
- restart the PI
- tested the operational mapping and message mapping
Our problem in detail:
In the first message version, which comes from the ERP system, the payload has the new segment and the new field.
In the second message version, which is sending to the receiver ftp server as a xml-file, the payload hasn't the new segment and the new field.
Has anybody an idea, what the problem is?
Thanks in advance.
Greetings
Steffi
Hello Stephanie,
looks like you have forgotten to update the receiver interface or forgotten to change the opreation/ message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @all,
thanks for your replies.
In my first post, I had written, that the Idoc metadata are reloaded in the Adapter Engine.
There is the new segment available.
I think, the problem is with the mapping cache.
We had deleted all caches yesterday.
But the problem is the same.
Regards,
Steffi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stephanie,
In the first message version, which comes from the ERP system, the payload has the new segment and the new field.
In the second message version, which is sending to the receiver ftp server as a xml-file, the payload hasn't the new segment and the new field.
What I understand is in PI Monitoring, you see the message and when you click on Open Message, the 1st version of the message has the Additional Segment / Field while the 2nd version does not.
The version 2 typically contains the payload after the mapping. If yes, have you taken the input payload from version 1 and executed the mapping ( Operation Mapping to be precise) in the ESR? Does the mapping get executed and the output contains the additional field?
Regards
Bhavesh
Hi Stephanie,
Check your Adapter metadata repository whether new segment is added or not . If its not then reload the metadata.
Even if after that you face the issue then I guess there us some problem in your mapping which is not creating the target xml properly.
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this...
Go to your PI ECC system>> Tcode- IDX2
and delete your IDOC type (or may be extension if you have any) from there. and try sending the IDOC again....
Hope this will help !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steffi,
the second idoc is populated with the new custom segment in ECC? Also chek if the metadata has the custom segment in Message Metadata of IDOC monitoring after second idoc run.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish,
firtst, thanks for your reply.
I don't know what do you mean.
We send an Idoc from ECC via PI-System as a xml-File to a ftp-server.
I had reload the metadata for the Idoc, which comes from the ECC.
I found the metadata for the Idoc only for the communication channel, which is used for sending from ECC system.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.