<?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: a logic problem help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675024#M1099490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for date conversion you can take help from this..&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 24012008 and output = 24.01.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_DATE_FORMAT&lt;/P&gt;&lt;P&gt;Eg: input = 20080201 and output = 01.02.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_SDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070201 and output = 01.FEB.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;Eg: input = 01.02.2008 and Output = 20080201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_LDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 01. March 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 03.01.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to match the data type you can use the function module...&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_INVDT_INPUT    Conversion exit routine for inverted date (INPUT)&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_INVDT_OUTPUT   Conversion exit routine for inverted date (OUTPUT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 06:50:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T06:50:02Z</dc:date>
    <item>
      <title>a logic problem help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675023#M1099489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;i have a problem with a logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here I have to pass the VBRK-WAERK and VBRK-FKDAT into TCURR-FCURR and TCURR-GDATU, but here the FKDAT and GDATU are of not the same data type and another specification is that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;GDATU is in the inverted date format i have to convert it to date format but how ? and another problem is even if i convert it , i have one more specification given my functional consultant is that the FKDAT will be in some precise date like ( 23.10.2008) where as the GDATU will be in the starting date of the month like (01.10.2008 means it denotes the whole) , so here i have to make the FKDAT to the starting date of its months but how?.&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&gt;please kindly help me with some detail explaination , here this is the specification given to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"To get the value part&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;Pass VBRK-WAERK and VBRK-FKDAT into TCURR-FCURR and TCURR-GDATU for TCURR-KURST=ZCUS. Get UKURS for corresponding entry in INR"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please kindly explain me with 'for all entries' and the complete logic joining the two tables to achive the specification.&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;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;   .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 06:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675023#M1099489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T06:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: a logic problem help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675024#M1099490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for date conversion you can take help from this..&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 24012008 and output = 24.01.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_DATE_FORMAT&lt;/P&gt;&lt;P&gt;Eg: input = 20080201 and output = 01.02.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_SDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070201 and output = 01.FEB.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_IDATE_INPUT&lt;/P&gt;&lt;P&gt;Eg: input = 01.02.2008 and Output = 20080201&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_LDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 01. March 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_PDATE_OUTPUT&lt;/P&gt;&lt;P&gt;Eg: input = 20070301 and output = 03.01.2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to match the data type you can use the function module...&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_INVDT_INPUT    Conversion exit routine for inverted date (INPUT)&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_INVDT_OUTPUT   Conversion exit routine for inverted date (OUTPUT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 06:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675024#M1099490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: a logic problem help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675025#M1099491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as your date probelm is concerned&lt;/P&gt;&lt;P&gt;You can use the FM HR_JP_MONTH_BEGIN_END_DATE&lt;/P&gt;&lt;P&gt;This will provide you with the starting and ending date for the given date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 06:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675025#M1099491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T06:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: a logic problem help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675026#M1099492</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;Use the following Logic and compare the fkdate_new with gdatu;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data :   fkdate(10) type c,
      fkdate_new type d.

fkdate = '23.10.2008'.
CALL FUNCTION 'CONVERSION_EXIT_IDATE_INPUT'
  EXPORTING
    input         = fkdate " 23.10.2008
 IMPORTING
   OUTPUT        = fkdate_new. " will return 20081023

fkdate_new+6(2) = '01'. " will return 20081001 i.e. first Day of the Month&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert Back if you have doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 07:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-logic-problem-help/m-p/4675026#M1099492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T07:40:21Z</dc:date>
    </item>
  </channel>
</rss>

