Urgent : Smart form tables
I have a smartform with main window .Inthis main window i declared one table and it's working fine .i need to add more functionality to smartform i created another table in main window were i declared earlier that place .it's goes to short dump and stops at form functionmodule . it's possible to create similar type of table in main and how is it possle . if another dynamic data collection possble in smartform. help me out .
thanking u,
suresh
Hi Suresh,
When you create a new table then check for the entries in 'DATA' tab. There you can see that option for internal table is marked. Uncheck it or else give any internal table there.
If you still get any problem then please revert back.
Regards,
Shikha
Similar Messages
-
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 -
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. -
How to print global variable in smart form table cell
hi,
i have smartform and i insert table in it, i also have set global variable, i want to show variable in table cell.
regards
shahid raisHi Shahid Rais
You can use this global variable that has been declared in anywhere as you like.
For displaying global variable in table lines, You can first set the column and row of the table by using the table tab in table node . Then, u can decide either the variable u want to used will be placed on header, main, or footer. After that, right click on one of the table part, and choose create table line. After choosing the correct line type as already been declared in the table painter, just simply right click on the table cell, and then create text node.
You can now enter your variable by using "insert field".
And don't forget the & & signs before and after your variable name.
Regards,
William Prawira -
How to print the overflow entries in Smart Form
Hi all ,
I am having a problem regarding smart forms . I have 30 entries in may data base table . Bt while I am going to print these data in smart form table it is showing only 16 entries .How to print rest of the entries in smart form ? Can anybody give me any solution .
Thanks,
Regards,
Swashrayee
Edited by: Matt on Feb 20, 2012 10:15 AMHi,
Are you sure you are entering the data in the main window .
If you are using the secondary window,there is no flow text display with page break. If you position a subwindow with the same name on several pages, the system displays the contents of this subwindow on each page. Text and data that do not fit into the subwindow are truncated and not displayed.
In a main window you display text and data, which can cover several pages (flow text). As soon
as a main window is completely filled with text and data, the system continues displaying the text
in the main window of the next page. It automatically triggers the page break. -
How to add internal table fileds in Text module in smart forms
Hi Friends,
How to add internal table fileds in Text module in smart forms?
Thanks & Regards,
Vallamuthu.MHi Vallamuthu ,
how did you solve your problem?
thanks, -
Calling a Smart Form on Click of a Table Row..
Hi All,
I have one requirement.
I have developed one applicaiton, in which from R3, the values are coming in form of a table. Now, on Click of a Table row, it should call a smart form developed in R3 for that selected row attribute. Also the smart form should open in a new window, so that user can take a print of it.
How to add this new view and how to get the selected Row value ?
Please help me.Hi,
To open the new window, I have added blow code:
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("InfoPopup");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
window.open();
but, getting error message as : IWDWindowInfo cannot be resolved
what should be the import parameter? Also please tell me how to search for the Import parameters for the respected attribute/code?
Please help. -
HELP-i want to print price details in SMART FORMS-urgent
hi friends,
I want to print price details of sales order in every page of my <b>smart forms</b> using FM <b>RV_PRICE_PRINT_ITEM</b> .
Can anyone help me how to use that function and how to pass value to the parameter
all your answers are appreciatable .
thanks in advance
shan
Message was edited by: Shanhi santhosh ,
this is how my program look ,but i dnt know how values can be pass to this internal table as the table TKOMV and
TKOMVD in FM are of structure type .
DATA: IT_KOMV LIKE TABLE OF KOMV,
WA_KOMV LIKE LINE OF IT_KOMV.
DATA: IT_KOMVD LIKE TABLE OF KOMVD,
WA_KOMVD LIKE LINE OF IT_KOMVD.
select *
into table IT_KOMVD
from komvd up to 10 rows.
CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
EXPORTING
COMM_HEAD_I = WA_KOMV
COMM_ITEM_I = WA_KOMVD
LANGUAGE = ' '
IMPORTING
COMM_HEAD_E =
COMM_ITEM_E =
TABLES
TKOMV = IT_KOMV
TKOMVD = IT_KOMVD .
LOOP AT IT_KOMV INTO WA_KOMV.
WRITE: / 'TAX' , WA_KOMV-TXJLV.
"WRITE: / WA_KOMV-matnr.
ENDLOOP.
LOOP AT IT_KOMVD INTO WA_KOMVD.
WRITE: / 'DISCOUNT' , WA_KOMVD-NRMNG.
WRITE: / 'KNTYP', WA_KOMVD-KNTYP.
ENDLOOP.
pls help in this issue.
thanks ,
shan(SAP beginner) -
How to create a table in smart form.
Hi Folks,
I need to create a table in smart form with the following fields:-
vbrp-arktx,vbrp-fkimg,komv-kbetr,komv-kwert.
Please let me know how to create a table and how to name the columns,size,and the select query for the same.
All answers will be duly rewarded.
K.Kiran.Hi,
Following Links gives Details of Smartforms and how to create tables -
smartforms - very useful link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
FAQ
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
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
Siddhi -
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!!! -
How to create table in smart form
hi all,
i want to create table in to main window of smartform.
i am trying it but it gives me line type error.
plz give me detailed procedure for creating table in smartforms.
thanks in advance.
regds.
Vinodcheck the below links :::
Standard programs for Smartforms
Re: standard forms
To learn
SmartForms : some links
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm -
Urgent -- using Standard text in SMart forms
Hi Techi's.
I have created a standard text using SO10 , and included the same in smartform.
But the requirement is , i need to change the format of the standard text with my own style, so i craeted a Smart style with relevant Paragraph and Character formats.
Plz help me out in linking the STandard text with the smart style.
I know how to include smart style in smart form, but the issue is "how to include Smart style for the created Standard Text ".
Urgent and helpful answers will be rewraded.
Regards,
Naveenhi naveen
for Smartforms material
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
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.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
regards
ravish
<b>plz dont forget to reward points if helpful</b> -
URGENT: REGARDING SMART FORM CALLING FROM REPORT
HI,
I had made a report in which i have to display the output in smart form ,the problem is this i had delclared only 1 INTERNAL TABLE and i dont know how to display it in the smart form as i am new to it .
if help me out with solution ,he or she will be definately rewarded.
regards,
ric.s
Edited by: ric .s on Dec 21, 2007 10:22 AMHi,
You need to craete a SMARTFORM using transaction SMARTFORMS. In this trasaction under FORM INTERFACE give the variable which would be passed from your program.
Then use these variables and pass the information in Windows which you will create in your smartforms.
When you activate your SMART form it will create a Fucntion Module whihc you need to call from your report program.
Please go through the information given in thread :
http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm
/community [original link is broken] hreadID=187587&messageID=2096976#2096976
/community [original link is broken]threadID=187587&messageID=2096976#2096976
Refer to the following:
http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf
http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf
http://esnips.com/doc/2276d194-dc47-4b1e-9c14-7af0ffe923ca/smartforms-xsf-output.pdf
http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms.doc
http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
Smartforms Step by Step...links
Smartforms Step by Step...
http://www.sapgenie.com/abap/smartforms_detail.htm
Smartforms
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
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
This would give you information about smartform.
Though the info is bit extensive but will surely help you.
Reward if u find this useful.
Regards,
Lalit -
Dynamically change the table fields in smart form
hi all,
can any one suggest me the way to change the height and the width of a table dynamically in smart form.
thanx
ManishHello,
That is not possible. You cannot alter the height and width of the smartform. Mainwindows height adjust automatically according to the data.
Thanks,
Jayant -
How to use loop inside table in smart form
Hi All
i have to use page break at the end of each pernr. i got table in smart form and print cells on event on sort begin. it is working ok . i have an other itab in as well .which i want to the same page with respect to the pernr no.
but the problem is as i loop the 2nd itab. it prints all the record what it has.
e.g i have two pernr 54 and 55.
the records of itab1 prints on page1 and page 2 properly. now i loop at itab2 it also have relevent records of above said pernrs. but i m unable to control those pernrs and loop print all the records on both pages.
if u get some thing out of it kindly help me
Regards
ammadhi,
Place the second loop ie. itab2 inside the first loop of itab1. And in the conditions tab of looping itab2 give the condition for checking the pernr.
try to implement this logic.
loop itab
at new pernr
new-page
endat.
loop at itab2 where pernr eq itab-pernr.
endloop.
endloop.
revert back for further queries.
regards
Rajitha.
Maybe you are looking for
-
ORA-04091 (table string.string is mutating) and Function-Based Index
I've encountered a problem with DELETEing from a table when that table has a function-based index on it. The following demonstrates this: SQL> CREATE OR REPLACE FUNCTION get_employee_location(p_empno IN number) 2 RETURN varchar2 3 DETERMINISTIC
-
Touchsmart 300-1223 re-install stalls --
At the risk of providing too much info, I'll detail what I've done over the past couple of weeks and where I am... In order to prepare the machine for use by several different users, my son wanted to delete everything. Before doing so, he created the
-
I recently downloaded the translide show from http://www.flevooware.nl/dreamweaver/extdetails.asp?extID=17 which was really great. I would like to insert the image in the middle of my page with the text on the buttom. If I just type the text as a sim
-
I am looking for an easy to understand PHP tutorial on uploading an image to a folder. However I would like to put a reference/path to the image in a MySQL batabase table.
-
All raw images unsupported from 20D (.CRW or .DNG)?
Hello all, I just imported 5,486 picture files in two formats: .JPG and .DNG, taken with two cameras, a Sony DSC-P10 point and shoot, and (the great majority) a Canon EOS 20D. The DNG files were converted from their .CR2 source files. Aperture is sho