<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Implement BADI MRM_MRKO_HDAT_MODIFY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897717#M1480905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to make a consignment settlement (Transaction MRKO) I get the message "For document type RE, an entry is required in field Reference".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on my analysis I would have to implement the BADI MRM_MRKO_HDAT_MODIFY to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me through how could the badi be implemented and what code I must put in this implementation? I must not make any changes to the customization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 03:13:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-11T03:13:09Z</dc:date>
    <item>
      <title>Implement BADI MRM_MRKO_HDAT_MODIFY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897717#M1480905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to make a consignment settlement (Transaction MRKO) I get the message "For document type RE, an entry is required in field Reference".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on my analysis I would have to implement the BADI MRM_MRKO_HDAT_MODIFY to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me through how could the badi be implemented and what code I must put in this implementation? I must not make any changes to the customization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 03:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897717#M1480905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T03:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Implement BADI MRM_MRKO_HDAT_MODIFY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897718#M1480906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Keethu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within report RMVKON00 (tcode MRKO) the routine BADI_HEADERDATA_MODIFY triggers the BAdI:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  BADI_HEADERDATA_MODIFY
*&amp;amp;---------------------------------------------------------------------*
*  in this BAdI the vendor and the invoice type can be changed
*----------------------------------------------------------------------*
FORM badi_headerdata_modify TABLES   it_rkwa  TYPE typ_tab_rkwa
                            USING    i_bukrs  LIKE bkpf-bukrs
                            CHANGING x_blart  LIKE t169f-blart
                                     x_lifnr  LIKE rkwa-lifnr
                                     x_fehler TYPE c
                                     s_msg    TYPE typ_msg.

  CALL FUNCTION 'MRMBADI_MRKO_HDAT_MODIFY'
    EXPORTING
      i_bukrs    = i_bukrs
      i_lifnr    = x_lifnr
      i_blart    = x_blart
      ti_rkwa    = it_rkwa[]
    IMPORTING
      e_lifnr    = x_lifnr
      e_blart    = x_blart
    EXCEPTIONS
      badi_error = 01.
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The signature of this function module (which call an active BAdI implementation) you can see already how the single method of this BAdI works:&lt;/P&gt;&lt;P&gt;- based on your input (company code, vendor, document type and Consignment Withdrawals) you may change either the vendor, the document type or both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the functional requirements you can easily implement the logic for the BAdI method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 04:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897718#M1480906</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-05-11T04:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Implement BADI MRM_MRKO_HDAT_MODIFY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897719#M1480907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi keethu,&lt;/P&gt;&lt;P&gt;Documentation is provided for the BADI, check it. As it is having single method, you can just place ur code as per the requirement.&lt;/P&gt;&lt;P&gt;--&amp;gt; put a condition before ur code, so that it will work only for Trasaction MRKO.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: V.V.Reddy on May 11, 2010 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 07:20:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897719#M1480907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T07:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Implement BADI MRM_MRKO_HDAT_MODIFY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897720#M1480908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Uwe and VV Reddy for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is to force populate the reference field in invoice during consignment settlement. I do not want to change  the vendor or the document type. I guess I am looking at the wrong BADI. Could you please guide which BADI would serve my purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 21:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897720#M1480908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Implement BADI MRM_MRKO_HDAT_MODIFY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897721#M1480909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the user exit RMVKON00 and it serves my purpose. Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 00:56:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implement-badi-mrm-mrko-hdat-modify/m-p/6897721#M1480909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-12T00:56:21Z</dc:date>
    </item>
  </channel>
</rss>

