<?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: Send Idoc based on condition! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645861#M877993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the better thing is to create customidoc.you can get what you want to get only using custom idoc only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 21:29:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T21:29:33Z</dc:date>
    <item>
      <title>Send Idoc based on condition!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645859#M877991</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 looking for a (best) scenario in which the following is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the contract date of an employee is changed and that day is TODAY, an IDoc should be created. However, since the receiving system cannot handle end of contract dates which are in the future there should be some sort of check that end of contract date = today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that of contract end date is changed today and set to for example end of next month, the IDoc should not be sent yet. It has to be sent on the actual end of contract date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using change pointers wont' do me any good, since in that case all changes will trigger an IDoc, even if the end of contract date is somewhere in the (near) future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing I came up with until now are two scenarios:&lt;/P&gt;&lt;P&gt;1. Batch report which runs every day and determines all contracts that end on the day that report is scheduled. Then call function module which will fill IDoc and send it using MASTER_IDOC_DISTRIBUTE.&lt;/P&gt;&lt;P&gt;2. Workflow on end of contract change, hold workflow (put in a check that says end of contract date = today), then call function module which will fill IDoc and send it using MASTER_IDOC_DISTRIBUTE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatives, suggestions, anything is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, oh yes, points will definitely awarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 13:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645859#M877991</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-17T13:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Send Idoc based on condition!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645860#M877992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 13:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645860#M877992</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-18T13:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Send Idoc based on condition!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645861#M877993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the better thing is to create customidoc.you can get what you want to get only using custom idoc only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 21:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645861#M877993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T21:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Send Idoc based on condition!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645862#M877994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thanks for my first real reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I were to create a custom IDoc, how would I trigger this based on the condition? seems to me that the problem remains, namely: the IDoc should only be sent IF the end of contract date = today. So when end of contract date is in the future, than what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Apr 19, 2008 12:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 22:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645862#M877994</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-18T22:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Send Idoc based on condition!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645863#M877995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cleaning up my (unresolved) questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 07:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-idoc-based-on-condition/m-p/3645863#M877995</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-11-17T07:12:52Z</dc:date>
    </item>
  </channel>
</rss>

