RE: [sap-dev] REUSE_ALV_GRID_DISPLAY Giving Error

Reply from horacio zapettini on May 21 at 11:19 AM
John, reading the documentation for I_CALL_BACK_PROGRAM
"
Name of the calling program

Description

Program from which the function module is called and that contains the
exit routines.The program should always be a report, function group,
module pool or form routine pool (it should not be an include).

Caution: Never pass SY-REPID directly at the interface. If field
SY-REPID contains the desired program name, you must absolutely assign
this name to an auxiliary variable and pass this variable to the
interface.

"
So that't the first problem (Sy-repid could be changed in the FM and in that case the program flow would never know where to go back.)

@Desperado: I'd solve that as the very first step. Then I'd check sintax again.

---------------Original Message---------------
From: Horacio Zapettini
Sent: Monday, May 21, 2012 10:03 AM
Subject: REUSE_ALV_GRID_DISPLAY Giving Error

If I were you, I'd check the type of i_callback_program against sy-repid (they should be the same). I'd repeat this step with the other parameters.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
horacio zapettini  

11 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

No comments:

Post a Comment