Skip to Content

Activating two legal control legal reg

Hi All,

I have a requirement to basically skip EAR as this is configured for US REX calculation.

Originally my thought is to create a custom legal regulation (ZEAR) to have this legal reg not activate USREX.

is there a way to skip EAR completely and just have certain doc types check ZEAR, vice versa? I tried under general settings > doc structure > doc type to see if the system would skip EAR if I called out the legal regulation control setting. It does not seem so but welcome to others inputs.

Also curious how we can activate multiple legal regulations (is license determination mandatory - this is the only thing I did not configure yet because I wanted to test if it would even call the second legal reg ZEAR.

I understand we can skip dm calc by having the product be classified to "no calc" but the requirement is also to not enrich or touch current master data.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • May 16 at 11:07 AM

    Hello Michael,

    I hope I got your question right. What is the point of using USREX if EAR is not used?

    Anyway, have you tried removing the legal regulation EAR under legal regulation USREX in the re-export block in 'Control Settings for Legal Control'. Please let me know if I may have misunderstood your question.

    Regards, Satish

    Add comment
    10|10000 characters needed characters exceeded

  • May 16 at 04:58 PM

    The requirement is to have not impact current transactions that are using EAR with USREX activated.

    Thus we want to separate this out, we wanted to create another legal regulation (i.e., ZEAR), however, activating under "legal control" will call both ZEAR and EAR. We want to have it skip EAR for certain document types (i.e., certain scenario sales scenarios to trigger ZEAR and certain sales scenarios to trigger EAR).

    I am getting the feeling that this cannot be done through configuration. Please let me know if I am incorrect. I understand above doesnt make sense but we want to reduce the amount of changes in master data products and organizational structure as much as possible, best case - no changes to master data or organizational structure that is existing.

    Add comment
    10|10000 characters needed characters exceeded

  • May 20 at 07:47 AM

    Just wanted to check if anyone else has any insights?

    Add comment
    10|10000 characters needed characters exceeded

  • May 20 at 08:48 PM

    Hi Michael,

    One thought occurs to me...

    You could create & assign a new Determination Procedure for Active Legal Regulations - that's to say, a new entry in table /SAPSLL/T606DR. The standard Procedure 'LELDT' uses Determination Rule 'A' ("Determination Using All Strategies"), but your new entry could use Rule <blank> "Determination Using First Successful Strategy". I don't have time to work through the detail, but I get the feeling that the alternative Rule could point to a possible solution.

    FYI, you can create the new entry using Transaction SM31, with View /SAPSLL/V_T606DR.

    Regards,
    Dave

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 04 at 08:00 PM

    Hi Michael,

    maybe you can use BADI /SAPSLL/LCC_DOCUMENT in GTS. I´m not a developer, but this worked for me. Document type ZSO is not checked against legal Regulation ZREEX after implementing this coding.

    DATA: ls_header type /sapsll/lc_document_header_s,
    lv_t606g_found type xfeld,
    ls_active_ges_grundlgen type /sapsll/t606g_det_s.


    Constants: co_ftrue type flag value 'X',
    co_ffalse type flag value ' ',
    lc_lgreg_zreex type /sapsll/lgreg value 'ZREEX'.

    IF is_header-BARVS EQ 'ZSO'.

    * Lesen der gesetzlichen Grundlagen zu ZEAR aus ITAB
    read table ct_t606g
    into ls_active_ges_grundlgen
    with key lgreg = lc_lgreg_zreex.

    if sy-subrc is initial.
    lv_t606g_found = co_ftrue.
    endif.

    * deactivate ZREEX
    clear ls_active_ges_grundlgen-ldac2.
    modify ct_t606g from ls_active_ges_grundlgen
    transporting ldac2
    where lgreg = lc_lgreg_zreex.

    ENDIF.
    ENDIF.

    BR, Carsten

    Add comment
    10|10000 characters needed characters exceeded