Skip to Content
avatar image
Former Member

Change sy-repid value.

Hi everybody.I needed to copy report RFIDYYWT but i noticed that this report has some validations considering sy-repid value. In this way, any copies from this report do not work. I`m thinking about change the sy-repid value in initialization or maybe has any configuration for this report copy work correctly? Thank`s!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 09, 2015 at 02:01 PM

    Hi

    If you need to copy the report, you can change the validations for SY-REPID, you can replace it with a new variable and use it instead of SY-REPID

    Max

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Uhm

      sorry but SY-REPID has the value of the current program, so if it's check in a function module, SY-REPID will have the name of the main program of the function group so it'll be the same if the function is called by RFIDYYWT or your Z-copy.

      The enhancements are linked to the main program RFIDYYWT , so you should copy them too in your new copy.

      I mean you should manage SY-REPID only where it's used directly by RFIDYYWT

  • Jan 09, 2015 at 02:26 PM

    Why would you want to copy this? It is huge and going to be a headache to keep up to date. There are plenty of enhancement points etc., to insert stuff. Just a thought. 😊

    Add comment
    10|10000 characters needed characters exceeded