10-16-2008 2:17 PM
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
10-16-2008 2:19 PM
Hi,
Change your code as:
LOOP AT i_user_add.
i_user_add-mandt = sy-mandt.
MODIFY i_user_add transporting mandt.
ENDLOOP.
10-16-2008 2:19 PM
Hi,
Change your code as:
LOOP AT i_user_add.
i_user_add-mandt = sy-mandt.
MODIFY i_user_add transporting mandt.
ENDLOOP.
10-16-2008 2:21 PM
Hi ,
while modifying the internal table specify wich field you are modifying
modify <internal table > from <work area> transporting <fields>.
regards
naveen
10-16-2008 2:22 PM
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
10-16-2008 2:25 PM