Problem in displaying title in smartform
hi all,
I m developing a smartform in dev server. While i m directly checking the output by executing smarform i able to see the main title ( hard coded in title window, with no condition, font size 16, bold, arial) .
While i test the same in testing server, its not showing the main title.I asked the Funtional Consulatant to chk for the configration but as per his comments everything is ok.
Apart from this, rest all other windows are dispalying properly.
Can anybody guess where might be the problem.
thanks
hi
r u uasing any language for the text elment or text module.. i think u r giving the language dynamic based in the SPRAS or customer Language. may be the text is not existed in that language,
ru givung the language as 'EN' or u r giving it in any variable &Language&
if u r uisng any varaible then once check whether the text is avilable in that language.
Similar Messages
-
Problem in displaying ampersand in Smartform
I am working on one smartform. There is one header window.The text populated in this window is dynamic text. Symbol ampersand is not getting displayed correctly . When this text is displayed . It is getting displayed with greater than and smaller than symbol . I am not able to show it here. Please help me with this issue.
Hi,
This dynamic text is an include text. User will be giving that. I have used FM Read_Text and taken that text in an internal table. In this table also ampersand is getting populated as i told above. Except ampersand it is displaying all other characters correctly. Only problem is with ampersand. -
Problem in displaying Bitmap in Smartform
Hi All,
I have requirement of displaying company logo along with other logos like ISO logo etc. I combined all logos in one bitmap with white background.
When I insert the bitmap in other applications its printing correctly. When I import same bitmap into SAP and put it in smartform background turns out to be light grey. It gets reflected in print out also.
I tried to import the same as black and white bitmap. Its printing OK but logo is not as sharp as the original image. I understand that, when I convert it to black and white bitmap, the grey pixels in the edges of logo turn out to be white giving rough edges to logo.
Can anyone give solution to print the bitmap from smartform with the same sharpness as original bitmap with pure white background??
It's urgent.
Regards
HemaHi Hema,
I used to encounter the light grey issue on the background. It's nothing to do with SAP, but it's due to the image capturing when you try to combine all logos in one bitmap.
The solution is, try to save your bitmap without 'Frame' or 'Border'. I try to requested my colleague on editing the bitmap, and save the picture by ignoring 'Frame' or 'Border'. This will be a bit tricky, but it works for me.
If you know how to save the picture without 'Frame' or 'Border' using Image Editor Application (Adobe Photoshop, etc), this may solve your problem.
Hope the above helps.
Cheers,
Patrick -
Problem in displaying text in smartform
Hi,
In my smartform, In a text element I have written a text like below.
Reference Number ,,,, &v_ref& ,,,, Date Received ,,,,&v_date&
Now v_ref can be max of 23 characters. When it is of 23 characters, it is showing fine in output.
But when it is <23 i.e.10 or 11 characters, the allignment is misplaced. So I am thinking in that case
I will append blank space after the value upto 23 characters. I have tried several ways to add blank
spaces but in the output it is not considering the space and still the problem remains.
I want you guys help to resolve my problem.
MainakHi,
For this there is Two solutions :
1. Create One paragraph format in smart Styles by providing required Tab Spaces and assign it to Text node.
2.Use a Template that contain two columns with required length.
Better is Use Template for future modifications. -
Problem in displaying total no of pages in Smartform
Hello experts,
I have a problem while displaying total no of pages in Smartform.
When no of pages are more than 10 then in total no of pages , a * is shown till current page is 9, then after it is displaying correct no of pages.
I am using &sfsy-formpages& to get total no of pages.
Ex: Like if I have 12 pages to print then i am getting 1/, 2/, 3/* .......... 9/* then 10/12 , 11/12, 12/12.
Do i have to write some code for that ?? Please give your inputs to get the total no of pages.
Thanks !Hi,
Try this.
Page &SFSY-PAGE& of &SFSY-FORMPAGES(4ZC)&
Thanks,
Anitha A -
Problem in displaying data in the smartform output.
Dear Freinds,
I have a requirement as per my requirement i have to display the employee dependents details in the smartform output.
I have taken a table in smartform and collected all teh employee dependents details . Each dependents his own details around 8 fields. so iam displaying in the smartform it is working till now no problem ........iam getting data as below
Dependentrelation | dependentname|passportno|expirydate|visano|visadate|visa expire date| ResidenceNo|Residence issuedate|
spouse | Raja |123456 |10/09/2009|122233|10/01/2009|10/01/2010 | 1001 |10/01/2009
These are the one of the dependentds details iam having till now , like this i have another dependts details. Now the problem i have
to add some fields to this list ( to this internal table) ...........if iam adding one more feild data is getting truncated as i dont have any more fields to add to right in the horizontal line........how can i solve this issue and how can i add further fields to this list
like date of birth of the dependents and gender
please could any one tell how i can solve this issue.
regards
divya.If this is a Tablethen only thing you can do is re-size the grid and font size to adjust your data. Like, displaying HEADINGS & DATAs in 2 rows instead of 1, etc.
Nothing else can be done. Otherwise you have to trim down the data to adjust in one page. -
Smartform Problem in Displaying a string data
Hi Friends,
I am facing a problem while displaying a string data in smartform. Actually it is a one of the field's data in an internal table. It is a STRING field type of length 0. While populating in an internal table it is having a all the data(Around 700 char data). But while displaying in a smartform surprizingly only few characters(Around 225 char data). How can i overcome this problem?
Regards,
Sekhar.JHi
try this and see
Declare some Variables of 72 char each and split that long string data of internal table text field into them and display these variables strings one below other in smartform
var1 = itab-text+0(72)
var2 = itab-text+72(72)
var3 = itab-text+144(72)
like that
and display one below other in smartform.
&VAR1&
&VAR2&
&VAR3&
Reward points for useful Answers
Regards
Anji -
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 selected page items in the title in Graph
Hi There;
I have a problem in displaying selected value of named page item in the graphs.
Eg. I have in my worksheet a page item named "Location"; when I use "&WorksheetName &Location" in the title of worksheet it is displaying both the worksheet title and value of selected page item "Location" in my example.
But when I use the same (&WorksheetName &Location) in the title of graph or Axis of the graph, it would show up only the name of the worksheet but not the value of page item "Location", instead it would print "&Location"
Any idea why it is not able to reference the select page item in Discoverer graph? I am using Oracle BI Discoverer 10.1.2.1.
Thanks in Advance,
Regards,
Nidhi JethooHi Michael;
Thanks a lot. It might not have been considered necessary but you do require, e.g in my case I am plotting Average value of a Parameter and it does make sense in including the name/value of Parameter(surface water temp/bottom watter temp) as an Axis instead of just a constant Parameter or say Average Parameter. So that user can plot the variation of different parameters by changing the page items and when user changes the value of parameter and export the graph he/she has the parameter name(actual value) in the graph.
But I can include all the parameters (&Parameters) or all the page items(using &PageItems) in graph then why not individual page-item and individual parameter.
I would log a SR and see what they say.
Thanks again,
Nidhi -
Problem with displaying chart data
Hello everybody,
I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
to show the result. The second column of the grid is for february and the third for march.
Could anybody help me with this problem. Thanks in advance.
ThomasHi Chris,
thanks for your reply. Here you get the source code:
The following method creates the LineChart:
public function init():void
model.upperChart = this;
model.upperChartStyle.setChartViewStyle(this);
this.hAxis = new MyDateTimeAxis();
model.upperChartData.configureHAxis(this.hAxis);
this.vAxis = new LinearAxis();
model.upperChartData.configureVAxis(this.vAxis);
this.vAxisTitle = new Label();
this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
this.vAxisTitle.x = 10
this.vAxisTitle.y = 0;
this.addChild(this.vAxisTitle);
this.myChart = new CartesianChart();
//remove default datatip
this.myChart.showDataTips = false;
this.myChart.x = 10;
this.myChart.y = 0;
this.myChart.width = 768;
this.myChart.height = 196;
model.upperChartStyle.setChartStyle(this.myChart);
this.addChild(this.myChart);
//Remove line shadow
this.myChart.seriesFilters = null;
this.myChart.horizontalAxis = this.hAxis;
this.myChart.verticalAxis = this.vAxis;
this.hAxisRenderer = new AxisRenderer();
model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
this.hAxisRenderer.axis = this.hAxis;
model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
this.vAxisRenderer = new AxisRenderer();
model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
this.vAxisRenderer.axis = this.vAxis;
model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
this.addChild(this.vAxisMinLabel);
model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);
this.myChart.dataProvider = model.upperChartData.dataProvider;
this.myChart.series = model.upperChartData.series;
The data for dataprovider and series you can see in attached file dataprovider.xml.
xfield is equivalent to timestamp
yfield is equivalent to absolute
I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
public function configureHAxis(axis:MyDateTimeAxis):void
axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
axis.dataUnits = "days";
axis.dataInterval = 1;
axis.title = "";
axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
And finally you get the function, that I'm using for string to date conversion:
public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
var result:Date = new Date();
var year:Number = Number(input.substring(0,4));
var month:Number = Number(input.substring(5,7));
var date:Number = Number(input.substring(8,10));
var hours:Number = Number(input.substring(11,13));
var minutes:Number = Number(input.substring(14,16));
var seconds:Number = Number(input.substring(17,19));
result.setUTCFullYear(year);
result.setUTCMonth(month-1);
result.setUTCDate(date);
result.setUTCHours(hours);
result.setUTCMinutes(minutes);
result.setUTCSeconds(seconds);
return result;
I hope that will help to locate the reason for the wrong chart visualization.
Thanks for any help. -
Thangsan font not displayed correctly on SMARTFORM
Hi Experts,
I am having a problem on displaying (preview) and printing a smartform containing a thangsan font. The characters are displayed/printed as #####. Please advise. Is this a printer problem?
Thanks.Hi,
There can be 2 causes for your problem:
1. you are not printing on the correct printer; if you use LOCAL printer, try using LOCC printer, if such a printer exists in your system, or search a printer with device type CNSAPWIN; This device type handles the printing of asian languages.
2. if the smartform is associated with a standard transaction / output type, try creating the output in that language; or just pass the language in the control parameters structure.
Hope this solves your problem.
Regards, -
Problem with displaying special language symbol in charts
Hello,
I have problem wih displaying special symbols in czech language in charts. When I write some value into Categoryaxis or Value axis in chart designer I see the right value. Then I save the web template and present it on the web. But on the web presentation I don´t see the right value. I see the title without special czech symbols.
I find on forum some solution for language dependent texts (using special program eg. ZHTMT_TEXT) I think that It´s not solution for me. I think that I have problem with font or code side...
Can you give some advices?
Thanks
Kind regard.
PetrI try to change the font but the output is not correct...
Czech language has some special symbols a e.g. č,ř, á.
Thanks
Petr -
Dynamic Prompt/Label/Display title
Hi JHeadStart team,
I use UIX and 100% of my application is generated by JHeadStart.
I have a little problem.
Which it's the best way to change "label, prompt, column header, display title" manually.
Because this information is stocked in a table of the database.
Regards,
LucLuc,
I am not sure I understand your question. Do you want to read the prompts and labels at runtime from a database table?
If so, you should generate your JHeadstart application with nls turned on and you should use a java class as resource bundle type (extending java.util.ResourceBundle). Then, JHeadstart will read the prompts, labels and display titles from this resource bundle that is generated for you.
You can add code to your resource bundle class to read the actual strings from a database table instead of hardcoded into the message bundle. Not a trivial task though....
Steven Davelaar,
JHeadstart Team. -
Problem in displaying the TaxRate columns .
Hi Experts,
I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns like- ' 'Basic Excise Duty BED@10 %', ' Education ces@2% ' , 'Secondary Education Cess @1%', etc. only 4 -5 tax's value should display at a time and rest of the TaxRate's columns whose value is NULL should not display.
So, I want to display only those TaxRate's columns whose value is not NULL and If there is no value for any taxrate's column in the data, then it should Display only 'Excempt' column.
This is my query...
SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.' ,
RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
(SELECT DISTINCT TaxRate
FROM RPC4
WHERE (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_8
WHERE (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_7
WHERE (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_6
WHERE (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_5
WHERE (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_4
WHERE (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_3
WHERE (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
(SELECT DISTINCT TaxRate
FROM RPC4 AS RPC4_2
WHERE (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
FROM OSTA INNER JOIN
RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
ORPC INNER JOIN
RPC1 ON ORPC.DocEntry = RPC1.DocEntry
WHERE (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
Kindly help me to solve this problem
Regards
RahulHi rahul,
Try this:
SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4 AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS 'VAT12.5%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS 'ADD Tax 1%',
(SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS 'Excempt'
FROM ORPC T0
INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
WHERE (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
FOR BROWSE
Thanks,
Neetu -
Display data in smartforms using report
hi,
i want to display data from smartform using report.
i have a preview buttons in report when i select preview buttons displays in smarts
regards
amitdesign the smartform as per ur need and get the function module generated by smartform and pass it to ur report programas below..
case sy-ucomm.
when 'smartform'.
pass the f.m that is generated by system in smartforms
CALL FUNCTION '/1BCDWB/SF00000265'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
DATE_L = s_fkdat-low
DATE_H = s_fkdat-high
PLANT_L = s_werks-low
PLANT_H = s_werks-high
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
IFINAL = ifinal1[]
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endcase.
Maybe you are looking for
-
Can't open project from RH for HTML
I want to work in my RH for HTML Project, but everytime I would want to open it, the software starts jamming. I tried to shut down computer and restart and it didn't fix the problem. Can somebody help me with this problem?
-
How do you change the ont size
How do you change the font size for one word ?
-
Target file name as field in target structure
Hi SDNers, I have a requirement where I need to populate a field in target structure with the target file name, this will be a counter. So if the interface is run 2 times already the third file should have name XXXXXXX_03 and also this needs to be ma
-
after some time sound card just stops working and I have to restart computer to have it working again aby idea
-
Questions regarding Dialog component.
JDeveloper 11g + ADF BC + ADF RC I have two questions about the af:Dialog component. First, I notice there is a property called 'AffirmativeTextAndAccessKey'. Is there any way to set that to a double-click event? Second, is there any way to stretch a