Hi Arun,
Thanks for your reply. Please find the screen shots attached.
Screenshot1 is the routine which I am going to call in the function module.
This is the structure of the table pt_inputtab in the routine.
BEGINOF TS_INPUTTAB,
SOLUTION(50) TYPEC,
SESSNO(13) TYPEC,
POBJECTNO(10) TYPE N,
SOBJECTNO(10) TYPE N,
MANDT(3) TYPEC,
SPRAS(2) TYPEC,
MONID(20) TYPEC,
SID(8) TYPEC,
DATARETR TYPEC , "
RMONID(20) TYPEC ,
DBCON_NAME(30) TYPEC ,
DB_SCHEMA(30) TYPEC ,
BW_RFCDEST(32) TYPEC ,
DURATION_START TYPE P,
DURATION_END TYPE P,
SOLMAN_SID(8) TYPEC,
SOLMAN_INSTNO(10) TYPEC,
SCHED_TYPE TYPEC,
PERIOD TYPEI,
STARTTIME TYPE T,
ENDTIME TYPE T,
WSCHED(7) TYPEC,
MONOBJ(8) TYPEC,
ENDOF TS_INPUTTAB,
TT_INPUTTAB TYPE TS_INPUTTAB OCCURS0,
screenshot2 is the structure which I have declared. There is a type mismatch between these too structures, so it goes for a dump.
screenshot3 is the dump details.