Application Development 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: 

How to Debug Call transaction ?

Former Member
0 Kudos

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

Former Member
0 Kudos

Former Member
0 Kudos

hi,

Go through the following given link..

[Debugging|;

hope this helps you.

Regards

Ritesh

former_member536879
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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