PO创建时,通过IDOC EDI 接口自动创建SO 案例。

BD54 配置逻辑系统

SCC4 给集团分配逻辑系统

 SM59 新建RFC 链接

WE21 创建IDOC 处理端口

we20 创建合作伙伴参数-供应商端

WE20 创建合作伙伴-客户

we20 配置合作伙伴参数-逻辑系统

IDOC ERROR VG203

The material number for item 000010 could not be identified

该问题跟IDOC post 过程,物料的确定逻辑有关,解析如下:

debug 位置:

注意:后台运行,无法进入断点,必须前台post.(BD87可以re-process 然后进行调试)

function module:RV_CUSTOMER_MATERIAL_READ

qualifier of segment E1EDP19

它具有以下顺序来确定如何/使用哪种材料编号来创建IC SO。 而这取决于基于不同情况的Idoc限定符值。

优先级1:如果在PO中填写了供应商物料编号,则为“供应商物料编号”。 将作为IC SO限定词的材料编号(VBAP-MATNR)被SAP设置为“ 002”
优先级2:如果“ EAN / UPC”中有值,则此字段中的物料将为IC SO的物料SAP将其设置为“ 003”
优先级3:两个“供应商材料编号 ”和“ EAN / UPC”(GTIN)为空,则EKPO-MATNR将用作IC SO的物料。ul Qulifier由SAP设置为“ 001”。 这就要求必须保留“客户材料信息”。

注意:如果不填写供应商物料号,也不填写EAN/UPC的值,则必须维护客户物料。

客户物料table: KNMNT

T-Code: VD51

SAP Function Group: EINM

SAP INCLUDE:LVEDAF23

E1EDP19 — Table Structure, Fields(Columns) and Definitions

Position Column Name Description Primary Key Data Type Length Check Table
1 QUALF Qualification   CHAR 3  
2 IDTNR IDOC material ID   CHAR 35  
3 KTEXT Description   CHAR 70  
4 MFRPN Manufacturer Part Number   CHAR 42  
5 MFRNR Manufacturer number   CHAR 10  
6 IDTNR_EXTERNAL     CHAR 40  
7 IDTNR_VERSION     CHAR 10  
8 IDTNR_GUID     CHAR 32  
9 IDTNR_LONG     CHAR 40

SAP IDOC QUALIFIERS (DETAILS)

 

E1ADRM1 (Document Header: Partner Data)

PARTNER_Q – Partner Type

  • AA            Customer in Financial Document
  • AG             Sold-to party
  • AP             Contact Person
  • AW            Ship-to Party in Financial Document
  • BA             Bank of Sold-to Party
  • BB             Bank of Beneficiary, Partner for Debit Memo
  • BE             Beneficiary
  • DE             Bank holding account
  • FR             Message Sender
  • LF             Vendor
  • MF            Manufacturer
  • MR            Message recipient
  • OB             Opening bank
  • PA              Partner for Debit Memo, Debit, Withdrawal
  • RE              Bill-to party
  • RG             Payer
  • RS              Invoicing Party
  • SP              Forwarding agent
  • TK             Tracking partner
  • WE            Ship-to party
  • KND         Node address
  • IRC           Intermediate Resale Customer
  • OSP          Shipping Point
  • OSO         Sales Organization
  • OSF          Sales Office
  • OTP         Transportation planning point
  • QCR         Recipient of quality certificates
  • RSB          Branch in the resale
  • RSC          Customer in resale
  • SLS           Supplementary Logistics Service

E1EDK01(ACTION)

  • 001         Reverse entire document
  • 002        Changes in document header
  • 003        Changes in one or more items
  • 004        Changes in header and items
  • 005        Credit memo display /ERS method
  • 006        Retroactive price change/clearing invoice
  • 007        Non-valuated goods receipt
 

