Display of data vertically in smart form
Hi all,
I have a smart form to develop where i need to display the bar code vertically with values also displayed vertically along with the barcode.
Can some one suggest on this.
Regards
Archanaa
Hello.
Refer this link:
vertical and horizontal printing in same page with smartforms or sapscript
Search SDN and you will find more information.
Regards.
Valter Oliveira.
Similar Messages
-
How to display TEXT vertically in SMART FORM
Hai,
I need to display the column name of a table vertically (readable from bottom to top) in smart form.
Could any one please tell me how to do this?
Thanks & Best Regards,
Maniyam Bhaskar.Hi,
Go through these threads for the discussions happened on similar issue... hope it helps you..
how to print text vertically in smart forms
vertical and horizontal printing in same page with smartforms or sapscript
Good luck
Narin -
To display selection screen date parameter in smart form
Hi to all
My requirement is to display date parameters which are given at selection screen (module pool program ) on the smart forms.
I just want to dispaly this on selection.
SO_BLDAT-LOW
SO_BLDAT-HIGH
Please guide.
Regards
AnubhavHi,
If you are calling the smartform from the module program then export the parameters from the calling FM
and import the same in the smartform.
Regards,
Sandeep -
How to Print Vertically in Smart Forms
I need to print data in vertical format into columns in smart forms. Can any one give me the solution.
Hi Sreedhar,
In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
Best Regards,
Ram. -
How can we change the date format in a smart form.
define a var of type string in global
1)get the req date use edit mask function to modify it
2)convert tthe date as u wanted in program lines in smart form
3)assign the same to the string variable & then u can display the same
i hope this works
close the thred if problem is solved -
I am in trouble to display Emp_code and Emp_name through Smart form .
HI All Experts .
I am very stuck up in Smart-form .
What i need to do is just Display Employee NO (I.e. Employee Code)
and his name through Smart-form .
I folow the steps suggested by experts , but unable to print it
May any Expert give the Steps , How to Proceed it ?
It would be great favor to me ....
Pa0001 is table for Employee Code (Pernr)
and Ename(Employee name) Both fiels are in Table pa0001 .
Please help me out or send Screen Shots , how to proceed in Smart Form .
Please it is very Urgent Sir .
Best Regards : Rajneeshhi rajneesh,
follow the steps to disply them:
1. global definitions -> types -> write:
data: begin of ty_pa001,
empno type <fieldname>
empname type <fieldname>
end of ty_pa001.
2. global definitions -> global dat -> write
it_pa001 type table of ty_pa001
w_pa001 type ty_pa001
3. global definitions -> initialization -> write
input parameter: pa001
output parameter : it_pa001
below: select <empno field> <empname field> fron pa001 into it_pa001.
endselect.
4. main windoe -> create table
5. table -> table tab
right click on the row in which u can view %LTYPE% -> split -> cell
6. table -> data tab
at loop give: it_pa001 into w_pa001
7. table -> main area -> create table line
now u get 2 cells - cell1,cell2
8. cell1 -> rightclick -> create text
in general attributes tab click on txt editor(it will be a button left side to the editor)
then goto -> change edotor
there write: &w_pa001-empno&
9. in the same way write &w_pa001-empname&
10. save, check n activate
11. now execute
12. give lp01, u can have the data u want
hope this helps you. -
Ways to display SSMS data vertically?
We have several tables with 30+ columns (imports from an older system). Scrolling horizontally through the data is cumbersome at best. What's the best way in Sql to present the data vertically, like this:
This:
col1 col2 col3 col41......
becomes
col1
col2
col3
col4
Or can you recommend a better way (possibly outside of sql) to quickly view this data without scrolling from left to right?
TIA,
edm2Hi, You have got the answer above, in very short (by JS PADOAN)
As always there are several solutions that might fit your needs.
If you post a DDL+DML + the original query +the
result that you want to get, then it will be easier to help you and post a full solution. In the mean time you can check about using PIVOT and UNPIVOT and FOR XML. Most needs regarding this question can be done using those solutions.
PIVOT/UNPIVOT
http://technet.microsoft.com/en-us/library/ms177410(v=sql.105).aspx
I recommend to look for more tutorial in Google. This is a simple one.
[Personal Site] [Blog] [Facebook] -
PDF Form giving different data compare to smart form
Hi Friends,
There are few scenerion in my system where my application produce a PDF form (Smart Form Convert to PDF through OTF)
In some case when I execute/print the form it shows me all PO form represnt me a differnt PO form althought their smartform is showing up correct PO.
Please help me out what can be a issue.
-RickHi ,
Like I have print of 5-6 PO then I am getting a refrence of some other PO in all print of these 5-6 PO.
for example...I have a print of series 1000000001 to 1000000005 then I am getting the details of other PO 1000000011 into all 5 print of PO starting from 1 to 5.
Note- I have a custom program which convert smartforms to OTF and send a PDF to mail id.
-Ricky -
Passing data to the Smart Forms - incert icon missing
Hi Abapers,
To add a field, i need to click on u201CInsert Fieldu201D. but the insert icon is not available menubar.
Please anyone let me know, how to bring that under 'general attributes' tab.?
Thanks in advance,
RajHi,
Instead of going for the insert field just click the EDITOR button available in the left hand side of the editor and you get the SAP SCRIPT editor there you can directly enter the variables,
or
Go for the FIELDLIST ON/OFF button which will be beside the FORM PAINTER button so you will get the list of import , export , global , system-fields data from there you can just drag and drop the fields you want.
this will resolve the issue.
thanks
sarves -
How to print text vertically in smart forms
hi,
Can any one tell how to print text vertically in smartforms
ADVANCE THANKS
GUHAPRIYANHI,
Chk out this thread.Maybe it proves helpful.
Re: vertical writing in smartforms
Regards,
Gayathri -
hi , i have to change the date Example 27.10.2010 to 27-oct-2010 , so what is the solution .
Moderator Message: FAQ. Please search before posting.
Edited by: kishan P on Oct 27, 2010 11:02 AMHi Rahman,
See this link.
<<removed by moderator>>
Thanks
Nitesh
Edited by: kishan P on Oct 27, 2010 11:03 AM -
A window to be displayed in last page In smart form
Hi,
I have to display a window in last page . Its actually like a footer in which some information is diplayed.
so this footer shud be displayed in last page. Kindly any one guide me regarding this issue.
Thanks in Advance
Regards,
Neelima.Hi,
u can do this by using some concept......
1. draw the main window upto the bottom where the footer is supposed to be....
2. draw the footer window as secondary window overlapping the main window at the bottom.
3. set the footer window event as 'Only after end of main window'.
4. in the main window create ur table...
5. In the footer of the table set Footer with height = 'same height as the footer secondary window'.
tick the 'at end of table' and untic the 'at page break'.
6. add a blank line type with blank text element(only few enters) on footer of table...
7. In the table line types. press details and tick the 'no page break' for the footer line type.
this will do the trick....
what happens here is, the footer window will only print at the end of the main window...if the main window ends at the bottom, then it will check whether there is space for the footer...if no space is available then it will go to the next page.. otherwise it will print the footer of the table (which is blank) and then print the footer window over it(which is of the same height as the table footer)... -
Display data vertically using sap script
Hi Developers,
Is there any way to display data vertically in a form using sap script?
thanx in advance,
binuHi Binu,
It is not possible to rotate text in SAPscript. The usual work-around, provided this is static text and not from a variable, is to scan an image of the text and include it as a graphic.
Regards,
Nick -
Suppress leading spaces while displaying an amount field in a Smart form
Hi all,
In a smart form, I am using fields like KONV-kbetr and VBAP-netwr each of them currency type and 2 decimal places. I want to suppress the decimal places and also the leading spaces while displaying these fields in a smartform cause when this field is inserted in a sentence, a lot of gap is there between the field and the words of the sentence. I dont want to change the field length cause it can be that huge in some cases.
Please help.
Thanks ,Hi, if you would place it in a sentence, it would be an option to concatenate the text and values into one string and then condense it.
concatenate <text> <value> into lv_sentence.
condense lv_sentence.
but another way is to use codes for displaying values in smartforms:
This is from a smartforms PDF i have..
Output Options for Field Contents
Use the Formatting options to adapt the value of a field before printing it. You can enter the
relevant parameters directly behind the field name. Make sure to write the short forms of the
different options in uppercase letters. Some of the options can be combined.
General Information
The formatting options are not suited for all data types of fields (for example, for character fields
you need no exponential representation). You must distinguish between numeric fields and
character fields.
Numeric Fields
If specified, the system first evaluates the length (<length>).
If no length is specified, the system displays the value in its overall length.
The trailing blank indicates a positive sign. To suppress it, use formatting option S.
Any offset <offset> specified is ignored.
Sequence of evaluation: (<length>), sign to the left(<),Japanese date (L), suppress blanks (C),
right-justified display (R), insert fillers (F).
Character Fields
By default, the system displays the value of a field in its overall length, but truncates trailing
blanks.
Sequence of evaluation: suppress blanks (C), <offset> and (<length>), right-justified display (R),
insert fillers (F).
Overview
Formatting Options for Fields
Syntax Description
&field+<offset>& Skips <offset> places of the field value (character fields only). If the
offset is greater than the length of the value, nothing is displayed.
&field(<length>)& Sets the output length to <length>.
&field(*)& If the field is defined by a Data Dictionary type, Smart Forms set the
output length to the value specified there.
&field(S)& Suppresses the sign
&field(<)& Displays the sign to the left of the number
&field(.<nat.number>)& Limits output of decimal places to <nat.number>
&field(E<nat.number>)& Displays the field value with the fixed exponent <nat.number>. The
mantissa is adapted to this exponent by shifting the decimal
character and inserting zeros.
SAP Smart Forms (BC-SRV-SCR) SAP AG
Output Options for Field Contents
72 April 2001
&field(T)& Suppresses thousand indicators when displaying fields of types
DEC, CURR, INT, and QUAN.
&field(Z)& Suppresses leading zeros of numbers
&field(I)& Suppresses display of initial values
&field(K)& Deactivates a conversion routine specified in the Data Dictionary.
&field(R)& Right-justified display. Use this option only when specifying an
output length as well.
&field(F<filler>)& Replaces left-justified blanks in the value by the fill character <filler>.
&field(L)& Converts and a date field to a local date and displays it. The date is
then formatted using edit mask JPDAT.
Since this representation uses Japanese characters, use it in the
Japanese version of the SAP System only.
&field(C)& The system takes the field value as a sequence of words separated
by blanks. Option C shifts these words to the left and leaves only
one blank inbetween as separator. Any leading blanks are
suppressed. This effect corresponds to that of the ABAP statement
CONDENSE. -
How to Pass the Internal table of a report to Smart Form
Hi Experts,
I have one report in which from selection screen i am getting the values from the users, and upon that values i am filling data in to the internal table.
Now i want to pass that internal table data to the smart form
and print that data in the smart form.
So could you pls give me some pseudo code or any steps to achieve it.
Thanks & Regards,
DSHi DS,
First of all you need to create a SF and then need to call the FM generated by the FM in your report.
In the SF in the form interface>tables tab>mention the name of the table and its type structure.
Pls note that a new structure has to be created as the same type of your internal table which holds the data.
And the import and export parameters as just the same as in a FM.
Now after you create and activate your SF a FM will be generated (wen u execute your SF you will be taken to this SE37 screen with the name of FM so no probs..)
You can call this FM in your report. Hope this helps.
Ex:
say itab has your final data, and you also want to export a variable var1 to the SF.
after your normal report operations end, call the FM and pass on these data.
say your FM name is FM1.
call function FM1
exporting
var1 = var1
tables
itab1 = itab1.
pls note that in the SF also i gave the same names, it is not mandatory to give the same names.
and as you want to print a table in the smartforms, you need to create a table in the smart forms and then display the data which is quite simple.
Hope this helps...
if you need any further explanations, pls revert...
Regards,
Narendra.
Reward points if helpful!!!
Maybe you are looking for
-
How do 2 ipods share the same account?
My husband and I have very different tastes in music. How do we keep 2 seperate libraries for our music? When I try to create a new account it says there already is one for that e-mail address.
-
In Address Book, I would like to have a field "File As". So, l can list "Joe Smith", as "The Smith Family". I will use this when I print labels for Xmas cards and such. Thanks!
-
Is there any option to run FBRA in background mode or suggest some idea.
-
How can I implement CRM to XI?
I need to know what needs to be done to implement a CRM to XI? Is there any good link which tells me the step-step procedures. I am comfortable in XI. But needs to know on the CRM side, how to execute some thing on CRM side. Regards, N.S
-
Hi I want to install my 10g infrastructure on VMware instance and 10g Mid on a standalone system 4 security can amy one help me in this I really appericate you help chaitu