14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tips and Tricks 11.3

"44300 is the standard port for HTTPS

'~transaction=*' &&

id_transaction.

* Second half of the URL i.e. what data to be pass to the

* transaction code

ld_url =

id_parameters &&" e.g. USR02-BNAME=hardyp;

'DYNP_OKCODE=' &&

id_ok_code &&

'&sap-client=' &&

sy-mandt .

CONCATENATE rs_url ld_url INTO rs_url SEPARATED BY space.

ENDMETHOD. "Build Hyperlink URL

Listing 11.33 Building the Hyperlink URL

Once the code in Listing 11.33 has built up the URL and this URL appears in the

spreadsheet as a hyperlink, the user can cl ick on that link to call up the transaction.

However, the main problem with using hyperlinks to call SAP transactions is

the single sign-on mechanism. To say this is complicated is the greatest understatement

in the history of the universe, and explaining it is well outside the

scope of this book. In order to set the system up so that a user is not asked for his

password every time he uses a hyperlink to access SAP, you have to find an SAP

Basis person who is a megagenius. Otherwise, the user does indeed have to enter

his user name and password while drilling down.

11.3 Tips and Tricks

The last major section of the chapter will be about making even more out of the

ABAP2XLSX framework. First, you will see what to do when you have a fix that you

need that is perhaps not applicable to the open-source project as a whole. Then, you

will discover how to achieve the functionality described all throughout Section 11.2

without having to add bucket loads of code to all of your custom reports.

11.3.1 Using the Enhancement Framework for Your Own Fixes

Someone once said about cloud platform s such as SuccessFactors and Ariba that

“The best thing is that you get updates every three months, and the worst thing is

501

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!