Smart form & show ( & )
Dear all,
I want to ask a question, if the material purchase order long text written & and then if they are shown in smartforms will appear <(> & <)>. How to solve it.??
thank you
Icuk Hertanto
Hi,
you are writing field name say....&wa_new& in text screen in smartform(that is initial screen),actuall you need to write that one within editor screen of text screen,remove all <(> such things give your field name within &...&.
revert back for further help
Thanks and regards.
Similar Messages
-
Text element not gettin refreshed in smart form
Hi
Text element does not get refreshed in the smart form preview.
I have a selection screen on which i have a few selection parameters and three application
toolbar buttons. "Save" , "Preview" and "Print". At the end of selection screen I have a
button "text" which when clicked takes me to the text element editor(FM 'TEXT_EDIT' )
I have to enter a project number on the selection screen, enter all other details and
then click on the "Text" button. I would then change /edit some text etc and come back
to sel screen. Now i click on preview , the smart form shows up and the text gets dispalyed
with the modified text.
I am passing the text name by appending "sometext" + project number to the TEXT_EDIT
and while eiditing and as a parameter to the smart form. In the smart form i have given the variable in the "include text".
Now Herez the problem.
I am still in selection screen and clik on the "text" button and it takes me to the
text editor. Now i add more lines, save and come back. Now i clik on preview
button and it displays the old text data.
When i come out of the transaction and renter , clik on the preview it displays data
correctly. Now if i repeat the steps
1.edit text button , add a few lines
2.preview button, shows data as entered in step 1.
3.edit text button, add few more lines
4.preview button .. the text displays is from step 1 and not 3.
I am not sure if this is lot of info for anybody to write an answer straight away but
if u need more info i can provide. I can do a read_text in the smart form but its toooooo
much of a pain for the data i need to display. million adjustments to be taken care of.
What could be the problem ? I have given all the basic settings like save parameter
in edit_text fm , checked all the print preview options in sdn.
Here are my questions
1. Why is the text element not getting refreshed.
2. After a form is displayed for preview , will it store anywhere in the buffer ? if yes
is there any method to clear it ?Hi,
The problem is not with text elements, it might be your size of window which you are using to display the text elements. Check your window size and modify that accordingly.
Cheers,
Bujji -
Smart Forms: u0080(EUR)-symbol in text - #-symbol in Smart Forms
Hello,
If a user writes the (EUR)-symbol in a text (e.g. positions-text in an order, VA01) the Smart Form shows a #-symbol.
Does anyone know the reason for this behavior and how to correct it?
Best regards,
StefanHi,
I tryed it with <156> and it worked. The problem is that you have to write it directly with the line-editor, which is not very confortable for the users.
If you write it diretly in the text-field the <156> will be masked to
<(><<)>156>
Thank you,
Stefan -
How to show Smart form in PDF format
Hi Experts,
I have a requirement in which I have to show a smart form in
PDF Format coming from the RFC .
Please give your helpful suggestion.
Thanks and Regards
Upendra AgrawalHi ,
Just look this pdf
see this link
http://www.****************/Tutorials/Smartforms/SFinEPasPDF/Page1.htm
Thanks
Edited by: Anup Bharti on Nov 7, 2008 7:00 AM -
Need to show three diff sheets in a smart form , first to be printed twice
Hi
I need to show data in a smart form where I have 3 different sheets
Process order request
BoM
Assembly
where the first sheet will be printed twice .
as header in each case we have order no , produced material order qty , qty produced etc with the title changing for each sheet . main window we have diff data depending on each form like it will b changing for process order req, bom , assembly .
how to do that & I need to print each layout in 2 diff language.
plz help.
useful answers will be rewarded.
ThanksCreate three pages . The first and the last are static and the second variable.
The first page repeat with a loop twice. The headers of the second pages and next has a window static (the header) and other variable .
If you have two languages repeat the operation. Call the smartform with a parameter called language by example -
How to show image in Smart Form dynamically , Image is stored on local PC
Hi All,
I have a requirement where user can attach any image to PM Order in T-code IW33. Now this image gets stored on user`s local PC.
After this user will generate a report which is a Smart form, On this Smartform i have to show that attached image.
So that image will contain Order Id and attached image.
How this can be achieved.
Regards,
AbhishekActually this Image(Image of Signature ) will be coming from Mobile device and then it will be stored as an attachment for an PM Order.
So there will not be any manual interuption and therefore no one will be storing this in se78. But this image gets stored in local PC. And now i have to get this image on my Smartform.
Any idea how to do it?
Regards,
Abhishek -
Text inversed in the smart form table
Dear all,
I'm new in ABAP and working on a smart form which has a cell in table shows an article description in both Arabic & English
but the Arabic text appears in reversed sequence in the print preview and after printing it shows like this ##### #########.
any idea how to solve this problem
thanksHello,
Please see the following SAP Note about printing Arabic:
587150 - Support of Arabic-script languages
For your Unicode system, then you should be able to print Arabic
characters via device type ARSWIN or device type SWINCF.
The Unicode cascading fonts solution with the device type SWINCF
described in the following SAP Note:
812821 - Cascading Font settings
So you need to configure a Frontend output device that uses device type
ARSWIN and use this to create the print with the Arabic characters.
Regards,
David -
Smart forms- when i print a report it print main window data on same page
hi,
when i print a report it print main window data on same page .
i.e. if data is more then one page then it shows data page wise on computer screen but when i print it print all data on same only one page by over wrriting .
pl. help why it is happening
i create page in page i set next page and in second page give first page.
mukeshmukesh,
what happened to this: smart form
close that please.
by the way,did you tried with what i suggested?
lets say mainwindow in 1st page.
copy the first page to second page.
now.
for 1st page: next page is : page2
for page2: next page is also : page2 -
How to get the PO no in the smart form and in the print program from ME23N
hello all,
I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
Subhabrata.Hello Everyone,
I am new to the forum and also to abap.
Excuse me if it is a basic question.
I am taking care of the output types.
This is 1st time SAP will be implemented .
For purchase order , I go to NACE ---EF----NEU---Processing routines
print output---SAPFM06P---ENTRY_NEU----MEDRUCK
FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
EDI------------RANASTED--EDI_PROCESSING
DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
Are the above settings fine ?
What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
I searched and found that IN ECC 6 , we have to install OSS notes .
Gurus, please help me . Let me know what all oss notes be implemented and how to proceed from here .
Any help will be greatly appreciated ,
Monalisa -
How to use Multiple Logos in One Smart Form?
All,
I have a client where they will have 2 logos for, e.g. "Invoicing" and want the form to decide which logo to print (based on plant code).
We are using Smartforms.
They want to use one form and based on the plant code - the form should determine which logo to print in the upper left corner of the invoice - how do you do this?
This is not like having text to print on the form in the same place - my understanding is the logo is NOT some variable you can "clear" in the program and then use the logo you wish to show up on the printout.
Does this have something to do with using multiple layouts within the same form? You define a layout for each logo and then within the Smartform logic determine which layout to print? And if that is true - does someone have sample code of how they determined which layout to use?
Thanks - and as always - points rewarded where helpfull!
ScottHi Scott,
Create two Graphics in Smartform window & place them wherver you want in the smart form.
Now in Graphics node, you can find 'Conditions' tab, under this you can give the conditions.
Hope this clue wil help you
Regards,
Sujatha -
How to print BAR code in SMART Form
Hi All,
I have the requirement to print BAR CODE in Smartforms.
For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
Thanks
Piyush MathurHi,
To Create a Bar code prefix:
1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
The place where you are using the field value use like this
<C1> &itab-field& </C1>.
You will get the field value in the form of barcode.
Which barcode printer are you using ? Can you download this file and see.
http://www.servopack.de/Files/HB/ZPLcommands.pdf.
It will give an idea about barcode commands.
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
Detailed information about SAP Barcodes
A barcode solution consists of the following:
- a barcode printer
- a barcode reader
- a mobile data collection application/program
A barcode label is a special symbology to represent human readable information such as a material number or batch number
in machine readable format.
There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
You can print barcodes from SAP by modifying an existing output form.
Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
reward if useful
regards,
ANJI -
How to delete a line in smart forms
Hi all
i have data in my itab in following format
Month 1 2 3 4 5 6 7 total
nov a a a a a a a 7a
dec P A P P A p A 4p
3a
i have to print data from col month to 7 in main area of the table in smart forms but it shows the 3rd line as well(an empty extra line) . is there any way that i may be able to delete or truncate third line ? as i have to print total below some where.
Regards
AmmadHi Ammad
i have a solution to ur question.
well u only want to print a line in the smartform Main window table if u have data in the first field of ur internal table lets take name as T_FINAL.
So u want to print lines in Smartform if T_Final-Field1 (which for month) is not empty.
For this go to the Condition tab of the Line (ROW) inside ur MAIN AREA In TABLE which must be there in any window probably in the Main window.
Double click on the Line (ROW) in MAIN AREA, It will contain 2 tabs Output option and Condition.
Click On condition and write under FIELD NAME the field of ur internal table WA u r using in TABLE for eg T_Final-Field1 if its Internal table with header line or if u r using a separate Work area use the work area like WA_Final-FIELD1, then click on the Square button just in front of it to select an RELATIONAL OPERATOR , put there the RELATIONAL OPERATOR as "Not Equal to" and in the comparison value column write a space quoted with single quotation as ' '.
After u do this any line encountered with its first field of WA_FINAL i.e wa_final-field1as empty wont be printed.
This Reloves ur issue.
Regards,
Akash Rana -
Moved to correct forum by moderator
Hello All,
in my smartform iam displaying the data by looping a table. i ahve put a header inside loop.
and for each new sales order , ia m going explicitly to new page, and when more number of items are there, that can fit in one page, then the smartform implicitly going to new page.
my problem is, when smart form implicitly going to new page, the MAIN WINDOW is not called, so my header is not displayed. iam displaying this header using a template.
the other windows, like date etc...are displayed, even if it goes to new page implicitly.
is there any way i can show the header (in template), in page that called implicitely.
Thanks in advance
Best Regards,
Amarender Reddy B
Edited by: Matt on Dec 17, 2008 9:59 AM>
Amarender Reddy Busireddy wrote:
> Hello chenna
> thanks for your answer
> can you let em know, how to check that, i am getting that check box in display mode, even if enter the smart form in change mode.
> i tried many ways but i could not make that check box editable
Thats because your table is not in the MAIN window I suppose. Keep your table in the MAIN window of the smartform and then Chenna's solution would work fine.
Vishwa. -
Smart Form: Which Action triggered the form?
Hi all,
we are using a Smart Form that should show information depending on which action triggered it. The Smart From is called by one class that does some preparation logic (Parent CL_SF_PROCESSING_PPF, Method EXEC_SMART_FORM). This class is started by several actions.
I know I could have several classes, one per action. But in case of changes, I would have to change all classes.
Is there a way to determine in the class which action was used to call it?
Thanks for your help,
Timo
Message was edited by:
Timo Koch (rephrased question)Hi,
I'm facing the same issue, for the moment the best answer is to read the value of the GUID from PARAMETER values.
DATA: para TYPE tpara-paramid VALUE 'TRIGGERGUID'.
GET PARAMETER ID para FIELD wv_ppf_guid.
IF sy-subrc <> 0.
MESSAGE 'Parameter not found' TYPE 'I'.
ENDIF.
SELECT SINGLE * FROM ppfttrigg INTO ws_ppfttrigg
WHERE os_guid = wv_ppf_guid.
The problem is on creation mode, the guid is filled but the table is not, I'm trying to get info through class cl_manager_ppf but I haven't found yet ...
Regards,
Guillaume Mackowiak. -
HI,
I have some Demo on Smart Form, others can access it by this location
http://www.4shared.com/dir/562143/f702c356/sharing.html
Doubt is:
In Page4, how to get that view on left side, becuase when i create a Table, it showing Header,Main Area & Footer. where as in demo slide its different
and when i click 'Data' Tab for Table Properties, in the First Box 'LOOP loop', its showing Operand, where as in demo slide its Internal Table..
Maybe something is missing(some steps) in slides and fist of all i am new to SmartForms as well.. suggest me how to proceed.. or if anybody have better document, please suggest me.
thanks
Jenhi Jen,
Check these out
<b>Smart Forms
<b>Smartforms Step by Step:</b></b>
http://www.allsaplinks.com/smartform_example.html
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Regards,
Santosh
Maybe you are looking for
-
Ipod not recognized by pc or itunes
hi, i've has my trusty old ipod video for about 4 years now. and havent had any major problems with it, until friday. i plug it into my computer and a bubble pops up saying that usb device is not recognized. it happens when i try differents usb ports
-
Any ideas on how to quickly get a count of logged-in users?
Hi, is there an easy and quick way to get the count of users currently logged into the system, i.e. without having to scoll tens of pages of the Company Sign-In log. pr
-
Checkbox in a table loop - without using Tableview or Iterator.
My client doesnt want to use tableview or iterator. We are using basic html to create the page. I know I can accomplish much easily using tableviews...but I am not allowed to use it. My requirement is simple. In my layout I loop at my internal table
-
C1400 printer - all-in-one trouble shooting
Hello, I've recently purchased the C1400 printer - all-in-one, and it started having problems. For some reason whenever I try to print something (for instance, a simple 1 page document), the printer activates, then prints a single page with some wei
-
Item impossible to copy when in a favorite link.
Hello all ! i have a little problem with my portal. When i go to my library@my authorized acces, and then in a repository, if a try to copy a fil from there to another place , it works. But if i go to the repository using a link i ve create in my fav