E1EDK02 (Document Header: Reference Data)

 
                 QUALF – Reference document indicator
  • 001         Customer Purchase Order
  • 002         Vendor Order
  • 003         Customer Inquiry
  • 004         Vendor Quotation
  • 005         Customer Contract Number
  • 006         Vendor Contract Number
  • 007          Collective Number for Quotations
  • 008          Last Purchase Order Number (SPEC2000 Acknowl.)
  • 009          Invoice Number
  • 010         Internal Number (Document)
  • 011         Referenced Document Number
  • 012   Delivery Note Number
  • 013   Internal PO Number
  • 014         Accounting Document
  • 015   Billing Document Number of Invoicing Party
  • 016   Number of Preceding Document
  • 017   Assignment Number
  • 018         Customer Order Number
  • 019         ISR Number
  • 020   Invoice List Number
  • 021         ID for Cost Assignment
  • 022   Payment Document Number
  • 023   Banker’s Acceptance
  • 024        Matured Certificate of Deposit (CD)
  • 025   Loan
  • 026   Check Number
  • 027        Foreign Exchange Contract Number
  • 028   Credit Memo
  • 029        Payment Advice Note Number
  • 030   Original Purchase Order Number (ALE)
  • 031   Return Leg Number
  • 032   Reference Bank
  • 033   Third-Party Reference Number
  • 034      Reference Number of Beneficiary’s Bank
  • 035      Message Reference
  • 036      Credit Card Number
  • 037   Statement Number
  • 038       Account Statement No. (Deposit No.)
  • 039       Account Statement No. (Deposit Seq. No)
  • 040   Payee Code
  • 041   MICR Line
  • 042   Imported Line
  • 043   Vendor Contract Number
  • 044    Ship-To Party’s PO Order
  • 045   Cost Center
  • 046   Profitability Segment No.
  • 047    Work Breakdown Structure Object
  • 048       Profit Center
  • 049   Business Area
  • 050   Delivery Order
  • 051   Delivery Order Route Number
  • 052         Sequence Number
  • 053      Scheduling Agreement Number
  • 054   External Transaction
  • 055   Promotion Number
  • 056        Customer Quotation Number
  • 057   Customer Buying Group
  • 058   Customer Contract Number
  • 059    Check Number from Check Register
  • 060        JIT Call Number
  • 061   Internal Delivery Note Number
  • 062   Customer PO no. for consignment issue by ext. service agent
  • 063   External Delivery Note Number
  • 064   Goods Receipt/Issue Slip Number
  • 065   Repetitive Wire Nummer
  • 066   External Order Number
  • 067        Quality Notification Number
  • 068         External Inquiry Number
  • 069   Business Partner Reference Key
  • 070   Reference Text for Settled Items
  • 071   Customer ID no.
  • 072   Agreement Number
  • 073      Credit Advice Number
  • 074         Transfer Number
  • 075      Check Number
  • 076         Credit Posting Number
  • 077   Transfer number (just transferred)
  • 078   Delivering Profit Center
  • 079   Batch Number
  • 080   Certificate Profile
  • 081   Collective Daily Delivery Note
  • 082   Summarized JIT call
  • 083   External Delivering Plant
  • 084         Tax Number Tax Office §14
  • 085   KANBAN ID
  • 086           Kanban Control Cycle
  • 087          Reference Document Number – Billing Document
  • 102   Resale Ship and Debit Agreement No.
  • 103        Customer Claim Reference Number
  • 104          Design Registration Number
  • 105          TPOP Order Number
  • 106          TPOP Reference Order Number
  • 111          Partner Business Area
  • APN Registration Number of Official Document Numbers
  • APY Approval Year of Official Document Number
  • SNC Serial Number of Statement
 

E1EDK03 (Document Header: Date Segment)

 
                     Qualifier (IDDAT)
  • 001   Delivery date (supplier)
  • 002   Requested delivery date (customer)
  • 003   Closing date for applications
  • 004   Deadline for submission of quotations
  • 005   Quotation/inquiry valid from
  • 006   Binding period for a quotation (valid to)
  • 007   Reconciliation date for agreed cumulative quantity
  • 008   First firm zone
  • 009   Second firm zone
  • 010   Shipping date
  • 011   Date IDOC created
  • 012   Document date
  • 013   Quotation date (supplier)
  • 014   Inquiry date (customer)
  • 015   Invoice posting date (Invoice tax point date)
  • 016   Invoice date
  • 017   Payment date
  • 018   Bill of exchange date
  • 019   Start of validity for outline agreement or inquiry
  • 020   End of validity for outline agreement or inquiry
  • 021   Billing date for invoice list
  • 022   Purchase order date
  • 023   Pricing date
  • 024   Fixed value date
  • 025   Created on
  • 026   Billing date for billing index and printout
  • 027   Date on which services rendered
  • 028   Due date
  • 029   Sales order date
  • 030   Goods receipt date
 

