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. collections、time、datetime、random模块

    今日内容概要 1.re模块的其他知识 2.正则起别名与分组机制 3.collections模块 4.time与datetime模块 5.random随机数模块 今日内容详细 re模块的其他知识 imp ...

  2. 基于 Apache Hudi 构建增量和无限回放事件流的 OLAP 平台

    1. 摘要 在本博客中,我们将讨论在构建流数据平台时如何利用 Hudi 的两个最令人难以置信的能力. 增量消费--每 30 分钟处理一次数据,并在我们的组织内构建每小时级别的OLAP平台 事件流的无限 ...

  3. MySQL学习day3随笔

    索引在数据量不大的时候体现不出来,数据很多的时候区别明显 1 select * from app_user where `name`='用户9999';-- 0.053 sec 2 select * ...

  4. Dubbo 学习笔记

    分布式基础理论 1. 什么是分布式系统? 分布式系统是若干独立计算机的集合,这些计算机对于用户来说就像单个系统 2. 应用架构演变 单一应用架构 当网站流量很小时,只需一个应用,将所有功能都部署在一起 ...

  5. k8s入门之Ingress(七)

    Ingress 的功能其实很容易理解:所谓 Ingress,就是 Service 的"Service",代理不同后端 Service 而设置的负载均衡服务. 一.安装ingress ...

  6. linux下redis开机自启动

    将/usr/local/app/redis-4.0.8/redis.conf文件中daemonize no改为daemonize yes 在/etc目录下新建redis目录:mkdir /etc/re ...

  7. XCTF练习题---CRYPTO---wtc_rsa_bbq

    XCTF练习题---CRYPTO---wtc_rsa_bbq flag:flag{how_d0_you_7urn_this_0n?} 解题步骤: 1.观察题目,下载附件 2.下载后是一个文件,不清楚格 ...

  8. .NET 6上的WebView2体验

    上次说为了不想在web端登录博客园,我想着还是继续使用MarkWord编写博客,不过在使用的过程中,如果markdown文件的目录中有中文的话,Markdown预览就不能够显示粘贴的图片了,原因是之前 ...

  9. Django视图函数:CBV与FBV (ps:补充装饰器)

    CBV 基于类的视图  FBV 基于函数的视图 CBV: 1 项目目录下: 2 urlpatterns = [ 3 path('login1/',views.Login.as_view()) #.as ...

  10. Java 17 新特性:switch的模式匹配(Preview)

    还记得Java 16中的instanceof增强吗? 通过下面这个例子再回忆一下: Map<String, Object> data = new HashMap<>(); da ...