03-14-2007 3:07 PM
I need to set my client customer number to fifteen 9s. Any one know of syntax so I dont have to type in 9 fifteen times
03-14-2007 3:30 PM
Hi,
You can try like this.
DATA: WA_KUNNR(15) TYPE C.
IF WA_KUNNR IS INITIAL.
TRANSLATE WA_KUNNR USING ' 9'.
ENDIF.
Regards,
Ferry Lianto
03-14-2007 3:09 PM
Hi,
i'm not understanding the question.
Customer number is a char10, and you want 15 9s ?
Regards,
03-14-2007 3:11 PM
is it in selection screen????????
parameter : p_no(15) default '999999999999999'.
Message was edited by:
Chandrasekhar Jagarlamudi
03-14-2007 3:12 PM
Hi,
i'm not understanding the question.
Customer number is a char10, and you want 15 9s ?
Anyway,
you can fill a field like this.
DATA: FIELD(20).
DO 15 TIMES.
FIELD+SY-INDEX(1) = '9'.
ENDDO.
Regards,
03-14-2007 3:27 PM
I am not using the std customer number
I will be having a customer customer number new_customer and I merely need to set it to 15 9s
Instead of typin in 15 9s I would like something better
03-14-2007 3:30 PM
Hi,
You can try like this.
DATA: WA_KUNNR(15) TYPE C.
IF WA_KUNNR IS INITIAL.
TRANSLATE WA_KUNNR USING ' 9'.
ENDIF.
Regards,
Ferry Lianto
03-14-2007 3:35 PM
data : v_customer(15) type c.
v_customer = '999999999999999'.
or
data : v_customer(15) type c value '999999999999999'.
aRs
03-14-2007 4:50 PM
Hi
Select-options: skunar for kna1-kunar no obligatory no extention.
INITIALIZATION.
Data : kunar like kna1-kunar.
Kunnr = 999999999999999.
skunar = kunar.
Append skunar.
Try this code...
Sasmita