From Smartform spool to DMS

Hello All,
I have a smatform that results a spool after running it.
I want to convert it to pdf and save it in DMS so I can retrieve or print it later. How can I do this?
1. transform spool to PDF?
2. store the PDF into DMS
3. retrieve the document fron DMS so user could print it later.
Thank you in advance,
Diana

Hi-
If you have the data in TLINE format, then you can pass it to import parameter- ATT_BIN in FM-SAP_WAPI_ATTACHMENT_ADD along with wi id, header data  (file type...).
From this FM, get the doc id and create SOFM instance with this doc id and bind this SOFM to ATTACH_OBJECTS in workflow
Vinoth

Similar Messages

  • Creating Spool from Smartform??

    Hi
    Can anybody tell how to get the spool from smartform?
    Thanks in Advance
    Davinder Singh

    Hi Davinder,
    After the execution of smartform function module the import parameter JOB_OUTPUT_INFO is populated with data. This is of type SSFCRESCL.
    The component SPOOLIDS of JOB_OUTPUT_INFO contains list of spool id generated for smartform..
    This spool id can be used to read spool request generated using any standard func module like RSPO_RETURN_ABAP_SPOOLJOB.
    Hope this helps you....
    Enjoy SAP.
    Pankaj Singh.

  • Exporting html from smartform (hrfrom)

    Hi all,
    I've created a print program to convert the output spool into a pdf, but is there a way to have an html file generated from the spool?
    I came across WWW_LIST_TO_HTML, but that seems to only handle list-type sppol output.  Is there a standard way to have the smartform output as a html file?
    Regards,
    D. B.

    Ok, I finally noticed the Put Images in Subfolder check box, which allows me to choose where I want the image to end up (not exactly intuitive, though, as I don't want the image in a subfolder, per se, I want it in the same folder as the HTML!).  And I still don't see where I can choose what type of image to export.  (What's with this "Export" crap anyway?  Why not Save for Web and Devices like every other Adobe product I use?  I know, I know, it's related to Fireworks' Macromedia origins...still, let's get on the same page, here!)

  • Email PDF from SmartForms but it is editable

    In SD, we are emailing the invoice in PDF from SmartForm. The problem we are facing is that PDF is editable and we would like to protect PDF from editting for security reason. is it possible to control attribute of PDF file from SAP at the point of sending?
    Thanks in advane,
    Masa

    hi
    good
    you can protect the pdf file using the authorization object, go through this link i hope this ll help you to solve your problem.
    http://www.jhu.edu/hopkinsone/Secure_Private/Library/Blueprint/CrossFunc_Section6.pdf
    thanks
    mrutyun^

  • Print the job from the spool in abtch mode

    I want to be able to print a job from the spool in batch mode. In other words a job currently exists that creates a report that currently goes to a printer.
    The user wants the report to print on two different printers. This extra printer cannot be placed in the job, since SAP only allows one printer per output. What I would like is to find a SAP program that would accept a spool name and a printer destination. It necessary we can write a program that might execute a SAP function to do the same.
    SP01, the spool transaction, does not easily adapt itself to batch execution. I donu2019t want to create a bdc session using it.

    Hi,
    If the domain of these fields are of type SYTIME, then adding the fields like a numeric value should suffice.

  • Extracting a Report from SAP Spool into a Useful Excel 2010 Format

    Hi All,
    Extracting a Report from SAP Spool into a Useful Excel 2010 Format.  I'm currently running the following report in SAP  and would like the
    ability to set this report up as a recurring report running weekly and
    subsequently access this report in a useable Excel 2010 format without
    much data manipulation.  Can you please assist me.  Below, I've tried to
    provide an example of what I'm encountering.   Thanks, beforehand for
    your assistance.
    Here goes:
    Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
    Inventory
    Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter  the
    desired company code and period I want thre report to run for and update
    the currency, if necessary. Having input my desired criteria, I believe
    I can either execute immediately, run in the background, preset to run
    at date in the future. For this example let's just execute, immediately.
    This is where the difference originates. Given, I run this report
    immediately, I'm able to simply extract the result to Excel via the list
    selection noted in the tool bar below.  The result is a data friendly
    excel 2007  report is automatically generated.
    Export to Excel via list:
    Select save and Excel 2007 opens automatically:
    That said, the method outlined above works perfectly fine if you want
    the report immediately.  Now let go back and run the exact same report
    with exceptoin of running it in the background and having to retrieve it
    from the Spool (SP01) uisng my user ID.  Given the report generated in
    the background,  I would now access the report via the spool and make
    the following selections:
    SP01 + execute to see my report
    I would hit the sunglasses to see the actual report, then want to
    extract this report to Excel by selecting the export option.
    I would at this point select spreadsheet and be given an option to save
    the spreadsheet to local file. However, upon trying to open the
    spreadsheet I will receive an error messageindicating that the format is
    different than that which the file I am currently trying to open it
    with.  I'm currently running Excel 2010 on my computer.  The currency
    format and other issues arrise with this extract.  Please help. 
    Thanks,
    Chowadary.

    Update to Latest GUI.
    Use   List -> Export -> Spreadsheet  to get the output to excel.
    I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
    Check your fieldcatog for header lengths.
    -Satya

  • How to print check box from smartform

    Hi friends,
    Any body help me ???
    How can we print a check box in a layout from smartform.....

    Hi Shashi,
    You can't directly print a checkbox as such in a smartform. But, there is a workaround.
    Create two GraphicElements (for checked / unchecked). Assigned images to (for tick and untick) them.
    In the conditions tab of GraphicElement enter conditions -
    1. for checked - field = 'X'
    2. for unchecked - field = ' '
    To add images of tick and untick to system, Use transaction SO73.
    Regards,
    Manish Joshi

  • How find print program and form name from the spool list

    Hi,
          I have a requirement to find print program and form name from the spool list.
    I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
    Cheers
    Sam

    Hi
    Try TSP01-Suffix2
    Regards
    Raj

  • To convert smartform spool to pdf

    Hi all,
    I need to convert smartfom spool to pdf..
    When i executed the smartform it is generating a spool number and
    tsp01-rqdoctype =  'SMART'.
    To convert Spool to PDF Iam using the following function module
    'CONVERT_ABAPSPOOLJOB_2_PDF'
    It is converting to pdf only if the document type is 'LIST'.
    can any one suggest me how to convert smartform spool to pdf?
    Regards
    cnu

    Hi
    Refer to this link :
    Re: smartform output to mail
    Reward if useful
    Thanks
    Krushna

  • Is possible work with boleto from SmartForm using the Tcode FBZP  ?

    HI,
    SAPScript bar code output in PDF format
    As a SAP does not intend to deliver this solution for SAPscript  because The report - RSTXPDFT4 does not work correct to bar code in the boletos (Brazil) when convert to PDF, we are going to change to Smart Form.
    The problem now.....Does someone know if is possible use this boleto from SmartForm using the Tcode FBZP ?
    Here in the customer there were a lot of problems about bar code (Critical) and in the past the Basis consultant had problems to import all Basis Support Packages and kernel patches in Release 4.6C.
    if someone can help me, I really apreciate.
    Since now....Thank you !!!!!!
    Best regards,

    Hello!
    SAP doesn´t have a SMARTFORM for boleto. We're sorry, but  you can´t put a barcode on a SMARTFORM for the boleto in the standard system.
    REgards,
    Renan Correa

  • Tamper proof or noneditable PDF file creation from smartforms.

    Experts,
    We have requirement to create PDF file from smartforms that should be tamper proof.
    As we know there any many PDF to word convertors tools are in market.
    So PDF file should not be copied and not converted in word (should be tamper proof and non-editable).
    So do we have solution with in SAP only to achieve above requirement ?
    Please take your time answering, I'm not the kind of person that demands an answer really quickly, because that would be a bit rude.
    Message was edited by: Matthew Billingham - "hurry up" text replaced.

    Dear Jelena,
    True PDF is non-editable, but we can copy PDF content or even we can use tool to convert into word/docx format. for basically we are using information.
    Orignal source will never change.
    Let me explain you example.
    Let say i have converted invoice (smartform) into PDF and send to X person.
    Now X person can convert PDF into word format.
    X person did some changes in word and converted back to PDF (miss use of orignal data/PDF file).
    So requirement is that X person should not copy PDF content (Ctrl + C) and X person should be restrcited from converting to word.
    Acrobat/Adobe has this feature but this is external (need to use some third pary tool)
    Can this requirement accomplished within SAP only or include some Adobe package (class & method in SAP ).

  • Move mail from one spool to another spool directory?

    I have a situation where I think a user's mailbox is corrupt, so my thought is I have to make a new /var/imap structure and rebuild the database. However, mail services have to be off to do this... and it will take a while.
    My question is, can't you simply copy the structure from /var/spool/imap/user/xxxx to a new/different account, and rebuild one account individually (so that it now recoginizes this mail in it's spool??)
    I have tried the individual reconstruct command but to no avail, apparently.
    Thanks for any tips (the goal is to get at this specific email as soon as possible, one way or another).
    OS X Server 10.3.7

    Formally I always used my ISP's email account as my primary account and when moving or if deciding to change ISPs (I moved twice within a two year period of time), this required changing my email address so I switched my primary email account to a .Mac account so my ISP doesn't matter. It has an authenticated SMTP server so I can send messages with my account regardless which ISP I'm using for my internet access.
    A Gmail account would provide the same for you, is free and can be accessed as a POP account or IMAP account with any email client on your computer and with the iPhone's email client. An IMAP account would also provide for keeping all server stored mailboxes synchronized between both email clients used and the ability to save Sent messages on the server with both so sending a message with the iPhone's email client will be available in the account's Sent mailbox with the email client used on your computer automatically and vice-versa. You can also create additional server stored mailboxes with the email client used on your computer for storing received or sent messages by by category and these additional server stored mailboxes will be available with the iPhone's email client automatically.
    This is not possible with a POP account and BellSouth provides POP account access only.
    I understand it is a pain to change your email address but with the combined benefits of a Gmail account which is free and has a good spam filter on the server, I think you should give this some serious consideration.

  • Problem when Generating a PDF , from a SPOOL

    Hi,
    I'm using the Standard report RSTXPDFT4 to generate data from a spool to a .pdf file.
    When the program runs online the data is generated correctly, but, when the data has more then 99 pages, it runs in background, give me the return that the PDF was produced correctly but i can't find where.
    I used the path C:\file.pdf but since the server is UNIX, it has got none "C:" Directory.
    Then i tried to use /usr/sap/trans/tmp , but the program don't find this path.
    Does anyone know how to solve this problem?
    Thanks and regards.

    see ...
    go to your desktop   <b>create  one  pdf  file   empty    see  rightclick the file  and see  the properties of the file  ... there the path of the  file</b>  will be there  ..  copy and paste it in the   RSTXPDFT4   file path .
    just  give the file   path as your desktop   and   do  background   ... so that the spool will be downloaded into your   desktop with  the file  name
    i think  problem is  the file  path  ..... see the  properties of the files in your  desktop
    Girish

  • How to save internal table data to file on local disk from smartforms?

    Hi there,
    I'm trying to save internal table data into .csv file on presentation server from within smartforms using GUI_DOWNLOAD function.
    This function works fine from abap program, but when I call it from smartforms it does nothing. Form prints ok and there is no file created on local dick.
    Is there a way to save smartforms internal table data to local disk?
    Thanks in advance,
    Baske

    Hi Jey,
    Thanks for your prompt replay.
    Unfortunately, Iu2019ve tried both your suggestions without success. Smartforms behaves just like in case of GUI_DOWNLOAD. There is no file saved on disk.
    Do you have any other idea?
    BR,
    Baske

  • How to get data from OTF spool request number

    Hi all,
            How to get OTF Data from the spool request number (OTF)?
            How to create spool request from the OTF Data?
    Regards,
    Sunil Kumar

    Hi,
    Check this links:
    http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm
    Sending Mail from SAP
    https://wiki.sdn.sap.com/wiki/display/sandbox/SendMailwithPDFAttachment?showChildren=false#children

Maybe you are looking for

  • Getting error when schedule a webi report

    Hi All, I am getting error "Cannot initialize Report Engine server. (Error: RWI 00226) Error: INF) while schedule a Webi report. Could anyone help me regarding the error? Regards

  • How come when i copy a color from one page to another, the color looks faded?

    I'm using the same color in a multi-page layout. When i copy a color box from one page to another, the color looks faded on some pages. WHY?! Thanks!

  • How to put mail body while sending Payment Advice Note by mail

    Hi, I am sending payment advice form through mail using the BTE 2040. Everything is fine and mail is coming properly but mail does not have any body line. It just contains the PDF as an attachment. I want to put mail body in that. I have just copied

  • Importing EJB Model in NWDS

    Hi,<br> There is a simple Stateless Session Bean which uses an external library (JAR); and there is only 1 business method with just 1 line of code: RecordEx r = null; <br> RecordEx is one of the library classes;<br><br> While trying to import this a

  • Cannot drop component on jsp ?

    What I did: 1. Created a jsp file 2. Atempt to drop a component on jsp file Creator Warning: You cannot drop component on plain HTML documents, only on web form. Mind you, I have created similar jsp files with success before this. What is the problem