Cluster script convert commands
In a rolling cluster upgrade, the scripts (in iManager) show up in eDir
If you need to adjust those (in the case of GroupWise), is it okay to simply put the LINUX version in the scripts?
(meaning via iManager)?
Providing of course, you change your failover so it doesn't ever migrate back to NetWare?
That's exactly what I did after I migrated both cluster nodes from Netware.
Similar Messages
-
Error to execute the script through command prompt
I tried to execute the script through command prompt. I got some following error. Could you please advice me how to rectify this.
cscript D:\JS\Test.js
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
D:\JS\Test.js(1, 1) Microsoft JScript runtime error: 'app' is undefined.
Thanks,
PrabudassI haven't use CS for quite some time and file associations may not work with the command prompt.
You can try using Windows Explorer to browse to a .js file then right click on that file. From the popup menu choose Open With. Even if you see Photoshop in the file list choose Browse at the bottom. Browse to Photoshop and make sure to check 'Always use selected program...'
If that doesn't work you will need to create an action that runs your script and make a droplet from that action. You can then use the droplet in the command prompt. You may also need to create a 'dummy' image file to launch the droplet with if you script doesn't require an open document at startup. See http://www.ps-scripts.com/bb/viewtopic.php?t=967 -
Disaster Recovery server for SAP and HACMP Cluster script for SAP ECC 6.0
Hi,
I need document for Disaster Recovery server for SAP? I have to configure the DR Server If you have, please share this document if possible.
Have you any cluster script ( HACMP Cluster script for SAP ECC 6.0 ) ?
Thanks & Regards,Hello, I'm doing a "Plant ECC6 to do a test disatre / Recovery.
During the installation, I would use the same <sidadm> existing as it is in the PRD.
If I tell you to install it during the same <sidadm> it will overwrite what already exists, or do I just enter the password of existing <sidadm>? -
Dos based script or command to backup iphone5
hello,
I am using iTunes 11 and iPhone 5 on window XP. I want to create iPhone 5 backup through iTunes services in my location(not in default location). can you provide any type of dos based script or command.
thanks in advance
Vivek Chauhanhttp://www.iclarified.com/28426/how-to-change-the-location-of-your-itunes-iphone -backups-windows
-
JavaScript for Automation Cannot Use Scripting Addition Commands
Attempting to recreate the example script for Messages called "Speak Events" with the new JavaScript for Automation in Yosemite, I found that it is impossible to use any scripting addition commands. For example:
Messages = Application.currentApplication()
Messages.includeStandardAdditions = true
function messageReceived(m, e) {
Messages.say(m)
I have removed all the other (annoyingly) necessary function overrides for brevity. Similar AppleScript code functions just fine, but this will result in a privilege error because the system wrongly categorizes it as being sent cross-application. Is there any estimate on a bug fix for this?
I've tried everything I can think of to work around this issue, even adding /usr/bin/osascript to the Security & Privacy Accessibility listing ("Allow the apps below to control your computer") which is not possible without editing the SQLite DB.
The documentation included in Script Editor is also woefully inadequate, lacking a readable listing of what exactly is being passed into the handler function. How can I translate an AppleScript line like "received theMessage from theBuddy for theChat with eventDescription" into a reasonable function signature for JavaScript?It is a big SDK and to learn its features requires a lot of reading. But to start with I guess I should start with "Introduction to SDK".
Since you want to control Acrobat from another application you should consider this under "Interapplication communication". You will be using OLE/COM. -
Script Converting into PDF and Sent by Mail -
Hi Experts,
I have faced one problem in Script Converting into PDF format and Sent it thro Mail.
I have used to SX_OBJECT_CONVERT_OTF_PDF FM to convert into PDF format.
and I have used SO_NEW_DOCUMENT_ATT_SEND_API1 FM for sending a Mail.
Now my Problem is, How is use these FM s Correctly. what are the parameters to be passed to send a mail.
Kindly give the Coding for sending a Mail using these above FMs .
With Thanks,
Neptune.Mhi use this...this is good for sending a smartform in pdf format to spool..
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver,
p_sender LIKE somlreci1-receiver,
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
regards,
venkat. -
How does the Convert Command Work Under the Catalogue Manager?
How does the Convert Command Work Under the Catalogue Manager?
My suggestion would be that you download the pdf version of the organizer help file:
http://helpx.adobe.com/pdf/elements-organizer_reference.pdf
Start with page 57 for catalogs.
I am sure you'll have a better understanding of backup/restore and converting when you understand what a catalog is.
Please come back with your questions afterward . -
Terminal & do script with command
Hello,
i am wondering why this applescript snippet:
tell application "Terminal"
activate
do script with command "cd " & quoted form of the_path
end tell
Opens 2 Terminal windows if Terminal is not running while executing the code.
Is there a way to get the command executed in the first window ?
I really dont need to windows if possible.
Best regards
fideli am wondering why this applescript snippet... Opens 2 Terminal windows if Terminal is not running while executing the code.
Because, by default, whenever you tell Terminal.app to do script it opens a new window to execute it in. So you're launching Terminal.app (which opens a new window) and then executing do script which opens another window.
Is there a way to get the command executed in the first window ?
Yes. Tell Terminal.app that's what you want:
tell application "Terminal"
do script "cd " & quoted form of the_path in window 1
end tell
Note, though, that this is prone to problems - for example, if the front window is running a ssh session to another server then you'll execute the cd command on the remote machine, not your local machine. This is why it's often safer for Terminal.app to open new windows. -
Running Oracle Scripts from Command Line
Hi,
How can i run Oracle scripts from command line.
Actually i need to run these scripts from MSBuild before running Unit test projectsC:\>sqlplus @myscript
That would be the easiest variation
C:\>sqlplus user/passwd@tns_alias @myscript
would be an often used variation
And then there is of course the version with parameter passing:
C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
Dunno about MSBuild -
Esdma-converter Command unknown parameter
Dear Sup developers,
We are doing SUP-DOE mbs based application. So first we need to covert the esdma before deploying to doe-c. But the parameters(dname,dnum) for the esdma-converter Command. We are not able understand.
Syntax:
esdma-converter esdma-bundle-dir [-afx afx_file]
[-dsd output_file] [-esdma bundle_metadata_file]
[-dname domain_name] [-dnum domain_number] [-help]
u2022 -dname u2013 the Sybase Unwired Platform domain name.
u2022 -dnum u2013 the Sybase Unwired Platform domain number.
So could you please tell me from where can I get the domain name and domain number of the sup server
Thanks and regards,
Lakshman Balanagu
Edited by: lakshman balanagu on Sep 16, 2011 4:24 PMDear Sup developers,
We are doing SUP-DOE mbs based application. So first we need to covert the esdma before deploying to doe-c. But the parameters(dname,dnum) for the esdma-converter Command. We are not able understand.
Syntax:
esdma-converter esdma-bundle-dir [-afx afx_file]
[-dsd output_file] [-esdma bundle_metadata_file]
[-dname domain_name] [-dnum domain_number] [-help]
u2022 -dname u2013 the Sybase Unwired Platform domain name.
u2022 -dnum u2013 the Sybase Unwired Platform domain number.
So could you please tell me from where can I get the domain name and domain number of the sup server
Thanks and regards,
Lakshman Balanagu
Edited by: lakshman balanagu on Sep 16, 2011 4:24 PM -
we use a bat to failover cluster...
cluster.exe clustername group
pause
cluster.exe clustername group "MSDTC" /move
pause
cluster.exe clustername group "cluster group" /move
pause
cluster.exe clustername group "SQLSERVER" /move
This was with 2008r2..... I guess in Microsoft 2012r2 they want you to use powershell.. Can I make this into powershell script?Thanks again Steve and Mike. Those videos should be very helpful in the future... Obviously this was an easy thing once I knew you could do a powershell as ps1..... For my issue it was....
Get-cluster clustername
pause
Move-ClusterGroup "MSDTC"
pause
Move-ClusterGroup "cluster group"
pause
Move-ClusterGroup
"SQL SERVER (MSSQLSERVER)"
Save as .ps1 and we are off to the races... Also this was a very helpful page to go from command to pwrshell.
https://technet.microsoft.com/en-us/library/ee619744(v=ws.10).aspx
As it was a very easy page to follow along. Thanks again...
Actually after playing around with this for a while, I think taking the first line out and replacing with
Get-ClusterGroup works nice because it will show you step by step with your pauses where the resources resides... I also added in
Move-ClusterGroup "available storage"
I am really liking this powershell..... -
Get input from user and create a file and run a script in command line.
Hi all,
i'm trying to get a input from user and write it into a file named alpe.jacl
To get multiple userinputs like address and jobtitle etc etc in the same single window.
and the code will save the inputs in alpe.jacl one by one in a new line like
nameis name
address russia
jobtitle dev
So i coded like below.
Though GUI for user input looks dull Its working fine.
Now I want this code to perform one more task which is the GUI will contain one more button INSTALL with OK and CALCEL .
and when after putting all inputs and creating the alpe.jacl file if someone clicks INSTALL it should start ./install.sh script present at the same folder which contains some unix shell commands.
Here am not able to figure out how to go further...
One more thing after all the inputs given when I am clicking on the OK button its closing the window instantly which i dont want. I want it like it should wait till someone press CANCEL to exit.
Please some one help me.
import javax.swing.*;
import java.io.*;
public class file
public static void main(String []args)throws IOException
FileWriter ryt=new FileWriter("alpe.jacl");
BufferedWriter out=new BufferedWriter(ryt);
JTextField wsName = new JTextField();
JTextField sName = new JTextField();
JTextField cName = new JTextField();
Object[] message = { "Web Server Name:", wsName,"Server Name:", sName,"Cluster Name:", cName};
int answer = JOptionPane.showConfirmDialog( null, message, "Enter values", JOptionPane.OK_CANCEL_OPTION);
if (answer == JOptionPane.OK_OPTION){ String webserver = wsName.getText();
String server = sName.getText();
String cluster = cName.getText();
out.write("set webservername " +wsName.getText()+"\n");
out.write("set ClusterName " +cName.getText()+"\n");
out.write("set ServerName " +sName.getText()+"\n");
out.close();
}}Thanks,
RickyThanks a lot.
Is there any way through which i can assign a scroll bar to my panel.
As when the number of user inputs grows the GUI becomes more bulky and some of the fields are not showing up.
Cheers
_Ricky -
SAP Script : Control Commands for printing Label (barcode) by Zebra Printer
Hello,
I would like to know the control commands in sap script for Zebra Printer. The purpose of task is to print a field in barcode format in Right Bottom of the label.
The sample code is placed below. Kindly have a look at it. The problem now i am facing is, the barcode for Customer PO is printing on the wrong place (Left Bottom, the text & barcode are overwriting). Can anyone suggest a possible way or can any one send the document for Barcode commands in SAP Script for Zebra Printer.
Sample script code:
Initialization and reset Barcode
XAMCY^XZ
Start
^XA
Barcode setup
^BY3,2.7,2.2
Set label home position
^LH
^FWN
FO385,025A0R,40,50FDPN: &VBAP-MATNR&FS
FO385,725A0R,40,50FD&VBAP-ARKTX&FS
FO385,1710A0R,40,50FDRtns: &zsntsc-contr&FS
FO345,025A0R,40,50FDService Order# &AUFK-AUFNR&FS
FO345,725A0R,40,50FDSerial# &EQUI-SERNR&FS
FO345,1710A0R,40,50FDRepair Order# &VBAP-VBELN&FS
FO245,025B3R,N,90,N,NFD&AUFK-AUFNR&FS
FO245,725B3R,N,90,N,NFD&EQUI-SERNR&FS
FO245,1710B3R,N,90,N,NFD&VBAP-VBELN&FS
FO138,1710A0R,40,35FDCustomer PO# &VBKD-BSTKD&FS
FO98,025A0R,40,50FDWrnty: &W_WARRANTY&FS
FO98,605A0R,40,50FDRoute: &W_ROUTE&FS
FO58,025A0R,40,35FDShip-to-name: &W_NAME1&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO58,1325A0R,40,35FDMinor Group/Nr: &TVM5T-BEZEI&FS
FO18,885A0R,40,35FDReported By: &QMEL-QMNAM&FS
FO18,1710B3R,N,90,N,NFD&VBKD-BSTKD&FS
^XZ
Thanks in Advance,
RamasamyHI
GOOD
GO THROUGH THIS
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
Not to fear though, there are two ways to get around this:
- You can have your IT department do some research -
most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
- Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
- Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
Now you have a barcode printed - what next?
Well there are two options, depending on your business requirements:
- You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
- Another solution is to use SAPConsole transactions
or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
GO THROUGH THESE LINKS
http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
THANKS
MRUTYUN -
Running Shell script from command line
Hi,
I am getting a Exception in thread "main" java.lang.NoClassDefFoundError: TestRuntime/java error when I run the following code on my linnux box...can anyone please help
import java.io.*;
public class TestRuntime {
public static void main(String args[]) {
Runtime runtime = Runtime.getRuntime(); //get runtime information
try {
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.flush();
try {
Child.waitFor(); // wait for command to complete
} catch (InterruptedException e) { // handle waitFor failure
System.out.println("ERROR: waitFor failure");
System.exit(10); // exit application with exit code 10
} catch (IOException e) { // handle exec failure
System.out.println("ERROR: exec failure" + e);
System.exit(11); // exit application with exit code 11
}If I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
Your code:
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.flush();I think you need to enter one extra line before the flush():
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.newLine(); // hit ENTER
outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call. -
Graphic looks like chips when SCRIPT convert to PDF by E-MAIL
Hi, Experts,
I have met a difficult problem in my program.
As required, i draw a SCRIPT form , and convert it to PDF, then send by mail . There is a graphic in my form, and I create the graphic using program RSTXLDMC (first save the picture as a TIFF document and then get the graphic, ), and write
INCLUDE ZHEX-MACRO-BMON OBJECT TEXT ID ST LANGUAGE EN
in the script form.
And my problem is that, if I choose PRINT PREVIEW , the graphic looks great, the same as the picture it was. But if I choose E-MAIL,
and then i open the PDF in my m ail, the graphic looks like chips and totally I couldn't identify the picture.
Anyone who has met the same problem? Please help me.
Thanks a lot.
Sincerely Julie
Edited by: julie 2192 on Sep 3, 2009 4:18 PMAND when I run SE78 , and import a TIFF document
use
INCLUDE Z_IBM_ZGBT OBJECT GRAPHICS ID BMON LANGUAGE EN
the same error again.
Anyone could help me?
Thanks a lot.
Sincerely
Julie
Maybe you are looking for
-
Firefox is eating up memory, running at about 650Mb
Anybody got any ideas about how to stop this? its making the use of mission control and other apps very slow.
-
Sharing projects in a non-SAN environment...
Hello, Does anyone know if there would be any advantage to exporting projects or sequences as XML files to pass between edit bays for project sharing? Are there any disadvantages? I had heard that XML imports might hang if there are many 3D Titles in
-
Hello guys, i just bought new Macbook pro with Deutch language, in the same day apple make OS X Mavericks availabe for download, i downloaded it on my other mac then i burn it to Flash memory then i went to my new Macbook pro and put the flash memeor
-
Moving objects in flowed subform
Hi, I've got a dynamic table (adding and removing rows) within a subform. When I set the subform to flowed, the arrangement of the objects is moved somewhere on the page and the page break works but I can't move the objects anywhere else... Any Help?
-
Switched website servers, now DW won't make changes "live"
Last week, our IT person switched our website's host. She moved our organization's website from eCommerce to eHosting. Ever since then, whenever I make changes on Dreamweaver and drag them over to make them "live," the changes do not appear online. I