Reg- windows in smartforms
Hi,
1) What is the difference between the copy and final window in smartforms?
2) What is the difference between at-selection screen output and initialization in reports?
Points will be rewarded for correct answer.
Regards
sathish
<i>Copies window:</i>
You use the copies window to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed.
<i>Final window:</i>
You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.
Check this link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/b1/243fe0beee11d4b633006094192fe3/frameset.htm
<i>AT SELECTION-SCREEN OUTPUT</i>
This is used to dynamically set the screen field attributes
<i>initialization</i>
this is used to set the default values to the scree fields.
Regards,
Naimesh Patel
Similar Messages
-
How to create Dynamic Window in Smartforms
Hi all,
Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
Thanks in Advance.
Vinay.hi,
Hi,
1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
company -code = '2201'.
2.Then that window can trigger ofr that condition.
3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
reward me if helpful. -
How to hide a window in smartforms
Hi experts,
How to hide a window in smartforms depends on the conditions. The condition is the window how a hard coded values + fields. if the condition satisfies i want to display in form if its fails no need to display in the form... plz, its urgent.
Regards.
Gowrisankarhi,
inside the window, you can create a condition.
right click on the window, CREATE>FLOWLOGIC>ALTERNATIVE.
you can give your condition there
thx
pavan -
How to cross a window in smartforms
How to cross a window in smartforms.
I guess it is not possible to draw crossed lines inside window, but you can upload an image with cross line and display it inside the window basing on condition... it will give a look and feel of what you want.
Close the thread if your question is answered.
Regards,
SaiRam -
Print Invoice Header Text In Main Window of Smartforms
Helo Gurus !!!
I want to print Invoice header text in main window of smartform.
There are total 5 columns.
Item Quantity Description UnitPrice Amount
Now what I want is to print header text below Description column, there is a loop on the table in main window.
This header text will be printed only once. This is a standard header text
How to get this?
Points are assured !!!Hi Anay Kulkarni,
I understood that u need to print this header text
Item Quantity Description UnitPrice Amount
So please use TABLE instead of LOOP in the table we can prin header, main area, footer.
place the header text in header area in table... i am sure this can resolve it.....
feel free to contact me if issue is not resolved/.....
dont forget to reward points....
all the best...
Regards,
Sreeniasa Sarma K. -
Can we create graphic and text in the same window of smartform without using template?
we create graphic and text in the same window of smartform without using template?
Hi Kinjal,
as far as i understand you are talking about a template which you can partitioned and in one part you wants to show your graphics and in other part you wants to print your text, the border of template shall remain invisible.
If you wants to do it without using a template, you can do it as sujjested by Susmitha, but creating a template will provide you more flexibility that if you wants to change the attributes in future you can do it easily. -
How print address in Single line in Address window in Smartform
Hi All,
How print address in Single line in Address window in Smartform?
Thanks in advance.
Message was edited by: Vipin NagpalHi Vipin,
if u r defining the variables for the address manually,
then u can define all the fileds in a single line in the edit mode of address window u will get the address in the single line only
if u r using the standard format
modify the address format by using the user exit:
"EXIT_SAPLSADR_001"
Check OSS Note : 454987
or in the least case u can use the address window setting to change the format and lines
May be this will help you.
Regards,
Naveen -
How to show a window at end of main window in smartforms
Hi guys,
I want my window in smartform to show only after end of showing the main window,,,
When i tick only after main window in condition tab of window, it shows on the uppermost portion of the output and not below the main window... Do I need to input the upper margin for this?
How am i going to do it?
Thanks a lot!Thanks guys,,,
But still not working...
Do I need to fill the upper margin of the final window?
Since the height of my main window is dynamic, Im not sure what to fill up on the upper margin... -
Bend a table or window in smartform
Hi Friends..
I need to bend the table or window in smartform..
looks like curve.
so please give your suggestion to achieve it.
Thanks
Gowrishankarhi,
I give an example
Table:
A product may have single or multiple delivery dates in that case we will go for node Table. As the delivery dates will appear in a single line or multiple lines which we are not sure
Template:
We know that value will be displayed in fixed lines. Eg : we are sure that material no. will appear in a line.. -
Two main windows in smartform or two loops in one main window?
Hello All,
I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
and in between these two data i want one template to be printed for item data .
Smartform is giving me error if i use two main windows
if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
scenario is
header data****
**item header**
item data****
Pls comment....
Regards,
SunnyAs main window can only be one, so try it this way:
Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
MAIN_WINDOW
TEXT1 " first header
LOOP1 " header table
TEXT2 " header data
TEXT3 " Second header
LOOP2 " item table with where condition
TEXT4 " item data
With luck,
Pritam. -
How to print text in English & chinese lang in the same window in smartform
Hi All,
My requirement is in the Smartform for few windows i need the text in the English Language as well as corresponding Text in chinese Language.
For Eg Buyer:
需方:
Address
地址:
Contact:
联系人:
Tel: Fax:
电话: 传真
I need only the corresponding Labels to be converted to the chinese language. Please let me know how this can be done.
Thank you.Hi Vasudha,
You maintain the English & chinese text in different standard text using SO10 in different languages.
Then include these texts in your smart forms.
The process to include these texts :
Right click on the node=>create=>text=>choose the type as Include text.
Text Name <The standard text created in SO10>
Text Object TEXT
Text ID ST
Language <Language>
Regards
DKS -
Problem in printing multiple main window in smartforms
Hi Experts,
I have requirement form client to print PO which consists of 4 page.
First page is cosists of header and some text.
In second page different header and line item.
Thirs page different header and line item.
4th page different header and line item.
I have printed tex in main window of first page and called command to trigger
second page main window, but i am getting dump.
How to print the line item in the multiple page of smartforms.
Regards,
UdupiHello ,
To print the text below are following steps which you can follow for your requirement :
1. Create the Four pages having the Main Window, but take care that Logic should be in First Page Main window only , other pages main window will be blank.
2. Create the Secondary Window in second, third & fourth page which will be same size as the main window having the text which need to be print in respective pages.
3. Logic Part - in the main window of first page fill all the data which you need to print in 1st to 4th page in different internal table. Now for example you need to print text in first page then in Main window create table having the data of 1st page.
To print data in Second page create one more table having data of secondpage and put the Command there (follow the same for next pages,)
I hope this will help you
Thanks
Romit Raina -
Footer of the Table in Main Window in Smartforms
Hi,
I have a smartform. In that I have declared a main window. And I want the Footer to appear on each page. So, I have checked both the check boxes in the Footer Event of the Table in Main Window.
1. At page Break
2. At end of table.
But it is comming only on the first and last page.
If I check only 1, it is printing on the first page only.
If I check only 2. it is printing on the last page only.
I want it to be printed on all the pages.
Help needed.
Thanks in advance.
Ishaq.Hi
Instead of using the Main window for footer
Why can't you declare a separate constant window separately apart from MAIN window and use for the footer to print in all pages.
create another window and write all your data in that and see
Since MAIN window overflows as the data grows constantly it is coming only on the first and last pages.
So to appear that on each page a fresh window is useful
Reward points for useful Answers
Regards
Anji -
How to Skip Print dialog window in smartforms
Hi Experts,
while printing the smartforms i dont want Print dialog window. I want as and when i pressed the print
button it'll directly print with the specified printer.
I tried with lot of option but it is not working for me . May be i missed some prameter to pass.
Have a look in to my code below and make me correct .
DATA : WA_CPARAM TYPE SSFCTRLOP,
WA_OUTPUT TYPE SSFCOMPOP,
JOB_OUTPUT_INFO TYPE SSFCRESCL.
WA_CPARAM-PREVIEW = 'X'.
WA_CPARAM-NO_DIALOG = 'X'.
WA_CPARAM-DEVICE = 'PRINTER'.
WA_OUTPUT-TDNOPRINT = 'X'.
WA_OUTPUT-TDDEST = 'LP06'.
WA_OUTPUT-TDIMMED = ' '.
WA_OUTPUT-TDNEWID = 'X'.
WA_OUTPUT-TDDELETE = 'X'.
WA_OUTPUT-BCS_LANGU = SY-LANGU .
WA_OUTPUT-TDPRINTER = 'X'.
CALL FUNCTION FNAM
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = WA_CPARAM
OUTPUT_OPTIONS = WA_OUTPUT
USER_SETTINGS = ' '
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = T_SSFCOMPOP
USER_SETTINGS = ' '
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO = SSFCRESPD
JOB_OUTPUT_INFO = job_output_info
JOB_OUTPUT_OPTIONS = WA_OUTPUT
TABLES
ITAB1 = IT_ZADVMUTH1
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.
Thanks In Advance.
SatyaTry with below parameters, it may help you to close the thread.
WA_CPARAM-device = 'LP06'.
WA_CPARAM-no_dialog = 'X'.
WA_OUTPUT-tdnoprev = 'X'.
WA_OUTPUT-tddest = 'LOCL'.
WA_OUTPUT-tdnewid = 'X'.
SELECT SINGLE * FROM usr01
INTO ls_usr01
WHERE bname = sy-uname
AND spdb = 'G'.
If sy-subrc EQ 0.
WA_OUTPUT-tdimmed = ' '.
ELSE.
WA_OUTPUT-tdimmed = 'X'.
ENDIF.
Regards,
SaiRam -
Problem with Main window in smartforms
Hi All,
I am creating a smartform, in that i need to restrict the no. of line item is to 15 and i need to draw a box for it. My problem is if i am displaying 15 line items the box will be drawn correctly and if i use only 3 line item then the box is drawing only for 3 line item. But i need to draw a box for 15 line items constantly at any given point of time irrespective of no. of line items. I am displaying this info using mail window, plz do help me.
Thanks & Regards,
pavan.MHi,
First describe your internal table and based on that you deifne another internal table in which you will have some 2 dummy fileds
suppose if you internal table has 10 lines then you need to have 5 more lined to print right?
say describe lines is v_lines
v_rem = v_lines mod 15. (you will get remainder here)
then v_count = 15 - v_rem.
before main window do code as following .
do v_count times.
v_dummy1 = text (maintgain soem text in this field)
v_dummy2 will not have any value.
append these values to it_dummy table.
enddo.
And when you loop main table count one more variable say v_cnt.
Now you can loop your dummy internal table based on condition.
the condition would be v_cnt eq v_lines .
and print empty text . dont print the field that have some text.
loop dummy table only after printing main table data in the main window.
Hope you got the logic
Dont forget to reward points
Regards,
Nageswar
Maybe you are looking for
-
How to save the data to sap abap using Adobe Flex
Hi Everybody...... I am new to Adobe flex with sap abap. How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service. Please give me any suggisions on that. Thank you Venkatesh V
-
Edits hang as 'calculating' in Library
Until yesterday all was fine Now when I export a lightroom edited picture or save a nik edit the picture hangs in the library view and in the histogram box it says calculating but the picture never loads it is just greyed out. If I click on develop
-
I am looking to upgrade my macbook pro 13". I have a new logic board and have searched for the spec on this i.e. hdd size and ram. will my 2009 screen work with an updated graphics card ??
-
Brightness/Contrast of an indexed image
Hi all, Is it possible to change the Brightness/Contrast of an indexed image? I've tried that with the following code: // Brighten the image by 30% float scaleFactor = 1.3f; RescaleOp op = new RescaleOp(scaleFactor, 0, null); bufferedIm = op.filter(b
-
PanelBox Stretch between min and max height
Hello, I am using JDeveloper 11.1.1.6 and my client requests in the application that I am currently developing a PanelBox that stretches its height according to the content inside it. There is a minimum height (which can be greater than the height of