E1EDK14 (Document Header: Organizational Data)

                             Qualifier (QUALF)
  • 001      Business area
  • 002     Sales area
  • 003     Delivering company code
  • 004     Plant in charge
  • 005     Delivering plant
  • 006     Division
  • 007     Distribution channel
  • 008     Sales organization
  • 009     Purchasing group
  • 010     Sales group
  • 011     Company code
  • 012     Order type
  • 013     Purchase order type
  • 014     Purchasing organization
  • 015     Billing Type
  • 016    Sales office
  • 017     Unloading Point
  • 018     Quotation type
  • 019 PO type (SD)
  • J01     Department
 

E1EDK18 (Document Header: Terms of Payment)

 
                 Qualifier (QUALF).
  • 001      Payment term 1
  • 002      Payment term 2
  • 003      Payment term 3
  • 004      Payment term stock transfer
  • 005      Description of Payment Term
  • PMI     Type of Installment Payment
 
 

E1EDKA1 (Document Header: Partner Information)

                     Qualifier (PARVW)
  • AG Sold-to party
  • LF         Vendor
  • WE Ship-to party
  • RE         Bill-to party
  • SP         Carrier
  • RG        Payer
  • EK        Buyer
  • ZM Responsible employee
  • VR        Representative
  • CC SPEC2000 customer code
  • BE Beneficiary
  • PA         Partner for debit memo/direct debit/bank collection
  • BA        Bank sold-to party
  • BB        Bank beneficiary/partner for debit memo
  • RS        Invoicing party
  • ME       Declarant
 
 

E1EDKT1 (Document Header: Text Identification)

                Qualifier (TDID)
  • 001        Purchase order header
  • 002         Purchase order memos
  • 003        Sales order header text
  • 004        Sales order item text
  • 005        Bill header text
  • 006        Bill item text
  • PMD     Reason for payment
  • BB1       Rediscountable message Line 1
  • BB2       Rediscountable message Line 2
  • BB3 Rediscountable message Line 3
  • BB4      Rediscountable message Line 4
  • BB5       Rediscountable message Line 5
  • BB6       Rediscountable message Line 6

E1EDL20 (INCO1)

  • EXW EX WORKS
  • FCA FREE CARRIER
  • FAS            FREE ALONG SHIP
  • FOB           FREE ON BOARD
  • CFR COST AND FREIGHT
  • CIF            COST, INSURANCE AND FREIGHT
  • CPT   CARRIAGE PAID TO
  • CIP            CARRIAGE AND INSURANCE PAID TO
  • DAF DELIVERED AT FRONTIER
  • DES DELIVERED EX SHIP
  • DEQ DELIVERED EX QUAY
  • DDU          DELIVERED DUTY UNPAID
  • DDP          DELIVERED DUTY PAID

E1EDP01 (ACTION)

  • 001        Item added
  • 002        Item changed
  • 003        Item cancelled
  • 004        Item not changed
  • 005        Item locked
 

E1EDP02

  • 001        Customer purchase order
  • 002        Supplier order
  • 003        Customer inquiry
  • 004        Supplier quotation
  • 005        Customer contract number
  • 006        Supplier contract number
  • 007        Collective number for quotations
  • 008        Last purchase order number (SPEC2000 Acknowl.)
  • 009        Invoice number
  • 010        Internal number (document)
  • 011        Referenced document number
  • 012        Delivery number
  • 013        Internal PO number
  • 014        Accounting document
  • 015        Billing document number used by presenter of invoice
  • 016        Number of preceding document
  • 017        Assignment number
  • 018        Customer order number
  • 019        POR number
  • 020        Invoice list number
  • 021        ID for cost assignment

E1EDP03

  • 001     Delivery date (supplier)
  • 002         Requested delivery date (customer)
  • 003         Closing date for applications
  • 004         Deadline for submission of quotations
  • 005         Quotation/inquiry valid from
  • 006   Binding period for a quotation (valid to)
  • 007         Reconciliation date for agreed cumulative quantity
  • 008         First firm zone
  • 009         Second firm zone
  • 010   Shipping date
  • 011   Date IDOC created
  • 012   Document date
  • 013   Quotation date (supplier)
  • 014   Inquiry date (customer)
  • 015        Invoice posting date (Invoice tax point date)
  • 016   Invoice date
  • 017   Payment date
  • 018        Bill of exchange date
  • 019        Start of validity for outline agreement or inquiry
  • 020   End of validity for outline agreement or inquiry
  • 021        Billing date for invoice list
  • 022   Purchase order date
  • 023   Pricing date
  • 024        Fixed value date
  • 025   Created on
  • 026        Billing date for billing index and printout
  • 027   Date on which services rendered
  • 028        Due date
  • 029        Sales order date
  • 030   Goods receipt date

