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

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

Former Member
0 Likes
834

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
Read only

Former Member
0 Likes
786

Hi,

Change your code as:

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add transporting mandt.

ENDLOOP.

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

4 REPLIES 4
Read only

Former Member
0 Likes
787

Hi,

Change your code as:

LOOP AT i_user_add.

i_user_add-mandt = sy-mandt.

MODIFY i_user_add transporting mandt.

ENDLOOP.

Read only

Former Member
0 Likes
786

Hi ,

while modifying the internal table specify wich field you are modifying

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

regards

naveen

Read only

Former Member
0 Likes
786

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

Read only

0 Likes
786

Appreciate all your Help. Issue is resolved