‎2009 Sep 11 8:01 AM
Hi Experts:
I have a grid alv with a specefic "PDF" Button.
the requirement is:
when i select rows from alv, i have to extract a pre-filled pdf document (already created) and generate from it the same pdf document for each row with different name et store its locay.
How to do this extraction?
PS: i dont want to generate a pdf from alv, i am saying about a pdf document already existing.
Any help ?
Best regards
‎2009 Sep 11 8:06 AM
Hi
Not Sure .....but make a try to AQBW_CALL_EXTRACTOR_QUERY.
Regards,
Sreeram
‎2009 Sep 11 9:04 AM
Thanks for your reply,
i cannot test this FM because it's does not exist yet.
regards
‎2009 Sep 11 9:53 AM
Hi
I'm able to see and test the specified Function Module : AQBW_CALL_EXTRACTOR_QUERY
under the function group : AQBWEXR.
Regards,
Sreeram
‎2009 Sep 11 9:12 AM
Hello,
PS: i dont want to generate a pdf from alv, i am saying about a pdf document already existing.
So you want to open an existing PDF file based on the rows selected form the ALV?
Considering you must have some logic to populate the filename for the PDF file, then use the method EXECUTE of the class CL_GUI_FRONTEND_SERVICES.
Plz revert back if you have any other requirement.
BR,
Suhas
‎2009 Sep 11 9:50 AM
Thank you Suhas for your reply.
i'm not an expert of abap object.
what is the funtionality of this method? because i saw that we can give a document name as a paramater:
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
document = filename
EXCEPTIONS
OTHERS = 1.
best regards