幸福猫吧 关注:11贴子:487
  • 8回复贴,共1

SAP ABAP 各种乱七八糟

只看楼主收藏回复


讲货币类型转换为C类型
WRITE total_jfje to total_jfje1.
CONDENSE total_jfje1 NO-GAPS.
CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
CHANGING
VALUE = total_jfje1
.


IP属地:广东1楼2011-12-13 10:13回复
    ca···第一个字就是错别字```


    IP属地:广东2楼2011-12-13 10:14
    回复
      看卜懂,


      来自手机贴吧3楼2011-12-13 10:15
      回复
        工作上的一些乱七八糟的```这个不用看懂`````
        一些小的技巧,怕找的时候麻烦,暂时在这存着`````


        IP属地:广东4楼2011-12-13 10:18
        回复
          隐藏字段技术:
          HIDE: SPFLI-CARRID,SPFLI-CONNID.


          IP属地:广东5楼2011-12-13 15:46
          回复
            哦,


            6楼2011-12-13 22:07
            回复
              NO_OPEN ---控制smartforms的调用
              NO_CLOSE ---控制假脱机系统
              例子:
              control_parameters-no_close = 'X' . "打开假脱机
              if smartforms_1 eq 'X'.
              perform call_smartforms_1.
              control_parameters-no_open = 'X' . "form关闭
              endif .
              if smartforms_2 eq 'X' .
              perform call_smartforms_2.
              control_parameters-no_open = 'X' . "关闭
              endif .
              if smartforms_3 eq 'X' .
              perform call_smartforms_3 .
              control_parameters-no_open = 'X' . "关闭
              endif .
              if smartforms_4 eq 'X' .
              perform call_smartforms_4.
              control_parameters-no_open = 'X' . "关闭
              endif .
              control_parameters-no_close = space. "最后一张票据需要先关闭假脱机
              if smartforms_5 eq 'X' .
              perform call_smartforms_5.
              control_parameters-no_open = 'X' . "关闭
              endif . smartforms调用控制ssfctrlop参数
              


              IP属地:广东7楼2011-12-14 09:01
              回复
                修改页格式:1、事务spad--->完全管理---->设备类型---->在device types输入区域中填上cnsapwin,回车---->点击格式按钮,会出现上面填写的cnsapwin设备类型下的页格式,找到需要修改的页格式---->双击进入页格式的编辑界面
                2、按同样方法进入din4页格式编辑界面
                3、参照din4标注绿色方框的格式设置,双击后面的action会出现代码,将代码复制到自己需要修改的页格式的相应处,保存激活,修改就完成了。


                IP属地:广东8楼2011-12-14 16:27
                回复
                  ****拼接查询条件**********************
                  data lv_where type string.
                  if PEKORG is not initial.
                  concatenate lv_where ' AND EKORG = ''' PEKORG '''' into lv_where.
                  endif.
                  if PWERKS is not initial.
                  concatenate lv_where ' AND WERKS = ''' PWERKS '''' into lv_where.
                  endif.
                  if PDATUV is not initial.
                  concatenate lv_where ' AND DATUV = ''' PDATUV '''' into lv_where.
                  endif.
                  if PDATUB is not initial.
                  concatenate lv_where ' AND DATUB = ''' PDATUB '''' into lv_where.
                  endif.
                  if PSTLAN is not initial.
                  concatenate lv_where ' AND STLAN = ''' PSTLAN '''' into lv_where.
                  endif.
                  if lv_where is not initial and lv_where+0(4) = ' AND'.
                  lv_where = lv_where+5.


                  IP属地:广东9楼2011-12-15 14:48
                  回复