Skip to Content
avatar image
Former Member

HR-Unicodes for APPEND Statement

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 16, 2007 at 05: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 04: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

    Add comment
    10|10000 characters needed characters exceeded