标准功能函数无非输入输出
Standard Function Is Just Input And Output
写在前面 At first
SE19增强实现ACC_DOCUMENT
SE19 to enhance and implement ACC_DOCUMENT
将BAPI_ACC_DOCUMENT_POST 的参数表 EXTENSION2 传入系统表
Transport EXTENSION2 of BAPI_ACC_DOCUMENT_POST to system table
SE11创建一个结构用于记录记账码等信息(不是必要的)
SE11 to create a structure to record information of BSCHL(Not Necessary)
关于输入 About Input
EXPORTING
documentheader 总账信息
TABLES
accountgl 贷方
accountreceivable 借方
currencyamout 金额数量
extension2 扩展字段
关于输出 About Input
TABLES
return 返回
关于数据 About Data
首先创建变量来存储以上输入输出的值
At first, to create variables to store the value of input and o