‎2009 May 05 6:02 PM
Experts,
after executing the FM i get results and when i click on the results (export parameter) of Function module which is of type table type.
it says:
'unable to edit the object ' and I'm not able view the results..
what are the steps to debug this?
your answers are appriciated.
Thanks!
‎2009 May 05 6:07 PM
Hi Prema,
before editing check the function module attributes and where the function module is using..
if the function module is Remote type try to cancel the release and change the Object type..
else check the structure or table type and edit in the program and later edit in the export paramaters..
Regards,
prabhudas
‎2009 May 05 6:16 PM
Prabhu,
Nope i'm not editing the objects, but I want to view the executed results(out put)
I'm getting this error when clicked on the out put..
‎2009 May 05 7:21 PM
Hi Prema,
Which Function module you are talking about? And for which parameters you are running it?
Regards
Shital
‎2009 May 05 8:01 PM
shital,
I'm running my own created FM, it has one single string as input parameter and table type as output.. once i execute FM, it gives me results as table, but when i click on the output it gives me the above mentioned error..
but now i noticed that the table type i declared contains one of its filed as type DATA, i think it is throwing error becuase of that..
could somebody tell me how do i convert the type DATA to other type?
‎2009 May 07 5:30 PM
solved using field symbols.. Thanks!
data: IIT_MDM_NAME_VALUE_PAIR_TABLE type MDM_NAME_VALUE_PAIR_TABLE.
FIELD-SYMBOLS : <wa_mdm_name_value_pair> LIKE LINE OF iit_mdm_name_value_pair_table.
FIELD-SYMBOLS <val> TYPE any.
ASSIGN <wa_mdm_name_value_pair>-value->* TO <val> .
WRITE:/ <val> .