How to avoid blank lines in smartforms?
Hi all,
I am using an INCLUDE TEXT in a smartform. The problem is it is priniting with the blank lines entered in the standard text.
I couldn't find any option for avoiding these blank lines using the respective smartstyles.
Is there any option to avoid the blank lines ? Please help me.
Thanks,
Aravind
Hi,
well if the blank lines are present in the include text.
then you have to modify the standard text.
in the smartform the text is printed as it is.
you need to make changes to the standard text.
Similar Messages
-
How to suppress blank lines in smartforms
Hi all,
How can we suppress blank lines in smartforms?
In my scenario I am having customer address details in main window.
i.e. Name
Street
P O Box
P O Box Location
Post Code
Telephone
Fax.
Suppose if there is no value for P O Box Location the address is getting displayed as
Name
Street
P O Box
-> Leaving blank space
Post Code
Telephone
Fax.
But I want it as
Name
Street
P O Box
Post Code
Telephone
Fax.
i.e The blank line should not be displayed.
Kindly let me know how to do this.
Regards,
Neethupriya.Hi Neethu,
Are you using ADDRESS option in smartforms or code to get address from customer master?
If you are using code, you can give condition like P O Box Location <> SPACE in condition tab.
Pranav -
How to supress blank lines in smartforms...
Hello Experts,
I am showing the address of the customer in my form but I noticed that when a variable doesn't have a
value, it still shows as a blank line. For example:
Customer 123
<--- I want to remove this line
San Francisco, California.
How can we do this guys?
Thank you and take care!Hi Viraylab,
There are two ways by which you might clear this issue.
1. If you have created a template for the same and under that, if you have created separate rows for each field/group of fields, then you need to remove those rows, as the blank row will be displayed as it is.
2. You can directly write the code for the condense using the statement CONDENSE wa_field.
Regards,
-Syed.
Edited by: wahid hussain syed on Dec 16, 2008 11:17 AM -
How to draw horizontal line in smartform after end of the all line items
Hi Friends,
I am working on the smartform. I have created TABLE node in Main window.
i want to draw a horizontal line after end of the main window table node. i mean after printing all the line items of the table, I need to print one horizontal line.
Could you please help me how to resolve this issue.
FYI: I tried with the below two options. But no use.
1. desinged footer area in the table node of the main window.
2. tried with uline and system symbols.
please correct me if i am wrong. please explain in detail how to draw horizontal line after end of the main window table.
this is very urgent.
Thanks in advance
Regards
RaghuHello Valter Oliveira,
Thanks for your answer. But I need some more detail about blank line text. i.e thrid point.
Could you please tell me how to insert blank line text.
1 - in your table, create a line type with only one column, with the same width of the table
2 - in table painter, create a line under the line type
3 - insert a blank line text in the footer section with the line type you have created. -
How to print horizantal lines in smartforms?
hi friends,
how to print horizantal lines in smartforms.
waiting for ur valuble replies.
Thanks,
KiranHI,
If u use templates or table,then use borders to print the horizontal lines.
Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element -
How to protect the lines in smartforms
hi gurus
i want to know how to protect the line in smartforms..
regards
baskarCheck this link.
http://www.saptechies.com/smartforms-protect-lines-in-main-window/
if you are using tables, there are two options for protection against line break: You can protect a line type against page break. You can protect several table lines against page break for output in the main area.
Protection against page break for line types Double-click on your table node and choose the Table tab page. Switch to the detail view by choosing the Details pushbutton. Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
Protection against page break for several table lines Expand the main area of your table node in the navigation tree. Insert a file node for the table lines to be protected in the main area. If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
Regards,
Maha -
How to get 2nd line in smartforms using template
how to get 2nd line in smartforms main window using template. i have also defined loop .
if possible can you try with the TABLES..
Put one TABLE in your MAIN window
create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
Now, you will find three section under the tables: header, main, footer...
in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
in main section, you can access your data form the loop.
the footer secion will be called, just after the main will be finished.
Regards,
Naimesh Patel -
How to avoid blank column display in output in ALV TREE
how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
Thanks for reply.
Edited by: morpeous on Jul 1, 2009 1:53 PMHi,
Check BCALV_TREE_02 on how to hide columns.
Thanks & Regards,
Anand Patil -
How to insert blank lines in the ALV output.
Hi Friends,
Could any body help me out How to insert blank lines in the ALV output.?? Any Code pls...
Thank you,
Vikram.Chi vikram
do like this
In the fieldcatalog table all the fields should be in editable mode
ie lw_fcat-edit = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
is_layout = lv_layout
it_fieldcat = lt_fcat[]
i_save = 'A'
is_variant = lv_variant
TABLES
t_outtab = lt_license[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " display_data
*& Form user_command
FORM user_command USING r_ucomm TYPE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN 'ADD'. "
data: lv_ind type i.
data: lv_line type i.
describe table lt_license lines lv_line.
loop at lt_license into lw_license.
lv_ind = sy-tabix.
if lv_ind = lv_line.
append initial line to lt_license.
endif.
endloop.
ENDCASE.
ENDFORM. "user_command
reward points if useful
Rohan -
How to create blank line in alv output
Hi all,
Iam getting alv output with currency values like below
text1 20.0 10.0 30.0
text2 25.0 11.0 30.0
text3 27.0 19.0 30.0
text1 24.0 18.0 30.0
text2 27.0 16.0 30.0
text3 29.0 15.0 30.0
text1 23.0 17.0 30.0
text2 22.0 13.0 30.0
text3 21.0 14.0 30.0
and so on...
My requirement is to create blank line after text3. Since its currency field even i claer work area iam able to get 0.0.
If i use no-zero in field catalog i will be able to get blank values for all 0.0, but thats not required.
Can u help me out how to crate blank line after one set of values(text1, text2, text3) in alv display
ThanksHi,
If i use no-zero, then all 0.0 will be replaced by blank, but that is not required.
I want only blank line to be displayed after set of line items.
Skip doesn't help in alv. Secondly if i append blank work area i will be getting 0.0 as it is a currency field. -
How to avoid a line of data being cut by page jump ?
Dear Java Experts,
I have encountered a very troublesom problem!
The problem is described as follows:
When the browser (IE or Netscape) contains many HTML character data (especially HTML tables and data from DATABASE), how can I print the data to client's printer
(i.e. browser's printer) without having a line of data cut by page jump?
That is how to avoid a line of data cut by page jump, upper part of the data in one page and lower part in next!
I think the problem should be solved with client's java applet!
Can any expert give me sample code to solve the problem or indicate me where I can find documents about solving the problem?
Thank you very much in advance!!
Best Regards,
Jackie SuHTML is not really meant for device-specific presentation (despite a lot of abuses in this area).
I don't think you're going to solve this satisfactorily with HTML, no matter what you jury-rig around it.
If this kind of presentation control is a requirement, you're probably better off with a format that directly supports this--PDF is the most obvious choice.
There's a sourceforge project that supports PDF generation from Java (http://sourceforge.net/projects/itext/ - I don't have any experience with it) and I think there may be others.
And I believe there are also commercial products for this. -
How to avoid blank page in the report?
adding a field in the grouping and checking the page break option means then we are getting blank page as the first page of the report? How to avoid this blank page?
Usually blank pages appear as first page due to the presence of filler lines (//////) on top of report header.Please ensure that the top header is exactely started from top of page itself.
-
How to Avoid blank page in SAP Script
I am working on a Script. My Script prints a check.
This script is a copy of a std script.
It has 3 pages - First Next Last
My First page has all the required data.
My second page is empty with out any values.
I am getting the blank page as Page 2 when executing. How can we avoid it ?
SenthilHi Senthil,
Please see the below points:
1. Please check what have you defined as the NEXT PAGE for your first page. If so change it and make the first page itself as the next page.
2. Check your main Window, may be there is blank line at the last of the main window, so check that abd remove that,so you won't get the blank page
Please see the link which is similar to your problem:
Re: How to remove blank page in sap script
May it helps you.
Regards.
Deepak Sharma. -
How to draw a line in smartforms!
Hello ABAPers,
In smartform, I am having a table. Every 3 rows I want to draw a line. How can I do that in Smartforms?
Thanks,hi Naren,
Check these links out
drawing line in smartforms
Re: Smartforms - Line Height
Re: smartforms blank line
Regards,
Santosh -
How to avoid XVBPA line item values while creating sales order
Hi Friends
I am creating Sales order using function module IDOC_INPUT_ORDERS, for that I am passing partner details through segment E1EDKA1.If I pass the same partner details(Partner number, name1,name4,city,postel code) which is same like customer master,
I can able to book the order and entries are coming only one time in VBPA table(Header Item level).But if I change any value for the particular partner in the Input(For example Name4, there is no value in customer master but I added through program).Now its creating an order but its showing the entered partner informations in header level.When I checked the same in line item level, its not picking the values from header, its picking the values from customer master for that particular partner.
So this line item also coming in VBPA table, because its different from header data.
Anyone guide me, how to avoid this problem while booking order through program.
Thanks
GowrishankarI am updating Ship-To-Party value in segment E1EDKA1 and calling IDOC_INPUT_ORDERS function module to create the sales order.
In this case for the particular partner there is no NAME4 value in KNA1, I am passing some value through this segment E1EDKA1.
So its creating an order with this new addresses , so its generating new ADRNR in VBPA header level.Thats fine.But the same time
its not copying the same value from header to line item.
In Line item level again its picking the address details from KNA1 for the particular partner number.So its showing Blank value in NAME4 field of line items.Its creating and spllitting issue, while creating delivery.
Thanks
Gowrishankar
Maybe you are looking for
-
Sales scheduling agreements and subsequent sales orders in MD04
We would like to use sales scheduling agreements. For planification purposes, we need that forecast delivery schedule quantities in the agreement, appear in MD04 transaction, so corresponding schedule line type has flag "Transfer of requirements" act
-
Can't view pictures on Samsung Galaxy Note3 since the new update!!
i have a samsung galaxy note 3. Since this latest update, my phone is slower and I can't view pictures in my Gallery. It takes forever to load and a notification window will appear asking if I want to Wait or iif I want to Close?! Also, I've delet
-
How do i contact someone who can troubleshoot my installation?
how do i contact someone who can troubleshoot my installation?
-
Need help setting up auto resizing of GTK window
Hi, I have a GTK image in a scrolled window in a top window and I need to find out how to arrange for the main window to accomodate size changes of the image. Resizing the scrolled window causes the top window to resize but resizing the image just ma
-
It seemed like a pretty hefty update so I was hoping that maybe Cortana would appear on the phone when it was done. But it didn't seem to do much... I assume probably a security update or bug fixes but I can't seem to find any list of them.