<?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: Request for Code to exclude single date value 1700 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873943#M1594070</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;Please try the below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if  Date1 = 1700 .
date1 = date2.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 11:09:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-26T11:09:24Z</dc:date>
    <item>
      <title>Request for Code to exclude single date value 1700</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873941#M1594068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam BW consultant ,Required your help for piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 2 date filelds in source system ,EXample : DATE1,DATE2  ( The format of date is mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;Similarly 2 Date fileds in Target system .Example  : DATE1,DATE2( The format of date is mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue here is even though the DATE1 in source system is in mm/dd/yyyy for mat eg:05/26/2011&lt;/P&gt;&lt;P&gt;But in target system  date is showing as 1700.&lt;/P&gt;&lt;P&gt;And system is throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now the mapping is one to one in BW..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this ,we are planning to write a routine in transformations in BW as below.&lt;/P&gt;&lt;P&gt;When ever we get , Date1 = 1700 replace Date1 with Date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clear again ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume  In Source date DATE1  = 1700.&lt;/P&gt;&lt;P&gt;Asumme in Source date DATE2  = 05/26/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need th result as below in Target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE1 = DATE2&lt;/P&gt;&lt;P&gt;ie DATE1 = 05/26/2011    ( only for value 1700)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know the peice of code.&lt;/P&gt;&lt;P&gt;Appecaite your help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Suresh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: cross-post locked, only one thread per problem, please.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 26, 2011 1:25 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 05:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873941#M1594068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Code to exclude single date value 1700</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873942#M1594069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           I am afraid your question is not clear. If I understand it a bit you can acheive this nby creating a mapping custom table where you can store mapping values between source and target system. Let me know if this way is fine for you then i will give you the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 09:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873942#M1594069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T09:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Code to exclude single date value 1700</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873943#M1594070</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;Please try the below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if  Date1 = 1700 .
date1 = date2.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873943#M1594070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T11:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Code to exclude single date value 1700</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873944#M1594071</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;Please try the below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if  Date1 = '1700' .
date1 = date2.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873944#M1594071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T11:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Code to exclude single date value 1700</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873945#M1594072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i am not getting your question &lt;/P&gt;&lt;P&gt;Can you please tell me what you need exactly &lt;/P&gt;&lt;P&gt;i had two fields in source side and two fields in target side .&lt;/P&gt;&lt;P&gt;If any error date occur in one date we need to replace that date with other date otherwise the date will not be changed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/request-for-code-to-exclude-single-date-value-1700/m-p/7873945#M1594072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T11:22:10Z</dc:date>
    </item>
  </channel>
</rss>

