cancel
Showing results for 
Search instead for 
Did you mean: 

Attachments - Visible internally Only - unflag the box

Former Member
0 Kudos

Dear experts,

We are using SRM 7.01 , ECS , and we are using both Easy Sc and Professional SC

When we add an attachment to a line inside a SC , the box for Visible Internally Only is by default flag

I want to remove that Flag

How / Where is this possible ?

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

use WD_BADI_DOMODIFYVIEW BAdI from WD_BADI enhancement point.

Regards.

Laurent.

Former Member
0 Kudos

Thanks, is a point, but i need more info what / how to do it , more details

laurent_burtaire
Active Contributor
0 Kudos

Hello Madalin,

here is below ABAP code:


DATA: lr_checkbox TYPE REF TO cl_wd_checkbox.


lr_checkbox ?= view->get_element( 'INTERNAL_CHECKBOX' ).


* Unset check-box

IF lr_checkbox IS BOUND.
 
CALL METHOD lr_checkbox->set_checked
        EXPORTING
          
value = space.
ENDIF.


Regards.

Laurent.

Answers (0)