Urgent : border in Smartforms
hi,
I hav a Output purchase order where if the line items flows to the second page the borders r not occuring for the last line item in page 1 ....if the line items ends in page 1 then all the borders r proper..y is it so???
Hi Put the logic to control the no of line items in page
like suppose ur page maxium can take 25 lines
now put logic such a way that 2 lines shud be always left blank in the end to show th gap between border and last line.
and add a new page whenever ur sy-tabix comes to 22 nd line( for eg).
loop at table.
if sy-tabix >22.
insert new-page.
then continue with ur logic.
endloop,
Please rewards if it is helpful.please ......................
Similar Messages
-
URGENT!! Smartform : graphical edition impossible!
Hi,
I created a Smartform for Delivery Note with its print program in a newly upgraded ECC6.0 system. I customized in NACE in proper column.
When I try to print it via VL02N, the message is:
"Graphical edition impossible"
Does anyone know how to solve this problem??
Points rewarded immediately since its very urgent!
Tarick.Hi again!
I found out the reason!
There was a graphic which was not uploaded properly in SE78...
Tarick. -
Very Urgent Text Modules - Smartform in diff lang
Hi,
Could any one give me a detailed info on how to use one text module in Smartform to other languages <b>without logging</b> into the system in that language.
I <b>tried</b> Example in the thread containing as below nut unable to succeed.
/: INCLUDE z_txt OBJECT TEXT ID txt LANGUAGE &Variable&
Name: z_text
Object: Text
Text id: Txt (Text id from SO10)
Language: variable[/code][/code][/code]
Its very Urgent
Thanks
DanDan...
you want to give the Language for Text elemetn dinamically..
in genaral attributes of the Text Module winodow..
Text name: xxxxxxx
Text Object: Text
Text ID: ST
Language: as below...
so wht i am suggesting is give the &CONTROL_PARAMETERS-REPLANGU1& (if it contain the Language)..
in Language tab.. Press the button right side of this element ">" then the text box will be become large.. then enter &CONTROL_PARAMETERS-REPLANGU1&..
if it is not clear plese tell wht exactly you r requirement again
<b>Please Close this thread.. when u r problem ise solved</b>
Reward if Helpful
Regards
Naresh Reddy K -
Urgent - need standard Smartform name....
Hi ,
Can anyone provide me the name of the SAP standard smartform for HU(Packing label).Its very urgernt
With Regards
SapSurfer
[email protected]Hi,
1>Go to NACE Transaction and select the Application of your choice and then Click on "OUTPUT TYPES" button on top.
2>Then select Output type by selecting on the button besides the output type.
3>Then double click on the "PROCESSING ROUTINES".
4>This shows the standard form or script along with the print program.
Reward points.
Thanks,
Tej.. -
Hi All,
I upload the TIFF format image thru the SAP standard program "RSTXLDMC" and now i need to display this image into my smartform. How can I use this image in smartform?
Can I see this image which I upload thru standard program?
My Main Question I am repeating again that how to use this image in smartform?
Thanks & Regards,
Jaten SangalHi ,
If you are following the same steps :
se78 : to import the tiff file
then in smartforms using create-graphics
then you are going good . This should not lead you to the error . I think error reason would be something else.Might be something related tro size , is your image very big ?\
Please see have you successfully uploaded your image in SAP?
I am looking for it meanwhile you can try uploading another short image.
also refer this
Upload .TIF images in SE78
Regarding Smartform output Issue....(very Urgent)
Problem with SMARTFORM.
Regards,
Uma Dave
Edited by: UmaDave on Jun 14, 2010 11:34 AM
Edited by: UmaDave on Jun 14, 2010 11:34 AM -
Smartforms table border lines not printing (URGENT)
HI,
I am trying to print samrtform table border lines on Epson dot matrix printer, in print preview it showing table borders as thick black lines, while printing it not printing lines. It is printing data correctly. Can any one suggest the soution, it is very urgent.
Regards,
MAHESH
Edited by: MAHESH FADNAVIS on Apr 7, 2008 11:53 AMCan you try to print in a different printer, if the error persists then the problem is in the smartform, otherwise raise a note to SAP regarding this. I think that there is problem is with the page format in which u are taking the printout.
OR
Can you check if you have selected the framed border in the table border select pattern.
Hope That Helps
Anirban M. -
How to set border lines in table and also in template in the smartforms ?
How to set border lines in table and also in template in the smartforms ?
As I have to create table with following detals
total row = 3
row1 = 3 column
row2 = 6 column
row3 = 9 column
for 2nd and 3rd row data to be fetched using coding.
so can anybody explain me what should i use
Table or Template ?
and I want the border like excel format.
Can anybody suggest me ?
Thanks
nareshif the data is multiple i.e. line items choose table.
if the data is single i.e. fixed choose template.
Create table
> Draw u r no lines
> choose option select pattern
> select display framed patterns
Choose u r required one.
out lined, or full lined. u can choose option.
same procedure to be followed for template also.
with regards,
Kiran.G -
How to use CALL FUNCTION '/1BCDWB/SF00000014' in smartform urgent
hiiiiiiiii
Iam doing classical report n i want my output to be printed in smartform.
So my output is in IT_FINAL table.In smartform in Form Interface Table column i had declare :::
Parameter Name: IT_FINAL
Type Assignment:LIKE
Associated Type:ZSD_FINAL ( Its a structure of IT_FINAL)
And in SE38..iam using...............
data: FM_NAME1 type RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCSF_SDPRSR03_PR'
importing
FM_NAME = FM_NAME1.
CALL FUNCTION FM_NAME1
EXPORTING
IT_FINAL = IT_FINAL.
So while running its giving dump..
I DONT KNOW HOW TO USE THE ABOVE FUNCTION MODULE.
CALL FUNCTION '/1BCDWB/SF00000014'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
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.
Please suggest me with example if possible......URGENT.
(Rewards if solved)
Regards.Hi
see the below doc and do accordingly
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
<b>call function 'SSF_FUNCTION_MODULE_NAME'</b>
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
<b>call function FM_NAME</b>
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
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.
Smartform
you can check this link here you can see the steps and you can do it the same by looking at it..
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
SMARTFORMS STEPS.
1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
2. Create Table type(t_struct) of stracture in se11.
3. In your program declare Internal table(Itab) type table of structure(struct).
4. Define work area(wa) like line of internal table.
5. Open Tcode Smartforms
6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
8. In form pages and window, create Page node by default Page1 is available.
9. In page node you can create numbers of secondary window. But in form there is only one Main window.
10. By right click on page you can create windows or Go to Edit, Node, Create.
11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
13. In table there are three areas Header, Main Area, Footer.
14. Right click on the Main area create table line by default line type1 is there select it.
15. Divide line into cells according to your need then for each cell create Text node.
16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
17. Save form and activate it.
18. Then go to Environment, function module name, there you get the name of function module copy it.
19. In your program call the function module that you have copied from your form.
20. In your program in exporting parameter of function pass the internal table(itab).
SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
configure forms with data from an SAP System for the relevant business processes.
To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
SAP Smart Forms also support postage optimizing.
Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
What Transaction to start SAP Smart Forms?
Execute transaction SMARTFORMS to start SAP Smart Forms.
Key Benefits of SAP Smart Forms:
SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
These actions do not include writing of coding lines or using a Script language.
Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
For Web publishing, the system provides a generated XML output of the processed form.
Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
SmartForms System Fields
Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
System fields of Smart Forms
&SFSY-DATE&
Displays the date. You determine the display format in the user master record.
&SFSY-TIME&
Displays the time of day in the form HH:MM:SS.
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
&SFSY-JOBPAGES&
Contains the total page number of all forms in the currently processed print request.
&SFSY-WINDOWNAME&
Contains the name of the current window (string in the Window field)
&SFSY-PAGENAME&
Contains the name of the current page (string in the Page field)
&SFSY-PAGEBREAK&
Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
&SFSY-MAINEND&
Is set as soon as processing of the main window on the current page ends
&SFSY-EXCEPTION&
Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
Example Forms Available in Standard SAP R/3
SF_EXAMPLE_01
Simple example; invoice with table output of flight booking for one customer
SF_EXAMPLE_02
Similar to SF_EXAMPLE_01 but with subtotals
SF_EXAMPLE_03
Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
Advantages of SAP Smart Forms
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
Regards
Anji -
How to decrease the width of the border line of a table in smartform in 4.7
hi all,
i want to decrease the width of the border line of a table in smartform in 4.7 version. how can i do it? plz reply.Hi,
When u r going to create a table in forms it will show the all details regarding the tables
like -> color
-> width etc...
From there u can do that .
u can also select the table format as all ready defined formats i.e available in he same screen. -
Smartforms - Is it possible to Customize Cell Border In Template in 4.6C
Hi,
In smartforms, i know that Customizing Cell border is possible with node type TEMPLATE in version 6.20
Our system is 4.6C
But there are many differences between 4.6C and 6.20 about SMARTFORMS.
Is there a way to specify custom cell border without "Select Pattern" option with node type TEMPLATE in 4.6C
thanks
ibrahimHi,
As you identify there are some large differences between Smartforms in 4.6c and 6.20. So there is no equivalent of the cell-specific borders in 4.6c
Regards,
Nick -
Calling Smartforms from Module pool: Most Urgent
Hi, Exeperts
how can I call smartforms from module pool.
I have done like below.
First Created a push button on screen and used
these code in user command through PAI
FORM CALL_SMARTFORMS .
DATA: V_FORM_NAME TYPE RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSMART'
IMPORTING
FM_NAME = V_FORM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
ENDFORM. " CALL_SMARTFORMS
now I am getting form name in v_form_name, but it is not executing.
Please help me out.
Regards
Rajiv singh.Well, as it's most urgent....
One you have a value in V_FORM_NAME you need to call this function module, passing the fields and strucures that make up the interface to your form.
Eg.
DATA: DEVICE TYPE SSFCTRLOP .
DEVICE-DEVICE = 'PRINTER'.
DEVICE-NO_DIALOG = 'X'.
CALL FUNCTION V_FORM_NAME
EXPORTING
CONTROL_PARAMETERS = device
USER_SETTINGS = 'X'
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Regards,
Nick -
Problem in executing a smartform URGENT!!
HI,
I created a template in my layout and created a structure
z_tab which i had to pass in the smartform now
my problem is
in form interface i gave i_tab type z_tab
and in template-> text iam adding a feild&i_tab-raw&( this is my feild name which i have to show in output) and in se38 my interface program i gave the necessary.
But iam getting error saying
"Reference field I_TAB-RAW unknown in form."
please help its urgent
Thank youthe reference field which i gave in the structure was making this problem it was currency field and reference table was mismatched.
Thankyou for replying raam & rahul. -
Hi Experts,
How can i have a page border in my smartform.
If i am taking a window for page border, but if i place a main window with a table having data than after seeing print preview the border does not appers properly.
Please help.
Thanks,
VishalHi,
Try defining a template with a fixed size probably same size as main window size and provide borders all the sides for the template. Display all the data u need under the template, this way you can achieve the page border
Regards
Sarves S
Edited by: Sarves Sombhatla on Jun 3, 2010 1:03 PM -
Sales order smartform:Urgent
Hi
Can anyone please mail me the preconfigured sales order confirmatiopn sales ordere. we dont have the preconfigured in our server and its urgent. This is my id:
[email protected]
Thanks in Advance,
Srihari.hi
thanks for the reply. Actually i dont have the preconfigured smartform and I dont have the time to do a new one from scratch.
So, I am requesting anyone who has it to send it to my mail which i mentioned in my previous threads.
I hope i was clear.
Thanks and Regards,
Srihari. -
Documents for SMARTFORMS-Urgent
Hi,
I need to Learns SMARTFORMS In and Out, Can anyone please send my the material or link so that i can read it, it is really very urgent.
Kindly Reply Back ASAP.hi,
check these links
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sapgenie.com/abap/smartforms_detail.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.sap-basis-abap.com/sapsf001.htm
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/8a/8c8a49def411d3969600a0c930660b/frameset.htm
SAP PRESS REFERENCE
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
Regards,
Sailaja.
Maybe you are looking for
-
How to call PL/SQL stored procedure with TWO or more arguments from URL?
Hi all, does anybody know, how to call stored procedure with more than one argument? How to do this with one argument is known - <img src="#OWNER#.retreive_img_data?i_id=#IMG_ID#" width="70" height="80" alt="No Picture"> But if I need to call procedu
-
ORA-02068: following severe error from dblink
Dear friends, My database (oracle 9.2.0.8.0) will call another database's (oracle 9i cluster) view through DB Link to get some data. If we are to access the data for the first time in a particular session, it gives the output within a second. But if
-
Hi experts, I need to create a SOAP client in ABAP for a web service that uses MTOM (xop:include) to transfer binary files. I know how to create a client proxy in SE80 from WSDL, but I.have no idea how to send attachments with protocol MTOM. Does any
-
ASA 5510 8.4(2) and IPS SSM-20 7.0(6) E4
Hi, I'm thinking the ASA 5510, ver. 8.4(2) with IPS SSM-20 ver. 7.0(6) E4 falls into IPS unresponsive state. Now I'm testing the ASA 5510 ver. 8.4(2) with IPS SSM-20 ver. 7.0(4) E4, to verify if the system falls into the same condition. Any experien
-
Chapter ID and CENVAT mass maintenance prob( india scenario)
Dear Friends, Through Existing LSMW, I am able to create the CH ID & CENVAT Field. When i need to overwrite the same, the message given by system is SV 009 "an entry already exist with this messege". Pls. Suggest the solution. This is requred for Mas