• SAP IDOC-Segment E1EDP19 Document Item Object Identification


    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

    PositionColumn NameDescriptionPrimary KeyData TypeLengthCheck 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
  • 相关阅读:
    sqlserver中的锁与事务
    策略模式
    异步编程
    并行聚合操作
    EF中的自动追踪与代理
    C#6.0语法糖
    EF中使用SqlQuery进行参数化查询时抛出异常
    乐观并发
    为什么那么多公司不用 .NET
    sqlserver 更改跟踪相关知识
  • 原文地址:https://www.cnblogs.com/JackeyLove/p/14738903.html
Copyright © 2020-2023  润新知