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

Interaction is undefined.

Former Member
0 Likes
444

Hello!

How can I fix his error ?

The Loop statemanr processing will be limited .

(FROM, TO and WHERE additions in LOOP)

Interaction with group change processing (AT NEW, ..)

is undefined.

Regards

Sas

LOOP AT g_t_sele WHERE grpin = space. 
              AT FIRST. 
                SORT jitit_lt BY posid. 
              ENDAT. 
              READ TABLE jitit_lt INTO jitit_ls 
                         WITH KEY posid = g_t_sele-posid 
                         BINARY SEARCH. 

              IF sy-subrc = 0. 
                help_tabix = sy-tabix. 
                LOOP AT jitit_lt ASSIGNING <jitit> FROM help_tabix. 

                  IF <jitit>-posid <> g_t_sele-posid. 
                    EXIT. 
                  ENDIF. 

                  READ TABLE l_t_cjit07 WITH KEY 
                                        cnrtl     = <jitit>-cntrl 
                                        intst_old = <jitit>-intst 
       . 
                  IF sy-subrc = 0. 
                    l_t_jitit = <jitit>. 
                    APPEND l_t_jitit. 
                    jinum_r-sign   = 'I'. 
                    jinum_r-option = 'EQ'. 
                    jinum_r-low    = <jitit>-jinum. 
                    APPEND jinum_r. 
                  ELSE. 
                    l_f_ungleich = 'X'. 
                  ENDIF. 
                ENDLOOP. 
              ENDIF. 
            ENDLOOP

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
377

u have to remove WHERE clause from loop and endloop while calling AT NEW statements.

Regards

Peram

2 REPLIES 2
Read only

Former Member
0 Likes
378

u have to remove WHERE clause from loop and endloop while calling AT NEW statements.

Regards

Peram

Read only

Former Member
0 Likes
377

Prabhu thank you!

Do I have the same result in the logic if I remove the where clause ?

Regards

Sas