Sapnco3 RfcTable Structure
RfcTable 中字段 并不固定,以下内容仅供参考
1. 包含IDOC的 RfcTable
SDATA字段值为IDOC数据,解析IDOC数据需依据IDOC字段长度对SDATA进行截取
function.GetTable(0) {TABLE [STRUCTURE EDI_DC40 { FIELD TABNAM=EDI_DC40 FIELD MANDT=777 FIELD DOCNUM=0000000009241610 FIELD DOCREL=700 FIELD STATUS=30 FIELD DIRECT=1 FIELD OUTMOD=2 FIELD EXPRSS= FIELD TEST= FIELD IDOCTYP=ZTZECODE_IDOC FIELD CIMTYP= FIELD MESTYP=ZECODE_MSG FIELD MESCOD= FIELD MESFCT= FIELD STD= FIELD STDVRS= FIELD STDMES= FIELD SNDPOR=SAPASB FIELD SNDPRT=LS FIELD SNDPFC= FIELD SNDPRN=AZASB01777 FIELD SNDSAD= FIELD SNDLAD= FIELD RCVPOR=A000000017 FIELD RCVPRT=LS FIELD RCVPFC= FIELD RCVPRN=CN_ECODING FIELD RCVSAD= FIELD RCVLAD= FIELD CREDAT=2013-06-18 FIELD CRETIM=10:35:40 FIELD REFINT= FIELD REFGRP= FIELD REFMES= FIELD ARCKEY= FIELD SERIAL=20130618103540 }]} SAP.Middleware.Connector.IRfcTable {SAP.Middleware.Connector.RfcTable}
function.GetTable(1) {TABLE [STRUCTURE EDI_DD40 { FIELD SEGNAM=ZTZECODE000 FIELD MANDT=777 FIELD DOCNUM=0000000009241610 FIELD SEGNUM=000001 FIELD PSGNUM=000000 FIELD HLEVEL=02 FIELD SDATA=0003575897008500006600000010251 CNIT00006 9000001001 10010 2 1 }]} SAP.Middleware.Connector.IRfcTable {SAP.Middleware.Connector.RfcTable}
2.不包含IDOC的RfcTable
[SAP.Middleware.Connector.RfcTable] {TABLE [STRUCTURE ZSDJGM01 { FIELD KUNNR=0000001000 FIELD NAME1=安徽邦泰医 FIELD ZZDKHID= FIELD ZZDKH= FIELD VBELN=8000000001 FIELD MATNR=000000002015000211 FIELD MAKTX=胞磷胆碱钠氯化钠注射液&100ml:0.5gx80瓶 FIELD CHARG=2013052201 FIELD LFIMG=1.000 FIELD VRKME=KAR }]} SAP.Middleware.Connector.RfcTable
3.IDOC 字段长度定义(业务不同IDOC内容不同,以下内容仅供参考)
BEGIN_RECORD_SECTION
BEGIN_CONTROL_RECORD
BEGIN_FIELDS
NAME TABNAM
TEXT Name of Table Structure
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MANDT
TEXT Client
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME DOCNUM
TEXT IDoc number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME DOCREL
TEXT SAP Release for IDoc
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STATUS
TEXT Status of IDoc
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME DIRECT
TEXT Direction
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME OUTMOD
TEXT Output mode
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME EXPRSS
TEXT Overriding in inbound processing
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME TEST
TEXT Test flag
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME IDOCTYP
TEXT Name of basic type
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME CIMTYP
TEXT Extension (defined by customer)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MESTYP
TEXT Message type
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MESCOD
TEXT Message code
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MESFCT
TEXT Message Function
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STD
TEXT EDI standard, flag TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STDVRS
TEXT EDI standard, version and release
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STDMES
TEXT EDI message type
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDPOR
TEXT Sender port (SAP System, external subsystem)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDPRT
TEXT Partner type of sender
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDPFC
TEXT Partner Function of Sender
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDPRN
TEXT Partner Number of Sender
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDSAD
TEXT Sender address (SADR)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SNDLAD
TEXT Logical address of sender
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVPOR
TEXT Receiver port
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVPRT
TEXT Partner Type of Receiver
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVPFC
TEXT Partner function of recipient
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVPRN
TEXT Partner Number of Receiver
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVSAD
TEXT Recipient address (SADR)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME RCVLAD
TEXT Logical address of recipient
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME CREDAT
TEXT Created on
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME CRETIM
TEXT Created at
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFINT
TEXT Transmission file (EDI Interchange)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFGRP
TEXT Message group (EDI Message Group)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFMES
TEXT Message (EDI Message)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ARCKEY
TEXT Key for external message archive
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SERIAL
TEXT Serialization
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST
END_FIELDS
END_CONTROL_RECORD
BEGIN_DATA_RECORD
BEGIN_FIELDS
NAME SEGNAM
TEXT Segment (external name)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MANDT
TEXT Client
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME DOCNUM
TEXT IDoc number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SEGNUM
TEXT Segment Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME PSGNUM
TEXT Number of superior parent segment
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME HLEVEL
TEXT Hierarchy level of SAP segment
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SDATA
TEXT Application data
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST
END_FIELDS
END_DATA_RECORD
BEGIN_STATUS_RECORD
BEGIN_FIELDS
NAME TABNAM
TEXT Name of Table Structure
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MANDT
TEXT Client
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME DOCNUM
TEXT IDoc number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME LOGDAT
TEXT Date of status information
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME LOGTIM
TEXT Time of status information
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STATUS
TEXT Status of IDoc
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAMQU
TEXT Status for message in status record
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAMID
TEXT Message for status notification: Message class
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAMNO
TEXT Message number for status message
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STATYP
TEXT ABAP message type (A, W, E, S, I) in status message
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAPA1
TEXT First parameter for message in status record
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAPA2
TEXT Second parameter for message in status record
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAPA3
TEXT Third parameter for message in status record
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STAPA4
TEXT Fourth parameter for message in status record
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME STATXT
TEXT Status text
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME UNAME
TEXT User Name
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REPID
TEXT Program
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ROUTID
TEXT Subroutine (routine, function module)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SEGNUM
TEXT Segment Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SEGFLD
TEXT Segment field
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFINT
TEXT Transmission file (EDI Interchange)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFGRP
TEXT Message group (EDI Message Group)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME REFMES
TEXT Message (EDI Message)
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ARCKEY
TEXT Key for external message archive
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST
END_FIELDS
END_STATUS_RECORD
END_RECORD_SECTION
BEGIN_SEGMENT_SECTION
BEGIN_IDOC ZTZECODE_IDOC
BEGIN_SEGMENT ZTZECODE000
SEGMENTTYPE ZTZECODE
LEVEL
STATUS MANDATORY
LOOPMIN
LOOPMAX
BEGIN_FIELDS
NAME MBLNR
TEXT Number of Material Document
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME VBELN
TEXT Sales and Distribution Document Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ZSHIPNO
TEXT Sales and Distribution Document Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ZORDTYP
TEXT Selection value
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME KUNNR
TEXT Customer Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME PRODCD
TEXT Product Code
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME CHARG
TEXT Batch Number
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME MENGE
TEXT Quantity
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME ZFLAG
TEXT Enhancement active indicator
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST NAME SMBLN
TEXT Number of Material Document
TYPE CHARACTER
LENGTH
FIELD_POS
CHARACTER_FIRST
CHARACTER_LAST
END_FIELDS
END_SEGMENT
END_IDOC
END_SEGMENT_SECTION
IDOC定义文件
Sapnco3 RfcTable Structure的更多相关文章
- [LeetCode] All O`one Data Structure 全O(1)的数据结构
Implement a data structure supporting the following operations: Inc(Key) - Inserts a new key with va ...
- [LeetCode] Add and Search Word - Data structure design 添加和查找单词-数据结构设计
Design a data structure that supports the following two operations: void addWord(word) bool search(w ...
- [LeetCode] Two Sum III - Data structure design 两数之和之三 - 数据结构设计
Design and implement a TwoSum class. It should support the following operations:add and find. add - ...
- Theano Graph Structure
Graph Structure Graph Definition theano's symbolic mathematical computation, which is composed of: A ...
- 修复 OS X 的系统盘出现 Invalid Node Structure 问题
昨晚我的MBP突然出现启动的时候会自动关机的问题.开机进入到 Recovery 模式之后,用 Disk Utility 检查系统盘,发现 Invalid Node Structure 错误, Disk ...
- Finger Trees: A Simple General-purpose Data Structure
http://staff.city.ac.uk/~ross/papers/FingerTree.html Summary We present 2-3 finger trees, a function ...
- AVEVA Model Data Exchange Exports Structure Models
AVEVA Model Data Exchange Exports Structure Modelseryar@163.com Use Model Data Exchange Addin to exp ...
- Mesh Data Structure in OpenCascade
Mesh Data Structure in OpenCascade eryar@163.com 摘要Abstract:本文对网格数据结构作简要介绍,并结合使用OpenCascade中的数据结构,将网 ...
- Structure And Representation Of MIB Object Names - SNMP Tutorial
30.8 Structure And Representation Of MIB Object Names We said that ASN.1 specifies how to represent ...
随机推荐
- Mybatis${}、#{}及使用#{}时指定jdbcType
一.Mybatis 的Mapper.xml语句中parameterType向SQL语句传参有两种方式:#{}和${} 我们经常使用的是#{},一般解说是因为这种方式可以防止SQL注入,简单的说#{}这 ...
- spring security使用hibernate进行查询数据库验证
前面查询数据库采用的都是jdbc方式,如果系统使用的是hibernate,该如何进行呢,下面就是实现步骤,关键还是实现自定义的UserDetailsService 项目结构如下: 使用hibernat ...
- Spring注解(生命周期)
对于上面的知识图解,需要一点一点的研究. 首先核心容器: 控制反转 和 依赖注入 创建工程: maven仓库搜索 spring context : 引入后 <!-- https://mvnre ...
- Merge-Sort(归并排序)
Merge-Sort(归并排序) 思想 利用分治的思想,具体实现也就是递归,不断的将问题话分为更小的子问题,当子问题中规模为1的时候,认为数组已经有序了,然后再将子问题求得的结果不断的合并.也就是将长 ...
- hdu1596 find the safest road - floyd
2017-08-04 14:42:56 writer:pprp 题意: Problem Description XX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安全的,每 ...
- kolla all-in-one 安装
http://docs.openstack.org/developer/kolla/ 使用了Docker containers and Ansible playbooks 目前在Fedora/Ubun ...
- mysql数据库优化课程---12、mysql嵌套和链接查询
mysql数据库优化课程---12.mysql嵌套和链接查询 一.总结 一句话总结:查询user表中存在的所有班级的信息? in distinct mysql> select * from cl ...
- SSH登陆阿里云服务器出现Permission denied (publickey)错误解决方案
操作环境: 操作系统:Mac10.11.5 阿里云服务器:Ubuntu16.04 远程连接:SSH 注:首先我们已假设你已经自己生成了SSH秘钥,并已经配置到阿里云.绑定了自己的云服务器. 但是后来发 ...
- Netty(RPC高性能之道)原理剖析
1,Netty简述 Netty 是一个基于 JAVA NIO 类库的异步通信框架,用于创建异步非阻塞.基于事件驱动.高性能.高可靠性和高可定制性的网络客户端和服务器端 RPC高性能分析,请参考文章“[ ...
- PHP 环境搭建(win7+php5.6+apache或nginx)
安装介质 PHP5.6.16(php-5.6.16-Win32-VC11-x64.zip) Apache2.4.18(httpd-2.4.18-win64-VC14.zip) nginx (nginx ...