前两年别人写的,无自定义表字段。。。直接使用:

*&---------------------------------------------------------------------*
*& Report ZFIR026
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZFIR026.
*&---------------------------------------------------------------------*
*& 包含 ZFIR101_TOP
*&---------------------------------------------------------------------*
TABLES : ANLA,BKPF,KNA1,CSKT, ANLZ,ANLC,ANLB,LFA1,T006A,ANLH,ANEP,T091P,T090NA,ANLP .
TYPE-POOLS:SLIS.
DATA : BEGIN OF GT_OUT OCCURS ,
BUKRS TYPE ANLA-BUKRS, "公司代码
ANLKL TYPE ANLA-ANLKL,
TXK50 TYPE ANKT-TXK50,
ANLN1 TYPE ANLA-ANLN1,
ANLN2 TYPE ANLA-ANLN2,
TXT50 TYPE ANLA-TXT50,
TXA50 TYPE ANLA-TXA50,
ANLHTXT TYPE ANLH-ANLHTXT,
INVZU TYPE ANLA-INVZU,
RAUMN TYPE ANLZ-RAUMN,
SERNR TYPE ANLA-SERNR,
AKTIV TYPE ANLA-AKTIV,
MENGE TYPE ANLA-MENGE,
UNIT TYPE T006A-MSEHT,
KOSTL TYPE ANLZ-KOSTL,
LTEXT TYPE CSKT-LTEXT,
FKBTX TYPE TFKBT-FKBTX,
BELNR TYPE ANEP-BELNR,
ORD42 TYPE ANLA-ORD42,
ORD41 TYPE ANLA-ORD41,
LIFNR TYPE ANLA-LIFNR,
LIEFE TYPE LFA1-NAME1,
HERST TYPE ANLA-HERST,
XZSRZPZ TYPE ANEP-BELNR, "新增时入账凭证
SYNX TYPE ANLB-NDJAR , "使用年限(月)
YTJYF TYPE ANLA-ORD44 , "已计提月份
ZCYZ TYPE ANLC-KANSW , "资产原值
LJZJ TYPE ANLC-KNAFA , "累计折旧
YTJZ TYPE ANLC-AUFWB , "已提减值
SYYF TYPE ANLC-KANSW, "剩余月份
DQJTJE TYPE ANLP-NAFAZ , "当期计提金额
ZCJZ TYPE ANLC-KANSW , "资产净值
CZ TYPE ANLC-KANSW, "残值
XSTIL TYPE ANLZ-XSTIL,
END OF GT_OUT . DATA : GS_OUT LIKE LINE OF GT_OUT . DATA : GT_ANLA TYPE TABLE OF ANLA WITH HEADER LINE,
GS_ANLA LIKE LINE OF GT_ANLA,
* GT_ANLA_T TYPE TABLE OF ANLA WITH HEADER LINE ,
* GS_ANLA_S LIKE LINE OF GT_ANLA_T ,
GT_ANLB TYPE TABLE OF ANLB WITH HEADER LINE,
GS_ANLB LIKE LINE OF GT_ANLB,
GT_ANLC TYPE TABLE OF ANLC WITH HEADER LINE,
GS_ANLC LIKE LINE OF GT_ANLC,
GT_ANLP TYPE TABLE OF ANLP WITH HEADER LINE,
GS_ANLP LIKE LINE OF GT_ANLP,
GT_ANKT TYPE TABLE OF ANKT WITH HEADER LINE,
GS_ANKT LIKE LINE OF GT_ANKT,
GT_TFKBT TYPE TABLE OF TFKBT WITH HEADER LINE,
GS_TFKBT LIKE LINE OF GT_TFKBT,
GT_CSKS TYPE TABLE OF CSKS WITH HEADER LINE,
GS_CSKS LIKE LINE OF GT_CSKS,
GT_CSKT TYPE TABLE OF CSKT WITH HEADER LINE,
GS_CSKT LIKE LINE OF GT_CSKT,
GT_BKPF TYPE TABLE OF BKPF WITH HEADER LINE,
GS_BKPF LIKE LINE OF GT_BKPF,
* GT_BKPF_T TYPE TABLE OF BKPF WITH HEADER LINE ,
* GS_BKPF_S LIKE LINE OF GT_BKPF_T ,
GT_LFA1 TYPE TABLE OF LFA1 WITH HEADER LINE,
GS_LFA1 LIKE LINE OF GT_LFA1,
GT_T006A TYPE TABLE OF T006A WITH HEADER LINE,
GS_T006A LIKE LINE OF GT_T006A,
* GT_ANLZ_T TYPE TABLE OF ANLZ WITH HEADER LINE ,
* GS_ANLZ_S LIKE LINE OF GT_ANLZ_T ,
GT_ANLZ TYPE TABLE OF ANLZ WITH HEADER LINE,
GS_ANLZ LIKE LINE OF GT_ANLZ,
GT_ANLH TYPE TABLE OF ANLH WITH HEADER LINE,
GS_ANLH LIKE LINE OF GT_ANLH,
GT_ANEP TYPE TABLE OF ANEP WITH HEADER LINE,
GS_ANEP LIKE LINE OF GT_ANEP,
GT_T091P TYPE TABLE OF T091P WITH HEADER LINE,
GS_T091P LIKE LINE OF GT_T091P,
GT_T090NA TYPE TABLE OF T090NA WITH HEADER LINE,
GS_T090NA LIKE LINE OF GT_T090NA. DATA:GS_FIELDCAT TYPE SLIS_FIELDCAT_ALV, GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV, GS_LAYOUT TYPE SLIS_LAYOUT_ALV. SELECTION-SCREEN BEGIN OF BLOCK BLK01 WITH FRAME TITLE TEXT- .
*PARAMETERS : P_GJAHR LIKE BKPF-GJAHR .
SELECT-OPTIONS :
S_BUKRS FOR ANLA-BUKRS OBLIGATORY,
S_GJAHR FOR BKPF-GJAHR OBLIGATORY NO-EXTENSION NO INTERVALS,
S_MONAT FOR ANLP-PERAF ,
S_ANLKL FOR ANLA-ANLKL ,
S_ANLN1 FOR ANLA-ANLN1 ,
S_ANLN2 FOR ANLA-ANLN2 ,
S_KOSTL FOR ANLZ-KOSTL ,
S_ORD41 FOR ANLA-ORD41 .
PARAMETERS P_CH01 AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK BLK01 . INITIALIZATION . START-OF-SELECTION . PERFORM FRM_GET_DATA . END-OF-SELECTION . PERFORM FRM_FILL_FIELDCAT .
PERFORM FRM_FILL_LAYOUT .
PERFORM FRM_LIST_DISPLAY . *&---------------------------------------------------------------------*
*& 包含 ZFIR101_F01
*&---------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Form FRM_GET_DATA
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM FRM_GET_DATA . CLEAR :GT_ANLA[] ,GT_BKPF[] ,GT_ANLZ[], GT_ANLB[],GT_ANLC[], GT_ANLP[],GT_CSKT[],GT_TFKBT[],GT_LFA1[],GT_CSKS[],GT_ANKT[],GT_T006A[],GT_ANLH[],GT_ANEP[],GT_T090NA[],GT_T091P[] . DATA:LINE TYPE I VALUE ,
SUM TYPE P DECIMALS VALUE ,
YEAR TYPE BKPF-GJAHR VALUE ,
MONTH TYPE BKPF-MONAT VALUE ,
BZDAT TYPE ANEP-BZDAT VALUE ''. IF P_CH01 ='X'.
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLA
FROM ANLA
* FOR ALL ENTRIES IN GT_ANLP
WHERE BUKRS IN S_BUKRS
* BUKRS IN S_BUKRS
AND ANLN1 IN S_ANLN1
AND ANLN2 IN S_ANLN2
AND ANLKL IN S_ANLKL
AND ORD41 IN S_ORD41 .
ELSEIF P_CH01 =''.
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLA
FROM ANLA
* FOR ALL ENTRIES IN GT_ANLP
WHERE BUKRS IN S_BUKRS
* BUKRS IN S_BUKRS
AND ANLN1 IN S_ANLN1
AND ANLN2 IN S_ANLN2
AND ANLKL IN S_ANLKL
AND ORD41 IN S_ORD41
AND AKTIV NE .
ENDIF . IF GT_ANLA[] IS NOT INITIAL.
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLP
FROM ANLP FOR ALL ENTRIES IN GT_ANLA
WHERE GJAHR IN S_BUKRS
AND BUKRS EQ GT_ANLA-BUKRS
AND PERAF IN S_MONAT
AND ANLN1 EQ GT_ANLA-ANLN1
AND ANLN2 EQ GT_ANLA-ANLN2. SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLH
FROM ANLH FOR ALL ENTRIES IN GT_ANLA
WHERE BUKRS EQ GT_ANLA-BUKRS
AND ANLN1 EQ GT_ANLA-ANLN1 . SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANEP
FROM ANEP FOR ALL ENTRIES IN GT_ANLA
WHERE BUKRS EQ GT_ANLA-BUKRS
AND ANLN1 EQ GT_ANLA-ANLN1
AND ANLN2 EQ GT_ANLA-ANLN2. *
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANKT
FROM ANKT FOR ALL ENTRIES IN GT_ANLA
WHERE ANLKL = GT_ANLA-ANLKL.
* WHERE ANLKL = S_ANLKL .
*
*
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_T006A"
FROM T006A FOR ALL ENTRIES IN GT_ANLA
WHERE MSEHI = GT_ANLA-MEINS .
*
*
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_LFA1
FROM LFA1 FOR ALL ENTRIES IN GT_ANLA
WHERE LIFNR = GT_ANLA-LIFNR .
*
*
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLZ
FROM ANLZ FOR ALL ENTRIES IN GT_ANLA
WHERE BUKRS = GT_ANLA-BUKRS
AND ANLN1 = GT_ANLA-ANLN1
AND ANLN2 = GT_ANLA-ANLN2.
** 去掉成本中心不在选择范围内的值 *
IF S_KOSTL IS NOT INITIAL AND GT_ANLZ[] IS NOT INITIAL.
DELETE GT_ANLZ WHERE KOSTL NOT IN S_KOSTL.
DELETE GT_ANLZ WHERE KOSTL IS INITIAL.
ENDIF.
*
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLB
FROM ANLB FOR ALL ENTRIES IN GT_ANLA
WHERE BUKRS = GT_ANLA-BUKRS
AND ANLN1 = GT_ANLA-ANLN1
AND ANLN2 = GT_ANLA-ANLN2.
*
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_ANLC
FROM ANLC
FOR ALL ENTRIES IN GT_ANLA
WHERE BUKRS = GT_ANLA-BUKRS
AND ANLN1 = GT_ANLA-ANLN1
AND ANLN2 = GT_ANLA-ANLN2. SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_CSKS
FROM CSKS FOR ALL ENTRIES IN GT_ANLZ
* WHERE KOSTL IN S_KOSTL .
WHERE KOSTL = GT_ANLZ-KOSTL . IF GT_CSKS[] IS NOT INITIAL.
SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_CSKT
FROM CSKT FOR ALL ENTRIES IN GT_CSKS
WHERE KOSTL = GT_CSKS-KOSTL
AND KOKRS = GT_CSKS-KOKRS . SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_TFKBT
FROM TFKBT FOR ALL ENTRIES IN GT_CSKS
WHERE FKBER = GT_CSKS-FUNC_AREA .
ENDIF. SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_T090NA
FROM T090NA FOR ALL ENTRIES IN GT_ANLB
WHERE AFASL = GT_ANLB-AFASL . SELECT * INTO CORRESPONDING FIELDS OF TABLE GT_T091P
FROM T091P FOR ALL ENTRIES IN GT_T090NA
WHERE ANHWSL = GT_T090NA-ANHWSL .
ENDIF.
SORT GT_ANLZ BY KOSTL DESCENDING ADATU DESCENDING .
LOOP AT GT_ANLA INTO GS_ANLA.
GS_OUT-BUKRS = GS_ANLA-BUKRS .
GS_OUT-ANLKL = GS_ANLA-ANLKL .
GS_OUT-ANLN1 = GS_ANLA-ANLN1 .
GS_OUT-ANLN2 = GS_ANLA-ANLN2 .
GS_OUT-TXT50 = GS_ANLA-TXT50 .
GS_OUT-TXA50 = GS_ANLA-TXA50 .
GS_OUT-SERNR = GS_ANLA-SERNR .
GS_OUT-AKTIV = GS_ANLA-AKTIV .
GS_OUT-MENGE = GS_ANLA-MENGE .
* GS_OUT-MEINS = GS_ANLA-MEINS .
GS_OUT-INVZU = GS_ANLA-INVZU .
GS_OUT-ORD42 = GS_ANLA-ORD42 .
GS_OUT-ORD41 = GS_ANLA-ORD41 .
GS_OUT-LIFNR = GS_ANLA-LIFNR .
* GS_OUT-LIEFE = GS_ANLA-LIEFE .
GS_OUT-HERST = GS_ANLA-HERST .
READ TABLE GT_ANKT INTO GS_ANKT WITH KEY ANLKL = GS_ANLA-ANLKL .
IF SY-SUBRC = .
GS_OUT-TXK50 = GS_ANKT-TXK50 .
ENDIF.
READ TABLE GT_ANLH INTO GS_ANLH WITH KEY BUKRS = GS_ANLA-BUKRS
ANLN1 = GS_ANLA-ANLN1 .
IF SY-SUBRC = .
GS_OUT-ANLHTXT = GS_ANLH-ANLHTXT.
ENDIF. READ TABLE GT_LFA1 INTO GS_LFA1 WITH KEY LIFNR = GS_ANLA-LIFNR .
IF SY-SUBRC = .
GS_OUT-LIEFE = GS_LFA1-NAME1 .
ENDIF. READ TABLE GT_ANLZ INTO GS_ANLZ WITH KEY BUKRS = GS_ANLA-BUKRS
ANLN1 = GS_ANLA-ANLN1
ANLN2 = GS_ANLA-ANLN2 .
IF SY-SUBRC = . READ TABLE GT_CSKS INTO GS_CSKS WITH KEY KOSTL = GS_ANLZ-KOSTL .
IF SY-SUBRC = .
GS_OUT-KOSTL = GS_ANLZ-KOSTL .
GS_OUT-XSTIL = GS_ANLZ-XSTIL .
GS_OUT-RAUMN = GS_ANLZ-RAUMN .
READ TABLE GT_CSKT INTO GS_CSKT WITH KEY KOSTL = GS_ANLZ-KOSTL .
IF SY-SUBRC = .
GS_OUT-LTEXT = GS_CSKT-LTEXT .
ENDIF.
READ TABLE GT_TFKBT INTO GS_TFKBT WITH KEY FKBER = GS_CSKS-FUNC_AREA .
IF SY-SUBRC = .
GS_OUT-FKBTX = GS_TFKBT-FKBTX .
ENDIF.
ELSE.
IF S_KOSTL IS NOT INITIAL.
CLEAR GS_OUT.
CONTINUE.
ENDIF.
ENDIF .
ELSE.
CLEAR GS_OUT.
CONTINUE.
ENDIF . READ TABLE GT_ANLB INTO GS_ANLB WITH KEY BUKRS = GS_ANLA-BUKRS
ANLN1 = GS_ANLA-ANLN1
ANLN2 = GS_ANLA-ANLN2
AFABE = ''.
IF SY-SUBRC = .
GS_OUT-SYNX = GS_ANLB-NDJAR * + GS_ANLB-NDPER .
ENDIF. LOOP AT GT_ANEP INTO GS_ANEP WHERE BUKRS = GS_ANLA-BUKRS
AND ANLN1 = GS_ANLA-ANLN1
AND ANLN2 = GS_ANLA-ANLN2
AND AFABE = ''
AND BWASL = ''.
IF SY-SUBRC = .
IF GS_ANEP-LNSAN IS INITIAL .
IF GS_ANEP-BZDAT < BZDAT .
GS_OUT-XZSRZPZ = GS_ANEP-BELNR.
BZDAT = GS_ANEP-BZDAT .
ENDIF.
ENDIF.
ENDIF.
ENDLOOP . SORT GT_ANLP BY GJAHR PERAF .
LOOP AT GT_ANLP INTO GS_ANLP WHERE BUKRS = GS_ANLA-BUKRS AND
ANLN1 = GS_ANLA-ANLN1 AND
ANLN2 = GS_ANLA-ANLN2 AND
AFABER = '' .
IF SY-SUBRC = .
IF YEAR NE GS_ANLP-GJAHR OR MONTH NE GS_ANLP-PERAF.
YEAR = GS_ANLP-GJAHR .
MONTH = GS_ANLP-PERAF .
LINE = LINE + .
ENDIF.
ENDIF. ENDLOOP .
IF SY-SUBRC = .
GS_OUT-YTJYF = LINE + GS_ANLA-ORD44 .
ELSE .
GS_OUT-YTJYF = GS_ANLA-ORD44 .
ENDIF. READ TABLE GT_T006A INTO GS_T006A WITH KEY MSEHI = GS_ANLA-MEINS.
IF SY-SUBRC = .
GS_OUT-UNIT = GS_T006A-MSEHT .
ENDIF.
READ TABLE GT_ANLC INTO GS_ANLC WITH KEY BUKRS = GS_ANLA-BUKRS
ANLN1 = GS_ANLA-ANLN1
ANLN2 = GS_ANLA-ANLN2
AFABE = '' .
IF SY-SUBRC = .
GS_OUT-ZCYZ = GS_ANLC-KANSW + GS_ANLC-ANSWL .
* GS_OUT-LJZJ = ABSs(GS_ANLC-KNAFA + GS_ANLC-NAFAG)+(GS_ANLC-KAAFA + GS_ANLC-AAFAG)
GS_OUT-LJZJ = ABS( GS_ANLC-KNAFA + GS_ANLC-NAFAG + GS_ANLC-KAAFA + GS_ANLC-AAFAG ) .
GS_OUT-YTJZ = ABS( GS_ANLC-KAUFW + GS_ANLC-AUFWB ). ENDIF. * READ TABLE GT_BKPF INTO GS_BKPF WITH KEY MONAT = GS_ANLA-MONAT
* BUKRS = GS_ANLA-BUKRS . LOOP AT GT_ANLP INTO GS_ANLP WHERE BUKRS = GS_ANLA-BUKRS AND
ANLN1 = GS_ANLA-ANLN1 AND
ANLN2 = GS_ANLA-ANLN2.
SUM = SUM + GS_ANLP-NAFAZ .
ENDLOOP.
GS_OUT-DQJTJE = ABS( SUM ) .
IF GS_OUT-ZCYZ - GS_OUT-YTJZ > .
GS_OUT-ZCJZ = GS_OUT-ZCYZ - GS_OUT-LJZJ - GS_OUT-YTJZ .
ELSE .
GS_OUT-ZCJZ = .
ENDIF. GS_OUT-SYYF = GS_OUT-SYNX - GS_OUT-YTJYF . READ TABLE GT_T090NA INTO GS_T090NA WITH KEY AFASL = GS_ANLB-AFASL .
IF SY-SUBRC = .
READ TABLE GT_T091P INTO GS_T091P WITH KEY ANHWSL = GS_T090NA-ANHWSL .
IF SY-SUBRC = .
GS_OUT-CZ = GS_T091P-AHPROZ / * ( GS_ANLC-KANSW + GS_ANLC-ANSWL ) .
ENDIF .
ENDIF .
APPEND GS_OUT TO GT_OUT .
CLEAR :GS_OUT,GS_ANLA ,GS_BKPF ,GS_ANLZ, GS_ANLB,GS_ANLC, GS_ANLP,GS_CSKT,GS_TFKBT,GS_LFA1,GS_CSKS,GS_ANKT,GS_T006A,GS_ANLH,GS_ANEP,GS_T090NA,GS_T091P .
SUM = .
LINE = .
YEAR = .
MONTH = .
BZDAT = ''. ENDLOOP .
SORT GT_OUT BY ANLN1.
ENDFORM. " FRM_GET_DATA
*&---------------------------------------------------------------------*
*& Form FRM_LIST_DISPLAY
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM FRM_LIST_DISPLAY .
* CHECK GT_OUT[] IS NOT INITIAL .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = 'X'
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = GT_OUT
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
.
IF SY-SUBRC <> .
* Implement suitable error handling here
ENDIF. ENDFORM. " FRM_LIST_DISPLAY DEFINE SET_FIELDCAT.
gs_fieldcat-FIELDNAME = &.
gs_fieldcat-COL_POS = &.
gs_fieldcat-seltext_l = &.
gs_fieldcat-ICON = &.
gs_fieldcat-no_zero = &.
gs_fieldcat-DECIMALS_OUT = &.
APPEND gs_fieldcat to gt_fieldcat.
END-OF-DEFINITION. FORM FRM_FILL_FIELDCAT .
CLEAR GS_FIELDCAT .
SET_FIELDCAT:
'BUKRS' '公司代码' '' '' '',
'ANLKL' '资产类别' '' '' '',
'TXK50' '资产类别名称' '' '' '',
'ANLN1' '资产编号' '' 'X' '',
'ANLN2' '资产次级编号' '' 'X' '',
'TXT50' '资产名称' '' '' '',
'TXA50' '型号' '' '' '',
'SERNR' '原资产编号' '' '' '',
'AKTIV' '资本化日期' '' '' '',
'MENGE' '数量' '' '' '',
'UNIT' '单位' '' '' '',
'KOSTL' '成本中心' '' '' '',
'LTEXT' '成本中心描述' '' '' '',
'FKBTX' '功能范围' '' '' '',
'ORD42' '经济用途' '' '' '',
'XSTIL' '是否停用' '' '' '',
'ORD41' '变动方式' '' '' '',
'LIFNR' '供应商编码' '' '' '',
'LIEFE' '供应商描述' '' '' '',
'HERST' '制造商' '' '' '',
'SYNX' '使用年限(月)' '' '' '',
'YtjYF' '已计提月份' '' '' '',
'ZCYZ' '资产原值' '' '' '',
'LJZJ' '累计折旧' '' '' '',
'YTJZ' '已提减值' '' '' '',
'DQJTJE' '当期计提金额' '' '' '',
'ANLHTXT' '文本' '' '' '' ,
'INVZU' '存放地' '' '' '' ,
'RAUMN' '保管人' '' '' '' ,
'XZSRZPZ' '新增时入账凭证' '' '' '' ,
'syyf' '剩余月份' '' '' '',
'CZ' '残值' '' '' '' ,
'ZCJZ' '资产净值' '' '' ''. ENDFORM. *&---------------------------------------------------------------------*
*& Form FRM_FILL_LAYOUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM FRM_FILL_LAYOUT .
GS_LAYOUT-ZEBRA = 'X'.
"is_layout-no_keyfix = ''.
GS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'. ENDFORM. " FRM_FILL_LAYOUT

