<?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: Bapi / RH_GET_PARTIC_CANCELLATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680380#M1575969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for getting back to me so quick..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my code how do i populate the partic_tab this is my first time using a FM like this one i have this code in my webdynpro but i need to poulate that table before it runs is that correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry im new to all this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RH_GET_PARTIC_CANCELLATION'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     BEGDA                      = '19000101'&lt;/P&gt;&lt;P&gt;     ENDDA                      = '99991231'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    _ISTAT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SORT                       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EVTYP                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    REASON                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    AUTH_SOBID                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      partic_tab                 =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     stor_tab                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INFOTYPE_1001              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NO_PARTICIPANT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WRONG_OTYPE                = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                     = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Feb 2011 15:00:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-17T15:00:52Z</dc:date>
    <item>
      <title>Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680377#M1575966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping that someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone used the BAPI   RH_GET_PARTIC_CANCELLATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason being i have developed a Web Dynpro    Application that through Ess or Mss it allows the user to see there training records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have been using this BAPI   BAPI_ATTENDEE_BOOK_LIST   to get the training record back by feeding it the Personnel number. But this Bapi only stores the completed training events that have been completed by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order for me to get the cancelled training data i have been using  RH_GET_CANCELLATION_DATA  by also feeding this the personnel number but it wont bring back the user or dates or times just the reason for cancellation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bapi that i have mentioned at the top will bring back this information but i am having trouble using it. it seems i have to run it first populate an internal table then run it again with certain info types &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may not make any sense at all but if anyone can help will be very grateful thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 11:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680377#M1575966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T11:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680378#M1575967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message:&lt;/SPAN&gt; nothing Web Dynpro specific here so I moved the thread to ABAP general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, if the function module isn't named BAPI_* then it probably isn't actually a BAPI.  More than semantics, it might mean that this function module is designed to run standalone or dark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 14:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680378#M1575967</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2011-02-17T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680379#M1575968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get the participation cancellation details you can query the table HRP1001 with &lt;/P&gt;&lt;P&gt;Otype = 'P'&lt;/P&gt;&lt;P&gt;Objid = Personnel Number &lt;/P&gt;&lt;P&gt;Rsign = 'B'&lt;/P&gt;&lt;P&gt;Relat = '040'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SOBID returned will hold the business event. BEGDA and ENDDA will hold the training duration period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the FM RH_GET_CANCELLATION_DATA pass the personnel number details in the PARTIC_TAB table. Also, make sure the the employee queried is having valid records in IT0000, IT0001 and IT0002 for the period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 14:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680379#M1575968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T14:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680380#M1575969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for getting back to me so quick..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my code how do i populate the partic_tab this is my first time using a FM like this one i have this code in my webdynpro but i need to poulate that table before it runs is that correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry im new to all this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RH_GET_PARTIC_CANCELLATION'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     BEGDA                      = '19000101'&lt;/P&gt;&lt;P&gt;     ENDDA                      = '99991231'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    _ISTAT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SORT                       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EVTYP                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    REASON                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    AUTH_SOBID                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      partic_tab                 =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     stor_tab                   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INFOTYPE_1001              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NO_PARTICIPANT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WRONG_OTYPE                = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OTHERS                     = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 15:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680380#M1575969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T15:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680381#M1575970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;partic_tab has 3 fields. Populate the fields as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;partic_tab-plvar = '01' &lt;SPAN __default_attr="green" __jive_macro_name="color"&gt; Generally it will be '01', else check in table t77s0 for values 'PLOGI' and 'PLOGI', use the value from GSVAL field &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;partic_tab-otype = 'P'&lt;/P&gt;&lt;P&gt;partic_tab-objid = Personnel Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append partic_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ISTAT can be passed based on what kind of records you need. Below are the possible values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1	Active&lt;/P&gt;&lt;P&gt;2	Planned&lt;/P&gt;&lt;P&gt;3	Submitted&lt;/P&gt;&lt;P&gt;4	Approved&lt;/P&gt;&lt;P&gt;5	Rejected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output will be available in stor_tab table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 15:07:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680381#M1575970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi / RH_GET_PARTIC_CANCELLATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680382#M1575971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant thanks very much i will give that a go and get back to you thanks again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 15:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-rh-get-partic-cancellation/m-p/7680382#M1575971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-17T15:14:28Z</dc:date>
    </item>
  </channel>
</rss>

