How to create ‘Condition’ step on SAP Workflow

Click on the link to learn creating a basic workflow.

Create a condition step on your workflow

1

If you don’t know to create a container element, please click here.

Click on ‘Click here to create a new condition’

Double-click on  following page at data container.

My container name is ELEMENT_TEST

2.jpg

Then click on ‘=’ and write your value in Constant input field.

Click on OKAY button or press enter.

3

4

How to hide selection-screen fields dynamically

Hiding fields on selection-screen dynamically

Screen 1

 1

Screen 2

 2

 

Codes:

 

report  zanil   .

* Selection-Screen Hiding Fields Dynamically

tablesmara.

parameterrb1 radiobutton group rb1

           default ‘X’ user-command comm.

parameterrb2 radiobutton group rb1 .

selectoptions:

s_matnr for maramatnr no intervals

                       modif id I1.

at selection-screen output.

  if rb1 eq ‘X’.

  loop at screen.

    case screengroup1.

      when ‘I1’.

        screenactive ‘1’.

        modify screen.

    endcase.

  endloop.

  else.

  loop at screen.

    case screengroup1.

      when ‘I1’.

        screenactive ‘0’.

        modify screen.

    endcase.

  endloop.

  endif.