Prob in smartform?
hi
in my smartform how to get straight lines in my table? iam using linetype but there is some prob . the lines r coming till no of table records only . so how to overcome ?
deepurd
hii
can u explain ur problem?? r u want blank line???
when defining ur page in general attribute tab in next page select the which u want dispaly in next.if u want to display same page then select same page no....
thnks
Similar Messages
-
Prob in Smartform in Main Window -- Footer part
Hi,
I have 2 rows with different 2 text in Main window -> Footer part.
I want to always keep tht 2-text together either in first page or in second page.
Currently both r printing in different page if first page do nt have enough space.
But my requirement is both should print on first page or second page.
Please let me know hw to control this ?You can use the FOLDERs for that.
Create a FOLDER under the Footer.
Set "Page Protection" checkbox ON on the FOLDER.
Put your both line types under the FOLDER
So, your SMARTForms should like this:
> MAIN WINDOW
> HEADER
> MAIN
> FOOTER
> FOLDER - (with page protection)
> LINE 1
> LINE2
Regards,
Naimesh Patel -
Hi all.
i have a probs in smartform.
i am created table in smartforms
with the table header i displayin values called sl.no, department .
& main area i have a lot of values.
now i want 2 shade the table header only.
i tryin 2 do that. but smartforms is sayin " box & shade cannot posible inside the table
i need to shade the header which contains sl.no , department , etc...Hi,
Do one thing go into the table, there select the header row (ie table painter of the line type header) then select the shading color what ever u want. first select the header row then only it will work fine. I hope this is useful for u.
Regards
Srilatha -
Hi Ppl,
I have prob in smartform. I have to display a empty box of size 1 character against, each record . Based on the number of records the boxes have to be displayed.
Please let me know if any idea ?
searched a lot for it.
Thanks in Advancehi
make a smartstyle with same transaction - smartforms and choose proper font (drawing fonts) which is having box like structure. In smartform add hardcoded text and choose that smartstyle for it.
Aditya -
Prob in PO smartform mail sending
Dear all,
We are facing prob at the time of PO smartform mail sending.
Issue is if in vendor master if in general tab there is option to mantain mail id.
if i keep blank than mail is not going this is right.
but our requirement is if in general tab email is not maintained than also we have to check in contact person tab in vendor master
there is tab called partners details if mail id maintained in partners than mail should shoot.
Thanks in advanced.
Laxman Sankhla.Hi,
Just find an exit and populate the mail id based on your logic,
or if you are using WF just chip your logic in one activity.
Regards
Bikas -
Prob with Totals in Smartforms
Hi,
I am having a problem with Totals in my smartform.
I am Printing SUBTOTALS , GRANDTOTALS and CARRYFORWARD of amounts in my smartform.
My Problem comes with Carryforward total ( Balance forwarded to next page ).
Its getting added to a first record in next page and the balace is getting displayed in present page.
for example if the total in this page is 1000
and the next page record amount is 100
I am getting the CARRYFORWRD balance as 1100 instead of 1000.
I am calculating the subtotals and grandtotal in the Main area of the table and printing the Balance carry forward / grandtotal in the Footer area of the total
I cant use calculation tab because the currency may vary.
How to get the correct CARRYFORWARD balance
regards
PrasanthHi
For carry_forward:
In the global data:
carry_forward type I default value : 0
In the program lines:
carry_forward = TOTAL_SAL - TOTAL_SAL_PAGE.
Create the txt node for the carry forward.
Condition : not on first page.
For page_total.
Create the text node:
page total : drag and drop the field.
In the program lines.
carry_forward = 0.
total_sal_page = 0.
For grand_total.
Create the text node:
grand_total : drag and drop the field.
Condition tab : only after end of the main window.
Regards,
Sravanthi -
In PDF display of smartform in polish langauge - copyright character prob
hi gurus!
In PDF display of smartform in polish langauge - copyright character is not displaying properly.its showing # for copyright character. but It displays in english language.
please need ur help.
thanks
SGPlease note - the duplicate post in General has been deleted Please only post a question in one forum.
Thank-you -
Smartform Prob. in Journal Voucher(FICO)
Hi Friends,
I am doing SMARTFORM for Journal Voucher and I want the out put as when ever i entered the Accounting doc. No in input screen I want display the DEBITS in one Column and CREDITS in another column.. when the conditions satisfies... conditions are K, D, S..
Example :
credit debit
1,550.00
2,550.00
6,550.00
when ever the conditions satisfy i need the output like above...
Edited by: muralipsharma on Aug 4, 2010 5:44 PM
Moderator message: "spec dumping", please work yourself first on your requirement.
locked by: Thomas Zloch on Aug 4, 2010 2:30 PMHello,
This functionality is not supported in FICA....
Ofcourse when items are posted to clarification, there shall be 2 GL entries
DR Bank Clearing Account
CR Clarification Account
Ofcourse this may not meet your requirement
Rgds
Rajendra -
Reg smartform background n print prob?
hi experts
i have a requiremnt my sf has to run in backgorund mode by default. how to make it ?
and i have to put a check box on my selection screen for print if the user checked it print should come . how to get this functionality?
thanks & regardsHi Deepu,
Refer to my post below thread
Re: smartform into pdf...
Regards,
Sravanthi -
Prob. with Templete in Smartforms
I am new to smartforms. I have a scenario where I have a template of 4X3 matrix I have to put some values and text within as
Tot. Discount | value | value
Tot. VAT | value | value
Tot. Excise | value | value
Grand Tot | value | value
My problem is that I am unable to display like above plz suggest me.
Thanks in Advance,Hi,
did you gave cell positions(Line/Column) correctly?..plz check.
cell possitions are available in Output options tab.
(Output Structure - Line/Column)
in your case
Tot. Discount| value | value
Tot. Discount - line 1, Column 1
value - line 1, Column 2
value - line 1, Column 3
Tot. VAT | value | value
Tot. VAT - line 2, Column 1
value - line 2, Column 2
value - line 2, Column 3
Tot. Excise | value | value
Tot. Excise - line 3, Column 1
value - line 3, Column 2
value - line 3, Column 3
Grand Tot | value | value
Grand Tot - line 4, Column 1
value - line 4, Column 2
value - line 4, Column 3
Thanks,
Sree.
Edited by: t sree on Oct 16, 2008 4:24 PM -
Hi All Gurues,
I m getting problem while trying to print two pages as my requierment is there two differen formates for a single form so i created two pages but its overwrite each other when i m deletes one than its printing well for a single page.
plz give me your valuable suggetions
Thanks and Regards,
Tarun KumarHi
What did you give in the Page Attributes? In the General Attributes, Keep the Next Page as First itself...I think you are giving second page that is why it is overlapping...with the formats..
Regards,
VIshwa. -
hi experts.
we are 3 plants for our concern and we are prepared the sales invoice through t-code j1ip , when we are shifted the materials from one plant to another plant ie inter-plant .it could not print the customer address in the to block. of sales invoice .but when we are shifted the material to other external concern. it could printed the customer address in the to block..
pls somebody rectify this prob.
regards
surenderhi jignesh ..
basically am a abaper. i knew this is the smartform/sapscript issue. in the top left of the sales invoice the customer address should be print. but it could not be printed while we use the t-code j1ip.. plz resolve this.
and one more ques. is how to retrieve the abap and smartforms/sapscript program for the particular sales invoice.
i think u understood what am ask..?
see our plant name is x. and i want to shift the materials to x1.
x1,
2/3 cambridge road,
banglore.
the above address should be printed in the top-right corner of the delivery challan *** invoice.
regards
surender -
Hi experts..
how can we covert smartform output as pdf to on clinet request...
here i had tryed with some examples ... but in my form am passing the values
frrom interface parameters but if we r declaring this its showing error.....
how can we resolvw this prob ...........
tanx in advance.............ls_control_param-getotf = c_x. " Chk this to get otf data
call smartform delivery note
call function lf_fm_name
exporting
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = c_space
is_dlv_delnote = ls_dlv_delnote
is_nast = nast
importing
job_output_info = it_job_output_info "Smart Forms: Return value at end of form printing
exceptions formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
it_itcoo = it_job_output_info-otfdata[].
if it_itcoo[] is not initial.
call function 'CONVERT_OTF'
exporting
format = c_pdf
importing
bin_filesize = v_bin_filesize
tables
otf = it_itcoo
lines = it_tline
exceptions
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3.
concatenate <filename> '.PDF' into v_file.
*Write the PDF file to above specified path in application server
open dataset v_file for output in binary mode.
loop at it_tline.
transfer it_tline to v_file.
"clear wa_tline.
endloop.
close dataset v_file. -
hi all
i hav a following prob
i m printing data of one internal table in my smartform
and this internal table contains only one record
now i want to know, if there are 10 different record in my smartform
how can i print these 10 records on diferent 10 pages...
plz hlep
any help wil b rewarded.
thanxhi,
make changes in your driver programme.
data : wa type i_tab.
loop at i_tab.
AT FIRST.
CONTROL_PARAMETERS-NO_CLOSE = 'X'.
ENDAT.
AT LAST.
CONTROL_PARAMETERS-NO_CLOSE = SPACE.
ENDAT.
assign record in wa
call smartforms using this fuction CALL FUNCTION FUNC_MODULE_NAME
and pass wa to print data in main window
CONTROL_PARAMETERS-NO_OPEN = 'X'.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
try this. if you have 10 records your smartform will print 10 page.
raj -
Smartform with text containing html tags
I am reading from a table that contains html tags like
<br>
<menu>
<LI type="disc">This is a line which contains html tags
that goes over to 2nd line
<LI type="disc"> This is also another line which contains html
tags.
and each line is stored in a different row. The customer has agreed to use only 3 of the above html tags (
<br>, <menu> and <LI type="disc">
When the output is previewed in smartforms, the html tags needs to be formatted and not print in raw format as follows:
<LI type="disc">This is a line which contains html tags
that goes over to 2nd line
<LI type="disc"> This is also another line which contains html
tags.
How can this be done ?ok understood...
you can try this
Loop at i_html into wa_html.
tmp = strlen( wa_html-line).
do tmp times.
if wa_html-line+0(1) = <
l_start = 1.
__elseif wa_html-line+0(1) = >
l_start = 0.
concatenate l_char wa_html-line+0(1) into l_char.
endif.
if l_start = 1.
concatenate l_char wa_html-line+0(1) into l_char.
wa_html-line = wa_html-line+1(l_tmp - sy-index) OR use the keyword SHIFT LEFT...plz chk the syntax
elseif l_start = 0 and l_char = <LItype=disc>
concatenate <BULLET> wa_html-line into wa_html-line separated by space.
endif.
enddo.
modify i_html form wa_html.
endloop.
now u define two text element one with bullet and another without bullet. this is how u insert bullet:
goto to the texteditor of a text element in smartform. Its a small button on the left hand side of.
Then goto insert>characters>sap symbols.
for ur requirement u can use the symbol SYM_FILLED_CIRCLE.
Remember these icons or symbols whatever u will not be able to see in print preview....u have to take a print
and see
Now at the time of display check if the line contains the
tag <BULLET> ( if wa_html-line+0(8) = '<BULLET>')
if the line has the tag then display ur text in the text element with bullet
otherwise
display it in the non bullet text element..
remeber to remove the tag before dispalying
hope this solves ur prob...
Maybe you are looking for
-
Returning multiple values from a table
Hi there i am working on a bit of sql which will return values when they exist in a table. The code I have returns the correct value when there is only one entry in the tbl_studentmodules table, as soon as there is more than one entry in this table i
-
Error while creating Sale Order
Hi, When I am creating a Cash Sale Order using VA01, I am getting the below error after SAVE 'Express document "Update was terminated" received from author', document number is showing up but not getting saved. This error is coming up in testing syst
-
Slow speed, novice needs help
My sister's broadband line has suddenly changed from a speed able to view videos such as BBC's iPlayer to a speed where no video clip can be played. Using the BT speedcheck facility download speed is said to be 4998kbps , DSL connection rates are 204
-
Thanks for all the wonderful tips and tricks here...I've learned a lot. I am trying to create a check box that will automatically transfer the "Ship to" to the "Bill to" if the are the same. I can't seem to figure it out. Here is an example: http://w
-
My I pad one constantly crashes, goes back to home screen, started just in Facebook but now it does it in everything! I have cleared all cookies, and even did the hard re boot...I am about to throw it! Trying to type this it kicked me out twice;-(