on 09-01-2008 12:46 PM
Is it possible to print labels based on GR qty.
Example: in my GR I have material with 100 CAR when I press print icon, the system has to print 100 Labels.
Regards
GK
take a dummy internal table .
when u enter 100 car ( X car)
fill that internal table with .
do X times.
append initial line to i_dummy.
enddo.
create a loop node for that dummy in smart form.
in that loop node print your templet.
keeep all this in main window.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare a counter variable in global definitions initialize it to 0.
create an alternate node if condition counter <= 100.
Under the true node create template node
Before displaying the label data write program lines code for reading the table at index. and increment the counter variable.
eg.
read table itab index counter.
add 1 to counter.
write the program lines before each text node.(dont forget to increment the counter variable in each program line node
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Follow the below steps.
1.Create a smart form(Z_GR_QTY_LABELS)
2.Put all the data in an internal table which has to be printed on the males.(One row corresponds to one label)
Hence the number of row in the itab are the GR qty
3.Create a loop and put the condition
To create a loop:Right click>Create Flow Logic>Loop
and put condition on Condition tab(Give sy-tabix LE Gr_qty )
4.Save and activate
Note:
Take care explicit page break.
Hope this helps you.
Regards,
Rama.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gnana Kumar,
It is absolutely possible to print Labels in Smart forms. You need to do some extra coding for that. Use template and proceed further.
Regards,
Swapna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dude,
Lemme see if i got your point right
The Gr has been done for 100 containers and you want to print 100 lables for it.
Just design your smarform including the barcode
loop it as many times as the container numbers
Say if you have a driver program call the function module in DO ENDDO.
this will print the label that many number of times as the nunber of containers
change the number of the label by using a counter
Hope you got it
Regards,
Ravi Kiran
hey,
First of all get all your data into your internal table.
Pull The no of containers of that Gr document into a variable say v_noc.
Have another variable for the count. say v_count.
say you have value 100 in v_noc.
call function 'SSF_FUNCTION_MODULE_NAME'
do v_noc times.
v_count = v_count + 1.
call function v_smartform.
enddo.
what will happen here is the smartforms is called 100 times.
Hope you got it
regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No coding required to display value in label format.... Use the Template option so as display the value in the form of Labels.. Once if the value is Calculated the use template to display it and create the cells of same
variable display counting how many labels you want per page.
If am i not clear please revert back with a bit of clear question..
Hope this would help you.
Good luck
Narin.
Hi
The template node is also used for label printing.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.