HI All
I have a URL within the PFCG menu built suing variables in SSM_VAR. The goal of this is URL is to SSO into Ariba via way of getting SAML ticket from IdP. Within the URL there are some parameters and question marks "?"
The ARIBA_SSO_URL and the IDM_AR_RD parameter both have a questionmark each
If I launch the URL parameter directly from PFCG (right click the node and choose execute) it opens up in the browser and is calculated properly. However, if launching via way of NWBC GUI or NWBC HTML the URL is truncated with the middle part between the two questions marks removed.
above is the truncated URL (hostname and Ariba environment/realm have been blanked out). The middle sections between the two questions marks have been excluded. As mentioned, if launched from PFCG it calculates it properly
Disclaimer: I'm at best a citizen programmer who just spent a while pressing F5 in debug mode. This is what i discovered:
Program: SAPLPRGN_URL_GENERATION
The full URL is calculated after looping though the SSM_VAR parameter values
The code then continues through checking for "?"
SPLIT url AT `?` INTO url query.
* merge url and query?string paramaters
IF query IS INITIAL.
query = query_string.
ELSEIF query_string IS NOT INITIAL.
CONCATENATE query `&` query_string INTO query.
ENDIF.
But it then splits a second time
Finally it concatenates the left side of the FIRST split with the right side of the SECOND split... and there goes a large chunk of the URL
My end result is the incomplete URL as
CONCATENATE - URL "?" QUERY
If I don't use SSM_VAR or only have one "?" in the parameters the code will work fine.
My questions
1. Is there a limit to use of SSM_VAR for for NWBC URLs in PFCG menu?
2. Is there a different way I should define the URL
3. Am I missing something obvious or time to raise incident with SAP (I attempted to search Marketplace and Google/SCN)
Appreciate any thoughts
Regards
Colleen