SAP Adobe Print forms - Issue with Chinese characters
Hi All,
We are using SAP Adobe Print forms to create a business document. This is designed using Adobe Life Cycle Designer (ALD). The form is displayed in Chinese language. The requirement is to display captions for few fields in bold.
When designing the form we have put the caption as BOLD but when the actual form is generated only few characters are displayed in bold.
I am not sure if this is problem with Adobe Reader or should there be any specific fonts to be installed in the ADS server?
Please let me know which all font packs needs to be installed in the local machine?
Hi Pat,
Thank you again for your reply.
Now, I changed the font in the designer to "Adobe Song Std L" and made the text as "BOLD". Then I get a message
The following is the Designer screen shot.
Questions:
1. Does "Adobe Song Std L" support characters in BOLD?
2. Do I need to install any of those BOLD fonts? If so, where can I get them?
3. I understand that the BOLD font needs to be installed in the local machine (where the design actually happens so that the font can be specified), the ADS Server (where the actual PDF is rendered) and also in the viewers local machine (where the PDF document is viewed). Is this correct?
4. Is the font a freeware or will there be any licensing issues?
Again, thank you for your responses till now.
Similar Messages
-
GUI Download Issue with Chinese characters
Hello,
Currently we are upgrading from 4.7 to ECC. I'm using GUI_DOWNLOAD
function module to download the data from SAP to desktop. I do have an
issue with Chinese characters while downloading the file from SAP to ECC.
In 4.7 the Chinese characters are being downloaded (I haven't used any
code page) perfectly, but where as in ECC the downloaded file has junk
characters instead of Chinese.
Is there any change in the GUI_UPLOAD FM.
For your reference below is the code present in the program
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = Z_FILENAME
*****DCDK900543 - Begin of fixing for Unicode conversion ****
FILETYPE = 'WK1'
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = ABAP_TRUE
*****DCDK900543 - End of fixing for Unicode conversion ****
CHANGING
DATA_TAB = I_TAB_TMP
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
INVALID_TYPE = 3
UNKNOWN_ERROR = 4
OTHERS = 5.
Regards,
Bharath.Hi bharat,
please check whether you ecc 6.0 is uni coded or not (as you upgraded).
If it is not uni coded then you will not be able to print the Chinese characters.
You can see whether it is uni coded or not by the following
in your app toolbar under system click on status.
There you can see whether your ecc6.0 is uni coded or not.
Regards,
koolspy. -
Adobe print forms - Intergration with Webdynpro ABAP
Hi
We are working on SAP Adobe print forms with Webdynpro ABAP. We are getting the PDF form's Hexadecimal content as a part of the FPFORMOUTPUT parameter when we execute the FM of the Form.
I tried to assign that to a context variable and assigned that to the PDFSource of the form and tried to generate the PDF. But is is showing a black page.
Can you please suggest a way if any to get this done.
Regards,
Srikanth.You can use the print form directly. I mean the same way as you would use the WD/ online form. Provide the form name, the data source and stuff and the form should work. If that would be an interactive one, you would not be able to change any values if the form is based on DDIC dictionary, but since you want to use the printform, this is not your concern.
Regards Otto -
Issue with Chinese characters while sending IDOCs from PI to SAP system
Hi,
We are working on File to IDOC scenario where in some of the fields are having Chinese characters. In SAP system, we noticed that the Chinese characters are getting replaced with # where as in PI output payload we are able to see the correct Chinese characters. The systems involved are PI 7.4 and SAP ECC -6.0.Like in dual stack where we have an option to choose unicode/ non-unicode, i don't see any option in single stack.
However not sure if it works but you can give a try..
I assume you have created the RFC destination in NWA.
Go to RFC destination ->Specific Data -> Advanced Settings - here we have an option to mention the code page.
You might want to mention the code page for chinese char and see if it helps..
Before doing this, do checkMark's suggestion. -
Label printing issue with chinese characters (SAP script)
Hi ,
I have a requirement to print chinese characters on label print out.
Here are the steps already tried:
1) Created a new device type which is copy if ASCIIPRI and character set 8400
2) Font ANDALE_S, CNHEI, CNSONG are assigned to device type, same fonts called in SAP script.
3) During the print, it is picking ANDALE_S font(observed in spool RAW data), but preview is good.
4) I put ZPL codes CW1,B:MSUNG.FNTFS in beginning of script and also ^A@N,50,50,B:MSUNG.FNT while prining actual chinese text in SAP script.
5) also tried other device types assigned to printer LZEBU2, LB_ZEB2 etc.,
6) already checked at printer DIMM level, SIMSUN, ANDALE_S fonts are already installed
7) Character set on printer is same as in SAP
So far no option worked, it default to Courier fonts while printing and it results garbage characters.
If anyone has ideas, please advice.
thank you,
AnilHi,,
If the ZPL commands are correct for switching to the printer's internal CHinese font and character set, it may work to add the fonts via SE73 -> Printer Fonts -> ASCIIPRI . In here you need to add the commands in the print control SFxxx for your created font.
Another possibility is to print via windows and device type CNSAPWIN. Here it should not be necessary to add any font.
Regards,
Aidan -
Issues with Chinese characters via HTTPRequest
We have the below scenario:
http --> PI --> IDOC
Before the message arrives to PI we do the conection with the below code:
String urlString = WDConfiguration.getConfiguration("local/AIB_PAD").getStringEntry("HTTPURL");
java.net.URL url = new java.net.URL(urlString);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(true);
connection.setRequestMethod("POST");
connection.connect(); //(http connection is made)
this conection transform all chinese characters to "?"
Does anybody knows what is missing to receive the chinese characters to PI correctly?
Thanks.
Edited by: Israel Toledo on Sep 29, 2011 1:27 AMHi Mark,
Thanks for your answer.
We are sure that both systems support chinese characters, because when we see the outbound XML generated on the source system(JAVA SAP Portal) it looks good. Also, when we send an XML to PI via HTTP client using Java script, it works good.
The issue is when we make the connection to PI. I thing some parameter is missing. could be the text code (UTF, unicode), but we are not sure how to change that in the Java code. -
Discoverer Desktop 10g : Issue with Chinese Characters
Hi ,
Discoverer Desktop 10g client is having issue in displaying Chinese data. My report has chinese characters in it and the same does not get displayed properly when run from Discoverer desktop. However, when I export the report in html format and opened it in browser, it is displaying the chinese characters properly. Browser was set to Unicode(UTF-8) character set.
I tried changing to different fonts in Discoverer Desktop, but couldn't get the chinese character issue resolved in Desktop.
Could someone , please tell me how to fix this issue ?
Please mail directly to [email protected]
Thanks
VenkateshI am facing the same issue too. I think it is a problem with the fonts. Get back to you later if I find any solutions.
-
Adobe Interactive Forms ZCI with special characters
Hi,
I hope somebody can help me with the problem described below.
We are using Adobe Interactive Forms ZCI (IF). On our IF we placed a Enumerated DDL from the Webdynpro Native tab. In the Visual Admin the number of entries for the DDL is 50 (default). The problem is that when the DDL consists of more than 50 entries a webdynpro pop-up screen is shown. In our DDL we have entries with special characters for example the apostrophe (ie. s). When I select one of these entries its not displayed correctly in the form. It is displayed as 's.
We are using Adobe reader 7.08. I also tested it with reader 8.1.0 and there the problem still occurs.
We are using NW04s SP12.
Thanks in advance,
Kind regards,
Maarten.Hello Saujanya,
This is not what i meant.
The problem isn't that not all entries are listed in the EVS, but that when the EVS is displayed and i select an entry with a "special" character like i.e.. a apostrophe (') the selected value isn't correctly displayed in the DDL as selected item. Say the i select from the EVS the value " 's " when the EVS is gone the value in the DDL is 's. This is not correct.
Hope this explanation will help.
Kind regards,
Maarten. -
UNICODE Issue With Chinese Characters
Dear Experts,
I have chinese characters in my data. I want to downlaod this data on front end as ANSI file type and the chinese data should be convertable.
Am able to download using 4120 unicode in gui-downalod. but am not getting fiel format of ANSI if I have chinese characters in my file.
Please hep me.
Thanks in Advance.
Kiran.Hi
You can get the code page of a language using function module NLS_GET_FRONTEND_CP.
Import parameters Value
LANGU CH
FETYPE MS
Export parameters Value
FRONTEND_CODEPAGE 1160
Then pass the code to you program and try.
Shiva -
Hi All,
I am using Adobe Life cycle designer 8.0 version, and i have some clarifications.
1. Is the body page concept no longer available in 8.0.
2. What is the difference between body page and Subform.
3. What is the limit of master pages we can have.
4. Limit of Sub forms/Body page in Master page.
5. What is the exact use of Interface being separated from the Design part compared to Smart form( What I know is Interfaces can be reused), Is there any other usage of it being separate.
6.What is a XSD file when I am using XML Schema based interface.How can we generate if from Webdynpro application i am having a interactive form desinged.
7.Any references to learn to FormCalc Scripting.
Thanks in Advance.
Hussain.Hello
first: I am sure you wold be able to solve some of the questions yourself if you would search for a while.
second: just a hint: it is difficult to answer so many questions at once.
answers:
1) body pages = top level subforms, always available
2) it is not the page if that has a parent subform
3) I am not aware of any limit
4) I am not aware of any limit
5) reusability is important, it also creates a borderline bbetween the adobe and the SAP part, it helps one to give tasks in SAP to one guy and tasks in Adobe to the other
6) XSD describes the structure of the XML file, it is a description of the object where XML is the instance of that object
7) http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
Regards Otto -
Hi Experts,
I have a requirement of making a particular Table line BOLD in the Main window in Data Subform. This subform is flowed content. I am writing the Java Script Code as-
if (!this.TAXM1.rawValue.isNull)
this.ARKTX.font.weight ="bold";
But This is not being saved at the Table-Data Level.Can anybody help on this. Thanks in advance.Hi Otto & Sanoosh
Thanks a lot or replying. The issue is not of accessing a form field. I can always drag and drop the field (say named yyhouse_building) onto the form and hide it and access its value as $.yyhouse_building.value and code works fine. But I dont want to define a hidden field just as a means to access data source field. Imagine a scene where you have 10 source fields which are only used for calculation purpose you would have to define 10 hidden fields in the form and then use the form fields in the calculation. This is preposterous. Its not a clean fuel.
MY requirement is to access dataset field straightway for my scenario....
Once again for understanding purpose let me state that my data structure (in ABAP) is something like
Data : begin of P9014_TAB occurs 0,
YYHOUSE_BUILDING type ....
YYLAND_PROP type ...
YYPLINTH type ...
YYSTOREY type ...
YYLAND_AREA type ....
end of P9014_TAB.
And I want to access yyhouse_building from individual record (calculate event of column fields....) of table rows
Edited by: ABAPPER on Jan 21, 2011 10:01 AM
Edited by: ABAPPER on Jan 21, 2011 10:03 AM
Edited by: ABAPPER on Jan 21, 2011 10:03 AM -
Trouble with unprintable characters in Adobe Print form
Hi experts,
I'm trying to implement an adobe printform containing a PDF417 Barcode. To separate the datafields within the barcode, i have to use some unprinteable characters like hex 1E or 1C and so on.
I had the same issue in SMARTFORMS a few years ago, but was able to solve it in smartforms using /0x1E or /0x1C. Now I tried the same in Adobe Forms, but there comes an error in SM21 (syslog), telling me, that there was a problem during a Render operation. (Processing exception during a "Render" operation... A problem was encountered with the results: RenderResult array is null.)
I tried to use this coding as well:
data: zrecsep type c.
field-symbols: <f>.
label_data_barcode-recsep = '1E'. "recsep is type x
ASSIGN label_data_barcode-recsep to <f> CASTING TYPE C.
move <f> to zrecsep.
clear <f>.
After that, zrecsep contains '#', but in hex the correct value '1E'.
This coding works for all printable characters, such as hex 66 for 'f' or hex 5B for '[', but not for unrintable characters like hex 1E. In case of an unprintable character, a new syslog entry appears.
Any ideas?
Many thanks
RalfHi, it's me again
Here is the answer of the SAP support:
unfortunatelly this control character is not supported by the XML
standard and the data in the SOAP request is delivered in XML format to
the ADS. Therefore such character cannot be used.
I can only suggest the following web page:
Link: [http://www.w3.org/International/questions/qa-controls#further]
I then asked another question:
Is there any other possibility to generate the pdf417 barcode and use
it inside the pdf form? For example: Is it possible, to generate the
barcode-image before calling the ADS-function and submit the address of
the image instead of the string for the barcode?
answer:
I understand that you don't want to print out the string value. But it
works as follows: the template (which contains the empty label
definition) and the data (which contains the value for the label) are
sent to ADS and on ADS side will the label generated.
Therefore it is also not possible with ADS that you create the label
befor sending it to ADS.
The only thing I can imagine that you create the label with an external
program and you insert it into the template as an image. But I don't
know if it is possible for you.
Conclusion: There is definitely no chance to use such characters in Adobe print forms due to the XML standard which is used to process the data inside the ADS.
In my case, i have to use SMARTFORMS technology to create the label with a pdf417 barcode containing these special characters.
regards
Ralf -
Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue
Hi,
I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
Rgds
VaraThomas,
Here is where I am stuck.
Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
but unable to bind it to adobe form and show in the form.
* SELECT statement
clear isflight. refresh isflight.
select * into corresponding fields of table isflight from sflight
where carrid = ls_data_selections.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
Error is Access via 'NULL' object reference not possible.
FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
this would really help me..
Rgds
vara
Edited by: Vara K on Jan 21, 2009 5:51 PM -
Is Adobe Interactive Forms compatible with SAP-PM in ECC 6 ??
Hi experts
My question : is Adobe Interactive Forms compatible with SAP-PM in ECC 6 ??
ThanksHello,
I can recommend you to search sap official documents for the standard-SAP-delivered-Adobe-forms and maybe there are some for the PM module. Would that help? Or you´ve learnt Adobe yourself? Regards, Otto -
Open Adobe Print Form from ALV Int. Rprt using the XSTRING already present
Hello Friends,
I have a typicall issue that how to open a Adobe Print Form when a user double clicks in the ALV Report. Here when the user double clicks in the ALV Interactive Report using the unique ID I am getting the Adobe Form from a FTP location in the Form of XSTRING, now using the ABAP ADOBE PRINT FORM not using WebDynpro Application, I need to process this XSTRING and show up the Adobe Print Form.
OR
Is there a way to send the XSTRING to the Output Device or Printer to Display the PDF Form.
Friends please help me in solving this issue.
Thanks and Regards
Pradeep Goli
Edited by: Pradeep Goli on Mar 19, 2009 1:49 PM
Edited by: Pradeep Goli on Mar 19, 2009 2:51 PMHi Pradeep Goli,
it is possible to show PDF in SAP GUI.
Michal
REPORT ZTEST_DISPLAY_PDF.
* You must create dynpro 500 with custom control named HTML.
* In this custom control will be displayed PDF.
DATA: g_pdf TYPE xstring,
pdf_my_container TYPE REF TO cl_gui_custom_container,
pdf_html_control TYPE REF TO cl_gui_html_viewer.
START-OF-SELECTION.
PERFORM create_and_display.
FORM create_and_display.
*** Your code fo filling g_pdf
CALL SCREEN '500'.
ENDFORM.
* PDF preview in HTML control
module html_control output.
perform pbo_html_control.
endmodule.
module html_control input.
perform pai_html_control.
endmodule.
* PAI
FORM pai_html_control.
SET SCREEN '0'.
ENDFORM.
* Showing of PDF
FORM pbo_html_control.
DATA: l_pdf_alignment TYPE i,
l_count TYPE i,
l_noprint TYPE fpboolean,
l_noarc TYPE fpboolean,
l_noprintarc TYPE fpboolean.
* CLEAR: fcode.
SET PF-STATUS 'VIEW_PDF'.
* container
IF pdf_my_container IS INITIAL.
CREATE OBJECT pdf_my_container
EXPORTING
container_name = 'HTML'
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
ENDIF.
* html control
IF pdf_html_control IS INITIAL.
CREATE OBJECT pdf_html_control
EXPORTING
parent = pdf_my_container
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
* alignment
l_pdf_alignment = pdf_html_control->align_at_left +
pdf_html_control->align_at_right +
pdf_html_control->align_at_top +
pdf_html_control->align_at_bottom.
CALL METHOD pdf_html_control->set_alignment
EXPORTING
alignment = l_pdf_alignment
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e150(FPRUNX).
RETURN.
ENDIF.
ENDIF.
PERFORM pdf_show USING g_pdf.
ENDFORM.
FORM pdf_show USING p_pdf_data TYPE xstring.
STATICS: ls_url TYPE i.
TYPES: lt_pdf_table(1000) TYPE x.
DATA: l_myurl(80) TYPE c,
l_url(80) TYPE c,
l_pdf_data TYPE STANDARD TABLE OF lt_pdf_table,
l_pdf_size TYPE i,
l_pdf_line TYPE lt_pdf_table,
l_offset TYPE i,
l_len TYPE i.
l_pdf_size = XSTRLEN( p_pdf_data ).
l_len = l_pdf_size.
WHILE l_len >= 1000.
l_pdf_line = p_pdf_data+l_offset(1000).
APPEND l_pdf_line TO l_pdf_data.
ADD 1000 TO l_offset.
SUBTRACT 1000 FROM l_len.
ENDWHILE.
IF l_len > 0.
l_pdf_line = p_pdf_data+l_offset(l_len).
APPEND l_pdf_line TO l_pdf_data.
ENDIF.
ADD 1 TO ls_url.
l_myurl(8) = ls_url.
CONCATENATE l_myurl '.pdf' INTO l_myurl.
SHIFT l_myurl LEFT DELETING LEADING space.
CALL METHOD pdf_html_control->load_data
EXPORTING
url = l_myurl
size = l_pdf_size
type = 'application' "#EC NOTEXT
subtype = 'pdf' "#EC NOTEXT
IMPORTING
assigned_url = l_url
CHANGING
data_table = l_pdf_data
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e152(FPRUNX).
RETURN.
ENDIF.
* show data
CALL METHOD pdf_html_control->show_data
EXPORTING
url = l_url
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e152(FPRUNX).
RETURN.
ENDIF.
ENDFORM.
Maybe you are looking for
-
Is there a way to create a semi-transparency with Java?
I would like to be able to create a semi transparent form and I was does anyone know how to do this?
-
Local call transfer not working on CME10 for 7821
My setup is made of 4 cisco 7821 phones ( phone A, Phone B ,Phone C and Phone D) when phone B get a call from phone A and transfer call to phone D or C phone B is able to complete the transfer but phone A get a busy tone. Problem is only with call tr
-
Windows XP Internet Connection
I have Windows XP and MAC OS on my MacBook Pro. For some reason the internet connection only works on the MAC OS portion. I've tried using the control panel options to detect my wireless connection and connect to the other computer in the house (whic
-
How to make a particular row and column field editable in ALV
Hi Experts, I have a requirement to make a particular row and column field editable in ALV output. Like i need to make 2nd row - 4th column editable of ALV output. Kindly help me out to solve this. Any help would be appreciated. Thanks, Ashutosh
-
Wifi handoff issue and "not connected to internet"
I have a house with a wireless router and a boathouse with a wireless repeater. DHCP from main router. When connected to "main", i can connect to internet to browse, mail etc. When I walk down to the pier, the stronger signal from the boathouse is no