‎2011 May 11 10:42 AM
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
‎2011 May 11 9:39 PM
> 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.
...