zoukankan      html  css  js  c++  java
  • BDC-Session

    1, Session

    不直接运行,而是将BDC程序生成session,通过SM35或者SAP标准程序RSBDCSUB或者 RSBDCBTC 触发。

    优点:通过T-code SM35可以进行运行管理及日志管理,方便查错。

    缺点:数据直到session被处理才能更新。

    2, 用到的函数、程序

    .     1, BDC_OPEN_GROUP.

    2. BDC_INSERT

    可在一个Session中插入多个BDC

    3. BDC_CLOSE_GROUP.

    触发程序:RSBDCSUB或者 RSBDCBTC,在BDC_CLOSE_GROUP.之后submit

    3, 例子程序

    通过session 批量更新payment block,Tcode:FB09

    程序运行结果:

    以下BDC Session 信息界面是RSBDCSUB输出的。

    2016-07-25_13-54-01

    SM35:session ‘BDC_SESSION’已经被触发

    2016-07-25_13-55-21

    FB09,运行后可以看到payment block字段值被赋成A

    2016-07-25_13-58-20

    以上。

  • 相关阅读:
    深入浅出SQL教程之Group by和Having
    AFNetworking3.0 Https P12证书
    C#访问注册表
    One reason for not able to show chinese correctly in installation
    Debugging DLL loading issues with GFLAGS
    RegistryFree COM Registration
    RegistrationFree COM Interop
    net use
    MS UI Automation原来如此
    取景器的视野率和放大倍率
  • 原文地址:https://www.cnblogs.com/lvdong18847870057/p/12534964.html
Copyright © 2011-2022 走看看