cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time disable text edit

Former Member
0 Kudos

Hi Expert,

I have a requirement that suppose, Application having the two groups example grp1(PM) & grp2(HOD)

when grp1(PM) writes his comments on text edit element and submit the application will automatically going to grp2(HOD) when its going to grp2(HOD) the text edit element(Comments) should be in disable mode.

Regards,

Pinaki.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pin,

Create one attribute say ENABLE of type say WDY_BOOLEAN and bind it to enable property of text_edit.

Whenever you are submiting make it as disable, i eman pass abap_false value.

Ex : your attribute is ENABLE.. code in submit.

  • get single attribute

lo_el_context->set_attribute(

EXPORTING

name = `ENABLE`

value = ABAP_FALSE ).

Cheers,

Kris.

former_member184578
Active Contributor
0 Kudos

Hi.,

Follow the Above Process., but You have to bind the Read Only Property of text edit UI to Enable attribute.

hope this helps u.,

@Kris: Sir I think disable in the sense Read Only .. !!

Thanks & Regards,

Kiran

Former Member
0 Kudos

Hi Kiran,

Thanks for your input.

Both will works. By binding Enable property also it works i checked already.

Cheers,

Kris.