on 03-03-2008 12:29 PM
If consider, Space set "_" character.
In SAP ERP.
"A__B" means A character and two SPACE and B character.
I wan't to send above character from SAP to DB.
but result is "A_B".
I looking the RWB and SXMB_MONI. when the message was enter the SAP XI, converted already.
How can I do?
Hi,
As per your information the A__B (with two spaces) is converted to A_B(one space) while coming from R/3 to XI.
Can you do one thing here to pass the value as A__B( Instead of space use "_" or any special character) from SAP.
In XI while mapping with Database structre use API "replaceString" to replace the "__" by two spaces.
While coming the data from R/3 the spaces may get neglected.
Lets try it out this way and let me know
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you wouldt have any problem with this issue,
in you graphical mapping use the function concat
Field1__________
Concat -
Target Field
Field2----
press double click in Concat function and add 2 spaces and test your mapping.
also, you can do a UDF like this
str1,str2 --> parameters you send to UDF
//--
str1 = st1.concat (" ");
str1 = str.concat(str2);
return str1;
//--
try and let me know
hope it helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Umm...
I don't know exactly. so I looking for the answer.
I try above answer.
in SAP ERP, convert spact to #. and send to SAP XI.
in SAP XI, used repalceString standard function in graphic mapping.
but, post converted, two space character is change one space.
It's crazy..
<inbound payload>
- <item>
<BSTKD>1</BSTKD>
<BSTZD>1</BSTZD>
<MATNR>000000000100001000</MATNR>
<ATCNT>1</ATCNT>
<ATNAM>A1003</ATNAM>
<ATWRT>450#KG##(6#)</ATWRT>
<ATSTD>X</ATSTD>
</item>
<technical routing payload>
- <access>
<ESTI_NO>1</ESTI_NO>
<SEQ>1</SEQ>
<PART_CODE>000000000100001000</PART_CODE>
<CODE_SEQ>1</CODE_SEQ>
<CODE>A1003</CODE>
<VALUE>450 KG (6 )</VALUE>
<DEFAUL>X</DEFAUL>
<XIFLAG>G</XIFLAG>
</access>
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.