Smart form in another window
Hi all,
Can it be possible to display Smart Form in another window rather than main screen (screen of report calling to that smart form).
please let me know.
regards,
vikas.
TO call a Smartform, we have to call its corresponding F/M.
Here what you can do is, before calling this F/M, set a custom screen and Call that screen first. (say, Call Screen 9000)
Then in the PBO of that screen 9000, call the Smartform F/M.
Do let me know if this worked for you.
Pranjal.
Edited by: Pranjal Gadkari on Apr 24, 2008 9:48 AM
Similar Messages
-
Smart form-setting dynamic window height
Hi all,
I am new to smart-forms.My requirement is the set the height of the window to dyamic.How do I do that ?
Your ideas are appreciated and will be rewarded.
Thanks,
Stock.Hi,
You can't keep the Window Height dynamic in Smartforms. It's not possible.
Regards,
Anji -
Smart forms-copies&final windows
hi! please give me info on copies and final windows in smart forms with examples if possible.
Hi,
<b>Copies Window</b>
Use
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.
Prerequisites
You use this window type only if you want to print copies of your form. In the spool dialog in the Number input field of the Copies group box enter the number of copies (including the original).
Features
You can determine where to print the inferior nodes of a copies window:
Both on the original and on the copies ( Original and Copies )
Only on the original ( Only Original )
Only on the copies ( Only Copies )
You can use the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 to query whether the current output is the original or, respectively, which number the copy has.
Extras
You frequently print a graphic on the copies to flag them as copies. If, independent of the copy, the graphic is always the same, SAP Smart Forms can buffer the graphic before printing the page and thus increase performance. To do this, you must flag the copies window accordingly:
If you mark Identical Copies SAP Smart Forms buffers the output to increase performance. Within such a window, any queries of the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 have no effects.
If you mark Different Copies SAP Smart Forms generates the contents again for each copy. You use this option if, for example, you want to number your copies consecutively (Copy 1, Copy 2, Copy 3, and so on).
<b>Final Window</b>
Use
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.
In such a case, you use the final window: Processing first skips all windows of this type in the tree and works its way to the end of the tree. Only after the actual processing is finished, the final windows are processed in the order in which they appear in the tree (from top to bottom). Now any information is available that is known only at the end of the form processing.
Integration
As of Release 6.10 you can set this window type using a radio button on the General Attributes tab. For Releases 4.6C and 4.6D you must first upload a Support Package. Selection of this window type differs for these releases. For more information, refer to Note 359009 in SAPNet.
Activities
Create a window.
To set the window type, use the Window Type list box on the General Attributes tab.
For further details refere the smart form documentation...
http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm
Thanks and Regards,
Bharat Kumar Reddy.V -
Is it possible to have the result of a Form submission (through a Submit button) appear in a different window than the one where the current Form is displayed?
We use a Submit button to submit the whole PDF Form to a servlet running on a LiveCycle server. This servlet returns a HTML page as a result, with a success/failure message. This page is displayed in the current Reader window, and replaces the previous content. We would like to have this message appear in a popup window and keep the Form (filled, with annotations, etc...)
Thanks,
ThierryHi vikas bhagwat
U can display the smartform with only coding in secondary windows other than main windows. But u can not print details like variable number of items which is possible in main window only. If u dont have such requirement, u can leave main window idle.
Venkat. -
**To branch to a new page in Smart forms after main window**
I have three pages where on second pages main window so my data many be carry on next 3, 4, pages and my requirement is to display data(like notes ) on last page after all contain of main window .that last third page is different formatting on basis of company code lets 10 different pages. On second page in main window I write u2018commandu2019 and General Attributes, Tick Go to new page in. On the Determine the new page using the list box next to the checkbox. The output of the main window will continues on the new page of third pages. I did this for my all company like (command for 10 , command for 11u2026.).BUT also on second page option of next page in General Attributes. Where in can maintain next pages entry is single...if I put blank the error comesu2026thingu2019s 1) what should I have to maintain in second page for next page.
2) how I get data from multiple page design (I design 10 pages from that I want one should display):- I used condition option in command for company still getting error .
So kindly help me for such scenario.
Edited by: nshahare on Aug 5, 2011 4:07 PMHi nshahare ,
Format the way you have asked the question, It is highly unclear what issue you are facing.
Be clear, be cool and then post(edit) the question again. we are here to help you.
BR
Dep -
Smart forms - Dynamic sizing of the windows.
Hi gurus, iam working on smartforms, i have a problem.
My requirement is: Printing a table data on the smart form. Is the window which prints this table data is resized with the amount of table data, if so, what is the procedure i should follow for to print this data in the window.
Please give me the steps to go with the above issue. iam new to smartforms. what is the size of the window i should give in the Form painter and what all the attributes i should declare.
Plz give a detailed explanation..
Regards,
chaitanyaHi Chaitanya.
I would like to suggest a few references,
[SDN - Reference for Smart form - setting dynamic window height |Smart form-setting dynamic window height;
[SDN Library - Standard Reference - Dynamic Window Height - SMARTFORM Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d937ec90-0201-0010-0ca8-b6cb3b6dd1ef]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Hi
Please clarify me regarding smart forms background logo. I'm trying to migrate sap script into smart forms, for the background logo in smart form is it required to write ABAP code, please let me know?
2) Is it possible for background pictures in script? Is there any document regarding logo/pictures in sap script or smartforms? is there standard forms like purchase order etc., in smart forms? Please correct me If i'm wrong...
Regards
sree reddyHi
Background LOGOS are possible only in smartforms not in Scripts
see the logo printing for Scripts and Smartforms and the important smartforms and scripts with their programs
SAP SCRIPT
To create a logo in SAP printouts just do the following
1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
2. Run program RSTXLDMC and enter the following parameters
Enter file name C:\COMPLOGO.TIF
UOM CM
Line width for text 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Number of Tiff gray levels (2,4,9) 2
3. Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally in the text element, mention
/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
Please note that if object name is not indicated as 'ZHEX... the logo may not be printed!
You will not be able to see the logo in a test print. The same will be printed in actual printout.
SMARTFORM
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) Use TCode SE78 to upload new pictures and logos.
look at Thread Dynamic Graph in smartforms
Refer the links also -
Re: Dinamic Graph in smartforms
How to get file perperties in Unix server
SD
SALES ORDER/ENQUIRY/QUOTATION
Output type : BA00
ScriptForm Name : RVORDER01
Driver Program Name : RVADOR01
smartform name
DELIVERY NOTE
Output type : LD00
ScriptForm Name : RVDELNOTE
Driver Program Name : RVADDN01
smartform name : LE_SHP_DELNOTE
Smartform Driver Pgm: RLE_DELNOTE
INVOICE
Output type : RD00
ScriptForm Name : RVINVOICE01
Driver Program Name : RVADIN01
smartform name : LB_BIL_INVOICE
Smartform Driver Pgm: RLB_INVOICE
MM
PUCHASE ORDER/RFQ/CONTRACT
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
smartform driver program: /SMB40/FM06P
GOODS RECEIPT
Output type : WE01
ScriptForm Name : WESCHEINVERS1
smartform name : /SMB40/MMGR1_A
smartform driver program: /SMB40/M07DR
GOODS ISSUE
Output type : WA01
ScriptForm Name : WA_SCHEINVERS1
smartform name : /SMB40/MMGI1_A
smartform driver program: /SMB40/M07DR
FI Forms
Account Statement : F140_ACC_STAT_01
Cheque Printing : F110_PRENUM_CHEK
Balance Confirmation: F130_confirm_01
Dunning Form: F150_DUNN_01
check the link below it provides steps to convert sap scripts to smartforms
http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
SMARTFORMS -Driver Program
PO: /SMB40/FM06P
SO: /SMB40/RVADOR01
GR: /SMB40/M07DR
Reward if useful
regards
Anji -
How do we write the sub routines in smart forms?
1) How do we write the sub routines in smart forms?
2) What is the form interface in smart forms?
3) Write down the path for writing for select queries in smart forms?
4) How do we put dynamic page break in smart forms?
5) in which system field contain the total page number of all forms in the currently processed print request in smart forms?
6) What is the name of function module used to calling smart forms?
1) What is the functionality of function module controal_form?
2) How do we print the system date in this format 15th Jan 2008 on scripts?
3) What r the various print modes available in scripts?
4) What is the tcode for text element?
5) How do we draw horizontal line in scripts?
6) How can we suppress the leading zeros for a field in scripts?
7) In which system field is used to print current no page in scripts?
Which f.m is used to reads text in sap scripts1) How do we write the sub routines in smart forms?
after opening form see global definitions
click on that there one tab called form routines inthat you can write subroutines logic.
You can call in program lines .
2) What is the form interface in smart forms?
It is an interface between program and form .
like function module we provide import,export,tables,exceptions
Based on import and export parameters form will display for us.
3) Write down the path for writing for select queries in smart forms?
On window give right click in that command->programlines
you can write all select statements.
4) How do we put dynamic page break in smart forms?
you can define break point using break-point<>. syntax.
5) in which system field contain the total page number of all forms in the currently processed print request in smart forms?
SFSY-PAGE
SFSY-JOBPAGES
6) What is the name of function module used to calling smart forms?
SSF_FUNCTION_MODULE_NAME
=================
1) What is the functionality of function module control_form?
This function module is used to insert SAPScript control commands like NEW-PAGE etc from whithin the ABAP program.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND =
EXCEPTIONS
UNOPENED = 1
OTHERS = 3
IF SY-SUBRC NE 0.
MESSAGE ...
ENDIF.
2) How do we print the system date in this format 15th Jan 2008 on scripts?
Use SET DATE MASK to change format of date display.
3) What r the various print modes available in scripts?
4) What is the tcode for text element?
se91
5) How do we draw horizontal line in scripts?
&ULINE&
6) How can we suppress the leading zeros for a field in scripts?
&it_vbak-vbeln(Z)&
7) In which system field is used to print current no page in scripts?
&SYST-PAGE& of &SYST-FORMPAGES&
Which f.m is used to reads text in sap scripts
READ_TEXT functiomodule.
Reward points -
How to assign standard texts assign dynamically to smart forms
Dear Experts
I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
1. I am integrating 12 smart forms using same program.
2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
5. Here my question is how to assign the standard texts to template texts dynamically ?
Please revert me your suggessions.
Thanks for your support.Hi Indra neel ,
You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically -
Hi all,
i want to print multiple purchase orders in smart form
i have two windows in smart form layout
header window and main window
in header i need to print few header details
and in main window i need to display correspoinding line items
I need every po to be start in new paper or new form
In driver se 38 program
I_header - contains all header info
i_lineitems - contains all item info ofPO'S
iam confused whether i have to call SSF_FUNCTION_MODULE_NAME
between loop of i_header .
like this
loop at i_header.
PERFORM SMARTFORM_FM.
endloop.
if this right how do you want me to pass the info to smart form
in form interface i would declare a table similar to item
and header info right i need only one row right?
FORM SMARTFORM_FM.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZTEST'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
CALL FUNCTION FM_NAME
ENDFORM.
ThanksHi,
Yes you will have to call smartform function module inside the loop.
some what like this.
loop at header_itab in workarea say HEAD.
refresh and clear itab_export.
loop at items_itab
append these lines to itab_export which you will pass to smartform
end items_itab
now call smrtform function module
and pass head and table itab_export which you populated above
inside item loop.
endloop.
Hope this makes sense. let me know if need more details.
Enjoy SAP.
Pankaj Singh. -
hi,
i have one logo and i want to insert that logo into the smart forms
so can u suggest me the steps to insert that logo in smart forms.
regards,
kamalHi
SAP SCRIPT
To create a logo in SAP printouts just do the following
1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
2. Run program RSTXLDMC and enter the following parameters
Enter file name C:\COMPLOGO.TIF
UOM CM
Line width for text 132
Text name ZHEX-MACRO-COMPLOGO
Text ID ST
Text language = E
Number of Tiff gray levels (2,4,9) 2
3. Then Create a new window 'COMP' with attributes;
Window COMP description Company Logo
Left margin 7.00 CH window width 10.00 CH
Upper margin LN window height 8.00 LN
Finally in the text element, mention
/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
Please note that if object name is not indicated as 'ZHEX... the logo may not be printed!
You will not be able to see the logo in a test print. The same will be printed in actual printout.
SMARTFORM
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
8) Use TCode SE78 to upload new pictures and logos.
look at Thread Dynamic Graph in smartforms
Refer the links also -
Re: Dinamic Graph in smartforms
How to get file perperties in Unix server
Regards
Anji -
hi experts ,
is it possible for copying the template of a smart forms to another smart forms ?
regards
chinnaiyaHello,
If you want to copy and paste the template of one smart form to another smart form, i don't think it is possible.
You will have to re-create the template in the smart form. it's a few minutes job. Just take the template as reference and create it in the smart form.
Regards, -
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 -
Copying from Sapscript to Smart form with d same windows
I hav created my sapsccript till now i want to copy my sapscript windows n text elements n other attributes of that sapscript to smart forms.So please help me to copy sapscript to smart form,Please help me out.
Thanks & regards
santhosh kumar.check the link below it provides steps to convert sap scripts to smartforms
http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
Check these threads.
Smartforms -> sapscript
Re: Convert SapScript to Smartforms ?
Regards,
Sooness -
Smart form- How to apply page break after every 5 entries in main window?
How do i make sure that only 5 line items are displayed per page in main window of my smart form. After 5 line items, the remaining lines should be printed in the next page
Hi
Pls check the link
issue related to next page in smartform
Maybe you are looking for
-
How can I get iphoto for OSX 10.6.8?
Hi all- Running an iMac from pre-2009 (maybe 2006?) with snow leopard on it. It's the family computer so I'm rarely on it (using MBP myself) and decided to back up the hard drive and do a reboot from the snow leopard disc due to a slew of broken prog
-
Hi all, I want to display the logs for a particular application in the same application. The problem is that to view logs I should use the Administrator user (and to know its password) in all possible cases I thought of: remote connection to the mach
-
Auto number as a data type?
Hello, Is it possible in Oracle to use an auto number (integer) to automatically give a number for a column such as ID whenever a record is created or inserted? This would be similar to MS Access. TIA.
-
Oracle 1031 error when starting DB
Hello, We are experiencing a very strange Oracle issue. We are installing new instances on Oracle 10.2.0.4 on Windows 2008 (2008 new to us). When we attempt to logon to Oracle sqlplus /nolog, connect /as sysdb, startup, we are greeted by and ora-01
-
Questions on 10g AS Clustering
I worked on non-cluster AS environment but not on cluster environment and need your help/advice on this. Suppose I have 5 machines: One machine will have Metadata/Database. Two machines will be part of WebCache/SSO Cluster. Two machines will be part