<?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: Help with formula in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13740283#M2039429</link>
    <description>&lt;P&gt;For the spacing, do you mean something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_1-1719209338100.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127620iAC70B12E431DC681/image-dimensions/764x39?v=v2" alt="Dan_Wroblewski_1-1719209338100.png" title="Dan_Wroblewski_1-1719209338100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you open the style for the soft tab you can play with the alignment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_2-1719209418374.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127621i92F33A6510E226F6/image-dimensions/299x494?v=v2" alt="Dan_Wroblewski_2-1719209418374.png" title="Dan_Wroblewski_2-1719209418374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 06:10:31 GMT</pubDate>
    <dc:creator>Dan_Wroblewski</dc:creator>
    <dc:date>2024-06-24T06:10:31Z</dc:date>
    <item>
      <title>Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13726943#M2039425</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;To display today's date, I have used this formula:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="dump2024-06-11.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/121900i587E0B594DCF5D7E/image-size/large?v=v2&amp;amp;px=999" alt="dump2024-06-11.png" title="dump2024-06-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result will be: 11 Jun.&lt;BR /&gt;What formula should I use to display tomorrow's date (12 Jun) or yesterday's date (10 Jun)?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 13:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13726943#M2039425</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-11T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13737473#M2039426</link>
      <description>&lt;P&gt;You can use ADD_DURATION and SUBTRACT_DURATION together with FORMAT_DATETIME_LOCAL to format the date:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marihirvi_0-1718876724283.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/126209iDF1A335CF0D5E230/image-size/large?v=v2&amp;amp;px=999" alt="marihirvi_0-1718876724283.png" title="marihirvi_0-1718876724283.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 09:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13737473#M2039426</guid>
      <dc:creator>marihirvi4</dc:creator>
      <dc:date>2024-06-20T09:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13739231#M2039427</link>
      <description>&lt;P&gt;Hi Marihirvi,&lt;BR /&gt;Thanks, it worked perfectly.&lt;BR /&gt;I have two more questions please:&lt;BR /&gt;1. Now when I use formula in my Soft tabs to display (yesterday, today and tomorrow) dates, (20 Jun, 21 Jun and 22 Jun) is displayed.&lt;/P&gt;&lt;P&gt;What should I add to the formula NOW("D MMM") to display today's date with label: Today?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="photo-2024-06-21-1.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127114iC6BAC93FAD96DD04/image-size/large?v=v2&amp;amp;px=999" alt="photo-2024-06-21-1.png" title="photo-2024-06-21-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. When I launch the app, I want the Today tab to appear in the middle of the screen by default. Right now I have to swipe left to see it.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 16:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13739231#M2039427</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-21T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13740274#M2039428</link>
      <description>&lt;P&gt;You mean to look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_0-1719209063664.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127616i064D06A1DC9CFD57/image-size/medium?v=v2&amp;amp;px=400" alt="Dan_Wroblewski_0-1719209063664.png" title="Dan_Wroblewski_0-1719209063664.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NOW("D MMM") + " - Today"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 24 Jun 2024 06:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13740274#M2039428</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-06-24T06:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13740283#M2039429</link>
      <description>&lt;P&gt;For the spacing, do you mean something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_1-1719209338100.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127620iAC70B12E431DC681/image-dimensions/764x39?v=v2" alt="Dan_Wroblewski_1-1719209338100.png" title="Dan_Wroblewski_1-1719209338100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you open the style for the soft tab you can play with the alignment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dan_Wroblewski_2-1719209418374.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/127621i92F33A6510E226F6/image-dimensions/299x494?v=v2" alt="Dan_Wroblewski_2-1719209418374.png" title="Dan_Wroblewski_2-1719209418374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 06:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13740283#M2039429</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-06-24T06:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741351#M2039430</link>
      <description>&lt;P&gt;Hi Dan,&lt;BR /&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;No, I mean it like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Today.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/128187i5CD0FBF34DD17649/image-size/medium?v=v2&amp;amp;px=400" alt="Today.png" title="Today.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 18:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741351#M2039430</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-24T18:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741359#M2039431</link>
      <description>&lt;P&gt;Thanks for your reply&lt;BR /&gt;No, it's not about spacing!&lt;BR /&gt;Right now the first tab is visible on the left and after it comes the second tab and third and so on.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Today2.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/128188iBAAA323A12F689D0/image-size/medium?v=v2&amp;amp;px=400" alt="Today2.png" title="Today2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I want is that "Today" should always be visible in the middle of the screen and when you want to see other days, then you can swipe to the right or to the left.&lt;BR /&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Today3.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/128385i49E6C49A0CBCD25F/image-size/medium?v=v2&amp;amp;px=400" alt="Today3.png" title="Today3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 06:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741359#M2039431</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-25T06:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741762#M2039432</link>
      <description>&lt;P&gt;So can't you just make it static text to "Today"?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 06:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741762#M2039432</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-06-25T06:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741846#M2039433</link>
      <description>&lt;P&gt;Hmm, well you can put the softtabs in a scroll view and the user can then see all the tabs by scrolling, but I don't see a way of putting Today in the middle. You can use the Layout &amp;gt; Position property to reposition Today to the middle of the visible area, but then you'd have to create your own scrolling capability (not really scrolling more like moving).&lt;/P&gt;&lt;P&gt;You could simply start with yesterday, today and tomorrow and add a previous button and a later button to, for example, remove the last item and add a new item to the end of the list. This would be pretty easy to do.&lt;/P&gt;&lt;P&gt;As far as I know the position of the scrollview is not retrievable and there is no property to set the position of the scroolview.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 07:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13741846#M2039433</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-06-25T07:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13745866#M2039434</link>
      <description>&lt;P&gt;Thanks Dan for your reply.&lt;BR /&gt;Ok, but what formula should I use on the left button and the right button?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Torabi_0-1719579547396.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/130099i3D92238F2CCDE576/image-size/medium?v=v2&amp;amp;px=400" alt="Torabi_0-1719579547396.png" title="Torabi_0-1719579547396.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 12:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13745866#M2039434</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-28T12:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13745937#M2039435</link>
      <description>&lt;P&gt;I'm not clear what you would like to do or how you want the softtab to work or what to display. Perhaps it would be helpful to show a little more of what you want.&lt;/P&gt;&lt;P&gt;In the meantime here is one behavior you could create:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-06-28_16-31-50.gif"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/130129iA952EA5D5ED07AEF/image-size/large?v=v2&amp;amp;px=999" alt="2024-06-28_16-31-50.gif" title="2024-06-28_16-31-50.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I created a page variable that initially has today's date and the soft tabs use formulas (as Mari showed above) to display yesterday, today and tomorrow. The previous button then simply updates the page variable to yesterday with a "set page variable" flow function and the following formula:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;ADD_DURATION(pageVars.CenterDate, -1,"days")&lt;/LI-CODE&gt;&lt;P&gt;The next button is the same except it is +1.&lt;/P&gt;&lt;P&gt;We could play with the spacing so it does not resize with every new date, or we could show more dates, or we could keep the selected tab more logical, so if the today tab is selected and we click "Next" the first tab would now be selected. You could also have a date picker to move more than 1 day at a time.&lt;/P&gt;&lt;P&gt;I think you can get almost anything you want. Just let me know what precisely you want it to look like, and how the content of tabs should respond, and I'd be happy to help further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_cat_face:"&gt;😺&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 13:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13745937#M2039435</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2024-06-28T13:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with formula</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13746245#M2039436</link>
      <description>&lt;P&gt;Thank you so much Dan for wanting to help me.&lt;BR /&gt;What I want to do is connect a Google sheet via rest API to Soft tabs. The connection with rest API works well, but want to connect it to a table and control it via Soft tabs&lt;BR /&gt;To give you more understanding about what I want to do, I can send you an example as a gpg-fill.&lt;BR /&gt;Where can I send it?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 19:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-formula/m-p/13746245#M2039436</guid>
      <dc:creator>Torabi</dc:creator>
      <dc:date>2024-06-28T19:17:52Z</dc:date>
    </item>
  </channel>
</rss>

