Chinaunix首页 | 论坛 | 博客
  • 博客访问: 586279
  • 博文数量: 154
  • 博客积分: 10208
  • 博客等级: 上将
  • 技术积分: 2225
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-16 14:02
文章分类

全部博文(154)

文章存档

2012年(4)

2011年(44)

2010年(50)

2009年(4)

2008年(52)

我的朋友

分类:

2008-08-12 15:38:01

  1. Use T-Code STVARV to create a variable. If you want to transport it to another client/system, please select the “Include changed entries in transport request”.   Also if you have authorization to use T-Code SM31,you can maintain the table TVARVC here.

  1. For the dynamic parameters, you should update it periodically. Then we can create a job and run it periodically. For the fiscal period, we can create a program like this:

 

report update_fiscal_period. 

  data: zrr_yyyypp(6)   type n.

  data: tv              like tvarvc. 

  • Update ZTEST Variables 

  zrr_yyyypp+0(4) = sy-datum+0(4).
  zrr_yyyypp+
4(2) = sy-datum+4(2).
  tv-
type = 'P'
  tv-name = 
'ZTEST’.
  tv-low = 
ZRR_YYYYPP.                              
  
update tvarvc from tv.                 
  
if sy-subrc <> 0.
    tv-mandt = sy-mandt.
    tv-clie_indep = 
'X'.
    
insert tvarvc from tv.     

  endif.

  1.  Use this variable in variant of program.

       

阅读(1395) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~