SAP VF01/VF02/VF03 Tab Enhancemnt

本文介绍了如何为SAP的VF01、VF02和VF03交易代码进行增强,特别是在VBRK表中创建自定义字段。通过在SE38中创建报告zzinvoice,并在标准程序SAPMV60A中为客户附加数据提供两个屏幕,分别用于头信息和详细信息。使用循环遍历屏幕,动态设置TABSTRIP_TAB06的标签和程序,实现界面自定义显示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.Create the Z fields for VBRK.

2.Go to SE38, create report zzinvoice.

 

3. In standard program SAPMV60A, provide 2 screens for customer additional datas, 6001 for header 6002 for details.

 

  1. loop at screen.  
  2.   
  3.   if screen-name = 'TABSTRIP_TAB06'.  
  4.   
  5.   
  6.     gs_cust_tab-head_caption = 'TEST'.  
  7.     gs_cust_tab-head_program = 'ZZINVOICE'.  
  8.     gs_cust_tab-head_dynpro  = '0100'.  
  9.   
  10.     if gs_cust_tab-head_dynpro is not initial.  
  11.   
  12.       screen-active = 1.  
  13.       screen-invisible = 0.  
  14.       modify screen.  
  15.       tabstrip_tab06 = gs_cust_tab-head_caption.  
  16.     endif.  
  17.   
  18.   
  19.   endif.  
  20.   
  21.   
  22. endloop.  
  loop at screen.

    if screen-name = 'TABSTRIP_TAB06'.


      gs_cust_tab-head_caption = 'TEST'.
      gs_cust_tab-head_program = 'ZZINVOICE'.
      gs_cust_tab-head_dynpro  = '0100'.

      if gs_cust_tab-head_dynpro is not initial.

        screen-active = 1.
        screen-invisible = 0.
        modify screen.
        tabstrip_tab06 = gs_cust_tab-head_caption.
      endif.


    endif.


  endloop.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值