Skip to Content
avatar image
Former Member

Two Legal Regulations for SPL for single country from different feeder systems and business units

Hi Team,

We are planning connect multiple ERP systems to single GTS system. Where as each feeder systems is having it's own business with it's own master data but the number range is same.

Can we define two different legal regulations for SPL for the same country(all the business are operating in the same country) since each business is having it's rules(control procedure, control parameters etc.). Please suggest me the best way to configure the scenario.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 04, 2018 at 02:54 PM

    Hi Hansik,

    Since you say that GTS system would be the same, you may over complicate things by defining 2 SPL legal regs in the same system as every configuration under SPL needs to be duplicated for both the legal regulations. As Mouaz mentioned,it's certainly possible to have two legal regulations for SPL. Since your concern is around the master data, as all the customers and vendor master data created are associated with a company code (unless you have any master data independent of company code in the source), you can control all of that within one SPL legal regulation even if they are coming from the multiple ERP systems. The FTO can be used to segregate data under SPL. Within GTS 11, FTO is present on majority of the transactions used by the end users except a couple of transactions, so restricting the usage of data by the two different company codes shouldn't be a challenge in this case, the feed shouldn't be a challenge either. My 2 cents would be to try it out using one single legal regulation in GTS.

    Hope it helps!


    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2018 at 01:39 PM

    Hi Hansik,

    I would say it should not be a problem to have multiple SPL legal regulations activated at the same time for the same country.

    The issue I see is, that say you have 2 SPL Legal Regulations, they are both active for the 2 businesses of your company. In other words, anything coming from any of the feeder systems will be screened by the 2 legal regulations and eventually blocked by one or both legal regulations.

    The only way I see to handle this is through a BADI in GTS that let's control which legal regulation should be called. I don't have the details about this BADI (no GTS system available today) but I can have look at it later to see if for instance the logical system ID can be used by this BADI to control which of the SPL legal regulations should be left active and which one should be discarted. Let me know if you need me to have a closer a this BADI or rather you know already this BADI and know to check if it can be used for your issue.


    Mouaz BEN REDJEB

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Hansik,

      So, I have done a bit of debugging and research for you. Here are my findings:

      1) I couldn't find a table in SAP GTS that indicates from which Logical System a BP is coming. The only info I could find is at Group of Logical Systems (Table /SAPSLL/PNTBP). For your issue, the Group of Logical Systems won't help (both feeder systems would be within the same Group) unless you are willing to duplicate the Group of Logical Systems but this approach could have heavy implications on the customizing (you would need to duplicated many customizing settings across the 2 groups).

      2) Instead of a Logical System, you could use the reference of the user ID that created the BP in order to find out from which system the BP came. You would then have user ID RFC1 for 1st feeder system and user ID RFC2 for the 2nd feeder system. The user ID is then saved in table BUT000 and can be easily retrieved.

      3) You can then use BADI /SAPSLL/ES_SPL_RESULT to influence the results of the SPL controls.

      - If BP was created by RFC user ID RFC1 then keep Legal Regulation SPL1

      - If BP was created by RFC user ID RFC2 then keep Legal Regulation SPL2

      Hope this helps.