08-16-2007 5:24 PM
Hi all,
Am new to HR-Unicodes
Could any body tel me How to use Append Statement in Unicode compatible format.
like for ex am appending structure to Table as follows:
APPEND p_innnn TO p_del_tab.
Am getting follwing error:
A line of "P_DEL_TAB" and "P_INNNN" are not mutually convertible. In a Unicode
program "P_DEL_TAB" must have the same structure layout as "P_INNNN"
independent of the length of a Unicode character.
could u please tel me the solution for this.?/
How should i use APPEND here.
Points will be rewarded.
Thanks in Advance.
Regards,
Kalam A.
08-16-2007 6:35 PM
Try looking at the methods in class CL_HR_PNNNN_TYPE_CAST. This class provides various methods for moving internal table, structures etc that have a standard infotype structure to the generic innnn table and structure.
If you do a where used on the class, you will find many examples of how to use this.
Best Regards,
Chris H.
08-16-2007 5:59 PM
Hi
It appears that some of the field lengths in the structures are not of same length "P_DEL_TAB" and "P_INNNN"
check the field strcutures of both the "P_DEL_TAB" and "P_INNNN".
if it is not compatable declare the variable of equal length and move the fiedld into that and append the table with that varaible
Regards
Anji
08-16-2007 6:35 PM
Try looking at the methods in class CL_HR_PNNNN_TYPE_CAST. This class provides various methods for moving internal table, structures etc that have a standard infotype structure to the generic innnn table and structure.
If you do a where used on the class, you will find many examples of how to use this.
Best Regards,
Chris H.