cancel
Showing results for 
Search instead for 
Did you mean: 

How did i solve "Cannot create target element" but still having problems.

0 Kudos

Hi Experts,

I solved my problem of "Cannot create target element" by removing of the data type structure the following fields :

DT_AS400_1 -> Complex Type

Payroll 1..1 (Should i put 0..0?)

-> Row 0..Unbounded And then Fields to be passed.

I can't figure how pi can't detect the fields, i use them pretty often.

Any Suggestions,

Thanks for your help,

Regards,

Steve.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Steve,

Check if input message, has the field that is producing the output.

Therefore, if you don't have any input to fill the structure root, you can fill it with an empty constant.

Best regards,

Pedro M. D. Pereira

Edited by: Pedro Pereira on Jun 10, 2010 1:26 AM

0 Kudos

Hi Pedro :

Thanks for the reply, but on the morning one of the interfases works without problem, and wihout sending constants. I'm trying to discover what's the problem.

Regards,

Steve.

0 Kudos

Maybe if know the correct way to define my data type, i can solve the problem.

I need a struct like this :

DT_AS400_001

-> PAYROLL

->ROW

-> Fields.

Thanks a lot,

Steve.

Former Member
0 Kudos

Hi Steve,

How are you doing your mapping? In this case PI must have a value to fill the structure root.

Best Regards,

Pedro M. D. Pereia

0 Kudos

Pedro :

Indeed, it's Quite rare, from the source system i did not send any value for "Payroll" and "Row", although they are mapped on Message Type "From" and "Message Type" "To", and the interfase used to work. But while i was creating another one, checking on monitor it suddenly stop to work properly as the new one.

Former Member
0 Kudos

Hi Steve,

Try to copy the source xml message from monitor, and test your mapping object with it. And check if the source application is sending the correct message.

Best Regards,

Pedro M. D. Pereira

Edited by: Pedro Pereira on Jun 10, 2010 2:38 AM

Answers (0)