How to print multiple fields in single barcodes
Hello friends,
How to create a single barcodes with multiple fields in smartforms and retrieve same multiple fields while scanning also.
My requirement is, i want to create barcodes which contains material no, serial no, material description and quantity all fields together in a single barcodes.
While scanning how to identify all this different fields. For e.g. from single barcodes how we will identify while scanning which is material no, serial no, material description and quantity.
Thanks in advance.......
Regards,
Dev
Hello friends,
How to create a single barcodes with multiple fields in smartforms and retrieve same multiple fields while scanning also.
My requirement is, i want to create barcodes which contains material no, serial no, material description and quantity all fields together in a single barcodes.
While scanning how to identify all this different fields. For e.g. from single barcodes how we will identify while scanning which is material no, serial no, material description and quantity.
Thanks in advance.......
Regards,
Dev
Similar Messages
-
How to print multiple pages in single spool in smartforms
Hi all,
I have a issue on to print multiple pages in single spool,i can able to print multiple pages in multiple spool .I am doing Check Print smartforms in that i need to print Multiple pages in single spool.Currently i am using the below code please help to solve this issue.
IF gv_tabix = 1.
lwa_outp_option-tdnewid = 'X'.
ELSE.
lwa_outp_option-tdnewid = ' '.
ENDIF.
Thanks,
DeesanthHi
TABLES: spfli.
DATA:
t_spfli type STANDARD TABLE OF spfli.
DATA:
fs_spfli TYPE spfli.
DATA:
w_form TYPE tdsfname,
w_flag TYPE i,
f_nam TYPE rs38l_fnam,
w_input TYPE ssfcompin,
w_control TYPE ssfctrlop.
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
SELECT-OPTIONS s_carrid FOR spfli-carrid.
SELECTION-SCREEN END OF BLOCK blk .
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
PARAMETERS:
p_single RADIOBUTTON GROUP rad1,
p_ind RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK block1.
START-OF-SELECTION.
PERFORM display_data.
PERFORM ssf_function_module_name.
PERFORM spool_request.
*& Form display_data
* text
* --> p1 text
* <-- p2 text
FORM display_data .
SELECT * FROM spfli INTO TABLE t_spfli WHERE carrid IN s_carrid.
ENDFORM. " display_data
*& Form ssf_function_module_name
* text
* --> p1 text
* <-- p2 text
FORM ssf_function_module_name .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = ' '
IMPORTING fm_name = f_nam
EXCEPTIONS no_form = 1
no_function_module = 2.
* IF sy-subrc NE 0.
* MESSAGE 'Form cannot be displayed' TYPE 'E' .
* ENDIF. " IF sy-subrc eq 0
ENDFORM. " ssf_function_module_name
*& Form spool_request
* text
* --> p1 text
* <-- p2 text
FORM spool_request .
w_input-dialog = 'X'.
CALL FUNCTION 'SSFCOMP_OPEN'
EXPORTING input = w_input
EXCEPTIONS error = 1.
*" LOOP AT t_spfli .....................................................
LOOP AT t_spfli INTO fs_spfli.
w_control-no_open = ' '.
w_control-no_close = ' '.
*"Single spool request..................................................
IF p_single EQ 'X'.
w_control-no_open = 'X'.
w_control-no_close = 'X'.
ELSE.
*"Individual spool request.............................................
IF w_flag NE '1'.
w_control-no_open = 'X'.
w_control-no_close = ' '.
w_flag = 1.
CALL FUNCTION ' '
EXPORTING control_parameters = w_control
fs_spfli = fs_spfli
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4.
endif. " IF w_flag ne '1'
ENDIF. " IF p_single eq 'X'.
CALL FUNCTION ' '
EXPORTING
control_parameters = w_control
fs_spfli = fs_spfli
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4.
ENDLOOP. " LOOP at t_spfli into ...
*&This function module close the spool request *
CALL FUNCTION 'SSFCOMP_CLOSE'
EXCEPTIONS error = 1.
ENDFORM. " spool_request
Regards,
Sravanthi -
How to print multiple copies on one page ?
How to print multiple copies of one document on one page ?
in coreldraw I used to make the document -for example a business card 5x9 - and when sending to print it automatically placed the number of cards that would fit in my A4 sheet.
how do I make the same operation in Indesign.
thanksHi, Peter S.
>I can see that as a shortcut to printing a page of different cards for multiple people, but to do a simple n-up of a single card it seems overly complex to me. What am I missing?
* It's just an alternative to copy/paste and step/repeat.
* For a one-time only use, perhaps it's a little more complex than necessary. But for any future needs, only the content of the data file needs to be changed, either by editing, or by pointing to a new data file. If different cards for multiple people becomes necessary, it's ready to go.
Regards,
Peter Gold
KnowHow ProServices -
How to print multiple footers for each page in RTF template xml report.
Hi,
How to print multiple footers for each page in RTF template xml report.
i am able to print ( two sets ) ...
up to last page ( one template ) and for last page ( another template).
i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
Thanks in advance.
Regards,
KAP.You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
Just have for-each@section logic.
It would be difficult for me to guess what you have done without looking at your RTF or describing here. -
[Forum FAQ] How to use multiple field terminators in BULK INSERT or BCP command line
Introduction
Some people want to know if we can have multiple field terminators in BULK INSERT or BCP commands, and how to implement multiple field terminators in BULK INSERT or BCP commands.
Solution
For character data fields, optional terminating characters allow you to mark the end of each field in a data file with a field terminator, as well as the end of each row with a row terminator. If a terminator character occurs within the data, it is interpreted
as a terminator, not as data, and the data after that character is interpreted and belongs to the next field or record. I have done a test, if you use BULK INSERT or BCP commands and set the multiple field terminators, you can refer to the following command.
In Windows command line,
bcp <Databasename.schema.tablename> out “<path>” –c –t –r –T
For example, you can export data from the Department table with bcp command and use the comma and colon (,:) as one field terminator.
bcp AdventureWorks.HumanResources.Department out C:\myDepartment.txt -c -t ,: -r \n –T
The txt file as follows:
However, if you want to bcp by using multiple field terminators the same as the following command, which will still use the last terminator defined by default.
bcp AdventureWorks.HumanResources.Department in C:\myDepartment.txt -c -t , -r \n -t: –T
The txt file as follows:
When multiple field terminators means multiple fields, you use the below comma separated format,
column1,,column2,,,column3
In this occasion, you only separate 3 fields (column1, column2 and column3). In fact, after testing, there will be 6 fields here. That is the significance of a field terminator (comma in this case).
Meanwhile, using BULK INSERT to import the data of the data file into the SQL table, if you specify terminator for BULK import, you can only set multiple characters as one terminator in the BULK INSERT statement.
USE <testdatabase>;
GO
BULK INSERT <your table> FROM ‘<Path>’
WITH (
DATAFILETYPE = ' char/native/ widechar /widenative',
FIELDTERMINATOR = ' field_terminator',
For example, using BULK INSERT to import the data of C:\myDepartment.txt data file into the DepartmentTest table, the field terminator (,:) must be declared in the statement.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,:’,
The new table contains like as follows:
We could not declare multiple field terminators (, and :) in the Query statement, as the following format, a duplicate error will occur.
In SQL Server Management Studio Query Editor:
BULK INSERT AdventureWorks.HumanResources.DepartmentTest FROM ‘C:\myDepartment.txt’
WITH (
DATAFILETYPE = ‘char',
FIELDTERMINATOR = ‘,’,
FIELDTERMINATOR = ‘:’
However, if you want to use a data file with fewer or more fields, we can implement via setting extra field length to 0 for fewer fields or omitting or skipping more fields during the bulk copy procedure.
More Information
For more information about filed terminators, you can review the following article.
http://technet.microsoft.com/en-us/library/aa196735(v=sql.80).aspx
http://social.technet.microsoft.com/Forums/en-US/d2fa4b1e-3bd4-4379-bc30-389202a99ae2/multiple-field-terminators-in-bulk-insert-or-bcp?forum=sqlgetsta
http://technet.microsoft.com/en-us/library/ms191485.aspx
http://technet.microsoft.com/en-us/library/aa173858(v=sql.80).aspx
http://technet.microsoft.com/en-us/library/aa173842(v=sql.80).aspx
Applies to
SQL Server 2012
SQL Server 2008R2
SQL Server 2005
SQL Server 2000
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
How to send multiple attachements in single mail
Hi All,
Currently i am using this function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail with only one attachment.
But now i need to send multiple attachments to a single mail.
Can any one please tell me as how to send multiple attachments in single mail.
Thanks in advance.Hi
See this and do accordingly
Mailing with Attachment by ABAP Coding
Refer this link:
Mail with attachment.
FORM send_list_to_basis .
DATA: w_path LIKE rlgrap OCCURS 0 WITH HEADER LINE,
lt_index TYPE sy-tabix,
doc_type(3) TYPE c,
descr LIKE it_objpack_basis-obj_descr,
temp_data LIKE w_path,
temp1 TYPE string,
tab_lines TYPE i,
langu(15) TYPE c,
expirydate TYPE so_obj_edt,
L_FILE1(100).
CONCATENATE 'C:\' sy-repid '_' sy-datum '.XLS' INTO L_FILE1.
W_PATH-FILENAME = L_FILE1.
APPEND w_path.
CLEAR w_path.
wa_doc_chng-obj_descr = 'User List not logged on for 180 days'.
wa_doc_chng-obj_langu = 'E'.
wa_doc_chng-obj_expdat = sy-datum.
CLEAR w_subject.
CONCATENATE 'Please find attached document with list of users'
'not logged on for 180 days for client' sy-mandt
INTO w_subject SEPARATED BY space.
it_objtxt_basis-line = w_subject.
APPEND it_objtxt_basis.
CLEAR it_objtxt_basis.
it_objtxt_basis-line = text-004.
APPEND it_objtxt_basis.
CLEAR it_objtxt_basis.
CLEAR w_tab_line.
DESCRIBE TABLE it_objtxt_basis LINES w_tab_line.
READ TABLE it_objtxt_basis INDEX w_tab_line INTO l_cline.
wa_doc_chng-doc_size =
( w_tab_line - 1 ) * 255 + STRLEN( l_cline ).
CLEAR it_objpack_basis-transf_bin.
it_objpack_basis-head_start = 1.
it_objpack_basis-head_num = 0.
it_objpack_basis-body_start = 1.
it_objpack_basis-body_num = w_tab_line.
it_objpack_basis-doc_type = 'RAW'.
APPEND it_objpack_basis.
CLEAR it_objpack_basis.
LOOP AT w_path.
temp1 = w_path.
descr = w_path.
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = descr
lang = 'E'
IMPORTING
rstring = descr.
CALL FUNCTION 'STRING_SPLIT'
EXPORTING
delimiter = '\'
string = descr
IMPORTING
head = descr
tail = temp_data.
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
string = descr
lang = 'E'
IMPORTING
rstring = descr.
CALL FUNCTION 'STRING_SPLIT'
EXPORTING
delimiter = '.'
string = descr
IMPORTING
head = temp_data
tail = doc_type.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = temp1
filetype = 'BIN'
header_length = 0
read_by_line = 'X'
replacement = '#'
TABLES
data_tab = it_upload.
DESCRIBE TABLE it_upload LINES tab_lines.
DESCRIBE TABLE it_objbin_basis LINES lt_index.
lt_index = lt_index + 1.
LOOP AT it_upload.
wa_objbin_basis-line = it_upload-line.
APPEND wa_objbin_basis TO it_objbin_basis.
CLEAR wa_objbin_basis.
ENDLOOP.
it_objpack_basis-transf_bin = 'X'.
it_objpack_basis-head_start = 0.
it_objpack_basis-head_num = 0.
it_objpack_basis-body_start = lt_index.
it_objpack_basis-body_num = tab_lines.
it_objpack_basis-doc_type = doc_type.
it_objpack_basis-obj_descr = descr.
it_objpack_basis-doc_size = tab_lines * 255.
APPEND it_objpack_basis.
CLEAR it_objpack_basis.
ENDLOOP.
it_reclist_basis-receiver = '[email protected]'.
it_reclist_basis-rec_type = 'U'.
APPEND it_reclist_basis.
CLEAR it_reclist_basis.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_objpack_basis
contents_txt = it_objtxt_basis
contents_bin = it_objbin_basis
receivers = it_reclist_basis
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
IF sy-subrc EQ 0.
SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
ENDIF.
ENDFORM. " send_list_to_basis
<b>Reward points for useful Answers</b>
Regards
Anji -
How to attach Multiple attachments to single mail
How to attach multiple pdfs to single mail ?
or
how to attach one pdf & One excel & One word document to single mail ?
Thanks In AdvanceHello Karunya,
Please refer to the link below.
https://wiki.sdn.sap.com/wiki/display/Snippets/Send%20email%20with%20multiple%20zipped%20attachments
Regards,
P Bansal -
Dear All
Can you help me How To Use Multiple Currencies in single payroll?
with regards
User600722I am not a functional expert. but ML Note 150173.1 (which is quite old) states that this is not possible.
Srini -
How to Pass multiple parameter into single store procedure
How to Pass multiple parameter into single store procedure
like a one to many relationship.
it is possible then reply me immediatlyyou mean like this .....
CREATE OR REPLACE procedure display_me(in_param in varchar2,in_default in varchar2 := 'Default') is
BEGIN
DBMS_OUTPUT.put_line ('Values is .....'||in_param || '....'||in_default);
END display_me;
CREATE OR REPLACE procedure display_me_2 as
cnt integer :=0;
BEGIN
For c1_rec In (SELECT empno,deptno FROM test_emp) Loop
display_me(in_param => c1_rec.empno);
cnt := cnt+1;
end loop;
DBMS_OUTPUT.put_line('Total record count is ....'||cnt);
END display_me_2;
SQL > exec display_me_2
Values is .....9999....Default
Values is .....4567....Default
Values is .....2345....Default
Values is .....7369....Default
Values is .....7499....Default
Values is .....7521....Default
Values is .....7566....Default
Values is .....7654....Default
Values is .....7698....Default
Values is .....7782....Default
Values is .....7788....Default
Values is .....7839....Default
Values is .....7844....Default
Values is .....7876....Default
Values is .....7900....Default
Values is .....7902....Default
Values is .....7934....Default
Values is .....1234....Default
Total record count is ....18 -
How to uploade multiple flatfiles for single transaction using BDC?
How to uploade multiple flatfiles for single transaction using BDC?
Hi,
You need to upload all data files into an internal table first either using OPEN DATASET (application server files) or GUI_UPLOAD (PC files).
Then loop at the internal table and call BDC transaction to process the data.
Regards,
Ferry Lianto -
Printing multiple images on single page
Can anyone explain how to print multiple images on the same page such as 4-4x6 photos? Or the same image more than once on a page - similar to the N-up option in iPhoto? Anything new and helpfull for printing in 1.5? Thanks.
No, it isn't what we're looking for.
Let's take the example of a professional portrait photographer (me? ) trying to set up a home-lab with a wide format, roll printer.
I get an order for, say, 2 4x5 of image 1, 2 4x5 of image 2, 4 5x7 of image 3. I have 10" paper loaded in my roll.
What I would want to do is gang the prints onto 3 "units" - the 4 4x5 on one 8"x10" unit, and 2 5x7 on each 7"x10" unit.
Since my clients ordered specific sizes, I need to make sure I get the prints sized exactly right (contact sheet tool doesn't let me do this) and since printing is pricey, I want to make sure to waste as little paper/ink as possible. I also don't want to get stuck doing a lot of trimming.
So, in lightroom, photoshop, imagebuddy, portraits-n-prints etc, I would just ask the app to output the package for me. In Aperture, I'm stuck. I can't use the book tool because it uses a (moronically) fixed page-size. I can't use the contact sheet tool because it doesn't let me specify image size/aspect ratio. I can't use the "standard" print tool because it only prints one image per page.
This is a glaring omission, and a slap in the face to the professionals that Aperture claims to see as its target audience. -
Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print
is this a windows in bootcamp question ?
-
How to print multiple copies of same image (with specific fixed dimensions) on single page
I am using Photoshop Elements 10 on Win 7 PC. I am trying to print multiple copies of one image on a single 8.5x11 sheet of paper? The images are artwork for buttons (to be used in button-making machine) so the dimensions must be exact on the duplicated images. When I select Picture Package, the images are resized to fit the dimensions in the picture package. When I select Contact Sheet, the images are resized to fit the number of columns I selected. Neither is acceptable. How can I repeat the same image on a single piece of paper without having the system re-size the image? I know that I can manually create a new PSE file and manually insert the images into this file. This is what I have been doing as a work-around. But I would hope there is a better/faster way.
Thank-you!A variation of hatstead's method where the pictures are precisely aligned:
1. Add the picture to the blank file as hatstead described. Use the Move tool to position the picture in the upper left corner.
2. Duplicate the layer. Use the arrow keys (NOT the mouse) to move the new layer to the right.
3. Repeat step 2 until the row is filled:
4. Merge Down the 3 layers into one. Alternatively, link the 3 layers and do a Merge Linked as in this example. The end result is the pictures in the row are on one layer:
5. Duplicate the layer and use the arrow keys to move this down to the 2nd row.
6. Repeat step 5 to create additional rows.
7. Finally, to center the whole thing on the sheet, link all the row layers and position with the arrow keys.
Note that you can also custom-make your own Picture Package. Instructions for this should be somewhere in Help. -
How to print multiple mail forms in a single run?
How can multiple, personalized letters be printed out from SAP CRM 7.0?
Business requirement:
When for example entrance tickets for a trade fair are sent to a group
of customers, the accompanying letters are to be printed out of the CRM
system.
In SAP CRM 5.0 this was done by creating a marketing campaign, linking
a target group & assigning a mail form to it.
By selecting the communication medium "Printer" it was possible to
print multiple letters in one run and send these documents by mail (not e-mail).
The quantities of letters that have to be sent are too small to
outsource the job to an external service provider (e.g. a printing house).
In the latest version of SAP CRM the communication medium "Printer" is
however no longer available in marketing campaigns.
Does anyone know how this requirement can be met in SAP CRM 7.0?
Thanks in advance for your reply,Thanks for your reaction.
We considered working this way, but the idea was dropped because the quantities of letters that have to be sent are too large (several hundreds) & also because no follow-up of these activities is needed. -
How to print multiple emails on one page
How do I print multiple emails on a single page?
Thanks, but fumbling around I think I found a better solution.
All of the incoming e-mails have a see more from...." line in blue type at the bottom. When I click on the"See more from…" line it opens up the entire chain of discussion which can then be printed on a single page. Exactly what I've been searching to do.
Maybe you are looking for
-
I cannot find a photo I did a lot of work to create. I have several libraries that look similar but I found at least one photo that was in one and not the others. Can someone tell me if I can merge these libraries, and how, and what to watch for that
-
Smartforms - delete old variables - looking for a real expert
Hi folks, Is there any possibility in Smartforms, that I don't know, with which I can analyse my fom. I want to check which variables aren't needed any more. So that I can delete them and I have a nice and clean form. How I loved my analyse tool in s
-
Best Practice when deploying a single mdb into a cluster
At a high level, we are converting all of our components to Weblogic processes that use Stateless Session Beans and Message Driven Beans. All of the weblogic processes will be clustered, and all of the topic queues will be distributed (Uniform Distri
-
Solution manager for performance monitoring
Hi, We have implemented solution manager in our project.Can anyone tell me how is this useful for performance monitoring and how can we check expensive sql statements using this. It would be helpful if anyone can provide me some documentation on thi
-
Has anyone used timelinejs in an apex app?
I wanted to see if anyone had already done this yet.. http://timeline.knightlab.com/ https://github.com/NUKnightLab/TimelineJS#using-a-method-advanced Seems like it should be easy enough to do.. I just didn't want to reinvent the wheel here.