Printing double line in Column label Box/Table Line Type of smartform
Hi,
In MAIN window, in ITEM table, the header box, (where column labels are printed), one double lines r printing!! it looks like (not exactly) instead of single line (________) its printing double lines (======), so, pls. let me know, Wht culd be the reason?
Thank you
Hi,
Check that if you used table borders in attributes of line types.
And also check if you are using sy-unline...
Regards,
Shankar.
Similar Messages
-
Breaking line in column header
Hi,everybody
How can I break the line in column header for two lines?
Regards,
MichaelHi michael,
As per my knowledge the webdynpro accomodates the text you given as column header.I did so many experiments on this in my previous developement.There is no option to break the column header.See one thing if the number of columns are more in your table and the headers are too large and if you restrict the table size then this might will break the column header because of table width.I am not sure.But there is no options to control this by the developer.This is totally the results of my experiments.If you acheive this please give me the procedure.
Thanks and regards
venkatakalyan K -
Too many information in 1 table line - alternative solution ?
Hi,
Just join today since i am new to Adobe LifeCycle.
I am using Adobe Life Cycle 8.1.2
As the title explains, currently i am designing a interactive adobe form (orientation: Portrait) which has a table with "add/remove" button. The "add/remove" works perfect (i can add line or remove line from the table).
The problem is I have too many information (read: columns) in 1 table line. In results:
1. Table line is not sufficient to display all information, OR
2. I can squeeze all columns into 1 line and play around with smaller font size. But the form looks ugly.
Has anyone encountered this kind of situation before ?
Can you share your design (if possible attached the form) for similar situation ?
Any bright input/idea are most welcomed.
Thanks In Advance !
Note:
1. Landscape is NOT an option.
2. I still want to have "add/remove" functionality.Hi,
Suppose you have set the the no of columns to 6 for any row . 1st row has 6 columns. 2nd row has 6 columns intially. But you can merge some of the columns to make it one. Selects the columns you want to merge.Then Right Click -> Merge cells. But this may lead to another problem about the caption of the columns. But if it's text field or same type of field you can specify the option to set the caption as on top.
Thanks,
Bibhu. -
How to insert data to the specified row column of the multi column list box
Hi All
How do i insert data into the specified column of the multi cplumn list box?
I have a table that containsall station nos and name.Then another table contains the data the various stations having at for 24 hrs.That is 12 am to 11 pm.
And i want to display each stations details as follows using a multi column list box/table
My stationinfo table
stnno stnname......................
s1 stn1
s2 stn2
s3 stn3
The other table
stnno sysdatetime data
s1 12am 1
s2 12am 4
s1 1 am 2
So the station s1,s2.... will have data for 24 hrs.
And i want to display it as follows using a multicolumn listbox
stnname 12am 1 am ......................................11pm
s1 ...................
s2 ........................
What i have in my mind is to get all station nos
and in a for loop get the station's data from 12 am to 11 pm
or
select every statios data for each hor.But in this case i have to query the database 24 times.So i dont think its a good way.
Or any other better query available?
Can anybody suggest me a good idea?
One more thing...how to insert data into the specified field row or column of a multi column list box?
Thanks in advancehi
i want to know,,can u say ur need clearly...and i attached two image u see that one
Indrajit
| [email protected] | [email protected] .
Attachments:
station.JPG 35 KB
station2.JPG 79 KB -
Hi friends ;
My question is below sorry for bad english;
zheaders is a table, sample;
in zheaders = 1 a
2 b
3 c
4 d
this table lines ,
I want to this table lines shown ALV grid Field headers. I mean
source zheaders
alv grid = a b c d ... more in zheadres
values ....
Im try fields appending fieldcatalog but I dont succeed.
I hope so , tell problem rigth.
Regards;Hi,
Take a look at the example program BCALV_TABLE_CREATE
regards,
Advait -
Hi all,
I created a template in smartforms with three line types. but wen i executed, only the template frame is displayed.
the line type name is not displayed.
how can i display the text in the template frame. please explain. I am new to smartforms.
Thanks in advance.
etienne.Hi,
You have create the text element first and then in yhe output options tab of this text element
give the line and column according to the line types you have created for the template...
Thanx -
Printing double line / small box residing in main box - Invoice smartform
Hi,
I have 2 Invoice smartforms, meant for Country_A and Country_B. We r on ECC 6.00
Country_A is printing fine.
But, when comes to Country_B, in ITEM table, the header box, (where column labels are printed), one more box is printing!! it looks like (not exactly) instead of single line ________ its printing ======, so, pls. let me know, Wht culd be the reason?
Thank youHi,
Check that if you used table borders in attributes of line types.
And also check if you are using sy-unline...
Regards,
Shankar. -
How to print Column Labels on each print page of an ALV report
Hi,
I have an ALV report which is of 10 print pages.
I need to print Column Labels on each print page.
How it is possible.
Plz write the solution
NarendraHi Narendra
try this code.
reward pts if help.
Deepanker.
*& Report ZDEMO_ALVGRID_EDIT *
*& Example of a simple ALV Grid Report *
*& The basic ALV grid, Enhanced to display specific fields as *
*& editable depending on field value *
REPORT ZDEMO_ALVGRID_EDIT .
TABLES: ekko.
TYPE-POOLS: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
field_style TYPE lvc_t_styl, "FOR DISABLE
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA: it_fieldcat TYPE lvc_t_fcat, "slis_t_fieldcat_alv WITH HEADER LINE,
wa_fieldcat TYPE lvc_s_fcat,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE lvc_s_layo, "slis_layout_alv,
gd_repid LIKE sy-repid.
*Start-of-selection.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM set_specific_field_attributes.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
wa_fieldcat-fieldname = 'EBELN'.
wa_fieldcat-scrtext_m = 'Purchase Order'.
wa_fieldcat-col_pos = 0.
wa_fieldcat-outputlen = 10.
wa_fieldcat-emphasize = 'X'.
wa_fieldcat-key = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'EBELP'.
wa_fieldcat-scrtext_m = 'PO Item'.
wa_fieldcat-col_pos = 1.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'STATU'.
wa_fieldcat-scrtext_m = 'Status'.
wa_fieldcat-col_pos = 2.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'AEDAT'.
wa_fieldcat-scrtext_m = 'Item change date'.
wa_fieldcat-col_pos = 3.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-scrtext_m = 'Material Number'.
wa_fieldcat-col_pos = 4.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MENGE'.
wa_fieldcat-scrtext_m = 'PO quantity'.
wa_fieldcat-col_pos = 5.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MEINS'.
wa_fieldcat-scrtext_m = 'Order Unit'.
wa_fieldcat-col_pos = 6.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'NETPR'.
wa_fieldcat-scrtext_m = 'Net Price'.
wa_fieldcat-edit = 'X'. "sets whole column to be editable
wa_fieldcat-col_pos = 7.
wa_fieldcat-outputlen = 15.
wa_fieldcat-datatype = 'CURR'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'PEINH'.
wa_fieldcat-scrtext_m = 'Price Unit'.
wa_fieldcat-col_pos = 8.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
FORM build_layout.
Set layout field for field attributes(i.e. input/output)
gd_layout-stylefname = 'FIELD_STYLE'.
gd_layout-zebra = 'X'.
ENDFORM. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
FORM display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = gd_repid
i_callback_user_command = 'USER_COMMAND'
is_layout_lvc = gd_layout
it_fieldcat_lvc = it_fieldcat
i_save = 'X'
TABLES
t_outtab = it_ekko
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_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
UP TO 10 ROWS
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE it_ekko.
ENDFORM. " DATA_RETRIEVAL
*& Form set_specific_field_attributes
populate FIELD_STYLE table with specific field attributes
form set_specific_field_attributes .
DATA ls_stylerow TYPE lvc_s_styl .
DATA lt_styletab TYPE lvc_t_styl .
Populate style variable (FIELD_STYLE) with style properties
The NETPR field/column has been set to editable in the fieldcatalog...
The following code sets it to be disabled(display only) if 'NETPR'
is gt than 10.
LOOP AT it_ekko INTO wa_ekko.
IF wa_ekko-netpr GT 10.
ls_stylerow-fieldname = 'NETPR' .
ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
"set field to disabled
APPEND ls_stylerow TO wa_ekko-field_style.
MODIFY it_ekko FROM wa_ekko.
ENDIF.
ENDLOOP.
endform. " set_specific_field_attributes
pls reward pts is help, -
BSP: How to create check box in a column of a Table View
Hi All,
I have a table view in Web IC scenario. my requirement is to display check box in one of the column of the table view.. so that i can select multiple lines from the table and do some calculations!.
Anybody have any hint/clue
Thanks in advance,
sudeep v d.Hi,
This can be achieved by using a Table iterator.
Please check the standard examples for this.
Thanks,
Rashmi. -
Dot matrix printers Capable of printing TABLE lines In Smartforms
Hey guys,
we are using EPSON LX-300+ (dot matrix pritner)
but the problem is,
it is not able to print table lines present in a SMARTFORM..
it can print the same table lines presnet in SCRIPT ...
so i want to know,
all the dot matrix printers in the market...
that can print table lines in SMARTFORMS...
(pls suggest the DM printers u are using and dont have this problem..i.e unable to print table lines in SMARTFORMS)
thank you...Hi Sreesudha,
I have used three different line types for the main window.
LTYPE1(Header) : For printing the column heading along with the title for consignor address.
LTYPE2(Main Area) : For printing the line items detail. For the first line, I have to print Material Description and chapter Id and if the same material exists for the second line item, then it should not be printed, so I have written condition for not printing it.
LTYPE3(Footer) : For printing the footer with the net and gross weight details.
And for paragraph format, I have used the custom Para. Format only.
Suggest me ASAP.
Rgds,
JK -
Drawing tables without boxes and lines in XI
Post Author: geeeeee
CA Forum: Crystal Reports
Hi I'm trying to figure a way to draw tables in XI (it seems like a pretty simple task) but I can't find how to draw a table without hand drawing lines and boxes. Any ideas? ThanksHi,
Unfortunatelly drawing a frame for table is not so straightforward. To draw a frame around the columns and table itself you need to create a window (on top of window where you display your table) placing it at column position and checking Lines width in Output Options tab for this window. This will produce a fake column frame. See [this example|http://img294.imageshack.us/my.php?image=tableq.png].
For rows you could do similar: check what is the heihgt of row in the table and draw respective windows as rows. This one, however will look a bit strange, but for columns it looks and works fine.
Regards
Marcin -
Bi publisher report, data table, column label displays last character
Hello all,
I have created various reports on BI Publisher (win2008 R2 64bit 11g (.1.1.5) version). After altering some access rights, all the reports that include data tables display only the last character of the column label. All the column data is reported correctly.
example:
- TotalNumber -
4234
234
4
became
- r -
4234
234
4
Any ideas about what is going on???
Thank youThanks for the suggestion Simon.
I just created a view based on the 46-column SELECT statement from dual above and then set "SELECT * FROM myview" as the Source Query.
Unfortunately I get exactly the same error.
Thanks,
Andy -
How can i change the column label text in a alv table display
how can i change the column label text in a alv table display??
A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
<i>* declare column, settings, header object
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
get column by specifying column name.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( ' ' ).</i>
My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
<i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
i have checked in debugging and the error occured at the statement :
<i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
Thanks,
SuriI found it myself how to do it. The error says that it is not able to find the reference object i.e it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_cmdl TYPE REF TO cl_salv_wd_config_table,
lr_col TYPE REF TO cl_salv_wd_column.
DATA : node_year TYPE REF TO if_wd_context_node,
elem_year TYPE REF TO if_wd_context_element,
stru_year TYPE if_alv_layout=>element_importing,
item_year LIKE stru_year-i_current_year,
lf_string TYPE char(x),
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
Get the entered value from the input field of the screen
node_year = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
elem_year = node_year->get_element( ).
elem_year->get_attribute(
EXPORTING
name = 'IMPORT_NODE-PARAMETER'
IMPORTING
value = L_IMPORT_PARAM ).
WRITE L_IMPORT_PARAM TO lf_string.
Get the reference of the table
lr_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
lr_if_controller = wd_this->wd_cpifc_alv( ).
lr_column_settings = lr_if_controller->get_model( ).
get column by specifying column name.
IF lr_column_settings IS BOUND.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( lf_string ).
endif. -
Printing date in the cheque date box column
Hello all,
I want to print the date in the cheque box column automatically.I used sy-datum.but its not coming in the proper field of day,month and year.can anyone please help me to do it .
Thank in advance.Check user master records for date format. Which tool did you use SapScript or Smartforms, you could alsop look for date formatting in those tools.
Smartforms : Smart Forms, Using SAP Smart Forms, Using Parameters in a Form, Using Fields in the Form, Output Options for Field Contents
Sapscript : BC Style and Form Maintenance, Formatting Options, Date Mask
NB: Better use sy-datlo if your systems have users worldwide.
Regards,
Raymond -
After adding one column in a table can't get the header line
hi all,
i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
Thanks & Regards,
sappk25Hi,
Have you created the Header Text? If yes, then might be the case that your smartforms
table which was already created is with Multiple Line. Check weather you have added
customer field in Header Line or Not?
Regards,
SUjeet
Maybe you are looking for
-
Internal error - NUMBER_GET_NEXT call error while craeating new company address
Dear Team, In solution manager while we going to create company address through tcode SUCOMP and during saving the record error message occur as "Internal error -NUMBER_GET_NEXT call error". Please suggest for solution Regards, Ajay
-
Ipod touch not recognized by itunes in windows 8
Hi, I have an ipod touch. It has been working well along windows 8 all this while until 1 week ago, itunes can no longer detect the ipod touch. Funnily, when I tried connecting it other computers using Windows 7, it could be detected. I have already
-
How to install and use Iweb 2.0.4 on a Mac running 10.9.1?
Hey All- Okay - just bought a Used Macbook Pro Laptop runnning 10.9.1 - and it came with iweb 3.0.4 - Tried to open our website which was built in iWeb 2.0.4 and it doesn't open it- it performs the operation but does not launch the site - it creats a
-
Facebook is not loading in Firefox
facebook login page only loads part way. I have re-installed firefox . facebook will load in Explorer.
-
How to display special characteds in OBIEE reports?
How to display special characters/multi lingual characters in OBIEE reports? Could you please let me know were all I need to make the changes in OBI so as to see the similar set of characters that being saved in database. Thanks in advance Regards, J