Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make my scripts use today for input data, instead of a fixed date?

Data fixed input scripts today
0
Posted

How can I make my scripts use today for input data, instead of a fixed date?

0

Very often, when a date is recorded, what you really need in your script is not a fixed date (the actual date that was recorded) but a relative date e.g. today or today + 1 week. For example, when creating a Purchase Order you may want the delivery date to be in the future (e.g. today + 2 days), it is very unlikely that you would always want it to be the exact date you recorded. This is very easy to do and a useful general technique to remember when working with QuickScript. Remember, you are using Excel and all of Excel’s functions and formulas are available to you. All you have to do is replace the date recorded in the sheet with a formula – for example, to use today just use the formula: =TEXT(TODAY(), mm.dd.yyyy) Note the conversion to text, this is to ensure that QuickScript uses exactly the value you see in the cell. Note also the specification of date format, this is critical. The format must be exactly the same as the format you have specified in your SAP user profile (you can

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123