‎2007 Jan 30 4:58 PM
How do I set break points for users... I am developing a program. I have to break only for me and another person. How can i do that.
‎2007 Jan 30 5:00 PM
Hi alexander,
set user-specific static breakpoints using the BREAK statement followed by your user name and the other person name.
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
‎2007 Jan 30 5:03 PM
How can i set user-specific break points ... any example of the syntax for the statement.
‎2007 Jan 30 5:04 PM
Hi Alexander,
Do this way:
IF SY-UNAME = 'DEV1' OR SY-UNAME = 'DEV2'.
BREAK-POINT.
ENDIF.
Regards,
Vivek
‎2007 Jan 30 5:06 PM
hi alexander
use syntax
break alexander.
jus go thru this link..might help u
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617cc1e68c11d2b2ab080009b43351/content.htm
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
‎2007 Jan 30 5:12 PM
hi
good
where ever you want to set a break point for the user you can use the following statement as hard coded at that partiular point.
Syntax
BREAK-POINT.
Thanks
mrutyun^
‎2007 Jan 30 5:13 PM
Hi,
We write the break point for a specific user using the below statment
<b>break sy-uname.</b>
BREAK 'User_name1'.
BREAK 'User_name2'.
Regards
Sudheer
‎2007 Jan 30 5:25 PM
In my code there is a statement
SELECT SINGLE * FROM EQUI INTO I_EQUI
In the syntax check..Field I_EQUI is unknown.It is neither in one of the specified tables.nor defined by a data statement.
How can i fix this one....
‎2007 Jan 30 5:30 PM
Hi alexander..
can u be more specific with code..
coz I_EQUI seems to be a internal table/work area not defined
‎2007 Jan 30 5:33 PM
IF SY-TCODE ='MB31'.
SELECT SINGLE * FROM EQUI INTO I_EQUI
WHERE EQTYP = 'S'
AND MATNR = MATNR
AND SERNR = SERNR.
IF SY-SUBRC EQ 0.
MESSAGE E398 (00) WITH 'SERIAL NUMBER ALREADY EXISTS'.
ELSE.
CHECK VALIDATION LIKE SERNR0(1) = '2' OR SERNR0(1) = '3' OR SERNR+0(1) = '6'
AND SERNR1(2) = SY-DATUM2(2) AND
SERNR3(2) = SY-DATUM4(2) AND
SERNR+ 5(4) >= '0000' AND SERNR+5(4) <= '9999'
ENDIF.
ELSE.
SELECT SINGLE * FROM EQUI INTO I_EQUI
WHERE EQTYP ='S'
AND MATNR = MATNR
AND SERNR = SERNR.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'PLEASE ENTER A VALID SERIAL NUMBER'.
ENDIF.
ENDIF.
This is the full code..
‎2007 Jan 30 5:43 PM
Hi alexander,
code seems to be fine except check whether I_EQUI
is declared as an internal table ..however when comparing matnr = matnr ..it shud be notified which matnr is being compared to which matnr...select-options(matnr) ot previous itab matnr...jus check out that comparison
‎2007 Jan 30 5:46 PM
how can i check whether I_EQUI is declared as internal table or not....
‎2007 Jan 30 5:52 PM
alexander ...jus chck out in the data declarations for I_EQUI
or code
data : i_equi like equi occurs 0 with header line.
also check the comparisons in select statement at matnr = matnr and AND SERNR = SERNR.
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
‎2007 Jan 30 6:02 PM
For the validation statement the following error is been displayed.
Field validation is unknown It is neither in one of the specified tables or defined by a data statement... How to fix this one...