Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3132

Re: User defaults for multiple systems in one request

$
0
0

Hello, Patrick!

 

I'm fine! Thank you! I hope you are doing well too! Yes, we've worked on the same project.

 

I’ve found an interesting behavior of the program code while debugging. Actually, no need to enable "Return all matches found" to assign different user default sets in different systems. But it works strange regarding to using line items attributes in the BRF rule. It looks like the code is focused only on a system level.

 

The method cl_grac_provisioning_engine=>provision_user_defaults for searching a user default set is run while operating the method CL_GRAC_PROVISIONING_ENGINE=> CREATE_USER. This method finds the proper user default set for a system and then a user is create in this system successfully. Then this method is called for another system. But I think the export parameter is_reqlineitm for the method provision_user_defaults is filled in a strange way.1.png

For example, we want to assign different user default sets depend on added business roles.

We add three BR:

BR1 connector 1

BR2 connector 1

BR3 connector 2

 

System finds the number of unique connectors (in our case it’s two). Then it finds the last line item for each connector and transports this value to the method provision_user_defaults. The method will be called twice for BR2 and BR3.

 

Why is it work like this I haven’t found yet. Might you can ask SAP team as you raised an incident.

 

Best regards,

Julia


Viewing all articles
Browse latest Browse all 3132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>