<?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: Converting values from excel into SAP format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329359#M1638016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't expect a program (or even a human) to know that 03/02/2011 is March, 2nd or Feb, 3rd of 2011 unless the date format is specified. There should be consistency in the way data is entered by business user. I would suggest to ask them use an excel sheet that has automatic checks to convert fields into well defined formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2011 05:25:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-08T05:25:15Z</dc:date>
    <item>
      <title>Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329357#M1638014</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;I have a requirement to create a BDC session through a program.&lt;/P&gt;&lt;P&gt;The program uploads the .CSV format excel sheet and then put into an internal table.then processes this internal table.&lt;/P&gt;&lt;P&gt;Now, the user can put the values in excel in any way or notation.&lt;/P&gt;&lt;P&gt;Date format can be many as well as amount format.&lt;/P&gt;&lt;P&gt;There are many values which are changes in excel sheet like too large numbers are converted into exponential values.&lt;/P&gt;&lt;P&gt;How do i convert these values (amount, date, exponential values) in the notation configured in the user profile.&lt;/P&gt;&lt;P&gt;Please help..!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa Aggarwal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: richa.aggarwal1988 on Nov 8, 2011 6:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329357#M1638014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329358#M1638015</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;Just expand width of the excel sheet column amount vlaues automarically comes into decimal format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329358#M1638015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329359#M1638016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't expect a program (or even a human) to know that 03/02/2011 is March, 2nd or Feb, 3rd of 2011 unless the date format is specified. There should be consistency in the way data is entered by business user. I would suggest to ask them use an excel sheet that has automatic checks to convert fields into well defined formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329359#M1638016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329360#M1638017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Expanding the excel sheet will not help because it can be uploaded in the program only when it is closed.&lt;/P&gt;&lt;P&gt;@Vishnu : Can there be a possibility to check the format which is set for the user in his profile and then do the conversions accordingly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329360#M1638017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329361#M1638018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there are conversions available. For e.g for Date FM used is CONVERT_DATE_TO_INTERNAL&lt;/P&gt;&lt;P&gt;similarily u can see for time also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329361#M1638018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329362#M1638019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To convert to user format, first you need to know which format the input value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a date you can use SPLIT command and reformat it to YYYYMMDD assign it to a date type field and use WRITE command to write to BDC variable. WRITE command will automatically convert to date format as per user profile, but to use WRITE command you need to have a date type variable (TYPE D or LIKE sy-datum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE gv_rundate TO gv_today.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions like CONVERT_DATE_TO_INTERNAL assume that your input date is already formatted as per user profile date format parameter in SU01, so they won't work if your input date is different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 05:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329362#M1638019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T05:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329363#M1638020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishnu : But i may not always know that in which format the user is entering the date. it can be user of decimal or slash or hiphen. Then it can be any like DDMMYYYY or MMDDYYYY or YYYYMMDD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 06:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329363#M1638020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T06:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329364#M1638021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So tell me what is 03022011 for you, is it MMDDYYYY or DDMMYYYY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can tell what the user meant by that date value, then the program can too interpret what the user intended&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 06:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329364#M1638021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T06:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Converting values from excel into SAP format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329365#M1638022</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;The solutionwas found.&lt;/P&gt;&lt;P&gt;In excel sheet all the amount type fields should have the category as 'General' but not as number.&lt;/P&gt;&lt;P&gt;Steps to change category :&lt;/P&gt;&lt;P&gt;Right Click on the cell -&amp;gt; Format cells-&amp;gt; category as 'General'&lt;/P&gt;&lt;P&gt;In program also, the currency fields should be declared as CHAR type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa Aggarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 11:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-values-from-excel-into-sap-format/m-p/8329365#M1638022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-16T11:23:50Z</dc:date>
    </item>
  </channel>
</rss>

