on 12-03-2009 8:08 AM
Hi everyone,
The user want to implement a request like follows:
1. quotation will send to a webservice for approval.
2. when the quotation is approved, webservice will call a RFC to update the status of this quotation in SAP.
The problem start here.
3. inside the RFC call, SAP need to print the Quotation FORM automatically to a PDF file which will be named using Document No. date and time. Then a record need to be sent to another CRM with the PDF as an attachment.
Is there any way to solve this requirements?
The biggest question for me is how to tigger the form print and print it into pdf.
Thanks for prompt response
Regards
Sean
Hi Sean
It is possible like this:
Maintain two output types for the same program of form output.
1. Maintain output type as EDI i.e. Idoc from SAP to Webservice. Say Output type ZWEB.
2. Once approved by webservice, call RFC to update SAP. This RFC will responsible to trigger second output type, say ZPDF.
ZPDF will trigger in sales order with transmission medium as 5- external send having name using "Document No. date and time" (this can be achieve by ABAP program for smartform). This e-mail will sent to e-mail id provided with PDF attachment.
Please discuss with ABAP consultant having good command in Smartforms.
try and revert
Edited by: Yadav on Dec 3, 2009 9:29 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Yadav
Thanks, but i need more detail information about technique details.
My plan now is to realize the form printing program and prepare all the data when i got the RFC call.
Then try to write it into SPOOL, and using program RSTXPDFT4 to print it into pdf and send to a shared folder.
I wonder is that possible for SAP to create a pdf driectly without using spool.
Regards
Sean
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.