12-04-2014 7:04 AM
Dear Friends,
Here i need to update the infotype(105 - Communication details ) through webdynpro application , for this scenario im uning function module
HR_INFOTYPE_OPERATION to insert or modify the record but when i am calling this function module inside se24-methods it is throwing exception as given below
Runtime Errors ASSIGN_CASTING_ILLEGAL_CAST
Exception CX_SY_ASSIGN_CAST_ILLEGAL_CAST
i added initial size in internal table declaration then im getting exception like
An exception (CX_SY_NO_HANDLER) occurred
Message no. TPDA430.
Noe : tried ENQUEUE & DEQUEUE also INFTY SUBTY type everything is standared.
The same FM i have used in reports it is fine when i declaring the internal table with header line . but OO concept it is not possible to declare with header , so please help me to handle this scenario , or else is there any other classes are there to perform infotype operation ???
12-04-2014 7:18 AM
Hi,
Can you try to call FM BAPI_EMPLCOMM_CREATE to update 105 infotype.
Thanks,
Sree
12-04-2014 7:20 AM
thanks for the reply ,,, if we pass the work area alone it will work , i should have check it before post here .