<?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 getting release code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190133#M1374463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how can u fix ur release codes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did ur functional guy told that he will always have only2 release code ex: s1 and c1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case then u can go for something like &lt;/P&gt;&lt;P&gt;if struct1-filed = s1.&lt;/P&gt;&lt;P&gt;do this.&lt;/P&gt;&lt;P&gt;elseif struct1-filed = c1.&lt;/P&gt;&lt;P&gt;do this .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buit i dont think it will be 2 always , as in my case for some pr it is 3 code for some pr it is 4 , so i guess u cant go by relase code wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still if u want u have to check in debugging the transaction me54n for a release then  u can know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2009 05:06:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-13T05:06:44Z</dc:date>
    <item>
      <title>Badi ME_PROCESS_REQ_CUST getting release code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190130#M1374460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using ME54N for releasing a PR. I have got 2 release codes during release. Example. C1 - stores &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;officer, S1- General Manager.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using a badi ME_PROCESS_REQ_CUST for one validation . How can i get the the current release &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code , so that i can use it  in my code for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code goes as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ST_MEREQ_HEADER = IM_HEADER-&amp;gt;GET_DATA( )  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR: IS_YM33.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM YYM_YM33_LOGDATA&lt;/P&gt;&lt;P&gt;           INTO IS_YM33 WHERE USERID = SY-UNAME&lt;/P&gt;&lt;P&gt;                        AND   ACCESSDT = SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;       CLEAR: WST_DISP,DTDISPLAY.&lt;/P&gt;&lt;P&gt;       CONCATENATE SY-DATUM&lt;EM&gt;6(2) '.' SY-DATUM&lt;/EM&gt;4(2) '.' SY-DATUM+2(2) INTO DTDISPLAY.&lt;/P&gt;&lt;P&gt;       CONCATENATE 'User' SY-UNAME 'Checked stock status on-' DTDISPLAY  INTO WST_DISP SEPARATED BY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          I_MSGID = 'E4'&lt;/P&gt;&lt;P&gt;          I_MSGTY = 'W'&lt;/P&gt;&lt;P&gt;          I_MSGNO = '000'&lt;/P&gt;&lt;P&gt;          I_MSGV1 = WST_DISP.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      MESSAGE 'Stocks status not checked for this PR using Tcode YM33' TYPE 'E'.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;M.Srinivasa Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2009 06:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190130#M1374460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-10T06:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Badi ME_PROCESS_REQ_CUST getting release code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190131#M1374461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Put your whole code in between this two line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;      when 'MERELEASE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;-U R Code Here---&lt;/P&gt;&lt;P&gt;...................&lt;/P&gt;&lt;P&gt;....................&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when ever user will relesae at that time only he will get the message pop up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 06:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190131#M1374461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T06:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Badi ME_PROCESS_REQ_CUST getting release code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190132#M1374462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Mr.rajendra. Your response is very useful. &lt;/P&gt;&lt;P&gt;I have got one more requirement. &lt;/P&gt;&lt;P&gt;Iam operating two release codes for releasing PR.  &lt;/P&gt;&lt;P&gt;How do i know the present release code using this BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M.Srinivasa Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 10:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190132#M1374462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Badi ME_PROCESS_REQ_CUST getting release code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190133#M1374463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how can u fix ur release codes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did ur functional guy told that he will always have only2 release code ex: s1 and c1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is the case then u can go for something like &lt;/P&gt;&lt;P&gt;if struct1-filed = s1.&lt;/P&gt;&lt;P&gt;do this.&lt;/P&gt;&lt;P&gt;elseif struct1-filed = c1.&lt;/P&gt;&lt;P&gt;do this .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buit i dont think it will be 2 always , as in my case for some pr it is 3 code for some pr it is 4 , so i guess u cant go by relase code wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still if u want u have to check in debugging the transaction me54n for a release then  u can know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 05:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/badi-me-process-req-cust-getting-release-code/m-p/6190133#M1374463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T05:06:44Z</dc:date>
    </item>
  </channel>
</rss>

