Problem when displaying smartform in chinese language
Hi ,
I have copied a standard smart form into Z smartform and added few fields in it as per the requirement .
When I display form in english or german it prints correctly .
when I print it in Chinese it prints the workarea name which I am using to print the values of the fileds .
it prints as below
&wa_vbak-budat&
please help , I tried changing the font type and size but it still shows the same.
Regards,
Gayatri Hemnur
Hi Gouri,
The first step for translation is that u have to change the regional settings in your computer. Or You should logon with Chinese language.
If you have done that already, i think the problem may be that in the reoport the length of the field is smaller than the space required for the chinese characters.
Even if it is done i think you can try doing this, go to se63 translate the field once again and save it. I think this should solve your problem.
BR
Dep
Similar Messages
-
Authorization problem when displaying icons in BW Report
Hi All
I have the following problem when display BW Report as iView: The report data itself is displayed perfectly but to display the icons (like DrillDown arrows, Hierarhy level open arrows) the Windows login message "Connect to <my BW server.com>:8000" appears and I have to enter BW user name and password explicitly. The system for BW is defined, the user is mapped, UIDPW method is used. Again, the report data itself is displayed, the problem is only with icons. I can see that the path to icons is like:
http://<my BW server>.com:8000/sap/bw/Mime/BEx/Icons/s_b_up.gif
How could I rid of this authorization request?Thanks! I already did this and it helped for most of icons. But for five remaining icons i still get authorization request althoug these icons are in the same path. The icons are:
http://<server>.com/sap/bw/Mime/BEx/Icons/cascading.gif
http://<server>.com/sap/bw/Mime/BEx/Icons/checked.gif
http://<server>.com/sap/bw/Mime/BEx/Icons/separator.gif
http://<server>.com/sap/bw/Mime/BEx/Icons/marked_right_35.gif
http://<server>.com/sap/bw/Mime/BEx/Icons/loading.gif -
Problem in displaying smartform as pdf in portal
Hi all,
We created a smartform and we are displaying as a pdf in portal.Everything is fine and pdf is coming.But there is arabic data in the form .
Some of the arabic data is coming perfectly.
But some data is coming in Japanese or chinese and some data is coming like
F,D'! 9(/'D1-EF (F 5'D- 'D3JA 叉â
Department 'D%/'1) 'D9'E) DDEH'1/ 'D(41J).
Please let me know what could be the problem.
Thanks and Regards,
Rajeshhi Rajesh.....
Could you explain me how 2 display SMARTFORM as PDF in portal..... please.....
I have the requirement as follows.....
By pressing a button the smartform must be generated.....
SO what must be the RFC o/p from ABAP.... I am ABAPER basically
and what the portal guys must do.....
pleaseeee -
Problem In Displaying Smartform Text Field In Qual & Prd Server
Hi All,
I am working on a smartform in which i am checking the field which is displaying fine in quality server but when it is transported to PRD server it is displaying text field in the smartform having ms word document which is giving me problem in displaying in the PRD Server.
Please provide me guideline for it..Hi Sarvan,
Post the code in code format.Check on the right side for example.
Sy-subrc = 0
Regards,
Madhu. -
Problem in displaying smartform as pdf in mail attachment
Hi Gurus,
I have generated a Smartform, converted to PDF and sent as attachment to email, upto this everything working fine.
Now the email is generated with the PDF attachment but Adobe Reader encounters an error when opening.
Error display as below mentioned
Adobe Reader could not open 'abc_X.PDF' because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded).
The program cods as below mentioned
TYPES:BEGIN OF ty_viqmel,
qmnum TYPE viqmel-qmnum,
qmart TYPE viqmel-qmart,
objnr TYPE viqmel-objnr,
qmtxt TYPE viqmel-qmtxt,
erdat TYPE viqmel-erdat,
erzeit TYPE viqmel-erzeit,
aenam TYPE viqmel-aenam,
aufnr TYPE viqmel-aufnr,
qmdab TYPE viqmel-qmdab,
swerk TYPE viqmel-swerk,
END OF ty_viqmel.
TYPES: BEGIN OF ty_t001w,
werks TYPE werks,
name1 TYPE name1,
END OF ty_t001w.
DATA:IT_VIQMEL TYPE TABLE OF TY_VIQMEL,
WA_VIQMEL TYPE TY_VIQMEL,
IT_T001W TYPE TABLE OF TY_T001W,
WA_T001W TYPE TY_T001W,
IT_FINAL TYPE TABLE OF ZPM_T_MAINTENACE,
WA_FINAL TYPE ZPM_T_MAINTENACE.
data: it_diff like it_viqmel,
wa_diff like line of it_diff.
Smartforms data declarations
DATA: lv_fmname TYPE rs38l_fnam, "value 'ZPM_F_MAINTENANCE_REQUEST'.
w_cparam TYPE ssfctrlop ," To display smart form in arabic.
w_compop type ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string,
WA_BUFFER TYPE STRING. "To convert from 132 to 255
Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
Objects to send mail.
data:I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
WA_OBJHEAD TYPE SOLI_TAB,
WA_DOC_CHNG TYPE SODOCCHGI1.
DATA: V_LEN_IN LIKE SOOD-OBJLEN,
I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
V_LEN_OUT LIKE SOOD-OBJLEN,
V_LEN_OUTN TYPE I,
V_LINES_TXT TYPE I,
V_LINES_BIN TYPE I.
START-OF-SELECTION.
SELECT QMNUM
QMART
QMTXT
ERDAT
ERZEIT
AENAM
AUFNR
QMDAB
SWERK
OBJNR
FROM VIQMEL
INTO CORRESPONDING FIELDS OF TABLE IT_VIQMEL
WHERE aufnr = SPACE
and qmdab = '00000000'
AND ( QMART EQ 'M1' OR QMART EQ 'M2' OR QMART EQ 'M3' ).
IF SY-SUBRC = 0.
sort it_viqmel by qmnum.
ENDIF.
loop at it_viqmel into wa_viqmel.
perform 72hours.
endloop.
SELECT WERKS
NAME1 FROM T001W INTO TABLE IT_T001W
FOR ALL ENTRIES IN IT_diff
WHERE WERKS = IT_diff-SWERK.
IF SY-SUBRC = 0.
LOOP AT IT_diff INTO WA_diff.
READ TABLE IT_T001W INTO WA_T001W WITH KEY WERKS = WA_diff-SWERK.
IF SY-SUBRC = 0.
WA_FINAL-QMNUM = WA_diff-QMNUM.
WA_FINAL-QMTXT = WA_diff-QMTXT.
WA_FINAL-ERDAT = WA_diff-ERDAT.
WA_FINAL-ERZEIT = WA_diff-ERZEIT.
WA_FINAL-SWERK = WA_diff-SWERK.
WA_FINAL-NAME1 = WA_T001W-NAME1.
WA_FINAL-AENAM = WA_diff-AENAM.
APPEND WA_FINAL TO IT_FINAL.
CLEAR WA_FINAL.
ENDIF.
ENDLOOP.
ENDIF.
clear:w_cparam,w_compop.
w_cparam-langu = 'AR'.
w_cparam-getotf = 'X'.
w_cparam-no_dialog = 'X'. " Suppressing the dialog box
W_COMPOP-TDNOPREV = 'X'.
w_compop-tddest = 'LP01'.
W_COMPOP-TDPRINTER = 'PRINTER'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPM_F_MAINTENANCE_REQUEST'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = lv_fMNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
CALL FUNCTION lv_fmname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = w_cparam
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = w_compop
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = t_otf_from_fm
JOB_OUTPUT_OPTIONS =
TABLES
it_final = it_final
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
t_otf[] = t_otf_from_fm-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
PDF_USERNAME = ' '
IMPORTING
BIN_FILESIZE = w_bin_FILESIZE
BIN_FILE =
TABLES
otf = T_OTF
lines = T_PDF_TAB
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
OTHERS = 5
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
LOOP AT T_PDF_TAB.
TRANSLATE T_PDF_TAB USING '~'.
CONCATENATE WA_BUFFER T_PDF_TAB INTO WA_BUFFER.
ENDLOOP.
TRANSLATE WA_BUFFER USING '~'.
DO.
I_RECORD = WA_BUFFER.
APPEND I_RECORD.
SHIFT WA_BUFFER LEFT BY 255 PLACES.
IF WA_BUFFER IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH: I_RECLIST,
I_OBJTXT,
I_OBJBIN,
I_OBJPACK.
CLEAR WA_OBJHEAD.
I_OBJBIN[] = I_RECORD[].
Create Message Body Title and Description
I_OBJTXT = 'Maintenance Request'.
APPEND I_OBJTXT.
DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
READ TABLE I_OBJTXT INDEX V_LINES_TXT.
WA_DOC_CHNG-OBJ_NAME = 'ZPM_F_MAINTENANCE_REQUEST'.
*WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
WA_DOC_CHNG-OBJ_DESCR = 'Maintenance Request'.
WA_DOC_CHNG-SENSITIVTY = 'F'.
WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
Main Text
CLEAR I_OBJPACK-TRANSF_BIN.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
I_OBJPACK-BODY_NUM = V_LINES_TXT.
I_OBJPACK-DOC_TYPE = 'RAW'.
APPEND I_OBJPACK.
Attachment (pdf-Attachment)
I_OBJPACK-TRANSF_BIN = 'X'.
I_OBJPACK-HEAD_START = 1.
I_OBJPACK-HEAD_NUM = 0.
I_OBJPACK-BODY_START = 1.
DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
READ TABLE I_OBJBIN INDEX V_LINES_BIN.
I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
I_OBJPACK-BODY_NUM = V_LINES_BIN.
I_OBJPACK-DOC_TYPE = 'PDF'.
I_OBJPACK-OBJ_NAME = 'ZPM_F_MAINTENANCE_REQUEST'.
I_OBJPACK-OBJ_DESCR = 'Maintenance Request'.
APPEND I_OBJPACK.
CLEAR I_RECLIST.
I_RECLIST-RECEIVER = '[email protected]'.
I_RECLIST-REC_TYPE = 'U'.
APPEND I_RECLIST.
ENDLOOP.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = SY-UNAME
SENDER_ADDRESS_TYPE = 'B'
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = w_sent_all
NEW_OBJECT_ID =
SENDER_ID =
tables
packing_list = I_OBJPACK
OBJECT_HEADER = WA_OBJHEAD
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = I_RECLIST
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
IF sy-subrc <> 0.
WRITE:/ 'Error When Sending the File', SY-SUBRC.
ELSE.
WRITE:/ 'Mail sent'.
ENDIF.
ENDIF.
ENDIF.
Please let me know what could be the problem.
Thanks in advance.
vs.sarvan.Hi Sarvan,
Post the code in code format.Check on the right side for example.
Sy-subrc = 0
Regards,
Madhu. -
Garbage characters in iTunes when copying songs in chinese language
I copied some English and Chinese songs from my external harddisk to iTunes. Instead of displaying the artists and song name in simplified/traditional chinese for the Chinese songs, it is showing garbage characters. The English songs are displaying correctly. What should I do?
Tried to convert ID3 tag(all ID3 versions and reverse unicode) but still doesn't work.
They may need to be converted to Unicode from a legacy chinese encoding. Try ConvertZ
http://www.bumpersoft.com/Educationand_Science/Languages/ConvertZ12649.htm -
A Problem When Converting SmartForm (OTF) to MS Word
Hi,
i'm converting smartform to ms word file but design is spoiled.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'ASCII'
max_linewidth = 132
IMPORTING
bin_filesize = gv_fsize
* bin_file = l_pdf_xstring
TABLES
otf = itcoo
lines = tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_TEXT'
EXPORTING
CODEPAGE = '1133'
DIRECTION = 'EXPORT'
FORMAT_TYPE = 'RTF'
* FORMATWIDTH = 72
* HEADER = ' '
* SSHEET = 'X'
* WITH_TAB = 'X'
* WORD_LANGU = SY-LANGU
TABLETYPE = 'BIN'
* TAB_SUBSTITUTE = ' '
* LF_SUBSTITUTE = ' '
* REPLACE_SYMBOLS = 'X'
* REPLACE_SAPCHARS = 'X'
* MASK_BRACKETS = 'X'
* IMPORTING
* NEWHEADER =
* WITH_TAB_E =
* FORMATWIDTH_E =
TABLES
FOREIGN = tline
ITF_LINES = tline
* LINKS_TO_CONVERT =
EXCEPTIONS
NOT_SUPPORTED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Transfer the 132-long strings to 255-long strings
LOOP AT tline.
TRANSLATE tline USING ' ~'.
CONCATENATE gd_buffer tline INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_attach = gd_buffer.
APPEND it_attach.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE = gv_fsize
FILENAME = l_pdf_string
FILETYPE = 'BIN'
APPEND = 'X'
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = 'X'
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = it_attach
* FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
when converting to pdf with parameter is 'PDF' in fm CONVERT_OTF, design is not spoiled. but in 'ASCII' format in fm CONVERT_OTF design is spoiled.
how can i solve this problem?
can somebody help me pls?
Thanks.CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = FILE_LEN
TABLES
OTF = OTFDATA
LINES = PDFDATA
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
Hope there will be problems with word but i think you can use pdf for that
If you do get the resolution please do let me know
Cheers -
Finding problem when displaying a Interative list report
Hi All,
I have a req where i have to display some records in my detail list after clicking on the primary list.
On th basis list i have a user command 'A' and some of records are being displayed on my screen.
Here i have to click on any one of the available checkbox and press the user command A.
Then some details are displayed in secondary list when i click back on the BACK button the checkbox which i have checked must be cleared.
But that is not happening in my program.
I tried using clear and refresh statements but it is not clearing my checkbox.
Kindly let me know how to clear the checkbox .
Thanks and Regards,
Yamini.AHi Yamini,
1. I understood ur problem and i could do at my end.
By simple means, we cannot achive that :
We have to use our own PF Status
In this pf-status, do not use std code BACK
2. Try what i have done :
a) new z program (code as given below)
b) in this program, create new pf-status ABCD
c) Add Two Buttons/Icon in this PF Status
(In App Toolbar)
d) SHOWDE , GOBACK.
e) Activate GUI Status, and the program
f) Now run the program (it will do what u want)
3.
REPORT abc.
DATA : ck TYPE c.
DATA : flag TYPE c.
PARAMETERS : a TYPE c.
START-OF-SELECTION.
SET PF-STATUS 'ABCD'.
PERFORM basiclist.
FORM basiclist.
sy-lsind = 0.
flag = ''.
WRITE :/ ck AS CHECKBOX , 'Basic List'.
ENDFORM. "basiclist
FORM detaillist.
flag = 'X'.
WRITE :/ 'Detail List'.
WRITE :/ 'Detail List'.
ENDFORM. "detaillist
AT USER-COMMAND.
IF sy-ucomm = 'SHOWDE'.
PERFORM detaillist.
ENDIF.
IF sy-ucomm = 'GOBACK'.
IF flag = ''. "BASIC LIST
LEAVE LIST-PROCESSING.
ENDIF.
IF flag = 'X'. "DETAIL LIST
PERFORM basiclist.
ENDIF.
ENDIF. -
Problem when calling script in different languages..
Hi,
I copied F150_DUNN_01 standard sap script to ZDUNN in all 12 languages. And after that i changed the original language from DE to EN. Made some changes. When I am executing the transaction F150 it is calling the ZDUNN. The standard program is calling the script based on language. the language is not Login language, it is picking language from customer master. When the customer language is EN, am seeing the changes. When the languages is HU am not seeing the changes. Later i came to know that it is calling the same form in HU language, then i change the same ZDUNN form by loging in HU. And now If HU also the changes are coming.
I copied the form in all 12 languages, and same name. When i change anything in EN its not reflecting in another language. So as per my requirement I changed in EN and HU. Now if the customer languages is not EN or HU, i want the form default in HU. Say if customer languages is RU, the print program is picking RU form, no changes in that. What will happen if delete the form in RU, what the print program will do?? will it pick default language or through any error?? Please tell me about this? And do you know how to copy standard script in only 3 languages in ECC 6.0???Hi ,
If the form is not available it will cause shortdump (Ex: /E 143 Element is not Found )
When your creating or changing the form in the
Administrative tab you will find the Language attributes Translate into all languages & To Individual Languages & Do not translate Go through that
You will find the lots of forums on this
Hope you will resolve your issue
Let me know if any concerns..... -
Problem when displaying images when working with PHP, mysql and dreamweaver in a brower
Hey Guys
I am new to dynamic development but I already did some
research and tutorials about how to get a dynamic web site working
with PHP and Mysql in Dreamweaver. I set up a test page to view
some content on it directly from the mysql database and it worked
just fine in dreamweaver only when I pressed the
live data view.
When I tried to view the same page using the browser preview
with firefox and internet explorer, plain text from the database
was correctly displayed on the brower but the images were absent.
In the mysql database I used the varchar as my picture data
type field so that I will refer in dreamweaver in the data binding
panel in the img.src to the picture column of my database.
I anyone can tell me what am I doing wrong so that my
pictures are not displayed in the browser when i click the browser
preview facility in dreamweaver I would be very very and very
pleased ! :)The odds are that it is the way that you have referenced the
images rather
than an issue with the database. If you have the images root
relative like
this "/images" then they will work in preview, and on the
webserver, but
will not view when looking at the file via localhost.
If possible make the links page relative and then they should
work fine.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"mariosal026" <[email protected]> wrote in
message
news:ea3nq2$9ol$[email protected]..
> Hey Guys
>
> I am new to dynamic development but I already did some
research and
> tutorials
> about how to get a dynamic web site working with PHP and
Mysql in
> Dreamweaver.
> I set up a test page to view some content on it directly
from the mysql
> database and it worked just fine in dreamweaver only
when I pressed the
>
live
> data view.
>
> When I tried to view the same page using the browser
preview with firefox
> and
> internet explorer, plain text from the database was
correctly displayed on
> the
> brower but the images were absent.
>
> In the mysql database I used the varchar as my picture
data type field so
> that
> I will refer in dreamweaver in the data binding panel in
the img.src to
> the
> picture column of my database.
>
> I anyone can tell me what am I doing wrong so that my
pictures are not
> displayed in the browser when i click the browser
preview facility in
> dreamweaver I would be very very and very pleased ! :)
> -
Problem when displaying a Information Box in a report
Hi Guys,
I have used a concatenate statement as below
Concatenate 'Total Records:' some field value 'Correct Records:' some field value 'Error Records:'some field value into one FINAL.
MESSAGE i398(00) WITH FINAL..
I defined FINAL as FINAL(200).
In debugging i am getting complete value .But while displaying i am getting only
'Total Records:' 5 'Corre "something like this.
Is there any limitation I am getting for concatenate statement.Let me know.
How to display the full record in output.
Thanks,
Prasad.Guys, I got it resolved.
-
Problems when displaying html in internet explorer
I am trying for two weeks to make an HTML code looks good in
IE (internet explorer), but I have been unsuccessful. The code
looks great on Firefox, but really bad in IE. Here is my code
Web
page
Plase help!!!!!!!!!!!!!!!!1This is not the code on the page you have linked. That page
has no doctype.
It appears you have used ImageReady to write the HTML for
this page (it has
the hallmarks - uppercase tags, unquoted attribute values,
and zillions of
col-/rowspans). Such HTML is notoriously bad for use on the
web. Please
read this to see why I say that -
http://apptools.com/rants/spans.php
Anyhow, I think it's the table code that is letting you down.
Do you know
enough HTML to build this page in DW?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"maxhec-pr" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for your response. Please update the link to the
page, the server
> is
> currently down. The file is now at
>
http://web.ics.purdue.edu/~hsantosv/test.html
>
> I validated the html code with Dreamweaver. I checked
for errors in
> firefox
> and IE, and the application returned zero errors. Also,
I validated the
> html
> code for IE 3.0 and 4.0, Netscape 3.0 and 4.0, HTML 4.0,
and Cold Fusion
> MX7. I
> really don't have a clue of what I am doing wrong. I am
going to attach
> the
> code too.
>
> Thanks for your help
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
> "
http://www.w3.org/TR/html4/loose.dtd">
> <HTML>
> <HEAD>
> <TITLE>Purdue-HP Color Central CPWT</TITLE>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
> <!-- ImageReady Preload Script (index.psd) -->
> <!-- End Preload Script -->
> <SCRIPT TYPE="text/javascript">
> <!--
>
> function newImage(arg) {
> if (document.images) {
> rslt = new Image();
> rslt.src = arg;
> return rslt;
> }
> }
>
> function changeImages() {
> if (document.images && (preloadFlag == true)) {
> for (var i=0; i<changeImages.arguments.length; i+=2)
> document[changeImages.arguments
].src = changeImages.arguments[i+1];
> }
> }
> }
>
> var preloadFlag = false;
> function preloadImages() {
> if (document.images) {
> main_page_over = newImage("images/main-page-over.gif");
> about_me_over = newImage("images/about-me-over.gif");
> memories_over = newImage("images/memories-over.gif");
> interests_over = newImage("images/interests-over.gif");
> news_over = newImage("images/news-over.gif");
> contact_over = newImage("images/contact-over.gif");
> preloadFlag = true;
> }
> }
>
> // -->
> </SCRIPT>
> <style type="text/css">
> <!--
>
> .style2 {color: #000066}
> .style3 {color: #3A4A73}
> .style4 {color: #324A6B}
>
>
> .bottomStyle {
> background:url(images2/b_links.gif);
> width:528px;
> height:80px;
> }
>
> body,td,th {
> color: #314B73;
> }
> body {
> background-color: #FFFFFF;
> }
> a:link {
> color: #314B73;
> }
> .style5 {color: #314B73}
> a {
> font-family: tahoma;
> }
> ol {
> font-family: Tahoma;
> font-size: 10px;
> font-style: normal;
> line-height: 2em;
> font-weight: normal;
> font-variant: normal;
> text-transform: none;
> color: #353535;
> text-decoration: none;
> text-align: left;
> list-style-type: disc;
> padding-top: 2px;
> }
> -->
> </style>
> <link href="research/css/styles.css" rel="stylesheet"
type="text/css">
> </HEAD>
>
> <BODY ONLOAD="preloadImages();">
> <table width="775" border="0" cellpadding="0"
cellspacing="0">
> <tr>
> <td colspan="3"><IMG SRC="images2/titleNew.gif"
WIDTH=734 HEIGHT=88
> ALT="Purdue-HP"></td>
> <td rowspan="11"><IMG SRC="images2/main5.gif"
WIDTH=41 HEIGHT=680
> ALT=""></td>
> </tr>
> <tr>
> <td rowspan="10"><img src="images2/main1.gif"
width=121 height=592
> alt=""></td>
> <td><A HREF="research/research.shtml"
> ONMOUSEOVER="window.status='mail'; changeImages('home',
> 'images2/researchHome-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('home',
> 'images2/researchHome.gif'); return true;">
> <IMG SRC="images2/researchHome.gif" ALT=""
NAME="home" WIDTH=85 HEIGHT=23
> border="0"></A></td>
> <td rowspan="8"><iframe name="content"
align="top" frameborder="0"
> height="495" width="528"
> scrolling="auto" src="itest.html" marginheight="1"
marginwidth="1" >
> </iframe></td>
> </tr>
> <tr><td><A
HREF="research/researchers.shtml"
> ONMOUSEOVER="window.status='main page';
changeImages('main_page',
> 'images2/researchers-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('main_page',
> 'images2/researchers.gif'); return true;">
> <IMG NAME="main_page" SRC="images2/researchers.gif"
WIDTH=85 HEIGHT=21
> BORDER=0 ALT="main page"></A></td>
> </tr>
> <tr><td><A HREF="research/papers.shtml"
> ONMOUSEOVER="window.status='paper sec';
changeImages('papers',
> 'images2/publications-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('papers',
> 'images2/publications.gif'); return true;">
> <IMG SRC="images2/publications.gif" ALT="paper sec"
NAME="papers"
> WIDTH=85
> HEIGHT=21 BORDER=0></A></td>
> </tr>
> <tr><td><A HREF="research/protos.shtml"
> ONMOUSEOVER="window.status='thoughts sec';
changeImages('thoughts',
> 'images2/prototypes-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('thoughts',
> 'images2/prototypes.gif'); return true;">
> <IMG SRC="images2/prototypes.gif" ALT="thoughts sec"
NAME="thoughts"
> WIDTH=85 HEIGHT=21 BORDER=0 ></A></td>
> </tr>
> <tr><td><A HREF="research/meetings.shtml"
> ONMOUSEOVER="window.status='mail';
changeImages('research',
> 'images2/meetings-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('research',
> 'images2/meetings.gif'); return true;">
> <IMG SRC="images2/meetings.gif" ALT="research sec"
NAME="research"
> WIDTH=85
> HEIGHT=21 BORDER=0
id="research"></A></td>
> </tr>
> <tr><td><A HREF="research/docs.shtml"
> ONMOUSEOVER="window.status='mail'; changeImages('Docs',
> 'images2/documents-over.gif'); return true;"
> ONMOUSEOUT="window.status=''; changeImages('Docs',
> 'images2/documents.gif');
> return true;">
> <IMG NAME="Docs" SRC="images2/documents.gif" WIDTH=85
HEIGHT=21 BORDER=0
> alt="Documents"></A></td>
> </tr>
> <tr><td><IMG NAME="contact"
SRC="images2/blackb.gif" WIDTH=85 HEIGHT=21
> BORDER=0 alt=""></td>
> </tr>
> <tr><td rowspan="3"><IMG
SRC="images2/main3.gif" WIDTH=85 HEIGHT=443
> ALT="ColorCentral : CPWT"></td>
> </tr>
> <tr><td><IMG SRC="images2/down.gif"
WIDTH=528 HEIGHT=16 ALT=""></td>
> </tr>
> <tr><td align="right" valign="top"
class="text7" width="528" height="80">
> <div id="layer1" class="bottomStyle">
> <!--<a
> href="
http://cobweb.ecn.purdue.edu/~hsantosv/research/research.shtml">Research
> Home</a> |
> <a href="mailto:[email protected]">Contact
Us</a>
> <p>
> <span class="text3">designed by</span>
> <a href="
http://www.templatesbox.com"
>
target="_blank">Templatesbox</a></p>-->
> </div></td></tr>
> </table>
> </BODY>
> </HTML>
> -
Problems when trying to send a smartform through fax
Hi,
Im currently confronting a problem when sending smartforms through fax to multiple recipients.
This is the scenario Im working on:
The client needs to be able to send a document, could be a PO or invoices, to diferent recipients at the same time. So far in case of purchase orders, we have been able to find the respective faxes and emails for each of the partner functions.
Functionality for email is working as desired but when sending faxes I have problems.
Reviewing the output through SOST I get all my receipients which are email and faxes. Emails are fine since it creates a PDF attachment with the order and all of its details.
For fax I get the same even though the paramenters are set for fax.
Here is my code if you could please help me here on this one.
SELECT lifn2 FROM EkPA into l_ekpa-lifn2
WHERE EBELN = a_EBELN.
APPEND l_EKPA.
ENDSELECT.
SELECT adrnr
FROM lfa1
INTO itab-q_adrnr
FOR ALL ENTRIES IN l_ekpa WHERE lifnr = l_ekpa-lifn2.
APPEND itab.
ENDSELECT.
*& End of partner address
*& Selection of Address or Fax number from ADR3 & ADR6 according to ADRNR
*& Nato
IF sy-subrc EQ 0.
loop at itab.
SELECT SINGLE smtp_addr INTO (itab-q_mail)
from adr6 where addrnumber = itab-q_adrnr and flg_nouse eq space.
IF itab-q_mail ne Space.
Move 'U' to itab-q_typ2(1).
Move 'X' to itab-q_express(1).
Move 'EXT' to itab-XOBJT.
ENdIF.
SELECT SINGLE FAXNR_LONG INTO (itab-q_fax)
SELECT SINGLE country FAX_NUMBER INTO (itab-q_cty, itab-q_fax )
from adr3 where addrnumber = itab-q_adrnr and flg_nouse eq space.
If itab-q_fax ne space.
Move 'F' to itab-q_typ(1).
Move 'TELEFAX' to itab-q_com.
Endif.
Modify itab.
endloop.
*& END of ITAB
CLEAR : DOC_CHNG.
REFRESH LINES.
IF NAST-NACHA eq '7'.
* Fill both the fax & email Receiver lists
clear: reclist, reclist2.
refresh: reclist, reclist2.
*& loop table itab to update receipient list in table Reclist
*& Nato
loop at itab.
IF not itab-q_typ is initial.
concatenate itab-q_cty itab-q_fax into reclist2-RECNAM separated by space. "FAX NUMBER
move itab-q_fax to reclist2-receiver. "FAX NUMBER
*&>>>>>>>>>>>>>>>>>>>new entry for testing nato 080206<<<<<<<<<<<&
move itab-q_cty to RECLIST2-COUNTRY. "Country Code
move itab-q_fax to Reclist2-FAX. "Fax number
*&>>>>>>>>>>>>>>ENd of entry<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&
move itab-q_typ to REClist2-REC_TYPE. "Communication type for fax
move itab-q_EXPRESS to Express. "comment for testing
move itab-q_com to REClist2-COM_TYPE.
Move 'X' to reclist2-NOTIF_DEL.
Move 'TELEFAX' to reclist2-SNDART. "TYPE OF DEVICE
Move a_ebeln to sood-OBJDES. "new addition for testing nato
append Reclist2.
endif.
IF not itab-q_typ2 is initial.
move itab-q_mail to REclist-receiver. "SMT ADDRESS
move itab-q_typ2 to REClist-REC_TYPE.
move itab-q_EXPRESS to REClist-express.
move 'X' to reclist-TO_ANSWER.
Move a_ebeln to sood-OBJDES. "new addition for testing nato
move itab-q_com to REClist-COM_TYPE. "comment for testing only
append Reclist.
Endif.
move reclist-receiver to address.
endLoop.
*& END OF RECipient
ENDIF.
DOC_CHNG-OBJ_DESCR = nast-objky.
ELSE.
IF RECLIST IS INITIAL.
LOOP AT reclist INTO RECIPIENT . " This logic might get commented or deleted. Nato 08/01/06
ENDLOOP.
ENDIF.
DOC_CHNG-OBJ_DESCR = L_TITLE.
ENDIF.
IF RECLIST[] IS INITIAL.
MESSAGE E573(VE) RAISING RECEIVER_NOT_FOUND.
ENDIF.
*& New entry to determine path according to communication
*& type
*& If comm type eq U follow convert_otf
*& then Read text, finaly send API
*& If comm type eq F follow path to "Convert OTF & FAX
*& Nato 080106
REFRESH : HOTFDATA, LT_SOLIX, OBJBIN.
LOOP AT JOB_OUTPUT_INFO-OTFDATA INTO HOTFDATA.
APPEND HOTFDATA.
ENDLOOP.
*& Prepare content to be converted to PDF format
*& nato
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = DOC_SIZE
BIN_FILE = LD_BINFILE
TABLES
OTF = HOTFDATA
LINES = HTLINE
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
*& new entry just for test today 080306
*&nato
*endif.
*&--end of entry--
I = 0.
N = XSTRLEN( LD_BINFILE ).
WHILE I < N.
LT_SOLIX-LINE = LD_BINFILE+I.
APPEND LT_SOLIX.
I = I + 255.
ENDWHILE.
*& end of convertion pdf
LOOP AT LT_SOLIX INTO WA_SOLIX.
CLEAR WA_SOLI.
ASSIGN WA_SOLI TO <PTR_HEX> CASTING.
MOVE WA_SOLIX TO <PTR_HEX>.
APPEND WA_SOLI TO OBJBIN.
ENDLOOP.
*& Prepare send mail
CLEAR : NAME, DOCNAME.
REFRESH : OBJTXT, OBJPACK.
CONCATENATE NAST-KAPPL NAST-KSCHL INTO NAME.
CONDENSE NAME.
IF NAST-NACHA NE '7'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'STAM'
LANGUAGE = SY-LANGU
NAME = NAME
OBJECT = 'OCS'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
CONCATENATE NAST-OBJKY '.PDF' INTO DOCNAME .
CONDENSE DOCNAME.
*endif. "temp nato -080406
if reclist-rec_type eq 'U'.
DOC_CHNG-OBJ_NAME = 'Delivery'.
LOOP AT LINES.
OBJTXT = LINES-TDLINE.
APPEND OBJTXT.
ENDLOOP.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
IF TAB_LINES > 0.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
ENDIF.
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = DOCNAME.
APPEND OBJHEAD.
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'PDF'.
OBJPACK-OBJ_NAME = 'Delivery'.
OBJPACK-OBJ_DESCR = NAST-OBJKY.
OBJPACK-OBJ_DESCR = A_EBELN.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
break nhernandez.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = ' '
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
RECEIVERS = RECLIST
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
IF SY-SUBRC <> 0.
MESSAGE E081(ZGLO) WITH SY-SUBRC RAISING MAIL_SENDING_ERROR.
ENDIF.
endif.
AM I missing something?Hi Nat,
You can check this link which shows how to use the PRINT_TEXT for sending fax.
http://www.sap-img.com/abap/sending-fax-from-abap.htm
Also you can check these
Smartforms
Sending Smartforms through Fax
Sending SMARTFORM output to FAX gateway
How to fax a smartform?
/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
ftp
Cheers
VJ -
Problem in Chinese Language conversion
HI ,
I have some probelm in chinese language conversion.
Scenario:
1.I am trying to send the saleorder details as a mail, from the output types of sale order.
2.The details of the related cutomer in sales order is maintained in chinese in (XD01)
3.When I login in chinese language the mail generated is having chinesse texts as expected..But when i login in english language, the mail generates some JUNK values in place of chinese texts in SOST.
Note: If i generate a mail by loging in English, i need the chinese text as such maintained in XD01.Please give a solution for this problem.Why is this a problem? It is just a way of letting Chinese users know about a new set of discussion forums in their language.
-
Issues in Smartform when logging in two different languages
Hi Experts,
I have created a Smartform with orignal language as EN (English).
The Smartform is working fine when I login through EN language but when I login through EL (Greek)
I am facing problems.
The Smartform created in language EN does not get completely updated in EL.
Only the Form Interface,Global definitions are getting updated but the Text that I have created
does not get updated. The latest changes made in EN are not getting reflected when I login thorough EL.
I need to solve this problem at the earliest.
Please help me with this problem.Faced the same problem. You just login in Greek (EL) and open the smartform in change mode. Now you will get a popup with 3 buttons in Greek, Please select the 2nd Button (i.e. Change Orig. Language). On clicking you will get a popup, there you have specify EL in the New original language and press continue button, again you will get 2/3 popup, just continue with that and now you just active it.. Thatu2019s all. Now will be able to see all your texts ...
Just do the same thing again in EN logon...Now your form will work in both EL and EN.
Edited by: Mugunthan Kasipalayam Ramasamy on Dec 10, 2009 5:36 AM
Maybe you are looking for
-
Thank you for stopping by. It's like I have a ghost in Premiere! I uploaded the same video to Youtube and Vimeo and it looks totally different! Youtube shows the problem, Vimeo doesn't - Youtube: Vimeo: Any ideas why the screen capture background (re
-
Sales Order date validation against Contract Date
Dear All, We are creating Contracts with validity period from date to enddate. With reference to contract, the sales orders date should be validated. However the present scenario is validating with warning message. How it will be converted to error
-
IPhone iOS 7 "Add Custom Labels" order changed...No Longer Alphabetized!
Help! I updated my iPhone4 to ios 7 with the recent update. I love everything about it, but when trying to find a custom label in "Contacts > John Doe > Edit > Mobile" and then scrolling down under the "Add Custom Label" menu, I found out that all
-
Hello Experts, How are "Short Text" and "Long text" used in CATS? I thought that these were supposed to be two separate text fields, but when I make an entry in the Long text field, the value shows up in the Short Text field. Are these two separate f
-
I'd like to run the command gpupdate /force on a remote system and display the results using powershell.