473,396 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Help With SAP Business Objects Formula

USTRAGNU1
Good Afternoon,

Would anyone be able to assist with a Business Objects XI 3.1 formula question? I don't see it as one of the topics.

Thank you.
Apr 16 '19 #1
8 1928
Rabbit
12,516 Expert Mod 8TB
It's not one of the existing topics but you're more than welcome to ask the question and hopefully someone comes along that can answer it.
Apr 16 '19 #2
Ok thanks Rabbit.

I have a Business Objects XI 3.1 variable formula which places an asterisk and a space in front of a date object if the object date is less than or equal to current date. Simple enough.

But I am trying to modify the formula so that if the condition is met and the output does contain an asterisk, I want the font of the asterisk/date to be red, preferably bold. My searches keep returning examples of using the built in conditional formatting tool (Alerter), but I would need to use a variable in the Alerter anyway.


Here is the formula:

Expand|Select|Wrap|Line Numbers
  1. = If( [Date]  <= CurrentDate() ; "* "+FormatDate([Date] ;"MM/dd/yyyy") ; FormatDate( [Date]) )
Again, if possible, modify the formula so the date outputs with asterisks will be bold red font.

Thank you very much. Please let me know if you require additional information.
Apr 16 '19 #3
Rabbit
12,516 Expert Mod 8TB
Typically, formulas output the value to display, not the formatting. Conditional formatting is usually handled elsewhere, in this case, it sounds like this Alerter thing you mentioned. Is there a reason you can't use the Alerter to do the conditional formatting you're talking about?

For example, in Excel, the formula bar let's you output different values based on other conditions. No amount of changing the formula let's you change the formatting of the cell. To dynamically change the formatting of the cell, you have to use the Conditional Formatting functionality in Excel.
Apr 16 '19 #4
The Alerter can't isolate just the asterisk in the date string. I would have to build a formula inside the alerter anyway.
Apr 17 '19 #5
Rabbit
12,516 Expert Mod 8TB
You mean you just want one part of the string to be formatted differently from the rest of the string? Typically, an object is formatted with one format. In this case, the entire text box can only be formatted with one format. If you want to format the string into two different formats, just break up the string into two text boxes. One textbox for the asterisk. And a different textbox right next to it with the date.
Apr 17 '19 #6
twinnyfo
3,653 Expert Mod 2GB
USTRAGNU1,

Would you be able to export the asterisk as a separate field? Then, if the asterisk exists, that separate field would be highlighted. I know this adds another field and more manipulation with the data, but it might be better to view the asterisk as a flag (or Boolean variable, if you want to be technical) that can be used elsewhere.

Just a thought....
May 16 '19 #7
Hello...twinnyfo!

Thanks, that is what I decided to go with and I can just use the built in formatter.

Have a good one!

Turbo
May 16 '19 #8
Hi ravikumar89,

Thanks, I am familiar with BO formulas. I was just having a hard time finding examples for this particular function/outcome.

USTRAGNU1
May 16 '19 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Brian Kiser | last post by:
What is Microsoft's stance on developing business objects vs datasets when creating n-tier apps. Is anyone doing business objects? It appears that most articles from MS recommend passing...
5
by: Shibu | last post by:
Hi, I have a situation where I need to convert business objects to a flat table. The reverse is also required. I am using c# and Oracle ODP. I am looking for an easier method to do the below...
25
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
5
by: G. Stewart | last post by:
The word "Business" in the term implies some sort of commercial aspects or connotations. But from what I can see, that is not necesserially the case at all? So what is the reasoning behind the...
3
by: Frédéric Mayot | last post by:
Hi, In my web application, I need object-relational mapping. I would have liked to take advantage of the datasets while keeping encapsulation of the data. I thought about having a protected...
25
by: Penelope Dramas | last post by:
Hello, I'm in a front of very serious .net redesign/rewrite of an old VB6 application. I had been asked to make it .NET 2.0 and would like to ask couple of questions regarding data access as...
2
by: grawsha2000 | last post by:
Greetings, I am developing this N-tier business app. The problem I'm facing is when I try to pass business objects (employees, dept..etc) from business tier to data tier,i.e., the add method in...
4
by: Looch | last post by:
All, I created a class in a windows application and I'd like to be able to pass an instance of that class as a method parameter to a web service. The class contains 100 variables. I tried adding...
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
2
by: Andrus | last post by:
Winforms UI assembly has static FormManager.FormCreator method which creates forms taking entity as parameter. I need to pass this method to business objects in business assembly so that business...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.