05-11-2010 6:24 AM
Hi ,
I want to debug a BDC program . In the debug I want to change the MODE value to 'A '. Currently it is hard coded . Statement in the code looks like this
CALL TRANSACTION 'VL01N' USING bdcdata
MODE 'N'
UPDATE 'S'
MESSAGES INTO messtab.
I dont have the option to modify or copy the code.
Please let me know is theer a way to do it ? Thank you very much in advance.
Thanks & regards
Nanaiah
05-11-2010 6:29 AM
05-11-2010 6:34 AM
05-11-2010 6:36 AM
HI,
Put a Break point in the Call transcation and change the mode value to 'A' during the Debugging or change the mode value to 'A' for the testing part or do the below declaration
DATA opt TYPE ctu_params.
opt-dismode = 'E'.
opt-defsize = 'X'.
In that give the dismode = 'A'.
CALL TRANSACTION 'VL01N' USING bdcdata_tab OPTIONS FROM opt
UPDATE 'S'
MESSAGES INTO messtab.
While doing that take care u r not saving any data .
With Regards,
Sumodh.P
Edited by: Sumodh P on May 11, 2010 11:09 AM
05-11-2010 6:37 AM
Well,
Put a break point on Call trasnaction statement!!!
When the cursor reach to the point double click on "MODE" change the value from "N" to "A"
and click the pencil button!!!!
Press F8
Regards
Bhanu