Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from desperado20032003 on May 15 at 2:31 AM Terry, The one thing that I can't understand is that why the report runs in all the other systems apart from mine. Maybe some settings are messed up in my SAP software. So I presume you are telling me to do the following: DATA: A1 TYPE SY-REPID. MOVE SY-REPID TO A1. After I call the REUSE_ALV_GRID_DISPLAY function, I use this- I_CALLBACK_PROGRAM? = A1. But the rest of the the functions also show the same problem. What do I do about those? :-(
| | | ---------------Original Message--------------- From: Terry Barker Sent: Monday, May 14, 2012 12:55 PM Subject: REUSE_ALV_GRID_DISPLAY Giving Error Matt, Passing SY-REPID for the CALLBACK_PROGRAM is a classic no-no. I don't know if that is your "presenting problem," but I do know that you should NEVER do that, because SY-REPID changes to the main program of the called function as soon as the function is called. Instead, declare a variable of type SY-REPID, move SY-REPID to the variable, and pass the variable as your CALLBACK_PROGRAM. Cheers, TerryB | | Reply to this email to post your response. __.____._ | _.____.__ |