on 08-27-2009 3:56 PM
Hi Everyone,
I have a requirement where I need to send a file to R/3. The server proxy handles the incoming data. In my scenario, I need to process the proxy even though the incoming file is empty. But there is no data, the proxy throws an error saying "Error during XML => ABAP conversion". Previously I had tried this without a mapping.
Then I implemented a mapping to somehow parse empty data, but I wasn't successful . I keep getting the exception "Parsing an empty source. Root element expected!" though I try to find a solution using UDF and standard functions. Kindly help me out in this.
Thanks & Regards,
Indudhar P.G
Hi Indu,
At the very first place, do you really need to process an empty file? If not, then discard the empty files being processed in PI.
If it is a business requirement to process even the empty the files, then you might have to write an additional piece of code in your proxy.
Let us know if you have more questions.
Regards,
Neetesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can send the complete xml structure with no data, by adjusting your mapping like..
<a></a>
<b></b>
Then you need to handle the emty data in ur proxy, i hope that will be much easier for you.
Inder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.