Hi SAP Expert.
We have below data in VBAP table (give some data for reference only)
Order | Line item Number | Material
XX1 | 10 | Mat1
XX2 | 10 | Mat2
We have below data in VBKD table (Considering standard behavior as per config, I already checked about populating data in VBKD table)
Order | Line item Number | Payment term | BSARK
XX1 | | PT1 | PO1
XX1 | 10 | PT2 | PO1
XX2 | | PT1 | PO1
Now for Idoc basic type INVOIC02 segment E1EDP02 field BSARK value sap is picking the data from VBKD table based on reference sales order and line item number of invoice document and line item.
Case 1:
as per standard code system is populating below data based on above entry in VBKD table
Basic type | Invoice document | Line item | Ref order | Ref order item | Segment | Field | Value
INVOIC02 | INV 1 | 10 | XX1 | 10 | E1EDP02 | BSARK | PO1
Case 2:
as per standard code system is not populating BSARK value in idoc
Basic type | Invoice document | Line item | Ref order | Ref order item | Segment | Field | Value
INVOIC02 | INV 1 | 10 | XX2 | 10 | E1EDP02 | BSARK |
Now I thought its standard code issue in program LVEDFF0F logic between line number 953 to 964.
Could you please verify my observation or give your feed back/Suggesstion (possible OSS notes, if bug in standard code)