requirement

Customer wants to render the body page 4 times on 4 different master page in one PDF. Take “Invoice” as example, the first copy will be printed on master page with text “for Customer”, the second copy will be printed on master page with text “for archive”.

Currently our method is to have 4 same body pages, but in the other 3 body pages, we have to use scripting to get the table content and display. Because the data has been consumed by table in the first body page, it will not show in left body pages.

One form with several pages will be printed with 4 copies, but not same copies.

All other parts including page number should be same, but the form title of each copy is different. For example “Invoice-For customer”, “Invoice-For Archive”. “Invoice-Duplicate” and “Invoice-for auditing”

Issue

We have two questions regarding the template:

  • We want the same template to printed three copies. The difference is the title for those three copies should be different. As you may see in mock up, Copy 1 title “Delivery Note”, Copy 2 title “Delivery Note For Customer”, Copy 3 title “Delivery note for Archive”. the page numbers should be also “1,2; 1,2; 1,2” instead of the normal sequence “1,2,3,4,5,6”.

  • Another issue is we want to print a note field only in the last page of the form, the position should be always just upon the footer. Please see in mock up. I tried to put it in bodypage, but the position cannot fix to upon the footer. If I put it in master page, I can locate the position, but in the first page, I have to hide this note filed. The position cannot be released since it’s not flow in master page. Do you have any better solution on this?

Solution

See attached PDF which contains attachments referred to below:

  1. The best approach for printing multiple copies is to use the batch mode in the server. This allows a single template to use an XML data file which has been wrapped in a top level node (see attached batch...xml file). There is a directive when calling ADS on the server that uses this and generates n instances of the template, based on the number of nodes in the data file.

  2. To show the different title, I changed the title to use a text field and bind the title to the data.

  3. To show a note on the last page, I added the note field to the last master page and then used a script to hide the field except on the last page:

if (xfa.layout.page(this) < xfa.layout.pageCount()) {
this.presence = "invisible";
}

If these solutions are not acceptable, I would suggest the following alternative:

  1. In the P3B Designer (version 8.0 or later) which is available for use by SAP in the ADS project: there is the ability to design master pages which can be more specific than just ordered occurrence. In this case, you could design a single template and repeat the sequence of master pages for more than one set of data.

  2. If you chose to not use data for the title, then you can selectively set the title in the template via scripting.

  3. If you chose the P3B Designer, you can create a "last page" master page to contain the Notes field.

Adobe form batch output print mode - multiple相关推荐

  1. 如何在 SAP ABAP 系统中使用 Adobe Form 试读版

    本专栏计划的文章数在 150 篇左右,到 2022年9月12日为止,目前已经更新了 51 篇,专栏完成度为 34% 零基础 ABAP 学习教程系列文章的目录 1. ABAP 标准培训教程 BC400 ...

  2. 如何在 SAP ABAP 系统中使用 Adobe Form

    Smart Forms 是 SAP 传统的表单制作和打印的一种可视化工具. 本教程介绍可以看作 Smart Forms 的下一代 SAP 表单工具:Adobe Form. 同 Smart Form 相 ...

  3. SAP adobe form step by step 视频学习教程

    SAP Form开发的技术主要有三种: (1)Script form,很老的一种 (2)smartforms,常见的开发方式 (3)adobe form,可以生成PDF文件,非常强大,需要安装ADS服 ...

  4. Font support in Adobe form

    Firstly, we support any OpenType, TrueType and Type1 fonts. So we can support anything the user choo ...

  5. 使用 ADS 渲染 SAP Adobe Form 的性能分析

    可以手动拿到: 在这个方法里设个断点,在UI上点preview,断点触发后手动把_adstrace改成04,回车. 最后出来的PDF里trace data就存在PDF附件里 https://ldcis ...

  6. Codeforces Round #127 (Div. 1) E. Thoroughly Bureaucratic Organization 二分 数学

    E. Thoroughly Bureaucratic Organization 题目连接: http://www.codeforces.com/contest/201/problem/E Descri ...

  7. 如何把 SAP ABAP 系统里一张数据库表的内容,显示在 Adobe PDF Form 里

    在本教程前几个步骤,我们依次学习了如何在 SAPGUI 里一步步创建自定义屏幕: 27. 一步步创建包含自定义 Screen 的 ABAP 程序的详细步骤 以及如何在 SAPGUI 里显示上传到 AB ...

  8. SAP PO中如何打印预览,找到Message type以及找到驱动程序和Form输出程序

    PO Printview 打印预览 Message Type 如何找到驱动程序和form程序 1.PO Printpreview 打印预览 Step1:通过TCODE:ME23N,输入PO ​ Ste ...

  9. 深度神经网络中的Batch Normalization介绍及实现

    之前在经典网络DenseNet介绍_fengbingchun的博客-CSDN博客_densenet中介绍DenseNet时,网络中会有BN层,即Batch Normalization,在每个Dense ...

最新文章

  1. Postmortem报告
  2. java中各种vo举例_了解JAVA中的POJO,Entity,PO,VO,DTO,DM包括代码举例展示
  3. jQuery经典面试题及答案精选[转]
  4. Python学习笔记:常用内建模块6 (urllib)
  5. Cochrane系统综述注册的具体流程
  6. spring部分注解
  7. 高效万进制——蓝桥杯|HDOJ 1002 大数加法——30行代码AC
  8. 关于Modernizr的使用
  9. SAP Hybris Accelerator和SAP Spartacus的比较
  10. Maven项目错误解决小结
  11. 计算机无法启动显示空格闪烁,我的电脑打不开怎么把硬盘格式化
  12. 2017计算机c语言大纲,2017年计算机考研大纲
  13. matplotlib 柱状图、饼图;直方图、盒图
  14. 中国兽用化学药品行业“十四五“发展规划及运营模式分析报告2021年版
  15. MySQL数据库约束(非空,唯一,默认,主键,外键约束)
  16. 五大车载操作(VOS)系统优劣对比
  17. Kaptcha 验证码框架使用
  18. 高效报表工具选型与推荐
  19. FillRect、FrameRect、Rectangle 矩形绘制函数使用对比分析
  20. Couldn‘t find meta-data for provider with authority xxx.fileProvider

热门文章

  1. linux下的open的注意事项
  2. Qt之QSpacerItem
  3. 20120907学习笔记
  4. 通过注册表修改远程桌面默认3389端口
  5. 向所有的代码小神童学习!
  6. opencv学习(part1)--OpenCv框架介绍
  7. 第三次学JAVA再学不好就吃翔(part9)--基础语法之键盘录入
  8. 基于 Kyma 的企业级云原生应用的扩展案例分享
  9. Angular Change Detection 的学习笔记
  10. SAP UI5 初学者教程之三:开始接触第一个 SAP UI5 控件 试读版