Skip to Content
author's profile photo Former Member
Former Member

Copying texts from PURCHASE ORDER to GOODS RECEIPT

How to copy the header text from PURCHASE ORDER to GOODS RECEIPT and then to INVOICE

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 25, 2016 at 01:11 PM

    Hi,

    I guess the texts visible in GR are coming from the transaction where you put them in (e.g. MIGO). so usually you will not move them from PO as PO is linked to GR and it can be derived in the reports using this link.

    However if you want to do such thing you can use user exit / BADI on GR, that will open the specified text and copy it to whatever is cominig as header text in GR document. This would mean that you overwrite whatever end user enters into the "header text" in MIGO, so this need to be clear fro everyone.

    If you need example BADI for this I can provide it.

    BR,

    Tomek

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      Sure, however we use it on item level, so we use:

      MB_MIGO_ITEM_BADI

      method ITEM_MODIFY

      inside you need to use FUNCTION 'READ_TEXT'


      For header you can try below BADI from Rosh, but maybe different method as "check_header" might not be able to actually change header data. Maybe POST_DOCUMENT method will fit your needs better.


      BR,

      Tomek

  • Posted on Jul 25, 2016 at 01:49 PM

    Hi Rajesh,

    No standard option for this requirement, please check the possibility of using BAdI.

    For goods receipt use BAdI MB_MIGO_BADI, Method CHECK_HEADER and for invoice receipt use BAdI MRM_HEADER_CHECK.

    BR, Rosh.

    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.