SAP资产明细报表的更多相关文章

  1. 【MM系列】SAP库龄报表逻辑理解

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[MM系列]SAP库龄报表逻辑理解   第一篇 ...

  2. 【MM系列】SAP SAP库龄报表逻辑理解

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[MM系列]SAP SAP库龄报表逻辑理解   ...

  3. SAP MM ME1M报表结果不科学?

    SAP MM ME1M报表结果不科学? 做过SAP MM顾问的都知道,报表ME1M可以查询物料的info record列表,即是说可以以列表的形式批量显示多个物料的采购价格主数据. 但是这个报表有个不 ...

  4. SAP MM MB5L 报表里的差异金额如何调整?

    SAP MM MB5L 报表里的差异金额如何调整? 5月3号,收到财务顾问提出的一个问题,说是MB5L报表里有差异. 如下查询条件, 报表结果里显示有差异, 经查,导致这个差异的原因之一是,一些物料批 ...

  5. [xms]西软xms试算平衡报表-穿透明细报表-增加储值卡卡号列

    只能呵呵哒 [xms]西软xms试算平衡报表-穿透明细报表-增加储值卡卡号列 pospay ' and hotelid='${hotelid}'; hhaccount ' and hotelid='$ ...

  6. 【ABAP系列】SAP ALV 导出报表数据 始终使用选定的格式”,一旦勾上,就再也不会弹出选择框了。

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[ABAP系列]SAP ALV 导出报表数据 始 ...

  7. SAP资产变动明细

    *&---------------------------------------------------------------------* *& Report ZFIR027 * ...

  8. SAP采购订单历史明细报表源代码(自己收藏)

    SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF } ...

  9. SAP资产折旧,消息编号AA687:在上一年结算之后您只能记帐到新的一年

    问题:公司****在2015年底没有固定资产,忽略了月结的必要步骤,在2016年1-5月份一直没有计提折旧,再进行折旧时提示"在上一年结算之后您只能记帐到新的一年" 原因: sap ...

