2013 Nov 22 9:54 AM
Hi Experts,
I need to pass an internal table which have dynamic count of columns to pdf interface to print the table data in pdf.
the columns of internal table depends on the selection year which is input.
say for example :
when A is my input : my internal table may have "X" no. of columns . like c1, c2,... cx, as columns
and when B is given : my internal table may have "Y" no. of columns . like c1,c2,.. cy, as columns
after loading this internal table with data, i need to pass it to adobe application, to have a print output. As it should be passed to the function module of adobe interface. How the same internal table is declared there and handled there.?
please help me in declaring this internal table and printing the same in adobe.
your help will be greatly rewarded and appreciated .
Thanks ,
Srinivas.
2013 Nov 24 11:55 PM
Hi Experts,
I need to pass an internal table which have dynamic count of columns to pdf interface to print the table data in pdf.
the columns of internal table depends on the selection year which is input.
say for example :
when A is my input : my internal table may have "X" no. of columns . like c1, c2,... cx, as columns
and when B is given : my internal table may have "Y" no. of columns . like c1,c2,.. cy, as columns
after loading this internal table with data, i need to pass it to adobe application, to have a print output. As it should be passed to the function module of adobe interface. How the same internal table is declared there and handled there.?
please help me in declaring this internal table and printing the same in adobe.
your help will be greatly rewarded and appreciated .
Thanks ,
Srinivas.
2013 Nov 22 11:15 AM
Hi Seenu,
I think you cant declare a dynamic internal table which is supposed to be TYPE REF TO DATA.
Why cant you use XML transformation to pass the data.
pass your standard ITAB to XML transformation, you will get a XML string which is kind of STRING.
now you can pass this to FM for adobe printing. in that FM you can call the same XML transfermation to change the data type from XML to ABAP ITAB.
It would be better if we find any way to pass tha data from XML to adobe form directly.
Thanks and Regards,
Bhaskar
2013 Nov 23 6:54 AM
Hi Bhaskar,
Thanks for the valuable input, as this gives me some ray of hope, but i checked, it is also not working my way,, as transformation is for data purpose, not to hold layout... this could be possible if we set max no. of columns first and then hide the unwanted columns in the initialization of adobe interface.. i'm struggling to bring my idea into code... anyways thanks for the response and input..
2013 Nov 24 11:55 PM
2013 Nov 27 6:01 AM
Thanks Sougata Chatterjee...
Thanks you so much . Its working now...