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翔子(可扫头像二维码) 每天分享新知识,博客文章也会陆续整理并迁移至公众号,与您一起共同学习
  • 相关阅读:
    go案例:客户管理系统流程 mvc模式 分层设计
    珠峰2016,第9期 vue.js 笔记部份
    前后端分离电商,业务逻辑部份
    'Specifying a namespace in include() without providing an app_name '报错解决
    vue2.0 前端框架
    vue项目实战
    电商网前后端分离数据表设计部份
    djang2.1教育平台02
    django框架开发流程
    测试的艺术:测试用例的设计
  • 原文地址:https://www.cnblogs.com/rainysblog/p/14988023.html
Copyright © 2011-2022 走看看