Smartform template problem
HI ALL
I have problem in smartforms template.
My Template like this:
in between columns columns there is a seperate by line this also having border line.
01 chemical smaple shall as per
02 Microbial respective specifications
03 Swap/Raine
but i want to printed like this
01 chemical
smaple shall as per
02 Microbial respective specifications
03 Swap/Raine
can any body pls tell me .................
Edited by: leelaprasadakula on Mar 1, 2012 2:42 PM
Edited by: leelaprasadakula on Mar 1, 2012 2:43 PM
Edited by: leelaprasadakula on Mar 1, 2012 2:43 PM
If you want to put image,
Right Click on template -> choose Create -> graphics.
In Graphics attribute tab ->
There is name field.
Click F4 & choose appropriate Image & fill all Attributes..
But Here You have to upload image, through SE78.
Then go to Bitmap image-> Click F5,
& then upload your Bitmap image (.bmp)..
Then Follow Above process
Regards,
KP
Similar Messages
-
Hi Guys,
I want to increase the number of characters in a particular cell of smartform template, i have extended the size of cell but still its taking only fixed number of characters while i am providing the numbers more than fixed as an input . what to do next, can anyone please help me?
Thanks
IKDear Khan,
if you increase the length of cell it will display the data in full length.
so it should be the problem with the variable / of internal table field problem.
1. check data in field.
2. if you have increased length of cell by deleting another cell then check
line and column in output option of the text for that particular cell.
3. check If you have given any char. restriction to the variable pass to the cell.
Ex. &var1(20)& etc. -
How to print multiple Smartform Templates
Good day Gurus,
I have 5 Smartform templates combined in one program. During printing if 1 data for each template is available, The pop-up screen also appears 5 times for me to print the templates. My question is how can I print the 5 templates using 1 pop-up screen. What I want is after pressing the PRINT button, all of the templates will automatically print.
Note that P_V_CONTRACTTYPE varies depending on the template to be used. That's why this procedure appear 5 times also.
For the controls, these are my inputs.
- control-no_dialog = ' '.
- control-preview = ' '.
- w_aux-tddest = 'LP01'.
determine smartform function module for service request
call function 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = p_v_contracttype
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
others = 3.
MESSAGE 'For Multiple Contracts, Only First 10 pages will be displayed.' TYPE 'I'.
call function lf_fm_name
EXPORTING
output_options = w_aux
user_settings = space
control_parameters = control
it_noutput = it_noutput2
var_lessee_rep = var_lessee_rep
var_uses = var_uses
var_basic_monthly = var_basic_monthly
var_secdep = var_secdep
var_lessee_add = var_lessee_add
var_other_charge = var_other_charge
TABLES
it_lessee_rep = it_lessee_rep
it_noutputrent = it_noutputrent
it_uses = it_uses
it_basic_monthly = it_basic_monthly
it_percentage_rent = it_percentage_rent
it_secdep = it_secdep
it_noutputrentB = it_noutputrentB
it_lessee_add = it_lessee_add
it_other_charge = it_other_charge
it_noutput = it_noutput2
it_adv_rent = it_adv_rent
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
Thanks in advance.Use tdnewid in the control parameters to create spool number on each template.
-
[URGENT] Ques::custom Template Problem in IF statement?
kindly help me out in solving this template problem...
this is what i have written for my JHEADSTART Template.. where i recieve error.
#if ( #WIZARD_PAGE_LIST_BEAN().selectedStep==3)
<af:panelPage title="#if (!${JHS.current.group.hasTreeLayout})#PAGE_TITLE()#end" id="panelPage" partialTriggers="CreateNewEquip_AccSpcEquip">
#else
<af:panelPage title="#if (!${JHS.current.group.hasTreeLayout})#PAGE_TITLE()#end" id="panelPage" >
#end
i want to check if wizard step has value 3 then corresponding line showed be executed....
NEED URGENT REPLY... THANKS[CreateNewEquip_AccequipmentDefinition.jspx] org.apache.velocity.exception.ParseErrorException: Encountered "#WIZARD_PAGE_LIST_BEAN" at line 37, column 7.
Was expecting one of:
<STRING_LITERAL> ...
"true" ...
"false" ...
<NUMBER_LITERAL> ...
<IDENTIFIER> ...
Kindly let me know the Right expression for it ... -
Smartform upload problem (within same Version)
i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
first: "A serious error has occurred
The transaction had to be terminated".
than second: Internal error (illegal structure of data storage)
Message no. SMARTFORMS002.
i can uplodad smartform successfully than and check also successfully,
but while i do final activation it causes above error.
what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
if any can knhow how to upload smartform successfully and solve above error.
regards,L.S.
I just encounter a similar error when activating a smartforms. I had made some changes, maybe by copy nodes through memeory into another smartforms and/or deleting one %GRAPHICS1 and making another.... smartforms got confused somehow and gave me an abort error 002.
I debugged the coding of activating smartforms and found out that ( in my case ) sap coding tries to insert duplicate entries in table stxfobjt.
Here is the part of coding where you can put your breakpoint and adjust the internal table tobjt if you have the same problem.
I made the line insert stxfobjt from table t_objt. BOLD ( in plain text with * : it s not a remarked coding line )
SAPLSTXBX / LSTXBXU36
FUNCTION / SSF_SAVE_FORM
Speichern der Tabellen
if i_active = space. " gesicherte Fassung
export t_ntokens t_objt t_ltext t_noltext
to database stxfconts(xx) id i_formname.
else. " aktive Fassung
delete from stxfobjt where formname = i_formname.
try.
insert stxfobjt from table t_objt.
catch cx_sy_sql_error into l_exception.
get reference of t_objt[] into l_dref.
raise exception type cx_ssf_fb
exporting textid = cx_ssf_fb=>err_on_insert
table_dref = l_dref.
endtry.
perform save_ltext using i_formname t_ltext.
export t_noltext t_ntokens unchecked = i_header-unchecked
to database stxfcont(xx) id i_formname.
delete from database stxfconts(xx) id i_formname.
endif.
Good luck all with debugging SAP's bugs
Regards,
Edwin Glaser
doubleclickyourprogrammer [at] sap4u.nl -
i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
first: "A serious error has occurred
The transaction had to be terminated".
than second: Internal error (illegal structure of data storage)
Message no. SMARTFORMS002.
i can uplodad smartform successfully than and check also successfully,
but while i do final activation it causes above error.
what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
if any can knhow how to upload smartform successfully and solve above error.
regards,i have tried deleting one by one elements and found that problem in address element,
i have just delete it and active it that it got activated,
and again after deletion i have put sam variable in address element for displaying adress dynamicaly and set length and width all same that it fot activated!
than what the problem at first time activation?
is there any runtime conflict or what?
regards, -
Smartforms - template printing on the wrong page
Greetings, everyone.
I've been searching the SAP library and the forum, but haven't come across a solution.
I created a form in Smartforms, with two pages defined: "first_page" (with the "main" window, 15 cm high, and some secondary windows), and "other_page"
(with only the main window - 27 cm high).
Inside the "main" window there are two templates, first is 2,7 cm high, the second 12 cm.
The problem is that if I set the second template for "currently" vertical alignment, it keeps printing on the "other_page", while it should fit in the "main" window on the "first_page", according to my calculations.
Setting the vertical alignment to "absolute (from top)" seems to solve the problem, but that's out of the question, since later I will want the second template to be printed in a loop.
Thanks in advance for the helpGo through this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985">sample</a> you will get an idea on templets.
Close the thread once your question is answered.
Regards,
SaiRam -
Dunning Letter template problem
Hi,
I've started using dunning letters but have a problem with a discrepency between the data that appears on my screen in the recommendation report (i.e the list of invoices being dunned) and the actual printed letter..
For example on screen I can see the list of invoices for a particular customer like this:
Doc No. / Date
50847 / 14.01.2009
50874 / 20.01.2009
50902 / 22.01.2009
51014 / 05.02.2009
50944 / 30.01.2009
51149 / 27.02.2009
But the print out shows:
50847 / 14.01.2009
50874 / 20.01.2009
50902 / 22.01.2009
51014 / 30.01.2009
50944 / 05.02.2009
51149 / 27.02.2009
Subtle difference but the dates of lines 4&5 have been swapped! All the other columns seems correct and I checked the actual invoices - the date showing on screen is correct - the printed version is wrong... I checked in PLD if the screen was showing posting date and the print out document date or something like that but it seems not. The template is 'Dunning Letter 01 (System) Doc ID DUN00001.
Can anyone advise where the problem is?
Thanks
KarenHi Gordon,
I found a SAP note which seems to be the same issue but it seems to me to be old and supposedly fixed by now - I am on 2007A PL40
Note 1117525
Symptom:
You print Dunning letters for a BP whose dunning terms are set as One letter per BP. In the printout of the Dunning letters, the rows are mismatched in such a way that the document dates do not correspond to the document numbers.
This occurs when you have later documents with earlier document dates.
Sorry for sounding clueless but not sure what you mean about replicating on test database in order to log support ticket?
I do have a test database which I use to test things on but didn't notice the document no/date jumbling until I did it on the live one.
How do I log a support ticket >- my other problems have been resolved with forum advice..
Many thanks
Karen -
Smartform output problem in dunning
Hi
I've done a search for this problem in the forums and found what I thought was the answer but it still doesn't work...
My dunning FM passes paramter IS_SFPARAM to the smartform (which is a copy of the standard SAP form F150_DUNN_SF). the initialisation in the form then calls FM GET_SF_DUNN_DATA in order to populate all the data from the IS_SFPARAM parameter.
However, as far as I can see, inside FM GET_SF_DUNN_DATA, a method is called to populate h_mhnk and use that to check that the parameters like gs_sf_mhnk are populated. If they are not, it raises exception no_parameters_found. I thought the FM set those parameters in the first place! How can I set parameters gs_sf_mhnk, gs_sf_fsabe and all the others in there? i am always getting the no_parameters_found exception at the moment!
Any help appreciated.
Jonuse smartform_trace transaction to trace ur smartform for errors.
also open ur smartform goto environment and get fm name now in the end some number wud be thr like this \...\SF000091 modify it and use it in se38 like this \...\LSF000091F01
it will open the code insert session break points and now check by running the smartform
кu03B1ятu03B9к -
Hello,
I’ve finally managed to deploy my first guest cluster with a shared VHDX using a service template.
So, I now want to try and update my service template. However, whenever I try to do anything with it, in the services section, I receive the error:
Unable to perform the job because one or more of the selected objects are locked by another job. To find out which job is locking the object, in the jobs view, group by status, and find the running or cancelling job for the object. ID 2606
Well I tried that and there doesn’t seem to be a job locking the object. Both the cluster nodes appear to be up and running, and I can’t see a problem with it at all. I tried running the following query in SQL:
SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
but all this gives me is an error that says - conversion failed when converting from a character string to uniqueidentifier msg 8169, level 16, State 2, Line 1
I'm no SQL expert as you can probably tell, but I'd prefer not to deploy another service template in case this issue occurs again.
Can anyone help?No one else had this?
-
XML Publisher Template Problem
Hi
This is very basic question as I am new to XML/BI Publisher
I am using templates in iRecruitment for Offers. I am facing problems when I am formatting numbers and uploading the templates.
Problem is when I see the offer letter from Application, it generates pdf with following format
120u000n00 whereas number should be 120,000.00
My number format is as follows
$#,##0.00;
I am using Word 2007 and saving the file as rtf document. Uploading the document to R12.0.4What is your locale?
<?show-page-total:TotalFieldName;'Oracle-number-format'?>
"BI Publisher supports two methods for specifying the number format:
• Microsoft Word's Native number format mask
• Oracle's format-number function
Note: You can also use the native XSL format-number function to
format numbers. See: Native XSL Number Formatting, page 5-126."
"To use the Oracle format mask or the Microsoft format mask, the numbers in your data source must be in a raw format, with no formatting applied (for example: 1000.00). If the number has been formatted for European countries (for example: 1.000,00) the format will not work."
Is more than one format model being applied? That will cause problems too. -
Invoice Template problem - Putting a Header field in repeating Lines rows
Dear experts,
I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template):
http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html
My requirement is to add a single line into the lines table, as seen in the Blog, which is a COMMENTS field from the header part of the XML and the problem is that it can be 1 line to maybe 5 lines. This is only on the first page. This causes problems as I don't know how to find out how far down the lines table I may be after adding this COMMENTS header field in here, to then know how many lines to loop over to ensure that the lines do not carry on printing over the bottom of the page e.g. if the COMMENTS is 3 lines - how do I know this to then only print 3 minus the maximum lines per page ($lpp) only on the first page?
Any pointers would be of great help.
Many thanks,
MarkThe COMMENTS field I've found out can be of any varible size and include carriage returns. For example, could be:
JD Trx special instructions 010908
FAO: PETER MUSCUTT
REF: FERRY ROAD 2351
========================
INCOME DUE TO COMPANY FOR
THE OPERATION OF EFERRY
ROAD CAR PARK
This causes such problems as being able to know how many lines this field will be, so that I know where to start the first Lines row in the invoice and also how many lines I can put on this first page (starting point - $lpp).
One method I thought would be to count how many characters there are in this field, when it reaches the line size on the invoice, increment a count varible that would be used to indicate the starting point for the first lines record. I would need to compare each character and if it is a carriage return, then increment the count also. This seems quite a heavy wieght way to solve this and would welcome any over ideas.
Thanks,
Mark -
Templates Problem in BI Publisher
Hi All,
I was new to BI Publisher, I had installed BI Publisher,BI Publisher Desktop successfully. Created an sql report in Publisher and created a template in MS word. The problem is,I had published the Template for a BI Publisher Report. when I try to view data for the report in BI Publisher using template I was getting following error "The report cannot be rendered because of an error, please contact the administrator".
I had installed the tool just now and worked on that.any preferences I need to set? Please guide me. Any suggestions would be greatly appreciated.
Regards,
Anil.Hi Anil,
The Same error had occured for me too. I have a temporary solution for this. Check the xdo file of the report, you can find the xdo file from C:\OraHome_1\xmlp\XMLP\Reports\<report folder> (location depends on the installation folder in your machine). in the second line of the xdo file the following link - xmlns="http://xmlns.oracle.com/oxp/xmlp" - should be present. The line should be like <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="<source>">
Put the missing link in the xdo and generate the report. This error occurs in some machines after saving the report configuration in BIP.
-Stain
Edited by: user11132834 on May 5, 2009 5:25 AM -
Mark of the web/template problem
I created three Dreamweaver Templates for my site. I inserted the mark of the web code to each template to allow me to test and preview pages without the pop-up messages. All of my pages are about done and some pages using spry and SWF files weren't previewing properly in IE so I decided that it was time to remove the mark of the web code from the templates. As soon as I tried doing this I got a message about data outside the HTML tag and if I continue changes to pages based on this template will not occur unless you insert the following code <!--TemplateInfo CodeOutsideHTMLisLocked="true"-->.
So I hit continue. I got a couple of other error messages telling me I did something wrong. I went back into my template and typed in the code Dreamweaver told me to enter. I saved the template and got some more errors. I didn't think to copy it all down at the time. So after all these nasty messages I'm not sure what's happened. So I make some changes to a horizontal spry menu and hit save. I get some more error messages about the changes will not affect pages based on the template. I have to cancel out of a couple of error dialog boxes. I load a few pages that were based on the template and see that none of the changes that I made to the spry menu on the template are reflected on the html pages created from the template.
So I go into the template and try deleting all references to the mark of the web code. Then I try changing the CodeOutsideHTMLisLocked="true"--> to "false." That didn't work. Then I tried deleting the entire line <!--TemplateIinfo CodeOutsideHTMLisLocked="true"--> thinking that if I just got rid of all of it that it would fix my problem. No such luck.
So now I start searching online for answers and I see some things about attaching and detaching templates. Okay, so maybe if I detach the template and then re-attach it everything will update. When I follow the instructions to do this I learn that the page is no longer attached to a template. That would explain why my changes in the template aren't updating the other pages. So then I try re-attaching the template. I open the assets panel, click on templates, select the template, and then click apply. Nothing. It won't let me attach a template. Template properties shows no template properties available.
Here is some of the code from of a page based on the template two_column.dwt
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/two_column.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="document_info" -->
<title>ONA</title>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<meta name="Description" content="This page contains images of some of the former employes of Overseas National Airways." />
You can't see it the code I pasted but everything after 1999/xhtml is grayed out and you can't edit it.
So now I'm totally confused and have no idea what I need to do to straighten this mess out.I thought I'd update this discussion and close it out. The reason why my pages weren't updating was because I
was using a template improperly. I had made the menu editable, which you're not supposed to do. The whole mark of the web issue was unrelated to my problem. -
Web ADI- Modification of FA Additions standard template problem
Dear Gurus,
We are on Oracle EBS 11.5.10.2. DB 10g On Oracle Enterprise Linux 5.8 BOX..
I have modified the custom template of FA Addition.. Here is what I needed and what I have done..
1. I excluded the mandatory Clearing Account Field from the template.
2. I enabled Attribute 1 to Attribute 6 columns for display.
3. Enabled those fields for mapping as well.
4. Created a new template.
All these I have done is by adjusting back end information.
Problem:
I am getting the attributes in layout creation page there I can select them for showing it on web adi spread sheet lines
but when I create the document the Attribute Columns does not appear in the sheet.
I have bounced the machine after doing the changes Still no result.
Technical Changes I made for doing this :
update bne_interface_cols_b x
set x.DISPLAY_FLAG = 'Y'
where x.INTERFACE_COL_NAME in ('ATTRIBUTE1','ATTRIBUTE2','ATTRIBUTE3','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6')
and x.INTERFACE_CODE = 'FA_MASS_ADD_INTERFACE'
update bne_interface_cols_b x
set x.MAPPING_ENABLED_FLAG = 'Y'
where x.INTERFACE_COL_NAME in ('ATTRIBUTE1','ATTRIBUTE2','ATTRIBUTE3','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6')
and x.INTERFACE_CODE = 'FA_MASS_ADD_INTERFACE'
Please let me know what I need to do for making these visible.
Regards,
Rubayat NewazLeo thanks your reply was really helpful.
here is what I did,
update bne_interface_cols_b
set val_type = null, group_name =null
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and interface_col_name in ('ATTRIBUTE2','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6','ATTRIBUTE7')
Walla it is showing in web adi. I am able to upload data..
but I am facing a new kind of problem.. When I upload data using pre validate
data is uploaded but I get this warning
No concatenated descriptive flexfield value to validate.
how to get rid of it ?
Regards,
Rubayat
Maybe you are looking for
-
How do I delete a contact group from my iphone
How do I delete a contact group from my iphone?
-
Cineware C4D Render Fails in Adobe Media Encoder
I'm trying to render an After Effects composition using Cineware and a very basic C4D Lite layer. It renders fine directly in the AE render queue, but hangs and eventually fails in Adobe Media Encoder. The error message is: Encoding Failed Export Err
-
Problems with pulldown In Cinema Tools
I am attempting a pulldown on some footage shot at 24pA on the Sony V1U (which I was told on this forum was not real 24p and therefore did not require a pulldown but found out from Sony that it is) and captured at 29.97. Looking at the Quicktime file
-
Mac OS X, Firefox v3.6. I've disabled all of my extensions and went as far as to uninstall and reinstall the application. Still having the same issue. The program automatically tries to close itself after opening.
-
How to lookup the INFOCUBE?
Hi, How to look up records in Infocube in the Start or Endroutine ? In DSO there ist a active table, i could SELECT * from /BIC/XXXXXXX Where...... but in Infocube there are a Fact table and some dimension tables.