on 02-22-2012 7:49 AM
Hi all,
I am getting the error
"Runtime exception when processing target-field mapping /ns0:MT_payment_rec/payment_rec/companycode; root message: Exception:[ExceptionConverter: java.io.IOException: The document has no pages.] in class com.sap.xi.tf._MM_Payment_Advice_ method calculate[a, com.sap.aii.mappingtool.tf7.rt.Context@2e0d7679]"
I followed below blog for converting xml to pdf
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1940
in this blog they mentioned source & target path, but I read the values directly Through sender communication channel with out giving the source and target path in udf(calling the java code from imported archive, and excuted for converting xml to pdf file),
but i am getting above error,
Is there any possibility to return the converted pdf values to target field through udf
Pls help me.
Do explore the option suggested here - http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can u tell us what is the function of the UDF in your case ?
Apart from Converting the given input xml to pdf output, I dont see there is any other functionality within the UDF .. and the XMLTOPDF Class requires the two inputs to be passed when it is instantiated in the code
and now if you don't pass those parameters, it's going to throw an IO exception
Regards
Krishna
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.