Several ways to generate PDF files using ABAP and JavaScript code

ABAP

Method 1: Using ABAP + Adobe Lifecycle Enterprise Service

 

For detailed steps, please refer to my blog Convert word document into PDF via Adobe Livecycle Enterprise service

 

Method 2: Use the InteractiveForm control + Adobe Form Template in ABAP Webdynpro

 
 

For detailed steps, refer to my blog Another way to preview PDF in CRM web client UI with little coding

 

Method 3: Use PDF template for CRM content management

 

For details, refer to my blog Create Webservice enabled Adobe PDF attachment in CRM Application .

Method 4: Manually generate binary content of PDF using ABAP code

 

For details, refer to my blogExport WebClient UI table to PDF

Method 5: Use the Print Form function of Cloud Application Studio in SAP Cloud for Customer (C4C)

 
 

For specific steps, please refer to my blog Step by Step to create an Adobe Print form in Cloud application Studio .

JavaScript

Refer to this example in my blog: http://jerrywang.vip/jerry_test/pdf.html

点击按钮Generate PDF后,会调用开源JavaScript库jspdf.debug.js,将下图中的这段高亮的段落文字转换成PDF文件。

 

 

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码:

 
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326172518&siteId=291194637