<?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 Abap code  'concatenate' with 0calday in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708229#M1453363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the field zfiscper 8 (AAAAMMM) and I need convert this to the first day of this period (AAAAMM01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that zfiscper has 7 digits (AAAAMMM) and I need only 6 (AAAAMM) +'01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE: The period value is 2010003&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I try with CONCATENATE VPERIO&lt;EM&gt;0(4) VPERIO&lt;/EM&gt;6(2) '01' INTO RESULT.&lt;/P&gt;&lt;P&gt;and give the error: 20103001 is not valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after I try with CONCATENATE VPERIO&lt;EM&gt;0(4) VPERIO&lt;/EM&gt;5(2) '01' INTO RESULT.&lt;/P&gt;&lt;P&gt;and give me the error: 20100030 is not valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to be problem to capture the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Mar 2010 22:49:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-06T22:49:13Z</dc:date>
    <item>
      <title>Abap code  'concatenate' with 0calday</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708229#M1453363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the field zfiscper 8 (AAAAMMM) and I need convert this to the first day of this period (AAAAMM01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that zfiscper has 7 digits (AAAAMMM) and I need only 6 (AAAAMM) +'01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE: The period value is 2010003&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I try with CONCATENATE VPERIO&lt;EM&gt;0(4) VPERIO&lt;/EM&gt;6(2) '01' INTO RESULT.&lt;/P&gt;&lt;P&gt;and give the error: 20103001 is not valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after I try with CONCATENATE VPERIO&lt;EM&gt;0(4) VPERIO&lt;/EM&gt;5(2) '01' INTO RESULT.&lt;/P&gt;&lt;P&gt;and give me the error: 20100030 is not valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to be problem to capture the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Mar 2010 22:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708229#M1453363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-06T22:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code  'concatenate' with 0calday</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708230#M1453364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second should be ok. Try this one then&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
result = vperio(4).  "year
result+4(2) = vperio+5(2). "month
result+6(2) = '01'. "first day
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Mar 2010 23:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708230#M1453364</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-03-06T23:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code  'concatenate' with 0calday</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708231#M1453365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the  same error..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Value '20100030 ' of characteristic 0DATE is not plausible	BRAIN	27		@3R@"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls, take in account that zperi is char(7) and 0calday is DATS (8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Mar 2010 00:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708231#M1453365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-07T00:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Abap code  'concatenate' with 0calday</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708232#M1453366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as we can clearly see, the ABAP is correct and you should get 20100301. So either you don't give the right info (input format is not 2010003 for example, or you get another format), or the error doesn't come from the abap but from BI (20100301 would be transformed to something else...)&lt;/P&gt;&lt;P&gt;First of all, debug your code. If you still don't solve, explain the context when the code is executed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Mar 2010 15:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-concatenate-with-0calday/m-p/6708232#M1453366</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-03-07T15:22:03Z</dc:date>
    </item>
  </channel>
</rss>

