转 Using "Container Operation" step

From link.

 

Using "Container Operation" step

 

By Suresh Kumar Parvathaneni

 

 Agenda: Usage of step “Container Operation”.

 

 Pre-requisites: It is assumed that the reader of this tutorial has worked in the concepts that are dealt in earlier tutorials. (click here for more details)

 Scenario: In this tutorial, we would deal about how to work with the step “Container Operation” with an example of calculating the available seats by subtracting occupied seats from the maximum seats at the workflow level. 

 

Procedure:

1.      Create a new workflow definition using the transaction SWDD.

2.      Create two container elements MaxSeats, Occ_Seats with the “import” property set. You can use the reference fields sflight-seatsmax, sflight-seatsocc for this.

 

 

3.      Create another container element AvailableSeats without setting either import or export property as this is calculated within the workflow and used within the workflow. You might use any of the above reference fields as data types.

 

4.      Define a new step “Container Operation” in the workflow definition by double-clicking on the “Undefined step”.

 

5.      In this step, we would calculate the available seats from the max seats and seats occupied.

 

I would recommend entering all the container elements from the F4 help instead of typing them manually. 

6.      Return to the main screen.

 

7.      Create a mail step after this to send the available seats information.

 

8.      Test the above functionality by passing some values to the maximum and the seats occupied.

9.      Result would be as follows:

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值