Smart form query
hii all
i have following problem in smartform for invoice printing,
i have 2 fields called total_prd_val for product value n RATE for rate pet unit , this 2 fields can hold only one value at a time. now i have invoice which contains 4 diff products of diff values but i m not able 2 print respective values n rate as this fields can not hold multiple data.
what should i do?
secondly i collect data for above mention fields ( total_prd_val from konv-kawrt) in b table called btab but when i try 2 loop its its gives me error its not an internal table occrs n specification missing now can i rectify it?
plz help its needed urgently
point will b rewarded n thanks 2 all in advance
gaurav
Hi
For each product, you need to calculate the Total Product Value and Rate per Unit and display. And use them in displaying the contents for each product.
You can summate these vlaues into two other variables and print them... Check '<b>Calculations</b>' Tab under Table node.
Regards
Raj
Similar Messages
-
Smart form query...need urgently
how should I DISPLAY MY FOOTER WINDOW AFTER DISPLAYING ALL THE CONTENTS OF MAIN WINDOW(MAIN WINDOW IS HAVING TABLE)
hi Hari,
create another page called 'LAST' and design the template accordingly include all the components that you want from the first page then create the footer window components as to where you want that them to be displayed.
santhosh -
Hi all,
Please clarify this query of Mine .
An e mail would be sent with a smart form as attachemnt . The sending of email has been configured through spro . But the name of the smart form goes in the subject of the email .(For example if the name of the smart form is ZTEST then the subject of the email is ZTEST . ) The requirement is that the name of the smart form should not appear in the subject of the Email . Can anyone please tell me how to achieve the above (that is, smart form name should not appear in the subject of the Email).
Regards,
VijayHi
check the links and the sample code
check...
/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
REPORT Ztest_SEND_SMARTFORMS .
Internal Table declarations
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
wa_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
wa_doc_chng typE sodocchgi1,
w_data TYPE sodocchgi1,
wa_buffer TYPE string,"To convert from 132 to 255
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZZZ_TEST1'
importing
fm_name = v_form_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.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
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.
i_otf[] = w_return-otfdata[].
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
Fehlerhandling
if sy-subrc <> 0.
endif.
loop at i_tline.
translate i_tline using '~'.
concatenate wa_buffer i_tline into wa_buffer.
endloop.
translate wa_buffer using '~'.
do.
i_record = wa_buffer.
append i_record.
shift wa_buffer left by 255 places.
if wa_buffer is initial.
exit.
endif.
enddo.
Attachment
refresh:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear wa_objhead.
i_objbin[] = i_record[].
Create Message Body
Title and Description
i_objtxt = 'test with pdf-Attachment!'.
append i_objtxt.
describe table i_objtxt lines v_lines_txt.
read table i_objtxt index v_lines_txt.
wa_doc_chng-obj_name = 'smartform'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'smartform'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
Main Text
wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
clear i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
append i_objpack.
Attachment
(pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
Länge des Attachment ermitteln
describe table i_objbin lines v_lines_bin.
read table i_objbin index v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'smart'.
i_objpack-obj_descr = 'test'.
append i_objpack.
clear i_reclist.
i_reclist-receiver = [email protected].
i_reclist-rec_type = 'U'.
append i_reclist.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
CONTENTS_BIN = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
The user is provided with
a) file name
b) email address to send mail
and it sends ANY FILE (.xls,.pdf .xyz..)
Instantaneously !
4. Make two things first :
1. Include with the name : ZAMI_INCLFOR_MAIL
2. Report with the name : ZAM_TEMP147 (any name will do)
3. Activate both and execute (2)
4. After providing filename, email adress
5. Code for Include :
Data
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA: tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp.
DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
FORM
FORM ml_customize USING objname objdesc.
Clear Variables
CLEAR docdata.
REFRESH objpack.
CLEAR objpack.
REFRESH objhead.
REFRESH objtxt.
CLEAR objtxt.
REFRESH objbin.
CLEAR objbin.
REFRESH objhex.
CLEAR objhex.
REFRESH reclist.
CLEAR reclist.
REFRESH listobject.
CLEAR listobject.
CLEAR tab_lines.
CLEAR doc_size.
CLEAR att_type.
Set Variables
docdata-obj_name = objname.
docdata-obj_descr = objdesc.
ENDFORM. "ml_customize
FORM
FORM ml_addrecp USING preceiver prec_type.
CLEAR reclist.
reclist-receiver = preceiver.
reclist-rec_type = prec_type.
APPEND reclist.
ENDFORM. "ml_customize
FORM
FORM ml_addtxt USING ptxt.
CLEAR objtxt.
objtxt = ptxt.
APPEND objtxt.
ENDFORM. "ml_customize
FORM
FORM ml_prepare USING bypassmemory whatatt_type whatname.
IF bypassmemory = ''.
Fetch List From Memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
in = listobject
out = objbin
EXCEPTIONS
OTHERS = 1
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
ENDIF.
Header Data
Already Done Thru FM
Main Text
Already Done Thru FM
Packing Info For Text Data
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
APPEND objpack.
Packing Info Attachment
att_type = whatatt_type..
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = whatname.
APPEND objpack.
Receiver List
Already done thru fm
ENDFORM. "ml_prepare
FORM
FORM ml_dosend.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X' "used from rel. 6.10
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
CONTENTS_HEX = objhex
OBJECT_PARA =
object_parb =
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH docdata-obj_name.
ENDIF.
ENDFORM. "ml_customize
FORM
FORM ml_spooltopdf USING whatspoolid.
DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
Call Function
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = whatspoolid
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
OTHERS = 12.
Convert
PERFORM doconv TABLES pdf objbin.
ENDFORM. "ml_spooltopdf
FORM
FORM doconv TABLES
mypdf STRUCTURE tline
outbin STRUCTURE solisti1.
Data
DATA : pos TYPE i.
DATA : len TYPE i.
Loop And Put Data
LOOP AT mypdf.
pos = 255 - len.
IF pos > 134. "length of pdf_table
pos = 134.
ENDIF.
outbin+len = mypdf(pos).
len = len + pos.
IF len = 255. "length of out (contents_bin)
APPEND outbin.
CLEAR: outbin, len.
IF pos < 134.
outbin = mypdf+pos.
len = 134 - pos.
ENDIF.
ENDIF.
ENDLOOP.
IF len > 0.
APPEND outbin.
ENDIF.
ENDFORM. "doconv
*---- CODE FOR PROGRAM
REPORT zam_temp147 .
INCLUDE zami_inclfor_mail.
DATA
DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
DATA : file_name TYPE string.
data : path like PCFILE-PATH.
data : extension(5) type c.
data : name(100) type c.
SELECTION SCREEN
PARAMETERS : receiver TYPE somlreci1-receiver lower case.
PARAMETERS : p_file LIKE rlgrap-filename
OBLIGATORY.
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CLEAR p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM ml_customize USING 'Tst' 'Testing'.
PERFORM ml_addrecp USING receiver 'U'.
PERFORM upl.
PERFORM doconv TABLES itab objbin.
PERFORM ml_prepare USING 'X' extension name.
PERFORM ml_dosend.
SUBMIT rsconn01
WITH mode EQ 'INT'
AND RETURN.
FORM
FORM upl.
file_name = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_name
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
path = file_name.
CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
EXPORTING
complete_filename = path
CHECK_DOS_FORMAT =
IMPORTING
DRIVE =
EXTENSION = extension
NAME = name
NAME_WITH_EXT =
PATH =
EXCEPTIONS
INVALID_DRIVE = 1
INVALID_EXTENSION = 2
INVALID_NAME = 3
INVALID_PATH = 4
OTHERS = 5
ENDFORM. "upl
Reward points for useful Answers
Regards
Anji -
Hi All
I have data from two internal tables to be printed using a Smart form. Each should start on a new page. For example, I have 'Employee leave details' and 'Employee salary details' itabs. Using one smart form I have to display both these itabs. Each itab should start on a new page. When I am giving a page break using COMMAND node, the main window is not picked in the next page. Can anyone please help me out on this. Your help will surely be appreciated and points will be rewarded.Try this. Display the internal tables in a Block.
Block.
write itab.
Endblock.
This will make sure that the internal table is always printed in a block and if there is no space in the first page then it will jump to the next page. As you have two internal tables to be displayed, I'm sure it will jump to the second page as you desire.
- Guru -
hi all
how to use existing purchase order smart form...whats the name and whats the print program for that.
rgds
anuSmartform of PO....
check this thread.
in ECC5.0 smartform name : /SMB40/MMPO_DE.
for smartforms,you no need to have a seperate print program.total logic will be inside of the smartform(function module).
Regards,
Srikanth.
Message was edited by: Srikanth Kidambi
Message was edited by: Srikanth Kidambi -
Query on SAPScripts And Smart Forms
Hi All,
I need help on <i>SAPScripts</i> and <i>Smartforms</i>.
Can anyone please provide me notes on these topics.
ID: <b>[email protected]</b>
Bye,
SAI KUMARHi,
SMARTFORMS.
Check these step-by-step links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
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
SAPScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
http://www.allsaplinks.com/sap_script_made_easy.html
Regards,
Priyanka. -
How to display pie chart in smart forms
hii experts,
my requirement is to display pi chart in smart forms . i have googled but could not get any meaning full results. If any one knows this pls share ..
Thanks and Regards
Aditya ShrivastavaHi
I really doubt If you did search at all in the first place. Anyhow, check this:
https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
Vishwa. -
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 -
Smart Form - operator not followed by value
Hi all,
in smart form --> Global definition --> initialization
i have written this code....
select belnr gjahr bukrs blart bldat budat waers into corresponding fields of
table tbkpf from bkpf where
bukrs = ubukrs and gjahr = ugjahr and budat in ubudat.
Here cmp code and fiscal year is parameter but posting date is select-options.
Its gives error :- The IN operator with "BUDAT" is followed neither by an internal table nor by a value list.
i have taken input parameters also.
Edited by: Julius Bussche on Nov 13, 2008 10:56 AMselect-options should be handled in a different manner in smart forms.
declare 2 variable say
1) budat_low
2) budat_high.
Pass the low value of posting date to budat_low and high value of posting date to budat_high.
then handle the above 2 variables in select query using BETWEEN.
eg: budat between budat_low and budat_high. -
LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms
Hi...
Can u please help me out in my query regading how the data passes to
LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms.
I have an smartform which runs through VF01/VF02/ VF03 while pressing the print preview button.
But if i try to run it directly from driver program, no data wil be displayed. Now i have the requirement to detach from VF03.. and make it to run directly from my driver program.
what shall i have to do to achieve this. Should i have to take all the internal tables saparately or else can i use LBBIL_invoice structure itself.
If i can use that structure itself, how to make the data flow into it. Pls help me.
In my codeing these includes were there. is there anything related , is the data passes because of these includes
INCLUDE rlb_invoice_data_declare.
definition of forms
INCLUDE rlb_invoice_form01.
INCLUDE rlb_print_forms.
Pls clarify my dobut...
Thanks in advance,
Hema1. These are normal structure
2. you can use anywhere but they designed for forms currently.
3. Yes ,it works like it will look at NAST Table -> nast table will connect the TNAPR Table -> tnapr will have smart form print program.
so smart form program calls smartform and it will show output
4. you can create your own structure and use them into anywhere like report program or forms..
5. you can see example simple form name SF_EXAMPLE_01 ,program name is SF_EXAMPLE_01 ,you can design your own form and print program.
Thanks
Seshu -
Smart form for cutting list---Urgent
Hi Experts,
I have to create a smart form for cutting list in PP module.
Selection criteria are:
1.) select all orders(AFKO-AUFNR) wiht AFVU-USR00 = 'CUT' where AFVU-AUFPL = AFKO-AUFPL
2.) Group according to material no.(AFKO-PLNBEZ)
Form fields are as follows:
Name : MARC-MATGR
Cut & Process date: AFVV-FSAVD where AFVV-AUFPL=AFKO0AUFPL
Ref Packing date: AFVU-USR00= ASSY_GAL of th superior order(AFKO-MAUFNR,where AFVU- AUFPL = AFKO-AUFPL)
Order : AFKO-AUFNR
Sales Order: AFPO-KDAUF of superior order(AFKO-MAUFNR,where AFVU-AUFPL = AFKO-AUFPL)
Item Number :
Qty: AFVV-MGVRG where AFVU-USR00='CUT' & AFVU--AUFPL = AFKO-AUFPL
& co many other fields form AFKO table.
I am bit confused what will be the fields & tabels i have to declare in Form interface & Global parameters.
What will be the internal table for the table which display data.
In the main page i have to show 10 colums i dont no how to define table for those 10 columns
As per the requirement can anywone please tell me in detail to solve these problems. like which r te tables i have to use in interface parameters & which wil be in global paramenters.
Which itab i will use to create the table in main window
& how i can declare 10 columns in that table.
Regards,
Nikhi nikil.
I use to follow this procedure.
1) Based on the select criteria.fetch values in to differnet itab's from differnet tables.
2) then try to put the selected rows based on condition into a single internal table.
3)u can send that final internal table from program and u have to use that internal table in form interrface.
4)design the smartforms and call the fields accordingly from the final inetrnal table .
5)u should be good in using select query ,read table statement etc.
check this with other and take a decision.some of them use to write codes then and there before using the fields using progarm lines.
but i am comfortable in my method.
mani -
Dear all
we are implementing sap ecc 6.0 and my previous project is SAP All in one ecc 5.0 where i have installed building blocks. After installing building blocks some Abap smart forms got updated then it became easy for our Abap consultant to make the necessary Abap smart form program
my query is there any updates like particular support pack to make the smart forms to be updated or any program that can be down loaded from sap market site to make the smart forms to be updated
Requirement is to make the smartform to be updated and to make the work easy
In this project our product is SAP ecc 6.0 R3 product so we cant install building blocks but is there any othe way to update our smart forms
pls help me friends
regards
senthilHi Senthil,
Please read the information form marketplace regarding the same. All the information is there.
Regards,
Anil -
Out put is not displayed in smart form
Hi,
i have designed a smart form.i want to see the smartform without having datas so i designed completely with out writing select query to get details.
My samrt form get activated but while running the smart form. Simply a white page is displayed instead of displying the header contents , logo , field names.Hi Ramanan,
As soon as you activate the smartform, a function module will be generated. You can view that clicking Environment->Function Module say suppose '/1BCDWB/SF00000166'.
Goto Se37. Give this function Module and Click Execute.
This is other way of viewing your layout without data.
please Reward Points if helpful.
Thanks,
Karthik -
Hi Folks,
I am new to smartforms, just i am learning.
I had an issue , if anybody provides me guide lines i would b gr8ful.
I started by converting a script to smart form to know the flow of Sform.
i had used in one of the window a global variablewhich was available in corresponding driver program.
& itab-v1&.
But i am getting error when i want to activate the newly created ( which is migrated from script) like
FIELD &itab-v1& is unknown..
How to rectify the error..even i created an output type for this sform.
please advise.
Thanks
Raja.Hi Raja,
I suppose your requirement goes like this.
Your are selecting the values from Z-table into an int.table itab and using a structure to display the values in smartforms.
In that case, this is how you have to proceed.
In the tables tab of Form Interface ,
define
ITAB TYPE Z-table.
In the Global data tab of Global definitions,
define
GTAB type z-table .
Now a work area is created.
Now you can create a loop from ITAB to GTAB.
Now you can make the text elements as GTAB-value.
Hope your query is solved.
Regards,
Sylendra. -
ABAP - Dynamic Table in Smart Form
Dear All,
Can i assign a table at run time mens table rows and column will depend on user selection and no. of records fetched by query. Is there any utility.
Plz let me know ASAP if there is any. Looking forward to your co-operation.
Thanks & Regards,
Gulrez AlamDear All,
At the time of table creation in Smart Form, we had to assign no. of columns and its width.
In the case when no. of coulumns will be decided by the no of records return from the query. how can i link smart form with that records.
No. of coulms in the smart form will be decided on the i/p no. given by the user. it can be any no.
Plz suggest me the appropriate things.
Is it possible or not in the smart forms.
Thanks in Advance
Gulrez Alam
Maybe you are looking for
-
When I try to open yahoo Firefox will hang and when I try to restart it will close but stay running. It seems to have started when yahoo went to the new version.I reset my screen resolution to 1152 by 864 pixels like yahoo said no difference. Firefox
-
Subreport not displayed when Run from SAP Business One
We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report
-
I have had my Macbook Pro Retina Display (late 2012) for just more than 1 year now (JUST OUT OF MY WARRANTY). I noticed that it has about 6 dead pixels. I spend about £1,800 ($3,000) which is a huge amount for a laptop. Is there anything that i can d
-
Sequential playback of audio files
Need help in implementing sequential playback of sampled audio files. The task is a simple word-based speech generation; got a number of audio files and a need to play the certain ones in the certain order after clicking the button with a possibility
-
For a long time I was using Photoshop CS on my desktop computer. One day I needed to change things and couldn't reload Photoshop CS. I was given a free download of Photohsop CS2. I now wish to have the same Photoshop on my laptopn computer. I need to