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

IW21 values not refresh

Former Member
0 Likes
794

Dear All

After creating notification in IW21 values not refresh when  i change the values in IW22.

Same values will repeat.My problem is when i remve the cause code in iw22 and save it display

same cause code.

Please tell me  how to solve this issue.

Regards

Pyneri

Dear All

After creating notification in IW21 values not refresh when  i change the values in IW22.

Same values will repeat.My problem is when i remve the cause code in iw22 and save it display

same cause code.

Please tell me  how to solve this issue.

Regards

Pyneri

5 REPLIES 5
Read only

former_member451655
Active Participant
0 Likes
758

Hi Pyneri,

Can you please paste the Code which you have written ,  your question is not clear

Thx,

Dilum

Read only

0 Likes
758

HI Dilum

Thanks for your reply.

My requirement is user can't save the notification  without Cause code in IW22 and IW28.

Now it is save If user remove the cause code in IW22 and IW28.

I saw in debuging it picking the value whatever the value  we give at the time of creation in IW21.

I hope   if i clear  or refresh the cause code after creation my problem will solve.

Code:

   IF SY-TCODE = 'IW21' OR
   SY-TCODE = 'IW22' OR
   SY-TCODE = 'IW31' OR
   SY-TCODE = 'IW32' OR
   SY-TCODE = 'IW28'.

    IF LV_STAT CS 'NOCO' AND
      ( LV_NOT_TYPE = 'N2' OR
        LV_NOT_TYPE = 'N4' ).
      IF T_VIQMUR-URCOD IS INITIAL.
        MESSAGE 'Please enter the Cause Code' TYPE 'E'.
      ENDIF.
    ENDIF.

ENDIF.

Regards

Chiranjeevi.

Read only

0 Likes
758

HI Dilum

Thanks for your reply.

My requirement is user can't save the notification  without Cause code in IW22 and IW28.

Now it is save If user remove the cause code in IW22 and IW28.

I saw in debuging it picking the value whatever the value  we give at the time of creation in IW21.

I hope   if i clear  or refresh the cause code after creation my problem will solve.

Code:

   IF SY-TCODE = 'IW21' OR
   SY-TCODE = 'IW22' OR
   SY-TCODE = 'IW31' OR
   SY-TCODE = 'IW32' OR
   SY-TCODE = 'IW28'.

    IF LV_STAT CS 'NOCO' AND
      ( LV_NOT_TYPE = 'N2' OR
        LV_NOT_TYPE = 'N4' ).
      IF T_VIQMUR-URCOD IS INITIAL.
        MESSAGE 'Please enter the Cause Code' TYPE 'E'.
      ENDIF.
    ENDIF.

ENDIF.

Regards

Chiranjeevi.

Read only

0 Likes
758

Hi ,

You can set the Field as optional via configaration .Just Contract your functional guy

Thx ,

Dilum

Read only

0 Likes
758

HI Dilum

Thanks foryour suggestion.

I spoke to my finctional guy, he told it is not possible through configuration.

Please can you tell me how to do in configuration.

Regards

Pyneri