Start Routine

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/c3963dfbde4dede10000000a422035/content.htm

This graphic is explained in the accompanying text Example: Start Routine 

In the SAP ERP system, you are loading data using the General Ledger: Transaction Figures DataSource (FI_GL_1) into the DataStore object FIGL: Transaction Figures (0FIGL_O06).

You want to create a start routine that deletes all the records from a data package that have debit and credit postings that are equal to zero.

...

       1.      Create a transformation. The source of the transformation has the Total Debit Postings (UMSOL) and Total Credit Postings (UMHAB) fields. They are assigned to the InfoObjects Total Debit Postings (0DEBIT) and Total Credit Postings (0CREDIT).

       2.      Choose This graphic is explained in the accompanying text Create Start Routine. The routine editor opens.

       3.      You go to the local part of the routine. You enter the following lines of code:

Syntax

*----------------------------------------------------------------------*
  METHOD start_routine.

*=== Segments ===

    FIELD-SYMBOLS:
          TYPE _ty_s_SC_1.

*$*$ begin of routine - insert your code only below this line        *-*


  DELETE SOURCE_PACKAGE where UMHAB = 0 and UMSOL = 0

*$*$ end of routine - insert your code only before this line         *-*
  ENDMETHOD.                    "start_routine
*----------------------------------------------------------------------*


The delete statement is the only line you require in order to filter debit and credit postings without values out of the data package.

       4.      You exit the routine editor.

       5.      You save the transformation. An edit icon This graphic is explained in the accompanying text next to the Start Routine indicates that a start routine is available.

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16607975/viewspace-559928/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16607975/viewspace-559928/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值