<?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>Question Re: ESS Leave Request Badi PT_GEN_REQ in Enterprise Resource Planning Q&amp;A</title>
    <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468553#M1446972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that leave request is based on OSP relationshiop, Please verify what user or person&lt;/P&gt;&lt;P&gt;you are trying to assign?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 07:16:01 GMT</pubDate>
    <dc:creator>siddharthrajora</dc:creator>
    <dc:date>2009-04-30T07:16:01Z</dc:date>
    <item>
      <title>ESS Leave Request Badi PT_GEN_REQ</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaq-p/5468552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am implementing badi PT_GEN_REQ to provide approver based on custom table for ess leave request workflow. I am trying to pass Actor to one of its &lt;/P&gt;&lt;P&gt;EX_DEF_NEXT_PROC_ACTOR . but its not taking it and throwing an error that ' Type of actor cannot be converted to type of EX_DEF_NEXT_PROC_ACTOR. I understand that actor is 'Char 14 ' and the other variable is an interface. Please guide me how to pass the values to EX_DEF_NEXT_PROC_ACTOR in the badi,&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;&lt;/P&gt;&lt;P&gt;Waz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 13:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaq-p/5468552</guid>
      <dc:creator>former_member214498</dc:creator>
      <dc:date>2009-04-29T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: ESS Leave Request Badi PT_GEN_REQ</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468553#M1446972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that leave request is based on OSP relationshiop, Please verify what user or person&lt;/P&gt;&lt;P&gt;you are trying to assign?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 07:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468553#M1446972</guid>
      <dc:creator>siddharthrajora</dc:creator>
      <dc:date>2009-04-30T07:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: ESS Leave Request Badi PT_GEN_REQ</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468554#M1446973</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;Thanx for your response,first of all. I donot want to follow the hierarchy. Actually there is a custom table where user will put the positions for each pers.sub area and based on that particular table, a set of approvers would be determined. I have coded the logic in the badi however as a final step I am unable to pass the actor ID to &lt;/P&gt;&lt;P&gt;VALUE( EX_RESPONSIBLE_ACTOR ) (export parameter) for method FIND_RESP_AND_DEFAULT_NEXT_PRC. &lt;/P&gt;&lt;P&gt;If you have implemented this badi, plz share a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 10:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468554#M1446973</guid>
      <dc:creator>former_member214498</dc:creator>
      <dc:date>2009-04-30T10:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: ESS Leave Request Badi PT_GEN_REQ</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468555#M1446974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to use create_actor method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL METHOD actor_agent-&amp;gt;create_actor&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           im_actor_type      = 'P'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           im_otype           = 'P'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           im_objid           = '00000008'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           ex_actor           = ex_responsible_actor&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;           missing_parameter  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           pernr_not_existing = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           application_error  = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           OTHERS             = 4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code is already there in the method just uncomment and evaluate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 11:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468555#M1446974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: ESS Leave Request Badi PT_GEN_REQ</title>
      <link>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468556#M1446975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately Its not there even in the uncommented form. Can you please send the remaining uncommented code. What is the class type of actor_agent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Waz on Apr 30, 2009 8:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 12:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/enterprise-resource-planning-q-a/ess-leave-request-badi-pt-gen-req/qaa-p/5468556#M1446975</guid>
      <dc:creator>former_member214498</dc:creator>
      <dc:date>2009-04-30T12:24:43Z</dc:date>
    </item>
  </channel>
</rss>