随机推荐

  1. jdk安装环境变量设置

    设置JAVA_HOME,点击新建,变量名:JAVA_HOME,变量值:D:\java\jdk1.7.0,即刚才jdk安装的路径.   设置CLASSPATH属性,变量名:CLASSPATH,变量值:. ...

  2. [SAP ABAP开发技术总结]ABAP读写、解析XML文件

    声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...

  3. [SAP ABAP开发技术总结]局部变量、全局变量

    声明:原创作品,转载时请注明文章来自SAP师太技术博客( 博/客/园www.cnblogs.com):www.cnblogs.com/jiangzhengjun,并以超链接形式标明文章原始出处,否则将 ...

  4. 网站安全扫描工具--Netsparker的使用

    Netsparker是一款安全简单的web应用安全漏电扫描工具.该软件功能非常强大,使用方便.Netsparker与其他综合 性的web应用安全扫描工具相比的一个特点是它能够更好的检测SQL Inje ...

  5. 用Jenkins+Gradle+Jetty实现持续集成、测试、部署

    自动集成有很多种方案,本例用到的工具是Jenkins(前身Hudson)+Gradle+Jetty,关于Gradle可参考上一篇,Gradle常见问题. 本例项目名称: WAP Jetty 安装Jen ...

  6. XAF应用开发教程(七)外观控制模块

    很多时候,我们需要按照不同的条件显示不同的效果,在传统的软件开发中,我们会直接使用 控件名称.BackColor,Enable,Visible等属性进行控制. 如果一个业务对象在多处使用,要么我们会去 ...

  7. [poj2785]4 Values whose Sum is 0(hash或二分)

    4 Values whose Sum is 0 Time Limit: 15000MS Memory Limit: 228000K Total Submissions: 19322 Accepted: ...

  8. 【FFT-快速傅立叶变换】

    HDU-1402 A * B Problem Plus 题意:给定两个整数,整数的长度最多能达到50000位,输出两个整数的乘积. 分析:题意非常的明了,一个惊世骇俗的想法是使用两个数组将整数保留起来 ...

  9. (linux) 常用命令 干货

    内容提要 1. 第一难度, 重要 梯队 (grep, awk, sed, find, ) 2. 第二常用, 重要 梯队 (ps, ls, date, fuser, netstat, kill) 3. ...

  10. Android 图片Exif信息相关的获取与修改

    1 Exif是什么 Exif是一种图像文件格式,它的数据存储于JPEG格式是完全相同的,实际上Exif格式就是JPEG格式头插入了 数码照片的信息,包括拍摄的光圈.快门.平衡白.ISO.焦距.日期时间 ...