Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

    • Former Member Luciano Albuquerque

      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

  • Posted on 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 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.