cancel
Showing results for 
Search instead for 
Did you mean: 

Setting ABAP_DEBUG flag?

0 Kudos

Hi, I already developing some proxy and vb programs in VS .NET environment. I have to do some debug and trace. Can anyone tell me the way to enable ABAP_DEBUG flag to let me do some trace.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You set the AbapDebug property of the destination object = true. This is from a document put out by Microsoft - it should help (document can be found here: http://www.microsoft-sap.com/doc/Connecting_InfoPath_to_SAP.doc):

ABAP Debugger

You can use the ABAP debugger to troubleshoot differences between SAP functions running in SAP vs. in the .NET connector:

• Look for values that may be padded with zeroes in SAP but not in your code

• Date format (YYYYMMDD)

• Step thru code to get an idea for valid values

• Look for “select” statements

To use the ABAP debugger:

• You need to set ABAP_DEBUG = true in Destination.

• Adding a variable to the watch

and then executing the code in debugging mode:

• Step into (F5)

• Execute (F6)

• Step out (F7)

• Run to cursor (F8)

0 Kudos

Hi Andrew,

Thanks a lot. I can do it now.

Regards,

Ian