zoukankan      html  css  js  c++  java
  • 解决SMARTFORMS 中table 控件单行跨页的问题

    转载自:http://blog.csdn.net/champaignwolf/article/details/9243511


     在CX项目中,MM模块做了大量的的单据打印的工作,一个问题困扰了我好久,一直不能解决。当物料描述很长时,table控件在单元格中能自动换行,这样就有可能在换页处出现一行记录的一部分打在上一页,一部分记录打在下一页,出现了单行跨页打印的问题,一直不能找到很好的解决方法,曾一度考虑把table 换成template。

    很偶然,有次在表的行类性里看到有个“无换页”的选项,按F1查看它的帮助信息如下:



    Page protection attribute
    Switch for page protection.
    Use
    Page protection switch.
    In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections 
    with a page protection.
    Page protection can extend to
    a paragraph
    a text node
    all output within a folder, for example, several text nodes combined in this folder.
    a line type (table node)
    If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.


            呵呵,一目了然,这个选项正是解决困扰我好久问题的解决方案,在明细的行类性的“无换页”处打上对勾,就完美解决了这个问题了,希望给受此困扰的兄弟们有点帮助。

    本人常年接收SAP运维和远程项目,ECC,S/4HANA,CRM,WDA. 远程人天可谈,终身售后,有活请联系V信:18925782767(问问题免费,欢迎交流!) !!请关注本人技术分享公众号:SAP翔子(可扫头像二维码) 每天分享新知识,博客文章也会陆续整理并迁移至公众号,与您一起共同学习
  • 相关阅读:
    Flutter DraggableScrollableSheet 可滚动对象的容器
    Flutter 避免阻塞ui线程
    Android Kotlin 数据驱动模板
    ng mock服务器数据
    rxjs 常用的subject
    Flutter 在同一页面显示List和Grid
    dart2native 使用Dart 在macOS,Windows或Linux上创建命令行工具
    Flutter 创建透明的路由页面
    ng 发布组件库
    js实现单张或多张图片持续无缝滚动
  • 原文地址:https://www.cnblogs.com/rainysblog/p/14988023.html
Copyright © 2011-2022 走看看