Wednesday, July 1, 2020

How to bypass opendocument login screen in SAP BO





In this article I’d like to show you a simple example of how to bypass the opendocument login.

This is especially useful if you are trying to use an opendocument call to open up a web intelligence document from a 3rd party application.

It’s quite simple, and you can expand the example to use trusted authentication if desired.


Step No. 1                                                                              

First you will need to edit the custom.jsp file to fit your environment.

Set the CMS host to your host.

final String BO_CMS_NAME = “YOUR CMS NAME”;

You will see that I have hard coded a user and password

final String BO_USERNAME = “testuser”;
final String BO_PASSWORD = “testpassword”;


However you can dynamically set these if required.

In addition, you can use trusted authentication as well if you want enhanced security (Not covered in this article).
To learn about how to use trusted authentication, please visit How to bypass the BI Launchpad logon screen

Step No. 2                                                                              



Save the custom.jsp file and copy it to the SAP BOBJ Web server directory below

<SAP BOBJ Root Installation Directory>\SAP BusinessObjects\tomcat\work\Catalina\localhost\BOE\eclipse\plugins\webpath.OpenDocument\web\opendoc

Step No. 3                                                                              



Open the Central Configuration Manager and restart tomcat



Step No. 4                                                                              



Now let’s test it out! First we will retrieve an existing document link URL from a web intelligence document






Step No. 5                                                                              

Copy and paste the URL to notepad.

Then replace OpenDocument.jsp with custom.jsp as shown below

http://TPLBODEV:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AZj_BvC5hrhJuR02RWQ4XwM

to


http://TPLBODEV:8080/BOE/OpenDocument/opendoc/customjsp?sIDType=CUID&iDocID=AZj_BvC5hrhJuR02RWQ4XwM

Step No. 6                                                                              



Paste the new url onto your browser and confirm that the user automatically signs in and the web intelligence document opens up.






Note                                                                                        

Please make sure you backup the custom.jsp file because the file gets overridden whenever an upgrade is performed on SAP BusinessObjects

Tuesday, February 28, 2017

Export to Excel/CSV from SAP Xcelsius Dashboard.

Export to Excel using Apache Tomcat Server

Introduce users to the new export to Excel solution for SAP Xcelsius Dashboard using the Apache Tomcat (with file jsp) server.

Here is the free customized solution named ExportToExcel that can quickly and easily be added to an SAP Xcelsius Dashboard.

The solution will allow end users to filter results by selecting part of a dashboard using the XML connection of Xcelsius dashboard.

Step for configuration is as follows:- 
Note:- For SAP Xcelsius Dashboard SP3

1. Click here to download the rar/zip file.

2. Extract the rar/zip file and copy ExportToExcelv3 into the <Installed Directory>/Tomcat/webapps folder.

3. Restart the Tomcat Application Server

4. Open Xcelcius 

5. Open the Data Manager and add XML Data Connection

6. Set the XML Data-URL to http://servername:Port/ExportToExcelv3/index.jsp

7. Tick "Enable Send" function, which contain the DataSet to be Export to Excel . Provide the range which you want to Export To Excel in Range Box.
    Note: Please give the save naming convention as per the screen short i.e DataOutput.

8. Tick "Enable Load" function, which will generate URL for Export for Excel file. Type "URLDummy" as the name and provide the range contains just one cell. This cell is the URL of the exported Excel file.
     Note: Please give the save naming convention as per the screen short i.e URLDummy.



9. Now take the component Connection Refresh Button and Select the XML Data Connection and form Behavior tab Tick the Refresh After Component are Loaded.

10. Last but not least add a URL Button, Select the URL cell which you have given for URLDummy.

 

Tuesday, September 10, 2013

How to run LEX and YACC program in window 7

1) flex-2.5.4a-1.exe

2) bison-2.4.1-setup.exe

3) After that, do a full install in a directory of your preference without spaces in the name. I suggest       C:\GnuWin32. Do not install it in the default (C:\Program Files (x86)\GnuWin32) because bison has problems with spaces in directory names, not to say parenthesis.

4) Also, consider installing Dev-CPP in the default directory (C:\Dev-Cpp)

5) After that, set the PATH variable to include the bin directories of gcc (in C:\Dev-Cpp\bin) and flex\bison (in C:\GnuWin32\bin). To do that, copy this: ;C:\Dev-Cpp\bin;C:\GnuWin32\bin and append it to the end of the PATH variable, defined in the place show by this figure:

6) Open a prompt, cd to the directory where your ".l" and ".y" are, and compile them with:
  1. flex hello.l 
  2. bison -dy hello.y 
  3. gcc lex.yy.c y.tab.c -o hello.exe

Friday, August 16, 2013

Turbo C++ For Window 7

1. Download Turbo C++ for Window 7 from Here.
2. After Downloading do right click on it and click on extract here.
3. Open the folder and install the Turbo C++ in C drive..
4. After Installing go to C:\TurboC++, and open the dosBox notepad with run as administrator.
5. Go to end of the file and write the following thing.
mount C: C:\turboc++\disk\
c:
cd turboc3\bin
tc

6. Now save the notepad file and run the DOSBox application from C:\TurboC++ folder..
7. Enjoy the TC in Window 7...For Full Screen Press Alt+Enter.
8. Thank you For Seeing...

Monday, December 26, 2011

For Removing the Window Genuine From Window xp/7

1. Click on Start button then click on "Run" Or Press "Logo+r"..

2. In the space type "regedit" and press enter...

3. For removing the genuine You have to go the path mention below:
    "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENT VERSION\WIN LOGON\NOTIFY"

NOTE: Warning after Microsof it's "Windows NT" NOT "Windows"

4. Right Click on NOTIFY and delete this key and all of it subkeys..

5. Now Restart your computer and start in the "safe mode"...

6. Congratulation It will work. I hope it will help you...

Thursday, May 12, 2011

SARAL MOBILE SANDESH (Android App)


The project is of SMS which is readed in the form of speech.


I have described “SARAL MOBILE SANDESH” application for Android that makes use of the Text-to-Speech API included in Android 2.2 platform.

The purpose of our application is that, when an SMS is received, the content of the SMS is displayed and read out loudly by our text-to-speech engine.

In this i have included the following thing in this project.
1. Text To Speech by written the text you can read the text in the form of the speech on clicking Read It..!!!.
2. When you receive the SMS it will automatically read the SMS in the loud speech.

Home screen of the Activity:




Sending the SMS:


Receiving the Message:




Speaking the receive SMS:


Advantages:
  1. It provide new feature for SMS technology.
  2. No need to read the text.
  3. Its help to the business person at office time to read SMS.
Disadvantage:
  1. Speech tone and some words are not fully supported.
  2. MSG Language is not fully supported. eg: "tc", "jsk", "gn", etc...