Pagina's

vrijdag 15 januari 2016

Mails in Inbox seem to be empty , caused by parameter HTML_FILTER_FOR_DISPLAY


Issue

When opening the inbox via the ESS/MSS application the mail subjects could be seen but the content of the mail was not displayed on selecting a mail

 Cause

Seems in SAP Standard HTML filtering was added into coding which is by default turned on. This caused HTML-statements to be removed from mail content (which is in HTML format) and caused mails not to be displayed.

Solution

HTML-filtering can be put on/off by setting a value for parameter HTML_FILTER_FOR_DISPLAY in table SXPARAMS. If no value is specified (which was the case) the default is ON.

Parameter HTML_FILTER_FOR_DISPLAY was added to this table with value OFF to disable the HTML filtering.
 

NOTE : if for some reason the filtering should be turned on again, 2 options :

1)     Change value from OFF to ON for parameter HTML_FILTER_FOR_DISPLAY

2)     Remove the entire line from table SXPARAMS so the default value (ON) is used again.

vrijdag 18 december 2015

Getting the SAP launchpad translated


Recently I created a new Launchpad customizing menu for use in a custom MSS teamview scenario.
The project was put on hold for some time due to other priorities and after I picked up the project again it was time to put translation to the menu and menu-items.

However this seemed not as straightforward as I thought. I kept trying to launch the translations from the LPD_CUST transaction itself but my menu items wouldn't appear.

Cause : Seemed my menu was not assigned to a namespace/package. So only option I had was to save it under another name during which assignment to a package was possible, as described in OSS note 1702081 . Once the menu was assigned to a package and a transport request the translation was easy since we could just select the contents of the transport as content to translate.

SE63 > Translation ABAP Objects > Transport Object

Transport Entry of object : R3TR LPDC ZHRW_PTLHRD00000008



The data dictionary table containing the launchpad short texts and translations is APB_LPD_SH_TEXTS. Key to this table is again namespace + textkey :

 



 

donderdag 24 september 2015

SAP ESS Homepage translation issue : (translated) texts appear in another service as well.

When translating the service description for one service of the ESS homepage framework I found that for the Dutch and French translation the text was taken over by another service while for the English translation this wasn't the case.

After some debugging/investigation I found that text-reference is stored with a GUID which is written to T7XSSSERSRVT (along with the language and service name as key).It seemed that for some reason the French and English text-GUID was used for 2 different services, while for these 2 services the English version correctly had 2 different GUID's.



I didn't find much information but from what I read on SDN probable caused by copying the service and not creating from scratch. Only solution that worked for me was deleting one of the both services that used the same key and recreate it. This resulted in having different GUID's for the service description text for the 2 different services.

Note : The text itself is stored in table T7XSSSERSTRLAN which has the GUID from T7XSSSERSRVT as key.

donderdag 17 september 2015

Preview mails in SOST shows screwed up mail messages and hyperlinks not working

Suddenly you notice when previewing generated mails in SOST that layout doesn't seem what you expect (layout is screwed) and hyperlinks are not working.

You think you didn't do a good job in coding the mail generation ? Made mistakes in setting up your mail template. Possible... but there might be another issue.

It is possible that system administrators activated the function SAP has added to remove all coding/tags that might be cross-site scripting sensitive, or you did an upgrade to 7.31 (see below).

The first sign for this is that previewing the mail template in SOST shows you the "Document changed due to security requirements".

This behavior can be influenced by setting parameter HTML_FILTER_FOR_DISPLAY.

Note : In Release 7.30 and lower, the filter function is deactivated (OFF) by default. In Release 7.31 and higher, the filter function is activated (ON) by default.

More info can be found in SAP OSS notes (OSS-user id required) :

maandag 10 augustus 2015

POWL


POWL Interface

  • POWL contains a list of categories (trx. POWL_CAT)

  • Category ? Several queries can be assigned to a category

  • Query ? Query is based on a POWL_TYPE

POWL Type

  •  which business ovject can be processed with a list of fixed methods

  •  Based on feeder class

  •  transaction code POWL_TYPE


POWL Feeder class

Has to implement the IF_POWL_FEEDER interface

Query - User assignment

via transaction POWL_QUERYU

Query - Role assignment

via transaction POWL_QUERYR

vrijdag 8 mei 2015

Catching up with new stuff in SAP


This is an overview of blogs, documentation,... some colleagues sent me and I would like to read to stay tuned with new developments. All credits go off course to the authors of the articles !

Tool to test gateway services

 

SAP S/4HANA Public Cloud 7-Day Trial

Info on SAP S/4 Hana

 
Framework for testing ABAP OO classes

 
ABAP : Top 10 crimes

 

 

Ingredients for a Successful Fiori Implementation
http://scn.sap.com/community/mobile/blog/2015/02/06/fiorifying-your-erp-system-ingredients-of-a-successful-fiori-implementation?source=email-g-sap-technology-news-newsletter-20150225&lf1=1941231545f138824930460b37112040
 

Dedicated SCN section on fiori

Links on SAP FIORI for HR




donderdag 30 oktober 2014

Leave request messages : where have they gone

Some time ago EHP6 was implemented. After some time we realized that the majority of the error messages (collision checks, time quota errors,...) during leave request were not shown anymore. Luckily 2 SAP notes brought us the necessary clarification :

1) OSS Note 1806182 : New class to implement to ensure messages to be shown
2) OSS Note 1070831 : this oss note explains the working of quota checks especially with regard to the chronological order of leave request is multiple requests are done