on 2012 Jun 19 10:48 AM
What are the steps involved in Barcode Implementation.
When store people scan through Barcode scanner to all components issued against prod order
then system should automatically update the system.
What are the config steps and how the process will flow in SAP.
thanks
A prasad
Request clarification before answering.
Hi Prasad,
You can use the following FM to get the randaom numbers
'QF05_RANDOM_INTEGER'
here m providing the code snippet i have used to do the same for pdf form
" logic to prepare barcode.
CALL FUNCTION 'QF05_RANDOM_INTEGER'
EXPORTING
ran_int_max = maxnum
* RAN_INT_MIN = 1
IMPORTING
ran_int = randomnmbr
EXCEPTIONS
invalid_input = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
CLEAR randm.
random = randomnmbr.
UNPACK random TO random.
CLEAR : len, len5.
len = strlen( identity_no ).
len5 = len - 5.
CLEAR roll.
roll = identity_no+len5(5).
CLEAR : rev1,rev.
rev1 = roll.
rev = reverse( rev1 ).
CLEAR gv_barcode.
CONCATENATE gv_myear random rev 'XXXX' INTO gv_barcode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 58 | |
| 29 | |
| 21 | |
| 11 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.