on 07-02-2007 4:11 PM
Hi to all,
I have a File to IDoc scenario. I want to obtain in the target IDoc also the empty fields that in my Graphical Mapping are filled with an empty constant. However, when I go on SAP R/3 to see the produced IDoc, I see that all fields that I have mapped with an empty constant, are absent. I don't want this!!! I want to display this fields with no values!
How can I do this?
Thanks!
refer to this blog, only instead of changing the occurance of the IDoc values, change the occurance of the values you want empty, put the minOccurs to 1 for each of them, this might be a tedious process but it should work, especially because this is the only thing I can think of at the moment.
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
See if Ahmad's solution works first though, it sounds like the same thing only easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know how well you can do this, but what Venugopalarao said would be my next choice, I'm going to try and find the blog that explains this process for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, since that works in the message mapping tester and not the actual IDoc, this might not be fixable in the 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 Paul,
I have learned that XI is a very very very powerful middleware!!! This issue is possible to solve, I'm sure! It is not right, if I map with a '0' value, also in the Message Mapping Tester I see '0' in the target field and not an empty string that is what I want!
Other ideas? This is a simple issue!
Thanks!
and map it to your desired values of course
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a UDF with the name of your choice with no input values. In it write this code.
String variableNul = "";
return variableNul;
I tried this and it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what you do change the occurenace of the field min occurence : 1 so that when you map the souce field constact then the target field will come..
after importing the idoc..export the idoc and change the occurence where ever you required and import this using external schema...then rest all the steps...
why it is absent IDOC meanns..those fields are empty that might be the problem.
Just try for 1 field if it's work..then go ahead.
Regards,
Venu.
I think it might work for you if you map the value '0' to those fields which you wish to exist, but have nothing in them
type in the constant block, '0' exactly as I have typed it, with the quotes. This is XI's null input.
-I'll take points if this works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Morgante,
Just map all the fields with constants which are marked in red. And also map the fields with constants for all the segments which have occurrence as 1..1. Is this your business requirements to have a empty IDoc?
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I use the IDoc packaging in my scenario. I need to have some empty fields in the target IDoc then I map these with an empty constant, but when I see the IDoc in SAP R/3 usinf we02 transaction, the fields mapped with an empty constant value, are absent!!!
How can I map empty fields in the IDoc?
Thanks!
Gabriele,
<i> I have mapped with an empty constant, are absent. I don't want this!!! I want to display this fields with no values!</i>
Can u please clarify this. Where u mapped the constant either on Segment level or on element level
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.