<?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: BAdI ME_PROCESS_REQ_CUST: subtle behaviour in PROCESS_HEADER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274513#M782859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the  thread you suggested fully solved the problem !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Antonino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2008 13:08:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-18T13:08:18Z</dc:date>
    <item>
      <title>BAdI ME_PROCESS_REQ_CUST: subtle behaviour in PROCESS_HEADER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274511#M782857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using BAdI ME_PROCESS_REQ_CUST to make custom checks during PReq processing via ME51N transaction.&lt;/P&gt;&lt;P&gt;When I change the PReq type as very first change made in transaction the method PROCESS_HEADER doesn't return the PReq type just modified but the default one.&lt;/P&gt;&lt;P&gt;If I change another time the PReq type the method, this time, returns the correct PReq type.&lt;/P&gt;&lt;P&gt;I have already get an official answer saying that this is not a correct behaviour.&lt;/P&gt;&lt;P&gt;A suggested workaround it is to read the variable my_state-&amp;gt;flow in the object lcl_req_header that is instantiated by transaction: but how I can read this object ? In other words I have my object related to BAdI implementation and from there I need to read an attribute of another object to which I have a variable to which (object) is a ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that is it very complicate to explain the situation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Antonino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 18:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274511#M782857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI ME_PROCESS_REQ_CUST: subtle behaviour in PROCESS_HEADER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274512#M782858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antonino&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A similar problem has been described previously in thread:&lt;/P&gt;&lt;P&gt;[Access to class-attribute by Interface-reference|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="633821"&gt;&lt;/A&gt;;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I explained the solution in more detail in my Wiki posting&lt;/P&gt;&lt;P&gt;[ Accessing the Inacessible - Local Classes within Global Classes|https://wiki.sdn.sap.com/wiki/display/ABAP/Accessing&lt;EM&gt;the&lt;/EM&gt;Inacessible&lt;EM&gt;-&lt;/EM&gt;Local&lt;EM&gt;Classes&lt;/EM&gt;within&lt;EM&gt;Global&lt;/EM&gt;Classes]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since MY_FLOW is a public attribute of MY_STATE like MY_ITEM the solution should work here, too.&lt;/P&gt;&lt;P&gt;&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>Fri, 18 Jan 2008 02:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274512#M782858</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-18T02:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: BAdI ME_PROCESS_REQ_CUST: subtle behaviour in PROCESS_HEADER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274513#M782859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the  thread you suggested fully solved the problem !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Antonino&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 13:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-subtle-behaviour-in-process-header/m-p/3274513#M782859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T13:08:18Z</dc:date>
    </item>
  </channel>
</rss>

