Skip to Content
0
Oct 28, 2010 at 08:22 AM

Problem with adding field to fieldcatlalog

146 Views

Hi experts,

Actually i am adding a field to field catalog by using

PERFORM FILL_FIELD_CAT USING '9' TEXT-CU1 TEXT-AM2 ' ' TEXT-CU2 '' '' '' '' '' ''. "land1( Text-CU1 = Land1 and Text-cu2 = Customer Country code)

Form is

FORM FILL_FIELD_CAT USING P_COLPOS TYPE SYCUCOL

P_FLDNAM TYPE FIELDNAME

P_TABNAM TYPE TABNAME

P_JUSTIF TYPE CHAR1

P_SELTEXT TYPE DD03P-SCRTEXT_L

P_OUT TYPE CHAR1

P_TECH TYPE CHAR1

P_QFIELD TYPE SLIS_FIELDNAME

P_QTAB TYPE SLIS_TABNAME

P_HOTSPOT TYPE CHAR1

P_DOSUM TYPE CHAR1.

GS_FIELDCAT-COL_POS = P_COLPOS. "Column

GS_FIELDCAT-FIELDNAME = P_FLDNAM. "Field Name

APPEND GS_FIELDCAT TO GT_FIELDCAT.

Problem is i am getting DUMP while executing the program

" The reason for the exception is:*

Call to FORM "FILL_FIELD_CAT" is incorrect:

The actual parameter no. 2 has a different data type in the

PERFORM than requested for the FORM "FILL_FIELD_CAT" in program

"ZFIGL_REP_IGRECONCILIATION".

Can anybody plz help me what i have to do.

Thanks & Regards,

Praveena.