Skip to Content
avatar image
Former Member

Reg: Material document and account document

Hi All,

Business Scenario:

I have a Purchase order with one line item, quantity 10. I have created the partial delivery for this material which inturn created a Material document with line items say 1,2 and 3 followed by Accounting document .

Technical requirement:

I want to pick the BATCH value populated in the line item of the Material document.

In the custom code I only have the accounting document and the line item available.

Please suggest how do I get the value of the material document and the Material document line item from Accounting documet and Account document line item available in code.

Regards

Vijay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 12, 2010 at 05:36 AM

    Hi Vijay,

    You may refer to the table field BKPF-AWKEY(reference key), here the material document number and

    material document year is saved, and then you can read table MSEG, for the item information of

    material document.

    Thanks and regards,

    Polly

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Vinod Kumar

      HI All,

      I dont want all the line items of the material document. I only want those line items likned with the line items of the Accounting document.

  • avatar image
    Former Member
    May 05, 2010 at 05:14 AM

    h

    Add comment
    10|10000 characters needed characters exceeded