Translate PO Output form into chainese
Hi Experts,
How to translate the existing custom smart form into chainese language, the output will be print in chainese language.
So please help me in this.
Thanks in Advance,
Gs Reddy.
Moderator Message: Basic Question.
Edited by: kishan P on Dec 29, 2010 1:45 PM
Go to tranx SE63:
--> Translation
> Abap objects
>Other long texts
> FS Forms and Styles
>SSF SAP Smart Form
Then fill in form name , source language = EN, target language = chainese
Similar Messages
-
How to down load the output of smart form into .XLS(spreadsheet) File.
Hi All,
We have one requirement like we need to down load the output of smart form into .XLS(spreadsheet) File.
This output is related to Shipment(VT03N) in the output we are not displaying the any logo.
Just we are displaying the address and item detail.
Anyone tell me, If possible please let me know how can solve that problem.
Thanks and regards,
Amjad Hussain,Hi Mohammed,
Absolutly you can download output from smartforms to excel.
After execution of your Smartforms in that layout Menu bar Do below navigation.
GoTo => ListDisplay after that
System => List
=> Save
=> Local File
=> Spread Sheet.
if helpful REWARD points
Thank you .
Regards
Ramana -
ALV output converted into PDF format and send that PDF to user through mail
Hi Experts,
I have report earlier its output was in alv grid.
Now i want that ALV output converted into PDF format.And that PDF output send to user through mail.
Can u please tell how to do?
My code is here(output is displaying in ALV grid).
INCLUDE <icon>.
TYPE-POOLS: slis, kkblo.
TABLES : zmsd_freight_hdr, zmsd_freight_det, zmsd_blinfo, zmsd_diheader.
TABLES : lfa1.
DATA : t_hdr LIKE zmsd_freight_hdr OCCURS 0 WITH HEADER LINE,
T_DET LIKE ZMSD_FREIGHT_DET OCCURS 0 WITH HEADER LINE,
t_bl LIKE zmsd_blinfo OCCURS 0 WITH HEADER LINE,
t_di LIKE zmsd_diheader OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF t_det OCCURS 0.
INCLUDE STRUCTURE zmsd_freight_det.
DATA type(30).
DATA: END OF t_det.
DATA: v_target2(30),
v_zsammg LIKE t_det-zsammg,
v_gsttotal LIKE t_det-zamount.
DATA : BEGIN OF t_data OCCURS 0,
zsammg LIKE zmsd_freight_hdr-zsammg,
zdidbl LIKE zmsd_freight_hdr-zdidbl,
zvkorg LIKE zmsd_freight_hdr-zvkorg,
zinvno LIKE zmsd_freight_hdr-zinvno,
zttlamt LIKE zmsd_freight_hdr-zttlamt,
zstatus LIKE zmsd_freight_hdr-zstatus,
ztype LIKE zmsd_freight_hdr-ztype,
zconfirm LIKE zmsd_freight_hdr-zconfirm,
zconfirmdate LIKE zmsd_freight_hdr-zconfirmdate,
erdat LIKE zmsd_freight_hdr-erdat,
ernam LIKE zmsd_freight_hdr-ernam,
erzet LIKE zmsd_freight_hdr-erzet,
aedat(10),
aenam LIKE zmsd_freight_hdr-aenam,
aezet LIKE zmsd_freight_hdr-aezet,
zline LIKE zmsd_freight_det-zline,
zfptype LIKE zmsd_freight_det-zfptype,
zchrcode LIKE zmsd_freight_det-zchrcode,
zcurcode LIKE zmsd_freight_det-zcurcode,
zqty LIKE zmsd_freight_det-zqty,
zuom LIKE zmsd_freight_det-zuom,
zrate LIKE zmsd_freight_det-zrate,
zamount LIKE zmsd_freight_det-zamount,
zexrate LIKE zmsd_freight_det-zexrate,
zccode LIKE zmsd_blinfo-zccode, "MADK991565
zccode like ZMSD_FREIGHT_HDR-zfcode, "MADK991565
zbldate(10),
zbl LIKE zmsd_blinfo-zbl,
type(3),
waerk LIKE zmsd_freight_det-zcurcode,
zamountl LIKE zmsd_freight_det-zamount,
END OF t_data.
DATA : w_layout TYPE slis_layout_alv,
w_catalog TYPE slis_fieldcat_alv,
t_catalog TYPE slis_t_fieldcat_alv,
w_sort TYPE slis_sortinfo_alv,
t_sort TYPE slis_t_sortinfo_alv.
DATA V_ZINVNO like T_HDR-ZINVNO. "MADK991565
DATA : v_count TYPE i.
SELECTION-SCREEN BEGIN OF BLOCK a0 WITH FRAME TITLE text-001.
PARAMETERS : p_zvkorg LIKE zmsd_freight_hdr-zvkorg OBLIGATORY .
SELECT-OPTIONS : s_zdidbl FOR zmsd_freight_hdr-zdidbl ,
s_zccode FOR lfa1-lifnr ,
s_status FOR zmsd_freight_hdr-zstatus ,
s_ztype FOR zmsd_freight_hdr-ztype ,
s_erdat FOR zmsd_freight_hdr-erdat ,
s_ernam FOR zmsd_freight_hdr-ernam ,
s_zconfd FOR zmsd_freight_hdr-zconfirmdate .
PARAMETERS : p_zconf AS CHECKBOX .
SELECTION-SCREEN END OF BLOCK a0.
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-002.
PARAMETERS : p_hdr RADIOBUTTON GROUP rad DEFAULT 'X' ,
p_det RADIOBUTTON GROUP rad .
SELECTION-SCREEN END OF BLOCK a1.
INITIALIZATION.
AT SELECTION-SCREEN.
START-OF-SELECTION.
PERFORM get_data.
PERFORM process.
PERFORM display.
END-OF-SELECTION.
PERFORM fm_get_num_pages.
AT USER-COMMAND.
AT LINE-SELECTION.
TOP-OF-PAGE.
PERFORM fm_top_of_page USING '7010' sy-title space.
FORM get_data.
SELECT *
FROM zmsd_freight_hdr
INTO TABLE t_hdr
WHERE zvkorg EQ p_zvkorg
AND zdidbl IN s_zdidbl
AND zstatus IN s_status
AND ztype IN s_ztype
AND erdat IN s_erdat
AND ernam IN s_ernam
AND zconfirmdate IN s_zconfd
AND ZFCODE IN S_ZCCODE. "MADK991565
IF p_zconf = 'X'.
DELETE t_hdr WHERE zconfirm NE 'C'.
ENDIF.
CHECK NOT t_hdr[] IS INITIAL.
SELECT *
FROM zmsd_blinfo
INTO TABLE t_bl
FOR ALL ENTRIES IN t_hdr
WHERE zsammg = t_hdr-zsammg.
SORT t_bl BY zsammg.
SELECT *
FROM zmsd_diheader
INTO TABLE t_di
FOR ALL ENTRIES IN t_hdr
WHERE zsammg = t_hdr-zsammg.
SORT t_di BY zsammg.
IF P_DET = 'X'. "MADK933361
SELECT *
FROM zmsd_freight_det
INTO TABLE t_det
FOR ALL ENTRIES IN t_hdr
WHERE zsammg = t_hdr-zsammg
AND ZINVNO = T_HDR-ZINVNO . "MADK991565
SORT t_det BY zsammg zline. "MADK991565
SORT T_DET BY ZSAMMG ZINVNO ZLINE. "MADK991565
ENDIF. "MADK933361
ENDFORM.
FORM process.
REFRESH t_data.
CLEAR v_gsttotal. "MADK933361
LOOP AT t_hdr.
Start of MADK933361
CLEAR: v_target2.
v_zsammg = t_hdr-zsammg.
V_ZINVNO = T_HDR-ZINVNO. "MADK991565
AT NEW zsammg. "MADK991565
AT NEW ZINVNO. "MADK991565
PERFORM get_gst_value.
ENDAT.
End of MADK933361
PERFORM move_header.
CHECK t_data-zccode IN s_zccode.
IF p_det = 'X'.
CSF Project Changes Starts DEV34 MADK985782
LOOP AT T_DET WHERE ZSAMMG = T_HDR-ZSAMMG..
LOOP AT t_det WHERE zsammg = t_hdr-zsammg AND
zinvno = t_hdr-zinvno.
CSF Project Changes Ends DEV34 MADK985782
PERFORM move_header.
CHECK t_data-zccode IN s_zccode.
MOVE-CORRESPONDING t_det TO t_data.
t_data-zamountl = t_data-zamount * t_data-zexrate.
APPEND t_data.
CLEAR t_data.
ENDLOOP.
ELSE.
APPEND t_data.
CLEAR t_data.
ENDIF.
AT END OF zsammg.
CLEAR v_gsttotal.
ENDAT.
*Start of changes for IS090901289-PIA MADK991565
AT END OF ZINVNO.
CLEAR V_GSTTOTAL.
ENDAT.
*End of changes for IS090901289-PIA MADK991565
ENDLOOP.
ENDFORM.
FORM move_header.
MOVE-CORRESPONDING t_hdr TO t_data.
t_data-zttlamt = t_data-zttlamt + v_gsttotal. "MADK933361
t_data-waerk = 'SGD'.
IF NOT t_hdr-aedat IS INITIAL.
WRITE: t_hdr-aedat TO t_data-aedat.
ELSE.
CLEAR : t_data-aedat.
ENDIF.
READ TABLE t_bl WITH KEY zsammg = t_hdr-zsammg BINARY SEARCH.
IF sy-subrc EQ 0.
t_data-zccode = t_bl-zccode. "MADK991565
T_DATA-ZCCODE = T_HDR-ZFCODE. "MADK991565
IF NOT t_bl-zbldate IS INITIAL.
WRITE: t_bl-zbldate TO t_data-zbldate.
ENDIF.
t_data-zbl = t_bl-zbl.
t_data-type = 'DBL'.
ELSE.
READ TABLE t_di WITH KEY zsammg = t_hdr-zsammg BINARY SEARCH.
IF sy-subrc EQ 0.
t_data-zccode = t_di-zdiforcode. "MADK991565
T_DATA-ZCCODE = T_HDR-ZFCODE. "MADK991565
t_data-type = 'DI'.
ENDIF.
ENDIF.
ENDFORM.
FORM display.
IF t_data[] IS INITIAL.
MESSAGE s398(00) WITH 'No Data Selected'.
EXIT.
ENDIF.
DATA : l_repid LIKE sy-repid.
l_repid = sy-repid.
REFRESH t_catalog.
CLEAR t_catalog.
w_layout-cell_merge = 'X'.
PERFORM map_fields.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_repid
i_callback_user_command = 'ALV_USER_COMMAND'
is_layout = w_layout
it_fieldcat = t_catalog[]
i_grid_title = sy-title
i_save = 'A'
it_sort = t_sort[]
TABLES
t_outtab = t_data
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDFORM.
FORM map_fields.
Sort Order
CLEAR v_count.
PERFORM sf USING 'ZDIDBL' 'X' 'X'.
Fields to be displayed
CLEAR v_count.
IF p_hdr = 'X'.
PERFORM af USING :
DESCRIPTION FIELD LEN RTABLE RFIELD
'DI/DBL ' 'ZDIDBL' '14' ' ' ' ',
'Type ' 'TYPE' '04' ' ' ' ',
'Forwarder Code ' 'ZCCODE' '14' ' ' ' ',
'BL Number ' 'ZBL' '14' ' ' ' ',
'BL Date ' 'ZBLDATE' '10' ' ' ' ',
'Invoice Number ' 'ZINVNO' '15' ' ' ' ',
'Extraction ' 'ZSTATUS' '05' 'ZMSD_FREIGHT_HDR' 'ZSTATUS ',
'Freight Type ' 'ZTYPE' '05' 'ZMSD_FREIGHT_HDR' 'ZTYPE ',
'Confirmation ' 'ZCONFIRM' '05' 'ZMSD_FREIGHT_HDR' 'ZCONFIRM',
'Confirm Date ' 'ZCONFIRMDATE' '10' 'ZMSD_FREIGHT_HDR'
'ZCONFIRMDATE',
'Total Amount ' 'ZTTLAMT' '18' ' ' ' ',
'Created On ' 'ERDAT' '10' ' ' ' ',
'Created By ' 'ERNAM' '10' ' ' ' ',
'Changed On ' 'AEDAT' '10' ' ' ' ',
'Changed By ' 'AENAM' '10' ' ' ' '.
ELSE.
PERFORM af USING :
DESCRIPTION FIELD LEN RTABLE RFIELD
'DI/DBL ' 'ZDIDBL' '14' ' ' ' ',
'Type ' 'TYPE' '04' ' ' ' ',
'Forwarder Code ' 'ZCCODE' '14' ' ' ' ',
'BL Number ' 'ZBL' '14' ' ' ' ',
'BL Date ' 'ZBLDATE' '10' ' ' ' ',
'Invoice Number ' 'ZINVNO' '15' ' ' ' ',
'Extraction ' 'ZSTATUS' '05' 'ZMSD_FREIGHT_HDR' 'ZSTATUS ',
'Freight Type ' 'ZTYPE' '05' 'ZMSD_FREIGHT_HDR' 'ZTYPE ',
'Confirmation ' 'ZCONFIRM' '05' 'ZMSD_FREIGHT_HDR' 'ZCONFIRM',
'Confirm Date ' 'ZCONFIRMDATE' '10' 'ZMSD_FREIGHT_HDR'
'ZCONFIRMDATE',
'Total Amount ' 'ZTTLAMT' '18' ' ' ' ',
'Freight Payment ' 'ZFPTYPE' '14' ' ' ' ',
'Charge Code ' 'ZCHRCODE' '10' ' ' ' ',
'Currency ' 'ZCURCODE' '08' ' ' ' ',
'Quantity ' 'ZQTY' '13' ' ' ' ',
'UoM ' 'ZUOM' '04' ' ' ' ',
'Rate ' 'ZRATE' '15' ' ' ' ',
'Amt(Foreign Curr)' 'ZAMOUNT' '16' ' ' ' ',
'Exchange Rate ' 'ZEXRATE' '13' ' ' ' ',
'Amt(Local Curr) ' 'ZAMOUNTL' '16' ' ' ' ',
'Created On ' 'ERDAT' '10' ' ' ' ',
'Created By ' 'ERNAM' '10' ' ' ' ',
'Changed On ' 'AEDAT' '10' ' ' ' ',
'Changed By ' 'AENAM' '10' ' ' ' '.
ENDIF.
ENDFORM.
FORM af USING text
field
len
table
reffield.
v_count = v_count + 1.
w_catalog-col_pos = v_count.
w_catalog-fieldname = field.
w_catalog-ref_tabname = table.
w_catalog-ref_fieldname = reffield.
w_catalog-seltext_s = text.
w_catalog-seltext_m = text.
w_catalog-seltext_l = text.
w_catalog-outputlen = len.
IF field = 'ZTTLAMT' OR field = 'ZAMOUNTL'.
w_catalog-no_zero = 'X'.
w_catalog-cfieldname = 'WAERK'.
w_catalog-datatype = 'CURR'.
ENDIF.
IF FIELD = 'ZRATE' OR FIELD = 'ZAMOUNT'.
IF field = 'ZAMOUNT'.
w_catalog-no_zero = 'X'.
w_catalog-cfieldname = 'ZCURCODE'.
w_catalog-datatype = 'CURR'.
ENDIF.
IF field = 'ZQTY' OR field = 'ZRATE'.
w_catalog-no_zero = 'X'.
w_catalog-datatype = 'DEC'.
ENDIF.
APPEND w_catalog TO t_catalog.
CLEAR w_catalog.
ENDFORM.
FORM sf USING fieldname sortup group.
v_count = v_count + 1.
CLEAR w_sort.
w_sort-fieldname = fieldname.
w_sort-spos = v_count.
w_sort-up = sortup.
w_sort-group = group.
APPEND w_sort TO t_sort.
ENDFORM.
FORM alv_user_command USING in_ucomm LIKE sy-ucomm
in_selfield TYPE slis_selfield.
DATA: lfs_data LIKE t_data.
IF in_ucomm = '&IC1'.
READ TABLE t_data INDEX in_selfield-tabindex INTO lfs_data.
CHECK NOT lfs_data-zdidbl IS INITIAL.
IF lfs_data-type = 'DBL'.
DATA: l_zdbl LIKE zmsd_diheader-zdinum.
l_zdbl = in_selfield-value.
EXPORT l_zdbl TO MEMORY ID 'VBL'.
CALL TRANSACTION 'ZMSD_BL01'.
ENDIF.
IF lfs_data-type = 'DI'.
DATA: v_dinum LIKE zmsd_diheader-zdinum.
v_dinum = in_selfield-value.
EXPORT v_dinum TO MEMORY ID 'VDI'.
CALL TRANSACTION 'ZMSD_DI01'.
ENDIF.
ENDIF.
ENDFORM.
FORM get_gst_value.
LOOP AT t_det WHERE zsammg = v_zsammg
AND ZINVNO = V_ZINVNO. "MADK991565
CHECK t_data-zccode IN s_zccode.
t_det-zamount = t_det-zamount * t_det-zexrate.
SELECT SINGLE y0mmtarget2
INTO v_target2
FROM y0mmipstranslate
WHERE y0mmdatatype = '70' AND
y0mmsource = t_det-zchrcode.
SELECT SINGLE y0mmtarget1
INTO t_det-type
FROM y0mmipstranslate
WHERE y0mmdatatype = '76' AND
y0mmsource = v_target2.
IF t_det-type NE '3Z'.
v_gsttotal = v_gsttotal +
( t_det-zamount * 5 / 100 ).
ENDIF.
ENDLOOP.
Regards,
Raj.Hello,
Following is the procedure to convert alv output to spool and then it to PDF Format.
After we display the ALV, we can check whether it is running in the background using system field u2018sy-batchu2018. Then,we call an function module named u2018GET_JOB_RUNTIME_INFOu2019 to get the current job information. Then go to spool request table tbtcp to get the spool id.
Get current job details
CALL FUNCTION u2018GET_JOB_RUNTIME_INFOu2019
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.
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> u20180000000000u2032
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
Finally, we can call function module u2018CONVERT_ABAPSPOOLJOB_2_PDFu2018 to convert spool reqeust(which is stored in OTF format) to PDF format. Then we can call either function module u2018SO_DOCUMENT_SEND_API1u2032 or SAP BCS (Business Communication Service) to send the pdf as an email attachment.
CALL FUNCTION u2018CONVERT_ABAPSPOOLJOB_2_PDFu2019
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.
Regards,
Sayali
Edited by: Sayali Paradkar on Apr 20, 2010 12:51 PM -
Error while previewing BI Publisher Report Output form Desktop
Hi,
i am getting below error while previewing Report Output form Desktop:
javaw -Xmx256M -jar "C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\jlib\RTF2PDFv2.jar" "C:\Users\mahlawat\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tb_param.xml"
File not found.
Please suggest
Regards,
MeetuHi ,
are u able to login into the bipublisher...check once..
http://10.81.200.102:7777/xmlpserver
generaly while connection to the desktop we will give the url at the bottom.
the vpn is connected or not..
Thanks,
Ananth -
How to use PO message type to output 'Form' as PDF file
Dear experts,
I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
Any one familiar to this topic, please kindly give me some guide, thank you!
Regards,
JoyceHi,
Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea. Using this program you can convert spool into PDF file.
-Alpesh -
How to restrict Order types KA and AB in script output form
How to restrict KA AND AB order types in script output data is coming from bkpf-blart .
program is rfkord10.
and form is f140_acc_stat_1
in script output i dont want to display KA AND AB order types ..
data is coming from standard report.
i copied form into zform.
in output it is displaing all order types ..
is there any solution to restrict above order types.Hi
Check the data structures used in the script
Since it is account statement of customer it uses the Tables BSID and BSAD in which the field BLART field is there whose values are KA and AB
check for the structures which are used in the script and in them search for the field BLART in Se11 and accordingly keep the condition
It will work
Regards
Anji -
Translation of Iris script into Darwin
Hi,
I am trying to install a utility called EGS_Windows in Darwin and it comes with an installation script for the old Iris system. This utility is normally installed in Linux, and I have the linux installer script as well. Anyhowm I try to run the script by:
make -f Makefile.iris
or
make -f Makefile.Linux
Both of these return a long error message that I have attached to see if any can give me any word of advice on how do I start translating the iris script into something Darwin can understand in order to install the utility.
Thanks a lot
macarabe
PS:
_Here is the MAKEFILE.IRIS script_:
# This is /usr/people/egsnrc/EGS_Windows/RCS/Makefile.iris,v
# Revision 1.1 last edited 2001-02-02 15:14:51-05
# Last changed by bwalters and currently locked by
# Makefile for EGS graphics software.
# See the Makefile for Linux for a description of the variables
CC= cc
F77= f77
INCLUDES= -I./ -I/usr/include/GL -I/usr/local/include
LIBS= -lforms -lglut -lGL -lGLU -lXmu -lXext -lX11 -lm -ltiff
LDFLAGS= -L/usr/local/lib -L/usr/lib
EGSSOURCE= egs_main.c \
palette.c \
egs_input.c \
egs_graphics.c \
egs_labels.c \
egs_printer.c \
egs_history.c \
egs_prefs.c \
egs_prefacts.c
EGSOBJS= \
egs_main.o \
egs_graphics.o \
palette.o \
egs_input.o \
egs_labels.o \
egs_printer.o \
egs_history.o \
egs_prefs.o \
egs_prefacts.o
TARFILES= \
*.c examples *.h *.f \
*.help *.map Makefile README Announcement CHANGES
EGSWindows4.0.sgi.exe: $(EGSOBJS)
$(F77) $(EGSOBJS) ${INCLUDES} ${LDFLAGS} ${LIBS} -g -o EGSWindows4.0.iris.exe
egs_main.o: egs_main.c egs_guis.c egs_prefs.h
${CC} egs_main.c $(CFLAGS) $(INCLUDES) -g -c -o egs_main.o
palette.o: palette.c
${CC} palette.c $(CFLAGS) $(INCLUDES) -g -c -o palette.o
egs_graphics.o: egs_graphics.c egs_guis.c egsgfxglobals.h
$(CC) egs_graphics.c $(CFLAGS) $(INCLUDES) -DMACHINETYPE=sgi -g -c -o egs_graphics.o
egs_labels.o: egs_labels.c egs_guis.c egs_guis.h
$(CC) egs_labels.c $(CFLAGS) $(INCLUDES) -g -c -o egs_labels.o
egs_printer.o: egs_printer.c egs_guis.c egs_guis.h
$(CC) egs_printer.c $(CFLAGS) $(INCLUDES) -g -c -o egs_printer.o
egs_history.o: egs_history.c egs_guis.c egsgfxglobals.h
$(CC) egs_history.c $(CFLAGS) $(INCLUDES) -g -c -o egs_history.o
egs_prefs.o: egs_prefs.c egs_prefs.h
$(CC) egs_prefs.c $(CFLAGS) $(INCLUDES) -g -c -o egs_prefs.o
egs_prefacts.o: egs_prefacts.c egs_prefs.h egsgfxglobals.h
$(CC) egs_prefacts.c $(CFLAGS) $(INCLUDES) -g -c -o egs_prefacts.o
egs_input.o: egs_input.c
$(CC) egs_input.c $(CFLAGS) $(INCLUDES) -g -c -o egs_input.o
clean:
touch $(EGSSOURCE)
rm *.o
tarfile:
tar -cvf EGSWindows4.0.tar $(TARFILES)
gzip *.tar
_And here is the MAKEFILE.LINUX script_:
# This is /usr/people/egsnrc/EGS_Windows/RCS/Makefile.Linux,v
# Revision 1.3 last edited 2002-12-29 08:12:45-05
# Last changed by dave and currently locked by
# Makefile for EGS graphics software.
# Change the cc, g77 to what you use to compile C and FORTRAN.
CC= cc
F77= g77
# The following lines tell us where to find the vaious include files
# needed by the code. Specifically EGS_Windows needs to know where to
# find the files
# 1) egs_guis.h, egs_prefs.h, egsgfxglobals.h, banner.xbm,
# canflag.xpm, which are in ./
# 2) math.h, stdio.h, stdlib.h, string.h, X11/StringDefs.h,
# X11/keysym.h, X11/cursorfont.h, X11/extensions/XShm.h, X11/Xlib.h,
# which at NRC are in /usr/include
# 3) gl.h, glx.h, glu.h, glut.h, which at NRC are in /usr/local/include/GL
# 4) forms.h, tiffio.h which at NRC are in /usr/local/include. The make
# utility has this path on its default directory search so it needn't be
# specified.
INCLUDES= -I./ -I/usr/include -I/usr/X11R6/include -I/usr/include/GL -I/usr/X11R6/include/X11
# The following are the libraries that EGS_Windows requires to link in
# at the final compilation stage.
LIBS= -lforms -lglut -lGL -lGLU -lXmu -lXext -lX11 -lm -ltiff
#in one installation, one needed to add -lXi to the above(Henning Kiel)
# The following are the directory search paths of the above listed
# libraries. All of the above libraries can be found in these
# directories at NRC; they should be changed or added to depending on
# where they live on your directory tree.
LDFLAGS= -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
EGSSOURCE= egs_main.c \
palette.c \
egs_input.c \
egs_graphics.c \
egs_labels.c \
egs_printer.c \
egs_history.c \
egs_prefs.c \
egs_prefacts.c
EGSOBJS= \
egs_main.o \
egs_graphics.o \
palette.o \
egs_input.o \
egs_labels.o \
egs_printer.o \
egs_history.o \
egs_prefs.o \
egs_prefacts.o
TARFILES= \
*.c examples *.h *.f \
*.help *.map Makefile README Announcement CHANGES
EGSWindows4.0.Linux.exe: $(EGSOBJS)
$(F77) $(EGSOBJS) ${INCLUDES} ${LDFLAGS} ${LIBS} -g -gldebug -o EGSWindows4.0.Linux.exe
egs_main.o: egs_main.c egs_guis.c egs_prefs.h
${CC} egs_main.c $(CFLAGS) $(INCLUDES) -g -c -o egs_main.o
palette.o: palette.c
${CC} palette.c $(CFLAGS) $(INCLUDES) -g -c -o palette.o
egs_graphics.o: egs_graphics.c egs_guis.c egsgfxglobals.h
$(CC) egs_graphics.c $(CFLAGS) $(INCLUDES) -DMACHINETYPE=linux -g -c -o egs_graphics.o
egs_labels.o: egs_labels.c egs_guis.c egs_guis.h
$(CC) egs_labels.c $(CFLAGS) $(INCLUDES) -g -c -o egs_labels.o
egs_printer.o: egs_printer.c egs_guis.c egs_guis.h
$(CC) egs_printer.c $(CFLAGS) $(INCLUDES) -g -c -o egs_printer.o
egs_history.o: egs_history.c egs_guis.c egsgfxglobals.h
$(CC) egs_history.c $(CFLAGS) $(INCLUDES) -g -c -o egs_history.o
egs_prefs.o: egs_prefs.c egs_prefs.h
$(CC) egs_prefs.c $(CFLAGS) $(INCLUDES) -g -c -o egs_prefs.o
egs_prefacts.o: egs_prefacts.c egs_prefs.h egsgfxglobals.h
$(CC) egs_prefacts.c $(CFLAGS) $(INCLUDES) -g -c -o egs_prefacts.o
egs_input.o: egs_input.c
$(CC) egs_input.c $(CFLAGS) $(INCLUDES) -g -c -o egs_input.o
clean:
touch $(EGSSOURCE)
rm *.o
tarfile:
tar -cvf EGSWindows4.0.tar $(TARFILES)
gzip *.tarmacarabe wrote:
Both of these return a long error message that I have attached to see if any can give me any word of advice on how do I start translating the iris script into something Darwin can understand in order to install the utility.
You didn't include the error message. Porting a makefile from Linux shouldn't be too difficult. The only unusual thing I see is FORTRAN. You'll probably need a FORTRAN compiler to proceed. -
How to programatically convert XDP form into Dynamic PDF form
Hi,
Is there a way to programatically convert XDP form into Dynamic PDF form using LiveCycle Service APIs?
Thanks,
lcfunTake a look at http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.html and the API Quick Starts > Output Service API Quick Starts.
Quick Start (EJB mode): Creating a PDF document based on an application XDP file using the Java API
http://help.adobe.com/en_US/livecycle/9.0/programLC/help/000243.html#1645763
I think this will get it done. Give it a go.
Steve -
When I try to import .pdf forms into RoboHelp 11, the fields get garbled.
Is there any way around this?Hello again
Okay, you first open or give focus to the Project Manager pod. Once there, you will either be in Global View (where you see all files combined - CSS, Images, HTM and others) or you will be in Classic view. Classic View has separate folders, One for HTML files, another for CSS, another for Baggage, etc. See image below for reference.
If you are in Global view, just right-click somewhere inside the Project Files and choose New > Baggage File. If you are in Classic view, right-click the Baggage Files folder and choose New > Baggage File.
Then you navigate to where the Baggage File exists and you add it to the project. When you generate, the Baggage File should be automatically copied to the output folder with the other files.
To link to the Baggage File, you generally select the text or image the user will click to display the file, then click and drag the file from the Project Manager pod to the selected image or text.
Or, if you wish to leave the PDF where it is on the web, just determine the URL that would open it. Create a hyperlink from an image or text that will open the file.
Cheers... Rick -
Installing a premade form into a pdf
I am using acrobat 10 pro and windows 7. My company has several files of their manuals. These files are interactive. Clicking on a PayPal logo within the document takes the user to a PayPal page that is a page made up for our company, where people can pay for their courses.
Looking at the action for this link shows a one line of code. The file I was given from PayPal consists of 5 lines of code. How do I install this form into the pdf so it works? Here is the code of one link in a file that works. https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8961306..
Here is what I got from PayPal. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="2GPSXZ5LKLX22">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
When I try to insert this into the document, it just stays the same way.
The document has gone though livecycle designer. I have added fields for people's address, name, etc.. I tried to get this PayPal file in before any changes were made to the PDF and also after opening it in Designer.
I would like some help inserting this so it works.That is HTML code. You can't put HTML code into a PDF! You must examine the HTML and understand what it does; perhaps it can be translated to the same concept in a PDF form.
-
Driver Program Name for Shipment output form
Hi guru's
can anyone tell me wats the name of the driver program and the form name for a shipment output form?(for ABAP development purpose)
Thanks in advance,
Regards/AryanHi Aryan - What Shipment output are you referring to? LD01-Delivery Note? There are some more, which are associated with Transportation application as well.
LD01 - V2 - Program SDADDN02. Form SD_DELNOTE_SUPPL
LD00 - V2 - Program YMRVADDN01/RVADDN01 Form ZMLWMRVDELNOTE(customized our side)/RVDELNOTE
Pl00 - Packing List -V2 - Program SDPACKLI, Form SD_PACKING_LIST
CMR1 - Bill of lading - V7 - Progarm RVADTR01 Form SD_SHIPMENT_CMR.
Best way, use transaction V/34 to view all V2 - Shipping output types and the associated program and form. V/82 to view all V7-Transportation output types and the associated program/forms.
Thanks
Nikhil -
How can I input read a line from a file and output it into the screen?
How can I input read a line from a file and output it into the screen?
If I have a file contains html code and I only want the URL, for example, www24.brinkster.com how can I read that into the buffer and write the output into the screen that using Java?
Any help will be appreciate!
======START FILE default.html ========
<html>
<body>
<br><br>
<center>
<font size=4 face=arial color=#336699>
<b>Welcome to a DerekTran's Website!</b><br>
Underconstructions.... <br>
</font> </center>
<font size=3 face=arial color=black> <br>
Hello,<br>
<br>
I've been using the PWS to run the website on NT workstation 4.0. It was working
fine. <br>
The URL should be as below: <br>
http://127.0.0.1/index.htm or http://localhost/index.htm
<p>And suddently, it stops working, it can't find the connection. I tried to figure
out what's going on, but still <font color="#FF0000">NO CLUES</font>. Does anyone
know what's going on? Please see the link for more.... I believe that I setup
everything correctly and the bugs still flying in the server.... <br>
Thank you for your help.</P>
</font>
<p><font size=3 face=arial color=black>PeerWebServer.doc
<br>
<p><font size=3 face=arial color=black>CannotFindServer.doc
<br>
<p><font size=3 face=arial color=black>HOSTS file is not found
<br>
<p><font size=3 face=arial color=black>LMHOSTS file
<br>
<p><font size=3 face=arial color=black>How to Setup PWS on NT
<BR>
<p><font size=3 face=arial color=black>Issdmin doc</BR>
Please be patient while the document is download....</font>
<font size=3 face=arial color=black><br>If you have any ideas please drop me a
few words at [email protected] </font><br>
<br>
<br>
</p>
<p><!--#include file="Hits.asp"--> </p>
</body>
</html>
========= END OF FILE ===============Hi!
This is a possible solution to your problem.
import java.io.*;
class AddressExtractor {
public static void main(String args[]) throws IOException{
//retrieve the commandline parameters
String fileName = "default.html";
if (args.length != 0) fileName =args[0];
else {
System.out.println("Usage : java AddressExtractor <htmlfile>");
System.exit(0);
BufferedReader in = new BufferedReader(new FileReader(new File(fileName)));
StreamTokenizer st = new StreamTokenizer(in);
st.lowerCaseMode(true);
st.wordChars('/','/'); //include '/' chars as part of token
st.wordChars(':',':'); //include ':' chars as part of token
st.quoteChar('\"'); //set the " quote char
int i;
while (st.ttype != StreamTokenizer.TT_EOF) {
i = st.nextToken();
if (st.ttype == StreamTokenizer.TT_WORD) {
if (st.sval.equals("href")) {
i = st.nextToken(); //the next token (assumed) is the '=' sign
i = st.nextToken(); //then after it is the href value.
getURL(st.sval); //retrieve address
in.close();
static void getURL(String s) {
//Check string if it has http:// and truncate if it does
if (s.indexOf("http://") > -1) {
s = s.substring(s.indexOf("http://") + 7, s.length());
//check if not mailto: do not print otherwise
if (s.indexOf("mailto:") != -1) return;
//printout anything after http:// and the next '/'
//if no '/' then print all
if (s.indexOf('/') > -1) {
System.out.println(s.substring(0, s.indexOf('/')));
} else System.out.println(s);
}Hope this helps. I used static methods instead of encapsulating everyting into a class. -
I am looking for an app, for my ipod, that allows me to speak into the ipod and then it translates what I said into a different language. Any suggestions?
google translate
-
Fields for Price details in Sales Quote Output Form in SAP C4C.
We have designed a Sales Quote Output Form using ADLC for SAP Cloud for Customer (C4C). We need to print both header and item level price details like Unit Price, Tax%, Tax Amount, Discount %, Discount value on the output form. We are now struggling to find the actual fields which will carry these values in the transaction. We are using multiple pricing procedures which have different condition types. The struggle is to find the actual condition type while generating the output. Can somebody guide which fields could carry these values which condition type. Can this be achieved without coding. Please guide.
I have added two screen shots for reference.
RegardsHi Alviss
Have not found a solution yet but I understand we might write a code in FormCalc or Javascript to find the correct value from the transaction & populate it in the form. This is also applicable to Discount & Tax conditions.
Search is still on for the correct & workable solution.
Keep me posted just in case you hit upon a straigt forward solution.
Thanks.. -
How to call a SP with dynamic columns and output results into a .csv file via SSIS
hi Folks, I have a challenging question here. I've created a SP called dbo.ResultsWithDynamicColumns and take one parameter of CONVERT(DATE,GETDATE()), the uniqueness of this SP is that the result does not have fixed columns as it's based on sales from previous
days. For example, Previous day, customers have purchased 20 products but today , 30 products have been purchased.
Right now, on SSMS, I am able to execute this SP when supplying a parameter. What I want to achieve here is to automate this process and send the result as a .csv file and SFTP to a server.
SFTP part is kinda easy as I can call WinSCP with proper script to handle it. How to export the result of a dynamic SP to a .CSV file?
I've tried
EXEC xp_cmdshell ' BCP " EXEC xxxx.[dbo].[ResultsWithDynamicColumns ] @dateFrom = ''2014-01-21''" queryout "c:\path\xxxx.dat" -T -c'
SSMS gives the following error as Error = [Microsoft][SQL Server Native Client 10.0]BCP host-files must contain at least one column
any ideas?
thanks
Hui
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Hey Jakub, thanks and I did see the #temp table issue in our 2008R2. I finally figured it out in a different way... I manage to modify this dynamic SP to output results into
a physical table. This table will be dropped and recreated everytime when SP gets executed... After that, I used a SSIS pkg to output this table
to a file destination which is .csv.
The downside is that if this table structure ever gets changed, this SSIS pkg will fail or not fully reflecting the whole table. However, this won't happen often
and I can live with that at this moment.
Thanks
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --
Maybe you are looking for
-
PO Accruals and closing Purchasing periods
Hi, can anybody confirm how many purchasing periods should be open at any one time. We are having a problem with the accruals and I am trying to understand the correct procedure for re-setting the purchasing accruals. I am aware that by closing the p
-
Hi I read the following sentences in FAQ: {forum:id=123} - Displays link to forum 123 {thread:id=12345} - Displays link to thread 12345 {message:id=1234567} - Displays link to message 1234567 {user:id=1234} - Displays link to user 1234 (numeric ID)Bu
-
I want to display a list of values when I navigate to a particular control. But the list is a view of a master-detail relation where the choice of a row should set this control to a value and set a second control automatically to a dependent value fr
-
No sim card how to determine carrier?
No sim card in Iphone so how do I determine what carrier ?
-
What happened to shuffle mode?
ITunes used to be great a shuffling tracks. Now, it's terrible. I have a huge music library and like to shuffle albums at times. When I turn this on, it shuffles albums but will also play too many albums by the same artist in a row. It's not random b