‎2008 May 02 8:03 AM
HI,
1)R/3 got a Binary/String file from protal then we need to convert the data to Pdf file and
2) That Pdf file will be attached to the po attachement section.
can you tell me how to do those requirement
are any function modules there for develop the above requirements....
Regards
venkat Boddu
‎2008 May 02 9:55 AM
The function module(s) , would be required to convert the error file to PDF , the internal table (error) needs to be first sent to spool and then could be printed to pdf format , which then could be used as an attachment to send the email.
Use FM --> 'GET_PRINT_PARAMETERS' and write the spool.
After converting the file to spool , it needs to be converted into PDF file using FM :
'CONVERT_ABAPSPOOLJOB_2_PDF'
Then SO_NEW_DOCUMENT_ATT_SEND_API1 , could be used to send it as an attachment.
Cheerio,
Disha
‎2008 May 02 10:33 AM
HI Disha,
That data is not Error file... i am getting the data from portal(In portal they will update the particular po) and send back to the RFC(R/3)...then we will convert the Binary data to PDF and attach that PO DATA in PO Attachment Section in Front end....
Regards
Venkat Boddu
‎2008 May 02 12:27 PM
In RFC you can use the above function modules which I mentioned make it into PDF files. This data could be anything. By mistake I had mentioned error file.
Do you need to attach the pdf through portal?
‎2008 May 02 1:28 PM
Hi Disha,
No After converting Binary Data to PDF then we need to attach that PDF(po information) in PO Attachment Section for particular PO in frontend......
Regards
Venkat Boddu
‎2008 May 04 7:57 AM
Hi,
Not sure exactly at what step you want to Convert data to PDF.
But in order to use FM CONVERT_ABAPSPOOLJOB_2_PDF you will require to Create Spool.
And then FM SO_SEND*API1 can be used to send the pdf.
Shital