Dear All,
I want to convert HR_INFOTYPE_OPERATION to RFC Enabled BAPI ZHR_INFOTYPE_OPERATION.
I have copied the above function module to ZHR_INFOTYPE_OPERATION.
There is a importing parameter " RECORD" which is of type ANY, in function module HR_INFOTYPE_OPERATION.
I am making this function module as Like Char2000.
When i am making this function module as RFC enables option and running, then i am getting a dump.
"The following syntax error was found in the program SAPLZFG_HR_DS_BAPI :
""CHAR2000" must be a flat structure. You cannot use internal tables, s"
"trings, references, or structures as components."
And in a BAPI its not allowing to have any type as generic.
Can anyone let me know, as i need to call this function module at other place.
Thanks,
A Sustainer