Skip to Content
avatar image
Former Member

Customer Material Infomation Missing

**Hello Friends,**

**We have a scenario where we create Delivery without Referance to an Order and in the Invoice we see that Customer Material Information is not getting copied.In the Billing i see that it is taking referance from VBAP Table but in our case we don't have any referance to a Sales Order so it is not getting copied there. Is there any way we can make the changes in the copy control to make it appear in the Invoice as the Customer Material Information is already available in the Deliery document. This information is very vital for us as the Invoice Idocs should carry Customer Material Information which is not happening currently.*

Customer Material Information can be seen in the Invoice Item Tab -PO Data.

Thanks in advance for your help

Sunil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 23, 2010 at 06:14 PM

    Hi Sunil,

    I think you already aware but just for confimation, are you creating LO delivery type in T-code VL01NO.

    If yes then go to T-code VTFL > select the combination LO <> F2 -


    > check the header Copying requirements should be 003 Header/Dlv-related

    then on left side -->Double click at item and see the Copying requirements which should be 019 --> Billing quantity field should be B

    Hope this helps,

    Regards,

    MT

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The field on the invoice item PO data tab is VBAP-KDMAT. It is a view to a non-existent sales order, so you cannot populate it with data on your type of invoice.

      HOWEVERu2026u2026you really need the CMIR data on the Idoc, right?

      So use an invoice IDoc user exit to insert the appropriate segment.

      My particular favorite exit for such things is INCLUDE ZXEDFU02, which is found in function module EXIT_SAPLVEDF_002.

      An Idoc type INVOIC02 should carry the customeru2019s material number in an E1EDP19 segment with qualifier QUALF=001. Set up your exit to test for the existence of such a segment. If it is not found, then query table KNMT for the KDMAT that you want and insert the new E1EDP19 segment at the appropriate index.