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

Ecatt - Abap programming

Former Member
0 Likes
346

Hello,

I have a problem in abap block when executing not in script activation.

here the code in ecatt script:

l_kdauf = v_po_number.

ABAP.

DATA : l_mdrs type mdrs.

SELECT SINGLE * FROM MDRS into l_mdrs

WHERE KDAUF = l_kdauf.

L_PLNUM = L_MDRS-PLNUM.

ENDABAP.

log ( l_plnum ). ---> equal blank

LOG ( L_KDAUF ). --->contain data

l_kdauf and l_plnum are global data.

in se16n, i find record corresponding.

Is the problem in my code?

Can i know the value sy-subrc in debuging?

thanks for help.

djamel

1 REPLY 1
Read only

Former Member
0 Likes
312

> Is the problem in my code?

> Can i know the value sy-subrc in debuging?

Hi, please insert the line "break <your userid>." after "ABAP." This will stop in the ABAP debugger during next test script execution. Kind regards, Christoph

ABAP.
break <myuserid>.
DATA : l_mdrs type mdrs.
...