2009 Jan 28 7:30 PM
Hi,
I have a need for an oubound interface to convert unicode data (HR master data) down to ASCII128.
Is there a standard FM or class I can use for this?
Thanks in advance.
Bryan
2009 Jan 28 8:49 PM
Outbound? What kind of outbound? Why not delivering all information needed? There are tons of outbound possibilities at all.
Using idocs: nothing to do but configure the rfc connection
gui_download: nothing to do
open dataset: use legacy mode
Hi,
I have a need for an oubound interface to convert unicode data (HR master data) down to ASCII128.
Is there a standard FM or class I can use for this?
Thanks in advance.
Bryan
2009 Jan 28 8:49 PM
Outbound? What kind of outbound? Why not delivering all information needed? There are tons of outbound possibilities at all.
Using idocs: nothing to do but configure the rfc connection
gui_download: nothing to do
open dataset: use legacy mode
2009 Jan 28 9:16 PM
It will be a web-service call via PI. PI will be invoked via a proxy. Unicode is not the issue with the system that will be receiving the data - that system is Unicode compliant. The downstream systems require ASCII, and I've been told that we must handle that in our interface, rather than the outbound ones from the receiving system.
So, the flow will look like this:
SAP -> PI -> Web Service -> IDV System -> Other Systems (not Unicode Compliant)
It's the last bit that is not unicode compliant. However, as mentioned above, we will not be relying on the IDV system to ensure that outbound is ASCII, we need to ensure that from the start.
Thanks for responding.
2009 Jan 28 10:25 PM
Standard code page conversion API is class CL_ABAP_CONV_X2X_CE (or CL_ABAP_CONV_OUT_CE). It is supplied with documentation. Lots of threads in the forum also.
2009 Feb 04 3:03 PM
2016 Feb 29 11:03 PM
Hi Bryan,
I have a similar requirement. Can you tell me how did you use achieve this functionality?
Did you convert every field in the interface using the standard classes CL_ABAP_CONV_OUT_CE (for outbound from SAP) and CL_ABAP_CONV_IN_CE (for inbound into SAP)?
Can that be achieved in PI?
Appreciate your help on this.
Thanks,
SAP HR Guy
2016 Mar 01 3:59 PM
Wow, this thread is a blast from the past.
I don't remember specifically what we did here (it was 7 years ago and I don't work at the same place any longer), but I am pretty sure we did not do the conversion in PI, we did it in ECC. On the ECC side, we used CL_ABAP_CONV_OUT_CE to look for non-ascii characters before sending the proxy message to PI.
Hope that helps.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |