cancel
Showing results for 
Search instead for 
Did you mean: 

User Population issue while using SSO login

IG1
Active Participant
0 Kudos

Hello Team,

I am using Single sign on with logon tickets option for user login into NAKISA through portal.

I have mapped portal ID ans password to an head position of an org unit already.

Still it doesn't pickup the employee from the system.

Below information i get after debugging :

Nakisa RolesROLE_Manager
Source Roles
User Populationnull

I don;t have any clue why user is not getting populated even when i have mapped USER ID for the employee in infortype 105 subtype 0001.

I didn't change the settings in Employee Source also:

Pleas help.

Accepted Solutions (1)

Accepted Solutions (1)

StephenBurr
Active Contributor
0 Kudos

Can you confirm that the URL you have in the portal iView is fully qualified and that the portal sits on the same domain as the NW server hosting the Nakisa application?

If so ... my suggestion would be to remove (backup if you wish) any files below:

   ..{your build}\.delta\Authentication\

and then re-load the AdminConsole.  This will reset to the standard configuration for Authentication.

Then go through the steps of setting up Authentication for SSO again in the AdminConsole ... you should only need to select it as the type in the first step and specify the SAP system you are authenticating against in the Authentication Source.  Leave all other settings as standard.

Finish, Submit and then Publish.

Then please re-test.

If it fails, please supply CDS log of logging in as well as result of debugging (see this Wiki article - http://wiki.sdn.sap.com/wiki/display/ERPHCM/Debugging+User+and+Session+Information)

Stephen

IG1
Active Participant
0 Kudos

Hi Stephen,

Please find Debug result below:

IG1
Active Participant
0 Kudos

Hi Stephen,

Also, I tried after deleting the files in Authentication folder. But same result.

Still no user is getting populated.  I have already mapped user ID to one employee number.

Please suggest.

Thanks.

lukemarson
Active Contributor
0 Kudos

What version and build number are you using?

StephenBurr
Active Contributor
0 Kudos

Is ROLE_Manager set to be the default role?

This is unusual but would explain why you are getting the role but not the User Population info (looking at your debug screen).

In your .delta folder ... under AppResources/dataelementconfiguration, do you have a file called UserPopulationInfo.xml?

If so, have you chosen to customise this at all?

Can you supply the version info (as Luke suggested) and the CDS log showing the login logging as per my previous reply?

Stephen

IG1
Active Participant
0 Kudos

Hi Luke,

Version is NAKISA 4.0 and please find the log generated as below:

1. 08 May 2013 06:26:58 INFO com.nakisa.Logger - [Admin console] admin user 'admin' successfully logged in

2. 08 May 2013 06:27:22 INFO com.nakisa.Logger - ManagerInit: Time took to setup Build: 3192 ms

3. 08 May 2013 06:27:25 INFO com.nakisa.Logger - ManagerInit: Time took to load settingsResources: 422 ms

4. 08 May 2013 06:27:29 INFO com.nakisa.Logger - ManagerInit: Time took to load appResources: 1095 ms

5. 08 May 2013 06:27:50 INFO com.nakisa.Logger - ManagerInit: Time took to load extractorSchema: 41 ms

6. 08 May 2013 06:27:50 INFO com.nakisa.Logger - ManagerInit: Time took to load OTFSchema: 358 ms

7. 08 May 2013 06:27:50 INFO com.nakisa.Logger - ManagerInit: Time took to load Role Mapping: 3 ms

8. 08 May 2013 06:27:50 INFO com.nakisa.Logger - ManagerInit: Time took to load Roles: 2 ms

9. 08 May 2013 06:29:08 INFO com.nakisa.Logger - Tenant ID: 000

10. 08 May 2013 06:29:08 INFO com.nakisa.Logger - LoginSettingsObject Load: 13

11. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Credential provider SapSso

12. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : Ticket is: null

13. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : Information extracted: TicketDecoder [backendUser=null, portalUser=null]

14. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : com.nakisa.framework.login.Credentials_SapSso.getCredentialsBase64Decode(HttpServletRequest, HttpServletResponse) : Name: null, Paassword: *, ID: null

15. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User to authenticate null

16. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Authentication provider SapSso

17. 08 May 2013 06:29:08 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Login process finished with errors

18. 08 May 2013 06:29:11 INFO com.nakisa.Logger - ManagerSave: Time took to save AppResources: 9848 ms

19. 08 May 2013 06:29:16 INFO com.nakisa.Logger - ManagerSave: Time took to save Roles and RoleMapping: 71 ms

20. 08 May 2013 06:29:17 INFO com.nakisa.Logger - ManagerSave: Time took to save LanguageDB: 701 ms

21. 08 May 2013 06:29:17 INFO com.nakisa.Logger - ManagerSave: Time took to save ExtractorSchema: 86 ms

22. 08 May 2013 06:29:17 INFO com.nakisa.Logger - ManagerSave: Time took to save OTFSchema: 398 ms

23. 08 May 2013 06:29:18 INFO com.nakisa.Logger - ManagerPublish: Time took to move Tenant Deltas: 833 ms

24. 08 May 2013 06:29:18 INFO com.nakisa.Logger - ManagerPublish: Time took to move Configs: 366 ms

IG1
Active Participant
0 Kudos

Hi Stephen,

Yes , as of now i have set ROLE_MANAGER as default role.

in folder AppResources i have UserPopulationInfo.xml or not, this i will confirm in some time after checking with basis team.

Version is NAKISA 4.0 and Log has been provided in my ealire post, please.

Thanks,

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

What is the build number (from the AdminConsole)?

your log shows that you are not being authenticated properly by the SSO module. How are you accessing the application?

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Build number is 0901012500.

Regarding authentication, I have made the below settings only.

After removing user ID and password from data connection string, i went into security settings--> Authentication settings:

1. Selected option "Single Sign-On with Logon Tickets (Required Portal integration)"

2. In authetication source i have put the server and client details.

3. again in role mapping , i have removed user id and password from connection string.

These all are the changes i have done.

regarding last question, I am not much clear "How are you accessing the application?".

I am accessing it through portal only.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

In role mapping you must have the user Id and password in the connection string. Put it in and try logging in again. Please ensure to close your browser entirely before opening the Portal.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Thanks a lot Luke It was the issue.

One more question please:

I org chart and position hierarchy, do we need to remove user ID and password from the connection string. As of now i have removed them.

lukemarson
Active Contributor
0 Kudos

Great - glad you got your issue resolved.

Yes you do need to remove it there.

IG1
Active Participant
0 Kudos

Hello Luke,

I have moved the same build to quality and changed, connection strings.

Connection strings has been tested and they are successful.

Still User is not getting populated:

DEBUG INFORMATION:

Nakisa RolesROLE_Everyone
Source RolesZMM_C_STORE_GR_CLZHYD2,ZDMS_O&M_0102,ZDMS_RC_0102,ZMMPOWER_DISPLAY,ZBASIS_ROLE,ZCO-CTM-TRANS,ZMM_C_STORE_GR_CLZPYRO,ZMM_C_STORE_GR_RAM,ZFI_CTM_TRANS,ZFI_ACCTS_PAYABLE,Z:CORE_TEAM_PROFILE_1,ZMM_C_PO_REL_CLZPYRO,ZFI_ZTRANS,Z:S_TABU_DIS,ZFI-CTM-TRANS,ZMM-CTM-TRANS,ZMMPOWER,ZALL_CTM_COMMON_REPORTS,ZASM12,ZDMS_CUSTOMER_0102,ZDMS_DMSALES_0102,ZMM_PO_CREATION,Z_WF_DEVELOP,Z_ZY_ALL_TCODES,Z:SE38,Z:S_BDC_MONI,ZLSMW,ZPP-CTM-TRANS,ZPP_COR6_MOVETY_261,ZPP_COR6_MOVETY_262,ZPP_MB31-MOVE-TY101,ZPP_STO_CHANGE,ZPP_STO_CREATION,ZPP_STO_RELEASE,ZPR_RELEASE_3,ZQM-CTM-TRANS,ZSALES_DESPATCH,ZSAPCONSULTANTS_MMTCODE,ZSD-CTM-TRANS,ZSD_ALL_EXPORTDOC,ZSD_AUTHGROUP_ASD,ZSD_CORE_TEAM_PROFILE,ZSD_CUSTOMER_BLOCK,ZSD_DELIVERY_BLOCK_CHANGE,ZSD_DISPATCH_PROFILE_CLZS,ZSD_DISPATCH_PROFILE_RAM,ZSD_EXCISEIVL_BOND,ZSD_EXCISEIVL_CUSTOMIZATION,ZSD_EXCISEIVL_DOCUMENATION,ZSD_EXCISEIVL_REPORTS,ZSD_REPORT_EXEC,ZSD_RO_COMMON_FIN_MUM,ZSD_RO_COMMON_TRANSACTION_BAN,ZSD_RO_COMMON_TRANSACTION_DEL,ZSD_RO_COMMON_TRANSACTION_KOL,ZSD_RO_COMMON_TRANSACTION_MUM,ZSD_S_H_TRANS,ZSD_TNPT_INVOICECYCLE,ZSD_TNPT_PRICEMAINT,ZSD_WEIGHBRIDGE_RAM,ZSD_ZTRANS,Z_I_SOGEN,Z_MIGO_TRANSACTION_DISPLAY,Z_RFC,Z_RFCACL,Z_SD_COMMON_TRANSACTION,Z_SD_COMMON_TRANSACTION_CLZS,Z_SD_COMMON_TRANSACTION_RAM,Z_SD_CSA_E,Z_SD_HEAD_RAM,Z_SPRO_DISPLAY_PROFILE,Z_SU01_DISPLAY_ONLY,Z_SWU3,ZMM_C_STORE_GR_CLZCOMMON,ZMM_C_STORE_GR_CLZHYD1,ZHR_ACCENTURE,ZFI_CTM_YEAREND_TRANS,Z:COMMON_TRANSACTIONS,ZDMS_VENDOR_0102,ZDMS_EXPSALES_0102,ZFI_ASSETS_TRANS,Z_S_ADMI_FCD,Z_S_DEVELOP,Z:CORE_TEAM_PROFILE_2,ZMM_P_PHINV_DOC,ZMM_P_VENDOR_ANLY,ZMM_QUALITY_CLEAR,ZOB52,ZPM-CTM-TRANS
User Populationnull
User Authentication Row{SapSsoTicket=AjExMDAgABBwb3J0YWw6QUNDSFJGVU5DiAATYmFzaWNhdXRoZW50aWNhdGlvbgEACUFDQ0hSRlVOQwIAAzAwMAMAA0hFUQQADDIwMTMwNTIzMDYwNAUABAAAAAgKAAlBQ0NIUkZVTkP%2FAQQwggEABgkqhkiG9w0BBwKggfIwge8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBzzCBzAIBATAiMB0xDDAKBgNVBAMTA0hFUDENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMwNTIzMDYwNDIxWjAjBgkqhkiG9w0BCQQxFgQUJochGADqHNuk0h%2F19q7pDjRdBZYwCQYHKoZIzjgEAwQuMCwCFCL5fDcM2cUc1j2CdsqK5tkpYNpFAhQP7b1nGhdmcSwyFeABgbETXYU9gA%3D%3D}
Display NameACCHRFUNC
IDACCHRFUNC
NameACCHRFUNC
LanguageEnglish
Accessibility Modefalse
Flex Modetrue
Panel Mode
Date Formate
Theme
User Variablesnull

Session

NameValue
HAS_RESTRICTED_ACCESS_SESSIONID
ADMIN_CONSOLE_USER_OBJECT
ExpertSeekLinkedInSessionInfo
Admin_AdminAppResources
AllStates
Admin_Counts
Admin_Logger
RoleMappingXML_Lite
originalAppResources
SettingsLite
Nakisa.SAP.Custom.OTFProcessorNakisa.SAP.Custom.OTFProcessor.BAPI_SAP_OTFProcessor_ReportSAP_UserPopulation(Userid='ACCHRFUNC')dd-MM-yyyy
CDSPanelMode
ModuleControlState
OrgChartSessionCurrentRootValue
com.sun.faces.logicalViewMap
LangCacheBackup
IS_LOGGEDIN_SESSIONID
SAPOTFDownloadSchemaXML
CDSDateFormat
Admin_SettingsResources
com.sun.faces.application.StateManagerImpl.SerialId
Admin_Language
AppLite
RolesXML_Lite
Admin_BuidInfo
CountLite
NOMSLoginErrorMessageCaptionKey
SAPLANGKEYS
Tenants
Admin_authentication
RoleMappingXML
OrgChartState
CDSUserObject
javax.faces.request.charset
CDSRegisteredSessions
SAPExtractorDownloadSchemaXML
Admin_interMed
DCEncryptionPassword
CDSLanguageValue
Admin_UserControlResources
Admin_Authentication_MainUC
RolesXML
CurrentProfile
Admin_LOADEDBUILD
Admin_LangCache
Admin_PresentationResources

LOG:

  1. 92. 23 May 2013 11:09:54 INFO com.nakisa.Logger - Refresh in-memory configurations: 430
    93. 23 May 2013 11:10:00 INFO com.nakisa.Logger - AppResources Load: 3649
    94. 23 May 2013 11:13:21 INFO com.nakisa.Logger - Tenant ID: 000
    95. 23 May 2013 11:13:21 INFO com.nakisa.Logger - LoginSettingsObject Load: 14
    96. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Credential provider SapSso
    97. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : Ticket is: AjExMDAgABBwb3J0YWw6QUNDSFJGVU5DiAATYmFzaWNhdXRoZW50aWNhdGlvbgEACUFDQ0hSRlVOQwIAAzAwMAMAA0hFUQQADDIwMTMwNTIzMDU0MgUABAAAAAgKAAlBQ0NIUkZVTkP%2FAQUwggEBBgkqhkiG9w0BBwKggfMwgfACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGB0DCBzQIBATAiMB0xDDAKBgNVBAMTA0hFUDENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMwNTIzMDU0MjMyWjAjBgkqhkiG9w0BCQQxFgQUxnklu9FpfKQ8W8RvifnF7ElK61IwCQYHKoZIzjgEAwQvMC0CFC6SbEV2loI8c6GjdzDdfrZqr%2FToAhUArzN1pW79JWlTnBwLAV8k7%2FTVgRo%3D
    98. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : Information extracted: TicketDecoder [backendUser=ACCHRFUNC, portalUser=ACCHRFUNC]
    99. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Credentials_SapSso : com.nakisa.framework.login.Credentials_SapSso.getCredentialsBase64Decode(HttpServletRequest, HttpServletResponse) : Name: ACCHRFUNC, Paassword: *, ID: ACCHRFUNC
    100. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User to authenticate ACCHRFUNC
    101. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Authentication provider SapSso
    102. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User authenticated ACCHRFUNC
    103. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Authentication row is {SapSsoTicket=AjExMDAgABBwb3J0YWw6QUNDSFJGVU5DiAATYmFzaWNhdXRoZW50aWNhdGlvbgEACUFDQ0hSRlVOQwIAAzAwMAMAA0hFUQQADDIwMTMwNTIzMDU0MgUABAAAAAgKAAlBQ0NIUkZVTkP%2FAQUwggEBBgkqhkiG9w0BBwKggfMwgfACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGB0DCBzQIBATAiMB0xDDAKBgNVBAMTA0hFUDENMAsGA1UECxMESjJFRQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMwNTIzMDU0MjMyWjAjBgkqhkiG9w0BCQQxFgQUxnklu9FpfKQ8W8RvifnF7ElK61IwCQYHKoZIzjgEAwQvMC0CFC6SbEV2loI8c6GjdzDdfrZqr%2FToAhUArzN1pW79JWlTnBwLAV8k7%2FTVgRo%3D}
    104. 23 May 2013 11:13:21 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User population provider is Database
    105. 23 May 2013 11:13:21 WARN com.nakisa.Logger - Configuration merge warning: : Right configuration is null - Merge skipped!
    106. 23 May 2013 11:13:21 INFO com.nakisa.Logger - ApplicationConfigurationManager:mergeConfigurations 0
    107. 23 May 2013 11:13:21 WARN com.nakisa.Logger - Configuration merge warning: : Right configuration is null - Merge skipped!
    108. 23 May 2013 11:13:21 INFO com.nakisa.Logger - ApplicationConfigurationManager:mergeConfigurations 0
    109. 23 May 2013 11:13:22 INFO com.nakisa.Logger - TenantAwareSAPExtractorConfiguration Load: 315
    110. 23 May 2013 11:13:22 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/RFC_REPORT took: 371ms
    111. 23 May 2013 11:13:22 INFO com.nakisa.Logger - BAPI_SAP_OTFProcessor_Report : WhereClause : (Userid='ACCHRFUNC'); Table : (SAP_UserPopulation); Dataelement : (UserPopulationInfo)
    112. 23 May 2013 11:13:22 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : User populated
    113. 23 May 2013 11:13:22 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Role mapping provider is: SAP
    114. 23 May 2013 11:13:22 WARN com.nakisa.Logger - Configuration merge warning: : Right configuration is null - Merge skipped!
    115. 23 May 2013 11:13:22 INFO com.nakisa.Logger - ApplicationConfigurationManager:mergeConfigurations 0
    116. 23 May 2013 11:13:22 WARN com.nakisa.Logger - class com.nakisa.framework.utility.Strings : convertStringToDate : No date is specified to convert. The today's date will be used.

  1. 117. 23 May 2013 11:13:22 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: RFC_READ_TABLE took: 61ms
    118. 23 May 2013 11:13:22 INFO com.nakisa.Logger - RfcReadTable.retrieveData: Transfer for 'AGR_USERS' from com.sap.mw.jco.JCO.Table to com.nakisa.framework.data.DataTable took 0 milliseconds.
    119. 23 May 2013 11:13:22 INFO com.nakisa.Logger - RoleMappingInformation Load: 3
    120. 23 May 2013 11:13:22 INFO com.nakisa.Logger - RolesXML Load: 4
    121. 23 May 2013 11:13:23 WARN com.nakisa.Logger - Configuration merge warning: : Right configuration is null - Merge skipped!
    122. 23 May 2013 11:13:23 INFO com.nakisa.Logger - ApplicationConfigurationManager:mergeConfigurations 0
    123. 23 May 2013 11:13:25 INFO com.nakisa.Logger - com.nakisa.framework.login.Main : LogIn : Login process finished successfully
    124. 23 May 2013 11:13:25 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
    125. 23 May 2013 11:13:46 INFO com.nakisa.Logger - Invoking action:refresh []. For processor ModuleControlAppProcessor. Against controller ModuleControlCtr
    126. 23 May 2013 11:13:46 INFO com.nakisa.Logger - refresh on ModuleControlAppProcessor took: 12ms
    127. 23 May 2013 11:13:48 INFO com.nakisa.Logger - Invoking action:loadorgchartdirectory []. For processor ModuleControlAppProcessor. Against controller ModuleControlCtr
    128. 23 May 2013 11:13:48 INFO com.nakisa.Logger - loadorgchartdirectory on ModuleControlAppProcessor took: 5ms
    129. 23 May 2013 11:13:49 INFO com.nakisa.Logger - Invoking action:refresh []. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
    130. 23 May 2013 11:13:50 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_STRUCTURE took: 38ms
    131. 23 May 2013 11:13:50 INFO com.nakisa.Logger - refresh on OrgChartAppEventProcessor took: 132ms
    132. 23 May 2013 11:13:50 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
    133. 23 May 2013 11:14:40 INFO com.nakisa.Logger - [Admin console] admin user 'admin' successfully logged in
    134. 23 May 2013 11:14:49 INFO com.nakisa.Logger - Invoking action:refresh []. For processor ModuleControlAppProcessor. Against controller ModuleControlCtr
    135. 23 May 2013 11:14:49 INFO com.nakisa.Logger - refresh on ModuleControlAppProcessor took: 16ms
    136. 23 May 2013 11:14:53 INFO com.nakisa.Logger - Invoking action:loadorgchartdirectory []. For processor ModuleControlAppProcessor. Against controller ModuleControlCtr
    137. 23 May 2013 11:14:53 INFO com.nakisa.Logger - loadorgchartdirectory on ModuleControlAppProcessor took: 8ms
    138. 23 May 2013 11:14:54 INFO com.nakisa.Logger - Invoking action:refresh []. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
    139. 23 May 2013 11:14:54 WARN com.nakisa.Logger - ChartingProcessor : renderChart : Empty Struct passed to render chart for rendering.
    140. 23 May 2013 11:14:54 INFO com.nakisa.Logger - refresh on OrgChartAppEventProcessor took: 41ms
    141. 23 May 2013 11:14:59 INFO com.nakisa.Logger - Invoking action:setdirectory [Employee]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr

Please help.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

I don't see any relevant errors. Does your role mapping user have sufficient authorizations? Have you tried with a user that has SAP_ALL?

Also, is a user in the connection string for the orgchart? It should only be in the connection string for the role mapping connection.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

This UserID already have SAP_ALL.

Even User is not getting populated when i am using simple LOGON option.

I think it might be some installation issue ? Can you suggest something to check, please.

Thanks.

Ishaan

IG1
Active Participant
0 Kudos

Hi Luke,

Can you let me know which function module is used to populate the user.

so that i can debug the same and come to know what is the error.

Thanks.

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

It's /NAKISA/RFC_REPORT, but I think the problem is possibly with the configuration and therefore you might not get the debugger to open.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Configuration issues ??

Does it mean from my side or configuration issues from BASIS end ? \

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

From Nakisa end.

Try and debug both /NAKISA/RFC_REPORT and RFCREADTABLE with the role mapping user (set in menu Utilities (M) > Settings) to be sure. If neither get called from the debugger then the problem is not on the SAP side.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Thanks Luke,

Let me make one more guess.

Till now i haven't mapped any SAP roles to NAKISA role in AUTHENTICATION SETTINGS-->ROLE MAPPING.

I am setting ROLE_EVERYONE as default as of now.

Can it be the reason ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Role mapping should occur irrespective of the role selected.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I have done the role mapping.  and correct role is getting populated as per mapping.

Still No user is getting populated.

As suggested earlier, I have set external debugger to FM /NAKISA/RFC_REPORT and it is getting triggered.

In fact user ID is getting populated till this point in debug mode:

still in Nakisa debug page i don't see any user populated.

Please suggest.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Can you attach your configuration here?

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

U mean to say , i should export the build and attach it ? correct ?

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Yes please.

Best regards,

Luke

p.s. Please do not use text speak on SCN

IG1
Active Participant
0 Kudos

Hi Luke,

Zip file upload in not allowed on SCN portal. Please guide. 

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

In that case please upload the following files from your authentication folder's sub-folder:

rolemapping.xml

userpopulation.xml

If they will not upload then please rename them to .txt files.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hello Luke,

Please find attached files:

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

The files seem fine. What is the actual problem? If the user doesn't get populated it doesn't matter so much.

Best regards,

Luke

IG1
Active Participant
0 Kudos

hi,

Problem is that that no org chart is getting displayed.

Since i have selected USER RECORD and Org unit ID in General Settings for Org chart and position hierarchy.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Can you debug /NAKISA/OC_OU_STRUCTURE and see if the correct values get passed to it for the structure?

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I have checked the same.

field ORGUNIT_ID doesn't have any value in this case. this field is passed to FM as input.

whereas for the successful case(which i debugged in another server), this same field has the value for ORGUNIT_ID field.

Could you please let me know , from which FM we get this field ORGUNIT_ID, is it from /NAKISA/RFC_REPORT ?

Every information is getting populated correctly from FM /NAKISA/RFC_REPORT.

Please suggest.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

Yes it is /NAKISA/RFC_REPORT and the NakisaRFC function it uses is SAP_UserPopulation.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

Now i am really surprised.

I am not getting what is the issue ..

I have raised OSS note for the same.

Thanks for all your help.

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

I would export your configuration from the 2 environments and compare the configuration in the Authentication folder. A great tool to use is DiffMerge, which I believe is freeware.

Can you be 100% sure that the user in your role mapping connection string has sufficient authorizations? If they don't have SAP_ALL can you try adding it for testing? Also check in SU53 for that user and run a trace in ST01.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I compared config and checked SU53 also. but didn't get any help.

I have raised OSS note to SAP and below is their response. can you please suggest me something as per SAP reply:

Resolution to this is usually not a Nakisa setting but a missing portal
setting.
If this is only occurring on one system I would advise you to compare
portal settings (that dela with Nakisa) with that of users in your
Dev system.
Also, as another test to narrow down location of problem, I like to
ask you to point your affected system towards your dev backend
to double check it's not a setting sin the backend.

After these two checks
In order to troubleshoot this issue, please provide a diagtool report
according to SAP note #1045019 (if any problem occur, please use the
offline diagtool on note #982127). It's really important to reproduce
the error during the diagtool execution.

Follow these steps: Open the Diagtool page -> Click on 'Go' -> Click
on 'Add All' -> Click on 'Start' -> Reproduce the issue -> Click on
'Stop' -> Attach the results on SAP message.

Besides this tool output, please also provide following files:
- /usr/sap/<SID>/<InstanceID>/j2ee/cluster/serverX/log/* (latest file
after error reproduction from all server nodes)
- /usr/sap/<SID>/<InstanceID>/j2ee/cluster/serverX/log/system/*
- /usr/sap/<SID>/<InstanceID>/j2ee/admin/*

Please capture a screenshot of the screen received including the
URL field.
Also, please include the corresponding default trace.
Default trace file is located at:
/usr/sap/<SID>/<instance_dir>/j2ee/cluster/server<server_number>/log

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

I would first point your QA Nakisa to your DEV SAP to see if the error still occurs. This would prove if it is indeed the Nakisa side or the SAP/Portal side that is causing the problem.

The best way to solve this might be to get a specialist to look at your environment.

Best regards,

Luke

IG1
Active Participant
0 Kudos

Hi Luke,

I connected quality build with Development system and found it is still not working.

Also, When i connected my Development NAKSIA to quality SAP then also it didn't work.

which is working perfect if i connect it to development system.

I am not able to understand from which side is the problem .

Also, I am not getting any issues in log

Thanks

Ishaan

lukemarson
Active Contributor
0 Kudos

Hi Ishaan,

I would delete your configuration, reset the build, export your configuration from Dev Nakisa, import the configuration, set the connection strings and publish. This will tell you if it's the configuration or the build/SAP.

Are you sure that you have the ABAP Add-on and Nakisa Transport Package in SAP?

Best regards,

Luke

Former Member
0 Kudos

Hi Ishaan,

That is old issue I know but I found a topic about your target.

Let me share with you.

Thank you very much.

IG1
Active Participant
0 Kudos

Thanks. This document is created by me only after gathering all required knowledge .

Former Member
0 Kudos

Hi Ishann,

How did you resolve the issue

Regards

Sunitha

Answers (0)