2006 Nov 03 3:31 PM
Hi,
I am able to print the Barcode on the Report but not able to move to right side, i have tried like...
FORMAT COLOR OFF INTENSIFIED OFF.
WRITE: /.
PRINT-CONTROL FUNCTION 'SBP01' POSITION 20.
WRITE : L_BARCODE NO-GAP.
PRINT-CONTROL FUNCTION 'SBS01'.
WRITE: /.
i am able to move to right side with the above statements, but the barcode become bold as i am incresing the position from 10 to 20 so on.
please suggest...
thanks in advance.
Regards,
Shiva Kumar.
2006 Nov 03 4:05 PM
Hi,
Try to use RIGHT-JUSTIFIED hope it will help u !!
Eg.
DATA: FIELD(10) VALUE 'abcde'.
WRITE: / '|' NO-GAP, FIELD LEFT-JUSTIFIED NO-GAP, '|',
/ '|' NO-GAP, FIELD CENTERED NO-GAP, '|',
/ '|' NO-GAP, FIELD RIGHT-JUSTIFIED NO-GAP, '|'.
Output: |abcde |
| abcde |
| abcde|
Pl reward if sounds good.
Cheers.
2006 Nov 06 7:53 AM
2006 Nov 06 8:38 AM
Hi Shiva Kumar M ,
Check the link below it will be helpful to u.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d9/4a95e351ea11d189570000e829fbbd/frameset.htm
PRINT-CONTROL FUNCTION 'SBP01' POSITION 10.
PRINT-CONTROL LM020.
WRITE : L_BARCODE NO-GAP.
PRINT-CONTROL FUNCTION 'SBS01'.
2006 Nov 20 11:46 AM
Hi,
I got it.... now i am able to print the Barcode 13 charaters right with the below code.
PRINT-CONTROL FUNCTION 'SBP01' POSITION 13.
WRITE : 13 l_barcode NO-GAP.
Regards,
Shiv.