<?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: Date format change in the sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951801#M1154587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;This is controlled with a configuration setting the the country.&amp;nbsp; Look in the IMG under SAP NetWeaver-&amp;gt;General Settings-&amp;gt;Set Countries. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 11:46:07 GMT</pubDate>
    <dc:creator>kmoore007</dc:creator>
    <dc:date>2014-03-18T11:46:07Z</dc:date>
    <item>
      <title>Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951791#M1154577</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 DATE format, like, YYYY/MM/DD, so, I need to convert it to DD/MM/YYYY in &lt;STRONG&gt;SAPSCRIPT&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;How will u do that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951791#M1154577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951792#M1154578</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 this function in your print program 'TZ_SYSTEM_TO_LOCAL' to get the date in your local format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternately what you can do is that use SET DATE MASK control command like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DATE MASK = Walldorf, den DD.MM.YYYY&lt;/P&gt;&lt;P&gt;&amp;amp;SYST-DATUM&amp;amp; --&amp;gt; Walldorf 01.01.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951792#M1154578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951793#M1154579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dorothy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Date can be formatted using SET DATE MASK command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SAPScript editor use the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; /: SET DATE MASK = 'DD/MM/YYYY' &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951793#M1154579</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-12-22T11:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951794#M1154580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DATE MASK command is for that perpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951794#M1154580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951795#M1154581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    /: SET DATE MASK = 'DD/MM/YYYY' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P1 &amp;amp;DATE&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951795#M1154581</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-12-22T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951796#M1154582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;   Change the date format according to your country specific and put SET COUNTRY 'country name' statement in script editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951796#M1154582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951797#M1154583</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 explain more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951797#M1154583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951798#M1154584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="25" __jive_macro_name="size"&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;Please search more.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reported to SCN for rule violations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951798#M1154584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951799#M1154585</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;SEARCH IN &lt;STRONG&gt;SCN&lt;/STRONG&gt; with &lt;STRONG&gt;SET DATE MASK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;make habbit for search in SCN before posting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951799#M1154585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951800#M1154586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 12:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951800#M1154586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T12:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951801#M1154587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;This is controlled with a configuration setting the the country.&amp;nbsp; Look in the IMG under SAP NetWeaver-&amp;gt;General Settings-&amp;gt;Set Countries. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 11:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951801#M1154587</guid>
      <dc:creator>kmoore007</dc:creator>
      <dc:date>2014-03-18T11:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format change in the sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951802#M1154588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas, know it is an old post. I am trying a simple thing. In my SAPscript i want to add (date) however when it returns to SAP it uses a wrong date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30-06-2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to send to SAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30.06.2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied the /: SET DATE MASK = 'DD.MM.YYYY' into my script, however it gives a Error: expected statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help and sorry if it is a stupid question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I have added my full script here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Not IsObject(application) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Set SapGuiAuto&amp;nbsp; = GetObject("SAPGUI")&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Set application = SapGuiAuto.GetScriptingEngine&lt;BR /&gt;End If&lt;BR /&gt;If Not IsObject(connection) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Set connection = application.Children(0)&lt;BR /&gt;End If&lt;BR /&gt;If Not IsObject(session) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Set session&amp;nbsp;&amp;nbsp;&amp;nbsp; = connection.Children(0)&lt;BR /&gt;End If&lt;BR /&gt;If IsObject(WScript) Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WScript.ConnectObject session,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "on"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; WScript.ConnectObject application, "on"&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/: SET DATE MASK = 'DD.MM.YYYY' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;session.findById("wnd[0]").maximize&lt;BR /&gt;session.findById("wnd[0]/tbar[0]/okcd").text = "/nTransaction"&lt;BR /&gt;session.findById("wnd[0]").sendVKey 0&lt;BR /&gt;session.findById("wnd[0]/usr/txtSELECTION-SDAT").text &lt;STRONG&gt;= (DATE) &lt;/STRONG&gt;&lt;BR /&gt;session.findById("wnd[0]/usr/txtSELECTION-STIME").text = "00:00:00"&lt;BR /&gt;session.findById("wnd[0]/usr/txtSELECTION-SREADTI").text = "06:00:00"&lt;BR /&gt;session.findById("wnd[0]/usr/txtSELECTION-SREADTI").setFocus&lt;BR /&gt;session.findById("wnd[0]/usr/txtSELECTION-SREADTI").caretPosition = 8&lt;BR /&gt;session.findById("wnd[0]").sendVKey 0&lt;BR /&gt;session.findById("wnd[0]/tbar[1]/btn[20]").press&lt;BR /&gt;session.findById("wnd[1]/usr/subSUBSCREEN_STEPLOOP:SAPLSPO5:0150/sub:SAPLSPO5:0150/radSPOPLI-SELFLAG[1,0]").select&lt;BR /&gt;session.findById("wnd[1]/usr/subSUBSCREEN_STEPLOOP:SAPLSPO5:0150/sub:SAPLSPO5:0150/radSPOPLI-SELFLAG[1,0]").setFocus&lt;BR /&gt;session.findById("wnd[1]/tbar[0]/btn[0]").press&lt;BR /&gt;session.findById("wnd[1]/usr/ctxtDY_FILENAME").text = "STAD_master.txt"&lt;BR /&gt;session.findById("wnd[1]/usr/ctxtDY_FILENAME").caretPosition = 15&lt;BR /&gt;session.findById("wnd[1]/tbar[0]/btn[7]").press&lt;BR /&gt;session.findById("wnd[0]/tbar[0]/btn[15]").press&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 17:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-format-change-in-the-sapscript/m-p/4951802#M1154588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T17:28:01Z</dc:date>
    </item>
  </channel>
</rss>

