Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error: 'unable to edit the object ' in Function Module

Former Member
0 Likes
1,862

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!

5 REPLIES 5
Read only

Former Member
0 Likes
1,096

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

Read only

0 Likes
1,096

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..

Read only

Former Member
0 Likes
1,096

Hi Prema,

Which Function module you are talking about? And for which parameters you are running it?

Regards

Shital

Read only

0 Likes
1,096

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?

Read only

0 Likes
1,096

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> .