2009 Jun 13 5:02 AM
1. How to convert data in internal table into PDF
2. I need to group this data in pdf as below.
Assume, i have storage location & ebeln in my itab. So my pdf should haves recs as:
001 1000000000
1000000001
1000000002
1000000003
002 1000000004
1000000005
......
.........
...........
so on.... i.e. i should not repeat the value of LGORT in all the recs, if it is same.
Thanks
Kiran
Edited by: kiran dasari on Jun 13, 2009 11:07 AM
1. How to convert data in internal table into PDF
2. I need to group this data in pdf as below.
Assume, i have storage location & ebeln in my itab. So my pdf should haves recs as:
001 1000000000
1000000001
1000000002
1000000003
002 1000000004
1000000005
......
.........
...........
so on.... i.e. i should not repeat the value of LGORT in all the recs, if it is same.
Thanks
Kiran
Edited by: kiran dasari on Jun 13, 2009 11:07 AM
2009 Jun 13 8:09 AM
2009 Jun 16 4:46 PM
Thanks ramani.
After conversion to PDF, i also want to group my data as indicated. Can you please tell me what need to be done for that.
Thanks
Kiran
Edited by: kiran dasari on Jun 17, 2009 7:59 AM
2009 Jun 17 5:46 AM
While writing the data to spool, using FM "RSPO_WRITE_SPOOLREQUEST"; clear the storage location..
Sort itab by lgort ebeln.
loop at itab into wa_itab.
wa_itab1 = wa_itab.
clear wa_itab1-lgort.
at new lgort.
wa_itab1-lgort = wa_itab-lgort.
endat.
call FM "RSPO_WRITE_SPOOLREQUEST" using WA_ITAB1.
endif.
Hope this will help.
2009 Jun 17 2:29 PM
Hi Richa,
Thanks for your reply.
Can you check your coding once please. You are moving data into new work area and clearing that immediately.
did u mean to:
for every new lgort, keep the lgort and clear lgort for all recs as long as its same lgort?
Thanks
Kiran
Edited by: kiran dasari on Jun 19, 2009 7:41 AM