on 02-13-2008 7:24 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use TRANSPORTING -
MODIFY IT_FINAL1 FROM WA_FINAL1 TRANSPORTING WMENG.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.