cancel
Showing results for 
Search instead for 
Did you mean: 

regarding one syntax

Former Member
0 Kudos

hi guru,

this is my syntax.here in WA_FINAL1 ,data is coming.

but when i modify WA_FINAL1 to IT_FINAL1 , data is not

transfeering.what is the problem.

LOOP AT IT_FINAL1 INTO WA_FINAL1.

SELECT WMENG VBELN FROM VBEP INTO IT_VBEP1

WHERE VBELN = WA_FINAL1-VBELN.

IF SY-SUBRC <> 0.

MESSAGE ' No data found ' TYPE 'E'.

ENDIF.

APPEND IT_VBEP1.

ENDSELECT.

LOOP AT IT_VBEP1 .

IF WA_FINAL1-VBELN = IT_VBEP1-VBELN.

MOVE IT_VBEP1-WMENG TO WA_FINAL1-WMENG.

MODIFY IT_FINAL1 FROM WA_FINAL1.

ENDIF.

ENDLOOP.

ENDLOOP.

thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Here your move statement is wrong thats why it is not going to your internal table. you use this code.

it_final1-wmeng = wa_final1-wmeng.

instead of move statement.

Otherwise debug it you can solve the problem.

Thanks

Sarada

Former Member
0 Kudos

Hi,

Try this

<deleted> as the same answer mentioned above

check F1 help for MODIFY ..u will surely get one solution..

MODIFY TABLE ITAB FROM WA_ITAB TRANSPORTING WMENG WHERE VBELN = IT_VBEP-VBELN.

Edited by: Chandrasekhar Jagarlamudi on Feb 13, 2008 1:57 PM

Former Member
0 Kudos

HI,

thanks,

i tried but not working, all the values coming in my wa_finla1,

but in it_final1 no value coming...please help..

simplly i am trying to pass the vaues to my wa_final1 to it_final1.

thanks

Former Member
0 Kudos

HI,

PLEASE SOLVE MY PROBLEAM....

amit_khare
Active Contributor
0 Kudos

Use TRANSPORTING -

MODIFY IT_FINAL1 FROM WA_FINAL1 TRANSPORTING WMENG.