<?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 Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368321#M1401465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can use set_data method to set the fields - like example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:ls_poheader TYPE mepoheader,&lt;/P&gt;&lt;P&gt;lm_poheader TYPE REF TO if_purchase_order_mm, wa_item TYPE mepoitem.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;lm_poheader = im_item-&amp;gt;get_header( ).&lt;/P&gt;&lt;P&gt;ls_poheader = lm_poheader-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;wa_item = im_item-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF ls_poheader-bsart = 'UB' .&lt;/P&gt;&lt;P&gt;  wa_item-matnr = '100-100'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL METHOD im_item-&amp;gt;set_data&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      im_data = WA_ITEM.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only fields which are not in structure are allowed MEPOITEM_TECH (as per my research)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 14:03:34 GMT</pubDate>
    <dc:creator>Manohar2u</dc:creator>
    <dc:date>2009-12-02T14:03:34Z</dc:date>
    <item>
      <title>Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368320#M1401464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;i have to set 'X' default on field ekko-kufix (that is 'Exch. rate fixed' on transaction me21n).&lt;/P&gt;&lt;P&gt;I have implemented the definition ME_PROCESS_PO_CUST.&lt;/P&gt;&lt;P&gt;What i have to do in that method? &lt;/P&gt;&lt;P&gt;And how can i try to debug it in the transaction? I don't know how activate bapi..&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 13:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368320#M1401464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368321#M1401465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can use set_data method to set the fields - like example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:ls_poheader TYPE mepoheader,&lt;/P&gt;&lt;P&gt;lm_poheader TYPE REF TO if_purchase_order_mm, wa_item TYPE mepoitem.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;lm_poheader = im_item-&amp;gt;get_header( ).&lt;/P&gt;&lt;P&gt;ls_poheader = lm_poheader-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;wa_item = im_item-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF ls_poheader-bsart = 'UB' .&lt;/P&gt;&lt;P&gt;  wa_item-matnr = '100-100'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL METHOD im_item-&amp;gt;set_data&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      im_data = WA_ITEM.&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only fields which are not in structure are allowed MEPOITEM_TECH (as per my research)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368321#M1401465</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2009-12-02T14:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368322#M1401466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do i have to write that in the method?&lt;/P&gt;&lt;P&gt;So i will write ls_poheader-kufix = 'X' befor the set_data method. Right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368322#M1401466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368323#M1401467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368323#M1401467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368324#M1401468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have error here:&lt;/P&gt;&lt;P&gt;lm_poheader = im_item-&amp;gt;get_header( ).&lt;/P&gt;&lt;P&gt;ls_poheader = lm_poheader-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;wa_item = im_item-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IM_ITEM is unknown..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i have to do other declarations..or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368324#M1401468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-02T14:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modify header ith method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368325#M1401469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write in im_header method. You will have im_header as input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above example was to change item field. As you need to change header try in header method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manohar Reddy Kallem on Dec 2, 2009 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-header-ith-method-if-ex-me-process-po-cust-process-header/m-p/6368325#M1401469</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2009-12-02T14:30:46Z</dc:date>
    </item>
  </channel>
</rss>

