on 09-29-2005 2:59 PM
Hi @all,
once again... SAP Help told me that I should have a mapping function called "copyValue" but I could find it
in my function toolbar (SP 13) - did they delete it?!
So how could I solute following problem, I have one value in my input message - but I should duplicate it in output structure... I have create myself a simple Java code like this:
--->
result.addValue("0");
result.addValue("1");
<----
that makes me 2 rows - but I need to add values their in stead of 0 & 1 - the value of my input field.
THX Matt
The option of copyValue can be found under the 'Constants'. Choose All Functions --> Constants and you find CopyValue there.
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks - I searched on a wrong point
But CopyValue "just" copy my value n - times...
what I like to do is, I've got 1 flat structure as input, but I need to create 2 IDOC segments out of that.
I make this with my small JAVA function above. But this just creates me 2 segments - now I like to fill in case of the 1st occurrence of segment field1 and 2nd occurrence field2...
I think I have to do it with another JAVA function - but I have know idea how...
THX Matt
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
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.