Display Data in Marathi Language
I have used jquery to print data in html report, data display in marathi laguage in .aspx page , but when pessing print button it will be display in english laguage, so how what i do display data in marathi laguage,
The data is like,
<link href="js/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
<script type="text/javascript">
function PrintDivContent(divId) {
var printContent = document.getElementById(divId);
var WinPrint = window.open('', '', 'left=0,top=0,toolbar=0,status=0');
WinPrint.document.write(printContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
$(document).ready(function () {
$("body").keyup(function (e) {
var nkeycode = null;
nkeycode = e.keyCode;
if (nkeycode == 115) {
$("#btnprint").click();
$("#btnprint").click(function () {
PrintDivContent('divtoprint');
</script>
<div id=>
//data
</div>
<table>
<tr>
<td>
<input type="button" id="btnprint" value="Print (F4)" />
</td>
</tr>
</table>
Please post questions related to web development in the ASP.NET forums (http://forums.asp.net ).
Similar Messages
-
Export Marathi Data in Marathi Language
I have used jquery to print data in html report, data display in marathi laguage in .aspx page , but when pessing print button it will be display in english laguage, so what i do display data in marathi laguage,
The data is like,
<link href="js/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
<script type="text/javascript">
function PrintDivContent(divId) {
var printContent = document.getElementById(divId);
var WinPrint = window.open('', '', 'left=0,top=0,toolbar=0,status=0');
WinPrint.document.write(printContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
$(document).ready(function () {
$("body").keyup(function (e) {
var nkeycode = null;
nkeycode = e.keyCode;
if (nkeycode == 115) {
$("#btnprint").click();
$("#btnprint").click(function () {
PrintDivContent('divtoprint');
</script>
<div id="divtoprint">
//data
</div>
<table>
<tr>
<td>
<input type="button" id="btnprint" value="Print (F4)" />
</td>
</tr>
</table>Hi,
This may be an MS OFFICE font issue. Please check if the required font is available in the system. As the data which is sent is fine when opened in notepad.
Regards,
Shyam. -
How to get the date in local language
Hi,
I want display "Date" in Local language. Written code as below to display date in my RTF Template:
<?format-date:xdoxslt:sysdate_as_xsdformat();'dd'?><?' '?><?xdoxslt:month_name(substring(xdoxslt:sysdate(),3,2), 0, $_XDOLOCALE)?><?' '?><?format-date:xdoxslt:sysdate_as_xsdformat();'yyyy'?>
Output showing in my RTF template as "26 May 2011". which is correct for englilsh.
want to display same format in Local languge for example in Germany :
26 mai 2011
To get the local language format tried 1) by Putting "DEU" instead of "$_XDOLOCALE" 2. Tried by declaring a variable with value as "DEU"
But it two cases it showing in english format not in Germany Language. Please give me idea how to get date in local language.
Thanks
-Chakri..Dont think you have anyway to tell the target language for a single text retrieval. You can obviously set the locale of the user but that will change language of other texts also. If you always want to show some predefined text in English then better you dont keep the those texts at all in the translated files. Or you keep the English text in all the files - so that everytime English only gets displayed. But if your case is a selective one - i.e. you want to show English text to only German users but spanish to Spanish and French to French then I dont have any answer how to achieve the same.
Regards,
Shubhadip -
PRINTING IN REGIONAL (MARATHI) LANGUAGE
Hi Experts,
I am working on a implementation project, the client has requirement for the reports in 'Marathi Regional Language'. regarding this i have some questions. We are using ECC 6.0 and it has Unicode Installation.
1) What are the System (Basis) requirements?
2) Is SAP provides any fonts for this?
3) Is it possible to give reports in regional language, If the end-user enters all data in English?
4) If yes, how can we translate this data from English to Regional (Marathi) Language?
5) Is it possible to give Reports in regional language using Smartforms & ALV.
6) If any third party tool is required for it which tool should be used.
And most important que.
7) Please guide me how to make coding for this.
Thanks In advance
AmolFor maintaining data in reports in Hindi, Log in Hindi Logon & maintain text elements in Hindi, copy paste the Hindi conversion into the text element.
the text elements have been maintained in Hindi for ALV display,though font szie for the text is an issue.
The other option is goto SE63,
SE63: standard translation environment
*translation
*ABAP objects
*short texts
Expand ABAP texts
*text elements
Assign in object name the z development name
Assign the source & target language as per specifications
This would display the text element list for the changes to be made.
ask the basis people to go to transaction SPAD the following SAP note was added.
SAP Release Note number: 809034 (Support for Arabic font with SAPWIN)
We also need to maintain the data in the text table, for data to be displayed in different language at line item.SO for the standard table from where the data is being displayed,look for the text table of the standard table. -
Need FM for displaying date as output EX:april 07
Hi All,
I have a problem in displaying date for example:
If i give period as 3 and year as 2007,
the output should be displayed as april-07.
Can any one help me out in finding a solution.
Thanks in advance.Hi,
Use the below logic.
data: it_months like t247 occurs 0 with header line.
data: v_text(20).
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
TABLES
MONTH_NAMES = it_months
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 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.
read table it_months with key mnr = sy-datum+4(2).
if sy-subrc = 0.
concatenate it_months-ltx '-' sy-datum+2(2) into v_text.
endif.
write:/5 v_text. -
Store data in different Languages
Hi,
I have to display the same data in different languages like if japans user then there will Japanese Language and if India then English language for the same data.
Is there any way for the same?
Thanx.. RatanRatan,
I dont think so , you have got that in a database ,rather the applications which your users should have the language compatibility.
i.e the interface which has options of selcting languages and displaying the same for them.
Sandeep Reddy Enti -
Multiprovider display data issue
Hello,
I'm using BI7.0 and created Multiprovider using Custom DSO and Infocube1.
the problem is, when i use display data through multiprovider, I'm not able to see data from DSO .
I have considered all common fields from DSO and Cube and assigned in multiprovider.
basically I'm selecting all IO and Keyfigures from Infocube1 and few IO from DSO
some reason I am not able to see data from DSO when i view data through multi provider.
Please help me to view data from both cube and dso through multi provider.
Thanks
GangaHi Ganga,
Please check whether there is any restrictions for the field 0PROVIDER. There may be restriction to get the data only from cube.
If there is no any restrictions then here may be your problem.
You need to maintain atleast one key figure in both targets.
Since there is no any key fig coming from DSO
please create a dummy key fig and try to check once again.
please go through the link.
Re: MULTIPROVIDER NOT GETTING DATA
hope this helps u.
Thanks,
Sai Chand -
Need Suggestion in displaying data in ALV.
Hi All Experts,
I have a scepic scenario for which I need your inputs. I am preparing a report which will display data foe entries made in time sheet. The entries in time sheet can be made for anything like a change request on an incident etc. It will have various output fields
And also dates for which entries are made. So it can have date from 1 to 31. This all is
to be displayed in ALV. Now the report can be displayed in two Summarised ways.
One summary can be for a user and another for the object type(incident, change request).
Now if the user wants to see this report for a period more than a month then I have to summarise it against a month too. So am not sure how to handle this. Which type of ALV function module to be used to display this?
Regards,
Sakethello,
I would suggest to go for GRID display - for that you can use either function module or class.
Tips:
If it also need to be summarised by month then add an extra field in fieldcatalog as monthid / monthname.
also it's better to have an extra field for object tyoe (Incident/ change)...
Thanks. -
I am trying to display data from database into the JTable swing component. I can see the table and the heading coming from the vector. I cannot see why the data from the databse table is not loaded on to the Jtable. I just get a table with 6 rows blank.
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.sql.*;
import java.util.*;
public class dataTable extends JApplet
String dbdriver="jdbc:oracle:thin:@ds1.ctateu.edu:1521:wpac";
String dbuser="system";
String dbpass="pass";
Container c;
JScrollPane jsp;
JTable table;
int v,h;
Connection connection;
Statement stmt;
ResultSet rs;
String param_start,param_end, param_disp_start, param_disp_end,param_shortdesc, param_longdesc;
public void init()
c= getContentPane();
c.setLayout (new BorderLayout());
v=ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS;
Vector heading = new Vector();
heading.addElement("Event Start Date");
heading.addElement("Event End Date");
heading.addElement("Display Start Date");
heading.addElement("Display End Date");
heading.addElement("Short Description");
heading.addElement("Long Description");
Vector data = new Vector();
try
Class.forName("oracle.jdbc.driver.OracleDriver");
connection=DriverManager.getConnection(dbdriver,dbuser,dbpass);
stmt=connection.createStatement();
rs= stmt.executeQuery("select * from univevents");
while(rs.next())
param_start = rs.getString("start_date");
param_end = rs.getString("end_date");
param_disp_start = rs.getString("display_start");
param_disp_end =rs.getString("display_end");
param_shortdesc = rs.getString("short_desc");
param_longdesc = rs.getString("long_desc");
catch (Exception e)
//JOptionPane.showMessageDialogue("Exception: "+e.getMessage());
data.addElement(param_start);
data.addElement(param_end);
data.addElement(param_disp_start);
data.addElement(param_disp_end);
data.addElement(param_shortdesc);
data.addElement(param_longdesc);
table = new JTable(data, heading);
jsp = new JScrollPane(table,v,h);
//Add scrollpane to container
c.add("Center",jsp);
}//init
}//JAppletYour data vector should be a Vector of Vectors.
I think you need to change your loop to look something like this:
while(rs.next())
Vector row = new Vector();
row.addElement( rs.getString("start_date") );
row.addElement( rs.getString("end_date") );
row.addElement( rs.getString("display_start") );
row.addElement( rs.getString("display_end") );
row.addElement( rs.getString("short_desc") );
row.addElement( rs.getString("long_desc") );
data.addElement( row );
} Then remove your data.addElement() statements found outside the loop. -
Displaying data in a tree from database table
Hi,
I want to display data from a database table (mara-matnr) in a tree structure. I went through the coding of SBSPEXT_HTMLB. There static data was taken in to wa_tab. But there I want to bring data from a database table into wa_tab. For this I created an internal table without headerline by taking a work area, now how can I move data from this work area to wa_tab record by record.
I hope some one might have worked on this. Plz help me....
Thanks in advance,
Ravindra.Hi,
take a look at this <a href="/people/tomas.altman/blog/2004/12/13/sdn-blog-how-to-do-internal-tables-in-bsp which explains how internal tables work in ABAP OO.
Furthermore I think you want to do this:
insert <yourWorkarea> into table wa_tab.
A complete mara example would be:
data tab_mara type table of mara.
data wa_mara type mara.
select * from mara into table tab_mara.
*or you can use:
select * from mara into wa_mara.
insert wa_mara into table tab_mara.
endselect.
regards
Thomas -
Can't display data that exist in cupe
Hi All,
I get a problem which is thar even i entered data in the cube i cant display with charecteristics. When i go to bw and display data if i say select charecteristics i can see any data but if i dont select charecteristics i can display data. Also when i enter data and sen data it say succesful but i loose data on view. Have anyone get any problem like that thanks for your interest.
KasimHi,
The code you sent appears to be the Audio Talkthrough example with several modifications. Here's the first thing I noticed that appears to be incorrect: You're using the BF AD1871 Wait on Data Ready Flag VI to fill the sub-buffer, then you go into a loop and get the contents of that buffer 256 times. You should be filling the buffer each time before you get the buffer instead of only filling it once. You also aren't resetting the data ready flag by using the BF AD1871 Clear Data Ready Flag VI.
Message Edited by Michael P on 07-28-2006 09:55 AM
Michael P
National Instruments -
Not able to display data in different columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Displaying data in one row for for 2 tables without relaiton
I Have 2 tables without any relation and there is a common field and i want to display data like below
table refdet
1)
refdt----------refbr----refamt----refcat
10-aug-09---10-----34234-----101a
10-aug-009--11----23245-----102a
1-AUG-09----10----455.98----104A
19-aug-09-12-----10000-------103B
2) brdet
trdt---------brn-----brtot-----------brcat
11-aug09--10-----454000-------A
09-aug-09-12-----550000-------B
30-sep-09--10-----430000------A
09-aug-09-11-----550000-------B
i want to display data for each branch refdet.refbr = brdet.brn
refdet
Br10
refdt----------refbr----refamt----refcat-----trdt---------brn-----brtot-----------brcat
10-aug-09---10-----34234-----101a-------11-aug09--10-----454000-------A
1-AUG-09----10----455.98----104A------30-sep-09--10-----430000------A
Br 11
10-aug-009--11----23245-----102a -------09-aug-09-11-----550000-------B
Br12
19-aug-09-12-----10000-------103B------09-aug-09----12-----550000-------B
i tried the following query but its not working
select distinct null as refdt,null as refbr,null as refamt,null as refcat,b.trdt,b.brn,b.brtot,b.brcat
from brdet a,refdet b
where a.refbr (+) = b.brn
union all
select distinct a.refdt,a.refbr,a.refamt,a.refcat,null as trdt,null as brn,null as brtot,null as brcat
from brdet a,refdet b
where a.refbr = b.brn (+)
its not giving the records on each row for both side its creating separte rows for each records in both table.
rgds
jytohi
-Hi jytohi,
Please lean back for a moment and study your question. Ask yourself, is this a reasonable way to ask a question?
Jopefully you'll reach the answer, "No it isn't, I need to.."
1. Turn these
1)
refdt----------refbr----refamt----refcat
2) brdet
trdt---------brn-----brtot-----------brcatinto CREATE TABLE statements.
2. Turn these
10-aug-09---10-----34234-----101a
10-aug-009--11----23245-----102a
1-AUG-09----10----455.98----104A
19-aug-09-12-----10000-------103B
11-aug09--10-----454000-------A
09-aug-09-12-----550000-------B
30-sep-09--10-----430000------A
09-aug-09-11-----550000-------Binto INSERT INTO statements
3. Turn this
refdet
Br10
refdt----------refbr----refamt----refcat-----trdt---------brn-----brtot-----------brcat
10-aug-09---10-----34234-----101a-------11-aug09--10-----454000-------A
1-AUG-09----10----455.98----104A------30-sep-09--10-----430000------A
Br 11
10-aug-009--11----23245-----102a -------09-aug-09-11-----550000-------B
Br12
19-aug-09-12-----10000-------103B------09-aug-09----12-----550000-------Binto properly formatted expected output, along with a reasonable explanation of why
4. Turn this
select distinct null as refdt,null as refbr,null as refamt,null as refcat,b.trdt,b.brn,b.brtot,b.brcat
from brdet a,refdet b
where a.refbr (+) = b.brn
union all
select distinct a.refdt,a.refbr,a.refamt,a.refcat,null as trdt,null as brn,null as brtot,null as brcat
from brdet a,refdet b
where a.refbr = b.brn (+)into a properly formatted query
And last, put everything in into curly brackets {noformat}{noformat} to preserve formatting and blank space.
Best regards
Peter -
Display data in r/3 set up tables
how to display data in r/3 set up tables
Hi,
You have different TCodes in R/3 to fill up the setup tables for different areas. Like for Inventory for intializing the opening balance we use MCNB and for Movements we use 0LI1BW and for Revaluations you need to use OLIZBW. You have to follow a set of instructions while filling up the setup tables like there should be no postings going on while you are filling up the setup tables etc...
Once you fillup the setup tables, then if you go to RSA3 and enter the data source name, you will be able to see the data for it. Unless you sill the setup tables, your data source wont give you any data. You can search for How to... documents which will be useful to you in understanding the concept.
Hope it helps...
Maybe you are looking for
-
Can't Print from Windows Vista Notebook to Printer installed in Mac Mini
I have a home network that is connected to the internet by DSL. My Printer Xerox Phaser 3115 is installed to the Mac Mini. From my Vista Notebook, I can see the printer shared by my Macmini. However, I can't print coz the printer says "access denied"
-
Can't drag and drop Quicktime files into Adobe Media Encoder CS6
For some reason I can't drag Quicktime wrapped files into Media Encoder. I get this error message: "The file [FILE PATH] could not be imported. Could not read from source. Please check the setting and try again." I have the latest version of Quickti
-
Authorization object for terms of payment in VA01
Dear Gurus, we want that term of payment field on sale order should be in display mode for all user except authorised user, who has /have authority to change terms of payment. Requirement Authorization object (display, change) for terms of payment fi
-
How do you compress a photo's MB size?
I am trying to compress a photo's size from 4MB to smaller however it wont work. My mac just makes slideshows instead. Please give me the correct instructions on how to make the image size smaller. THANK YOU SO MUCH
-
Why does my JButton not work?
Hi, I am programming a Traffic Light, consisting of 3 lights, and a caption describing who's Traffic Light it is. Traffic Lights are to be used inside a bigger program. But as it is, I'm trying out how to program one Traffic Light. I created a Light