06-08-2006 6:47 AM
Hi all,
I am using 'AT LAST' & 'AT END OF' stmt in USER EXIT (MILO0F00_USER_EXIT_001). But I am getting the values as '*************' for the fields. What is the problem?
Thanks in advance.
Vijay.
06-08-2006 6:53 AM
Hi,
Try this code below.
Loop at itab into w_area1
w_area = w_area1.
At....
Dont use w_area1.
Use w_area.
Endat.
Endloop.
Cheers,
Bujji
06-08-2006 6:50 AM
Hi Vijay,
Wuse a separate work area to pass the data first before calling the AT statements.
loop at itab.
move itab to wa_tab.
at new field.
endat.
endloop.
Cheers
VJ
Message was edited by: Vijayendra Rao
06-08-2006 6:52 AM
Hi,
Assign the values to separate workarea before 'AT' atatement.
It converts the values to '***' if it comes beyween 'AT LAST' & 'AT END OF' stmt.
Rgds,
Praakshsingh
06-08-2006 6:53 AM
Hi,
Try this code below.
Loop at itab into w_area1
w_area = w_area1.
At....
Dont use w_area1.
Use w_area.
Endat.
Endloop.
Cheers,
Bujji
06-08-2006 6:59 AM
Hi,
I can visualise your problem. when you give "At End of" statement all the fields followed by the field in
"At End OF" will be filled with "*".I'm giving you a small example to solve the problem :-
loop at itab.
move-corresponding itab to w_itab.
at end of matnr.
write:/1 itab-matnr,20 w_itab-maktx.
endat.
endloop.
Note:- If you give "SUM" command after "At End of" then all the numeric, currency values will get summed up but again the rest of the fields will still be filled with "*".
Hope this will be useful to you.
Regards
Ramakrishnan.G