Skip to Content

Delivery number for invoice recipt


I want delivery number for invoice receipt while creating MIRO invoice receipt. Please help me. in some cases LIPS having 10 records. How to find correct record which is used in Miro.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on May 17 at 05:29 PM


    Use Same BADI mentioned in your previous question and in Method SAVE - try with below code.

    for this Delivery based GR / IV to system.

      DATA : rsegdata TYPE mrmrseg.
       READ TABLE ti_rseg_new INTO rsegdata INDEX 1.
          IF sy-subrc EQ 0.
    * rsegdata-lfbnr  this will be having the reference document number of line item through this can read EKBE or LIKP respectively for delivery number.
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 24 at 07:23 AM

    Pass PO and item to EKBE, get material document i.e GR number, year..pass into MSEG table get delivery and it's item.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.