E1EDP04 (MWSKZ)

  • 001        VAT indicator 1
  • 002   VAT indicator 2
  • 003   VAT indicator 3
  • 004   VAT indicator 4
  • 005   VAT indicator 5
  • TXC County sales tax (SPEC2000)
  • TXL Local sales tax (SPEC2000)
  • TXS State sales tax (SPEC2000)
  • VAT   Value-added tax (SPEC2000)
  • 006   VAT indicator 6
  • 007   VAT indicator 7
  • 008   VAT indicator 8
  • 009   VAT indicator 9
  • 010       VAT indicator 10
  • 011   VAT indicator 11
  • 012       VAT indicator 12
  • 013   VAT indicator 13
  • 014   VAT indicator 14
  • 015   VAT indicator 15
  • 016   VAT indicator 16
  • 017   VAT indicator 17
  • 018   VAT indicator 18
  • 019   VAT indicator 19
  • 020    VAT indicator 20

E1EDP19

  • 001        Material number used by customer
  • 002        Material number used by vendor
  • 003        International Article Number(EAN)
  • 004        Manufacturer part number
  • 005        Interchanged manufacturer part number
  • 006        Pricing reference material
  • 007        Commodity code
  • 010        Batch number
  • 011        Country of origin of material
  • 012       Shipping unit
  • 013       Original material number (ALE)
  • 014       Serial number
  • 015       Manufacturing plant
  • 016       Revision level
  • 017       Additionals
  • 008       Replacement Material Number of Customer
  • 009       Replacement Material Number of Vendor

E1EDP26

  • 001       Gross price
  • 002       Gross value
  • 003       Net value
  • 004       Amount qualifying for cash discount
  • 005       Absolute net value of item
  • 006       Net price
  • 007       Cash discount amount

E1EDPA1

  • AG         Sold-to party
  • LF         Vendor
  • WE       Ship-to party
  • RE         Bill-to party
  • SP          Carrier
  • RG         Payer
  • EK         Buyer
  • ZM        Responsible employee
  • VR         Representative
  • CC         SPEC2000 customer code
  • BE          Beneficiary
  • PA           Partner for debit memo/direct debit/bank collection
  • BA    Bank sold-to party
  • BB         Bank beneficiary/partner for debit memo
  • RS    Invoicing party
  • ME         Declarant

E1EDPT1

  • 001      Purchase order header
  • 002      Purchase order memos
  • 003      Sales order header text
  • 004      Sales order item text
  • 005   Bill header text
  • 006      Bill item text
  • PMD Reason for payment
  • BB1     Rediscountable message Line 1
  • BB2  Rediscountable message Line 2
  • BB3  Rediscountable message Line 3
  • BB4  Rediscountable message Line 4
  • BB5  Rediscountable message Line 5
  • BB6  Rediscountable message Line 6

E1EDS01 (summary)

  • 001   Number of items (purchase order count)
  • 002      Net document value (EVT)
  • 003   Gross document value
  • 004   Total of all quantities (total control quantity)
  • 005   Sales tax total
  • 006   Order values
  • 007   Sales tax
  • 008      Invoice values
  • 009   Target value for outline agreement
  • 010   Net invoice value
  • 011   Billed value
  • 012   Amount qualifying for cash discount
  • 013   Cash discount amount 1
  • 014   Cash discount amount 2
  • 015      Net values with sales tax ID
  • 016   Billed values with sales tax ID
  • 017   Total item net value
  • 018   Invoice list final amount
  • 019     Net value invoice list
  • 020   Total discounts/surcharges
  • 021   Net weight
  • 022   Gross weight
  • 023   Total weight
  • 024     Quantity of transferred materials
  • 025   Billed value in EUROs
  • 026     End amount for invoice list in EUROs
  • 027     Billed value of invoice list in EUROs
  • 028   Number of IDocs

E1EDT13

  • 001         Transportation Planning
  • 003          Loading
  • 006         Goods Issue
  • 007         (Outbound) Delivery
  • 010          Picking
  • 015          Document Date
  • 016           Inbound Delivery Version
  • 017           In Transit
  • 018           In Yard
  • 019           Goods Receipt at Door
  • 020           Available for Sale
  • 021           Vendor's Outbound Delivery Date
  • 499           Other

