Skip to Content
0
Former Member
Jun 14, 2006 at 11:19 PM

Structure of hash table for FM

81 Views

Hi,

I was wondering if you could help me with this. I have a FM that has the following parameters in the source code:

FUNCTION zzzzz.

*"----


""Local Interface:

*" IMPORTING

*" REFERENCE(I_AREA) TYPE UPC_Y_AREA

*" REFERENCE(I_PLEVEL) TYPE UPC_Y_PLEVEL

*" REFERENCE(I_METHOD) TYPE UPC_Y_METHOD

*" REFERENCE(I_PARAM) TYPE UPC_Y_PARAM

*" REFERENCE(I_PACKAGE) TYPE UPC_Y_PACKAGE

*" REFERENCE(IT_EXITP) TYPE UPF_YT_EXITP

*" REFERENCE(ITO_CHASEL) TYPE UPC_YTO_CHASEL

*" REFERENCE(ITO_CHA) TYPE UPC_YTO_CHA

*" REFERENCE(ITO_KYF) TYPE UPC_YTO_KYF

*" EXPORTING

*" REFERENCE(ET_MESG) TYPE UPC_YT_MESG

*" CHANGING

*" REFERENCE(XTH_DATA) TYPE HASHED TABLE

*"----


Exactly what is the structure of XTH_DATA. I have data in the transparent table and ready to move to XTH_DATA. I tried to create a similar hash table with the required field and move using [], but it keeps complaining about tables are not compatible.

What should I define my hash table to be to move the results to XTH_DATA? Does it have to be the same structure with that of UPC_YTO_CHASEL?

Thanks,

RT

Message was edited by: Rob Thomas