cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

I'm new in (ABAP) WebDynpro and I have a problem with displaying data - particularly with HROBJECTs from our e-Recruiting system.

In my WebDynpro-Component i read some data of candidates into my context. One table (with candidate-infos) which i save in my context includes a field which is datatype of HROBJECT. After I've read this infos into my itab, I bind this table to my context. All this works fine! But as soon as I bind this context to a table-ui-element in my layout, i get a error message "Data Type Is Not Valid for Input", when i start the application.

If I delete the binding with the attribute which is a HROBJECT, it works.


Runtime Errors         UNCAUGHT_EXCEPTION
Exception              CX_WDR_CONVERSION_EXCEPTION
...
Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_CONVERSION_UTILS=======CP" -
     in "IF_WD_CONVERSION_UTILS~TO_STRING".
    The main program was "SAPMHTTP ".

    In the source code you have the termination point in line 138
    of the (Include) program "CL_WDR_CONVERSION_UTILS=======CM00G".
    The termination is caused because exception "CX_WDR_CONVERSION_EXCEPTION"
     occurred in
    procedure "IF_WD_CONVERSION_UTILS~TO_STRING" "(METHOD)", but it was neither
     handled locally nor declared
    in the RAISING clause of its signature.

    The procedure is in program "CL_WDR_CONVERSION_UTILS=======CP "; its source
     code begins in line
    1 of the (Include program "CL_WDR_CONVERSION_UTILS=======CM00G ".
...
 136     WHEN cl_abap_typedescr=>typekind_struct1    "'u'     " structure
 137     OR   cl_abap_typedescr=>typekind_struct2.   "'v'.    " structure
>>>>       RAISE EXCEPTION TYPE cx_wdr_conversion_exception exporting textid = cx_wdr_conversion_
 139 *      raise exception type cx_wdr_conv_unsupported exporting type_name = l_type.
....


Please Help.

Thanks

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Chris,

Can you please check the cardinality of the context node you are trying to bind to table UI element .. i hope it is either 0:N or 1:N .. else it will not work and you need to change it ..

Regards,

Anoop