Application Development 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: 

Code Inspector Issue - "MODIFY - without TRANSPORTING was found in line "

Former Member
0 Kudos

Hi all

I am new to abap and my transports are unable to move further because of code inspector error

"MODIFY - without TRANSPORTING was found in line ". Help me resolve the issue.

For example

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add.

ENDLOOP.

<removed_by_moderator>

Edited by: Julius Bussche on Oct 16, 2008 3:23 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Change your code as:

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add transporting mandt.

ENDLOOP.

4 REPLIES 4

Former Member
0 Kudos

Hi,

Change your code as:

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add transporting mandt.

ENDLOOP.

Former Member
0 Kudos

Hi ,

while modifying the internal table specify wich field you are modifying

modify <internal table > from <work area> transporting <fields>.

regards

naveen

Former Member
0 Kudos

Hi,

Change your code to the following:

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add INDEX sy-tabix TRANSPORTING mandt.

ENDLOOP.

Regards,

Saba

0 Kudos

Appreciate all your Help. Issue is resolved