SAP IDOC-Segment E1EDP19 Document Item Object Identification的更多相关文章

  1. 「SAP 技术」SAP MM 给合同的ITEM上传附件以及附件查询

    SAP MM 给合同的ITEM上传附件以及附件查询 1,使用事务代码 CV01N为合同上传附件, Document:输入6100000829, Document type 101 (contract) ...

  2. SAP Idoc 事务码

    SALE Display ALE Customizing SM59 RFC Destinations (Display/Maintain) BD64 Maintenance of Distributi ...

  3. TypeError: 'Item' object has no attribute '__getitem__'

    Error Msg: Traceback (most recent call last): File "start.py", line 8, in <module> E ...

  4. SAP云平台的Document Service

    SAP云平台以微服务的方式提供了Document的CRUD(增删改查)操作.该微服务基于标准的CMIS协议(Content Management Interoperability Service). ...

  5. 【PI系列】SAP IDOC发送状态03,PI没有收到消息的解决办法

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[PI系列]SAP IDOC发送状态03,PI没 ...

  6. SAP IDOC开发(转)

    创建IDOC:   第一步:WE31 创建IDOC所包含的字段.   第二步:WE30 创建IDOC 把Segment分配给IDOC第三步:WE81 创建信息类型第四步:WE82 把IDOC类型与信息 ...

  7. SAP iDoc 概念及管理

    创建IDOC:   第一步:WE31 创建IDOC所包含的字段.   第二步:WE30 创建IDOC 把Segment分配给IDOC   第三步:WE81  创建信息类型   第四步:WE82   把 ...

  8. SAP IDOC

    物料主数据 供应商主数据 价格档案 采购订单 采购计划协议 srm发货单 物料凭证 发票校验 发票校验过账或删除信息返回 CALL FUNCTION 'BAPI_INCOMINGINVOICE_PAR ...

  9. SAP中的BOPF(Business Object Processing Framework)

    希望简化你的业务应用开发过程?业务对象处理框架(Business Object Processing Framework,以下简称BOPF)也许可以帮到你. BOPF是SAP Business Sui ...

随机推荐

  1. xss攻击和防御

    简介 XSS攻击全称跨站脚本攻击,是为不和层叠样式表(Cascading Style Sheets, CSS)的缩写混淆,故将跨站脚本攻击缩写为XSS,XSS是一种在web应用中的计算机安全漏洞,它允 ...

  2. SpringCloud入门简述

    1.微服务简述 ​ 微服务,是一个小型的服务,也是一种设计理念,将一个大型繁杂的系统拆分为多个小型的服务,进行独立部署,这些服务在独立进程中运行,通过特定的协议进行通信 ​ 优点: 轻量化:一个服务不 ...

  3. 【虚拟机】VMware-VMware Tool安装

    1.安装 在VMware Workstation主界面点击菜单"虚拟机".会弹出提示框,点击是. 保持网络状态,等待后台下载,下载后会出现一个压缩包(如果没有出现压缩包请点击这里查 ...

  4. 基于知名微服务框架go-micro开发gRPC应用程序

    go-micro是golang的一个微服务框架. go-micro各个版本之间的兼容性问题一直被诟病,前几年go-micro更是分化出了两个分支: 一个延续了go-micro,只不过转到了其公司CEO ...

  5. 了解磁盘IO的那些事

    了解磁盘IO的那些事 我们作为一名开发,经常耳熟能详的一句话,就是提高程序的性能.对于一个应用程序存在问题的直观体现:页面打开很慢,需要等待.造成这样的问题的主要原因有以下几种:1.网络问题.带宽和网 ...

  6. [AcWing 788] 逆序对的数量

    点击查看代码 #include<iostream> using namespace std; typedef long long ll; const int N = 1e5 + 10; i ...

  7. HashMap中红黑树插入节点的调整过程

    如果有对红黑树的定义及调整过程有过研究,其实很容易理解HashMap中的红黑树插入节点的调整过程. "红黑树定义及调整过程"的参考文章:<红黑树原理.查找效率.插入及变化规则 ...

  8. Linux-I/O模型详解

    I/O介绍 I/O通常有内存IO.网络I/O.磁盘I/O等,但我们通常说的是网络I/O以及磁盘I/O.网络I/O:本质是socket读取 每次I/O请求,都会有两个阶段组成: 第一步:等待数据,即数据 ...

  9. 网络排查工具MTR介绍

    开源Linux 回复"读书",挑选书籍资料~ 常用的 ping,tracert,nslookup 一般用来判断主机的网络连通性,其实 Linux 下有一个更好用的网络连通性判断工具 ...

  10. 关于div及display

    1.DIV div被看作是一个盒子,可以设置width.height.这个盒子其实是由三部分构成width(height).padding.border.在默认情况下,所见到的div是border和p ...