‎2008 Aug 01 6:35 AM
Hi
When we call a smartform is it possible to get a pop-up to attach any file in output (a pop-up comes by which we can select path and then select any file say any pdf file). If possible please tell me which parameter to set.
Thanks and Regards
Aditya
‎2008 Aug 01 6:39 AM
Are you sending form via mail?
or only giving print?
if you want to send it by mail then you can use FM
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
* FIELD_NAME = ' '
IMPORTING
file_name = pfile.once you get file in your program than by using these FM
SO_DOCUMENT_SEND_API1 SAPoffice: Send new document with attachments using RFC
SO_NEW_DOCUMENT_ATT_SEND_API1 SAPoffice: Send new document with attachments using RFC
SO_NEW_DOCUMENT_SEND_API1 SAPoffice: Send new document
SO_OLD_DOCUMENT_SEND_API1 SAPoffice: Send existing document using RFC
you cant attach along with smartform and send.
Amit.
‎2008 Aug 01 6:41 AM
‎2008 Aug 01 7:12 AM
am not sure how can you show your file along with smartform?
smartform layout is fix but your file may differ each time .i would suggest you to show the file via ALV.
‎2008 Aug 01 7:17 AM
Hi
is there any possiblity to save my output to a particular path.
Aditya