Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Debug Call transaction ?

Former Member
0 Likes
5,796

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
2,234

Read only

Former Member
0 Likes
2,234

hi,

Go through the following given link..

[Debugging|;

hope this helps you.

Regards

Ritesh

Read only

Former Member
0 Likes
2,234

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

Read only

Former Member
0 Likes
2,234

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