Skip to Content
author's profile photo Former Member
Former Member

What is the criteria for selecting a license if multiple licenses exist

Hello experts,

If multiple licenses exist for an order in GTS, what is the criteria to decide which license will finally be selected?

The log says "Number of import/export licenses that could be affected: 3" but it finally picks up one.

Does it do it sequentially using the internal license number?

We have a scenario where we are upgarding from version 7 to version 10, and there is one license (say A) which was created in the older version and copied to the new system after upgrade. There is also a new license (say B) directly created in the new version (with same selection criteria as A)

Now when an order is created, both licenses are "affected" but it picks up the license B created in the new version.

If the system was picking license based on internal number it should have picked up license A which was created in earlier version (as that had a lower internal number sequentially). If I expire license B and recheck the order, then it correctly picks up A.

So what is the actual criteria to select a license and in this case was License A not given priority because it was created in older version and then copied to new version as part of upgrade?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 08, 2012 at 03:04 PM

    As far as I can see from a quick look at the code, there is no attempt to place the determined licences in any particular order. Since they are selected from table /SAPSLL/LCLIC, it seems reasonable that they would be selected according to field GUID_LCLIC. Within one system, the GUIDs remain in order of creation date/time; however I don't know GUIDs are formed in relation to different systems. My bet is that if you check in SE16, your "early" licence actually has a higher GUID value than the recent ones.

    Please check, and see if I'm right.

    Regards,

    Dave

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.