BAPI_ACC_DOCUMENT_POST - 记帐码 - FB01

如果此函数OK,则可以使用 
BAPI_ACC_DOCUMENT_POST - EXTENSION1  (Container for 'Customer Exit' Parameter)
字段如下:
结构(INCLUDE):/SAPPCE/DPC_EQUATES

EXTENSION1-FIELD1 = 项目号
EXTENSION1-FIELD2 = 字段名

EXTENSION1-FIELD3 = 字段值


系统自带增强 , 已实现  EXTENSION1 -

  CALL FUNCTION 'PC_FUNCTION_FIND'
       EXPORTING
            i_procs       = 'RWBAPI01'
       TABLES
            t_fmrfc       = fmtab
       EXCEPTIONS
            nothing_found = 1
            OTHERS        = 2.

相关字段: - 与SAP版本有关

* fields for bapi-extension
  constants:
    c_ext_document_status(30)         type c value 'BSTAT',
    c_ext_wbs_element(30)             type c value 'PS_PSP_PNR',
    c_ext_target_sp_ind(30)           type c value 'ZUMSK',
    c_ext_tax_code(30)                type c value 'MWSKZ',
    c_ext_tax_base_amount(30)         type c value 'WMWST',
    c_ext_stat_tax_amount(30)         type c value 'STTAX',
    c_ext_stat_tax_amount_ccc(30)     type c value 'STHTX',
    c_ext_with_tax_creditor(30)       type c value 'WHTX_CREDITOR',
    c_ext_withholding_tax(30)         type c value 'WHTX',
    c_ext_activity(30)                type c value 'VORGN',
    c_ext_business_transaction(30)    type c value 'GLVOR',
    c_ext_transaction_code(30)        type c value 'TCODE',
    c_ext_invoice_reference(30)       type c value 'REBZG',
    c_ext_invoice_reference_year(30)  type c value 'REBZJ',
    c_ext_invoice_reference_item(30)  type c value 'REBZZ',
    c_ext_sub_document_type(30)       type c value 'REBZT',
    c_ext_invoice_reference_check(30) type c value 'REBZG_CHECK',
    c_ext_allocation(30)              type c value 'ZUONR',
    c_ext_posting_key(30)             TYPE c VALUE 'BSCHL', "#976257
    c_ext_cash_discount_amount(30)    TYPE c VALUE 'WSKTO', "#976257
    c_xauto(30)                       type c value 'XAUTO'.

* Begin: BAdI to Modify Fields for Posting (subscreen)
  constants:
    c_ext_cash_discount_base(30)      type c value 'SKFBT',
    c_ext_dunning_block(30)           type c value 'MANSP',
    c_ext_cash_discount_fixing(30)    type c value 'ZBFIX',

    c_ext_segment(30)                 type c value 'SEGMENT',
    c_ext_psegment(30)                 type c value 'PSEGMENT'.
* End: BAdI to Modify Fields for Posting (subscreen)

* Begin: Support other Account Assignment Objects
  constants:
    c_ext_cost_center(30)       TYPE c VALUE 'KOSTL',
    c_ext_order(30)             TYPE c VALUE 'AUFNR',
    c_ext_network(30)           TYPE c VALUE 'NPLNR',
    c_ext_network_activity(30)  TYPE c VALUE 'VORNR'.
* End: Support other Account Assignment Objects

* Begin: Down Payment Chain Integration to purchasing
  constants:
    gc_ext_stat_ebeln(30) TYPE c value 'EBELN',
    gc_ext_stat_ebelp(30) TYPE c value 'EBELP',
    gc_ext_stat_zekkn(30) TYPE c value 'ZEKKN'.                       "N1602847
* End: Down Payment Chain Integration to purchasing


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值