Can we change the length of fields appearing in the ALV layout
Hi All,
We are using the FM 'REUSE_ALV_LIST_DISPLAY' to display the output.We have a column Clearing agent status in the output which has 3 lights(Red,Green,Yellow).After getting the output if i change the layout, the output of this column is appearing as description instead af light.
Eg:For green light,it is 'All approvals are issued'.
When checked in debugging, I could find out that there is one subroutine 'Column_width_optimize' in which the output length of the columns are getting changed.Initially the output length would be same as data elements length.But once this subroutine runs,the lengths are getting changed.(Clearing agent status if of length : 60,but it is getting changed to 30 which is the length of its description.)
Now,I want to know if we can change the output length so that i obtain the required output.
Thanks
Prathima
Hi,
You can change the length in th eoutput by using
outputlen in fieldcat.
You can use like this
w_fieldcat-outputlen = '20'.
If you want 20 char lenght in the output.
I think it is useful for you.
Similar Messages
-
How can i change the print layout in i cal, how can i change the print layout in i cal
Im a franklin planner user and would like to convert to ical. How can I change the print layout in ical so I can print task on the left side and calendar events on the right side.
Hi Mike3232,
I'm afraid that it's not possible to adjust the print layout in iCal. Maybe you should think about changing to another program (BusyCal, etc.) that has the option to print the layout you want?
Good luck!
Michaël Duwyn -
Can't change the keyboard layout in Xorg
I tried the different possibilities in the wiki to change the keyboard layout in X. setxkbmap does work, but I'd like to keep the settings across reboots. I tried the two methods in the wiki, here are my config files:
/etc/X11/xorg.conf.d/00-keyboard.conf (created by localectl)
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "de,ru"
Option "XkbModel" "pc104"
Option "XkbVariant" ","
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
/etc/X11/xorg.conf.d/10-keyboard.conf (manually created)
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "de,ru"
Option "XkbModel" "pc104"
Option "XkbVariant" ","
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
But the output of "setxkbmap -print -verbose 10" shows german and us-english layout:
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: de,us
variant: ,
options: grp:alt_shift_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwertz)
types: complete
compat: complete
symbols: pc+de+us:2+inet(evdev)+group(alt_shift_toggle)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwertz)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+de+us:2+inet(evdev)+group(alt_shift_toggle)"};
xkb_geometry { include "pc(pc104)" };
Does anybody know what I am doing wrong? I would appreciate any help.
ThomasIn your .xinitrc file put setxkbmap yy & (yy=country code for example de) before it executes your de/wm.
-
Satellite A110-180: How can I change the keyboard layout?
hello,
i hope i could get some help from you guys
i reformatted my machine and installing a windows xp OS.. the placement of my keys looked like the standard keyboard..
how can i revert it back to its own setting.. because im confused with the keys whenever i type.
hoping for a quick reply. thank you so much!
Message was edited by: spectrex909Hi
Looks like you use a wrong keyboard layout. I thin the language settings are wrong!!!
Maybe you have an US keyboard layout and the settings are set to UK?
Please check this in the control panel -> regional and language options -> languages -> details.
There you can add a second language or you can change the first one to another keyboard layout. -
Alle experts:
In ALV layout report, how to dynamic change the layout int ABAP porgram?
e.g. I have save 5 layout, I need to change them base the my selection in ABAP program? How to do this?
Thanks in advance!Try to call fieldcatlog dymnamically. Refer tofollowing code. Reward if helpful.
REPORT zfir0001 MESSAGE-ID ztax.
Tables
TABLES : glt0, t001, skat.
Internal Tables
DATA: BEGIN OF itab OCCURS 0,
racct LIKE glt0-racct, "Account number
txt20 LIKE skat-txt20, "G/L account short text
co_1000 LIKE glt0-hslvt, "Balance carried forward for company code 1000
co_1100 LIKE glt0-hslvt, "Balance carried forward for company code 1100
co_1200 LIKE glt0-hslvt, "Balance carried forward for company code 1200
DATA : BEGIN OF itab1 OCCURS 0,
bukrs LIKE glt0-bukrs,
waers LIKE t001-waers,
END OF itab1.
DATA : BEGIN OF it_itab1 OCCURS 0.
INCLUDE STRUCTURE glt0.
DATA : END OF it_itab1.
Data Declarations
DATA : w_total LIKE glt0-hslvt,
w_count LIKE glt0-bukrs,
w_flg TYPE c,
lv_count TYPE i.
w_slash TYPE c VALUE ' '.
Selection screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE tit1.
SELECT-OPTIONS : s_bukrs FOR glt0-bukrs OBLIGATORY,
s_racct FOR glt0-racct OBLIGATORY,
s_ryear FOR glt0-ryear OBLIGATORY,
s_rldnr FOR glt0-rldnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
tit1 = 'Please select:'(004).
TYPE-POOLS: slis. "ALV Declarations
DATA: i_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE slis_layout_alv,
gd_repid LIKE sy-repid.
********Geting the selected company code in table itab1****
START-OF-SELECTION.
IF NOT s_bukrs-high IS INITIAL.
itab1-bukrs = s_bukrs-low.
APPEND itab1.
w_count = s_bukrs-low.
DO.
IF s_bukrs-high = w_count.
EXIT.
ELSE.
w_count = w_count + 1.
ENDIF.
SELECT SINGLE * FROM t001
WHERE bukrs = w_count.
IF sy-subrc = 0.
itab1-bukrs = w_count.
APPEND itab1.
CLEAR itab1.
ENDIF.
ENDDO.
ELSE.
itab1-bukrs = s_bukrs-low.
APPEND itab1.
ENDIF.
SELECT * FROM glt0 INTO CORRESPONDING FIELDS OF TABLE it_itab1
WHERE rldnr IN s_rldnr
AND bukrs IN s_bukrs
AND ryear IN s_ryear
AND racct IN s_racct.
SORT it_itab1 BY bukrs.
LOOP AT it_itab1.
AT END OF racct.
w_flg = 'X'.
ENDAT.
SELECT SINGLE txt20 INTO (itab-txt20) FROM skat
WHERE spras = sy-langu
AND saknr = it_itab1-racct.
PACK it_itab1-racct TO it_itab1-racct.
itab-racct = it_itab1-racct.
w_total = it_itab1-hsl01 + it_itab1-hsl02 + it_itab1-hsl03 + it_itab1-hsl04 +
it_itab1-hsl05 + it_itab1-hsl06 + it_itab1-hsl07 + it_itab1-hsl08 +
it_itab1-hsl09 + it_itab1-hsl10 + it_itab1-hsl11 + it_itab1-hsl12 +
w_total + it_itab1-hslvt.
IF w_flg = 'X'.
READ TABLE itab1 WITH KEY bukrs = it_itab1-bukrs.
IF sy-subrc = 0.
SELECT SINGLE * FROM t001
WHERE bukrs = itab1-bukrs.
IF t001-waers = 'JPY' OR
t001-waers = 'HUF'.
w_total = w_total * 100.
ENDIF.
CASE it_itab1-bukrs.
WHEN '1000'.
itab-co_1000 = w_total.
WHEN '1100'.
itab-co_1100 = w_total.
WHEN '1200'.
itab-co_1200 = w_total.
ENDCASE.
COLLECT itab.
CLEAR: itab, w_flg, w_total.
ENDIF.
ENDIF.
ENDLOOP.
SORT itab BY racct.
IF NOT itab[] IS INITIAL.
PERFORM field_cat1.
lv_count = 1.
LOOP AT itab1.
PERFORM field_cat USING itab1-bukrs.
ENDLOOP.
PERFORM display_alv_report .
ELSE.
MESSAGE s000 WITH 'No records Found'(003).
ENDIF.
*& Form display_alv_report
text
FORM display_alv_report .
gd_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
is_layout = gd_layout
it_fieldcat = i_fieldcat[]
i_save = 'X'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. "display_alv_report
*& Form field_cat1
text
FORM field_cat1 .
i_fieldcat-col_pos = 0.
i_fieldcat-fieldname = 'RACCT'.
i_fieldcat-seltext_m = 'Account'(001).
i_fieldcat-fix_column = 'X'.
i_fieldcat-emphasize = 'X'.
APPEND i_fieldcat TO i_fieldcat.
CLEAR i_fieldcat.
i_fieldcat-col_pos = 1.
i_fieldcat-fieldname = 'TXT20'.
i_fieldcat-seltext_m = 'Description'(002).
APPEND i_fieldcat TO i_fieldcat.
CLEAR i_fieldcat.
ENDFORM. "field_cat1
*& Form field_cat
text
-->XV_BURKS text
FORM field_cat USING xv_burks TYPE char4.
lv_count = lv_count + 1.
i_fieldcat-col_pos = lv_count.
CONCATENATE 'CO_' xv_burks INTO i_fieldcat-fieldname.
i_fieldcat-seltext_m = xv_burks.
i_fieldcat-just = 'C'.
i_fieldcat-no_zero = 'X'.
i_fieldcat-do_sum = 'X'.
APPEND i_fieldcat TO i_fieldcat.
CLEAR i_fieldcat.
ENDFORM. "field_cat
Edited by: dhanashree wadkar on Apr 30, 2008 6:00 AM -
Is it possible to change the ALV report layout settings in spool request
Hi All,
Please let me know is it possible to change the ALV layout settings in background as we can change the layout settings in foreground to get correct format when download to excel.
Regards,
Jyothi CH.Hello,
Add a parameter for layout on selection-screen (p_varmm LIKE disvariant-variant).
As you are in backgroud mode, ALV will be printed with this layout (assuming you call correctly the MF ALV_LIST or REUSE_ALV_GRID)
Regards,
Christophe -
How can I change the "From:" field in iOS Mail?
This is a weird one.
I have a gmail work email account that has been set up for me. There's a primary email address assigned to it, and a secondary one (which is the one I want to use).
No problem at all sending from the secondary account on my MacBook Pro. I just hit the drop down menu by the "From:" field, and I can select it from there.
However, when I send from my iPhone, I'm only given the option of sending from my primary email address, not the secondary one. This is despite the fact that I've synced Mail accounts via iTunes.
Any idea how I might fix this so I can send from the secondary account on my iPhone?First of all, please fill in the Computer Model and Operating System fields on your My Settings’s profile (and click Save). This is essential information that should always be provided when asking for help.
Now, what does “I can't change it” mean? What appears in the From header of the messages you send is determined by your Mail > Preferences > Accounts > Account Information settings... -
How can we change the input field on a view stop showing zeros
Hello,
To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
Edited by: sap_learner on Mar 25, 2010 5:44 PM
Edited by: sap_learner on Mar 25, 2010 5:49 PM
Edited by: sap_learner on Mar 25, 2010 5:55 PMhello Manas Dua,
Thanks for your help. I am able to resolve my problem.
My code will help the future comers to resolve this kind of issues.
*The code is applied to method WDDOINIT of the default view.
DATA lo_nd_terms_input TYPE REF TO if_wd_context_node.
DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
DATA lv_zeros TYPE wdy_attribute_format_prop.
lv_zeros-null_as_blank = 'X'.
lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
lo_nd_terms_input_i->set_attribute_format_props(
EXPORTING
name = `ENTER THE ATTRIBUTE NAME`
format_properties = lv_zeros ).
Edited by: sap_learner on Mar 26, 2010 5:02 PM -
Can we Change the backround color of an Input field in Webdynpro for ABAP.
Hi Experts ?
Can we change the background color of an Input field in WebDynpro for ABAP based on results we receive from any function module or BAPI?? .
Thanks in advance .
Regards ,
LASYes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
Bydefault, the theme used by webdynpro applications is :
/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
will apply the sap_tradeshow theme.
Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i> -
Can you change the field names in the address book?
Can you change the Pager field name to read 2nd cell?
No.
This add-on https://freeshell.de//~kaosmos/morecols-en.html allows you to modify the labels of the 4 custom fields of the contact card -
Can you change the UseNames to a difference field? e.g. FirstName+Lastname rather than displayname?
I have the problem that all our display names are lastname, firstname so when you join if your name is Fred Bloggs it will announce "Bloggs, Fred is joining the confernce" I'd rather it say "Fred Bloggs is joining the conference"
I cannot change the display name used in the AD as lastname, firstname is the corporate standard.Please refer to http://social.technet.microsoft.com/forums/lync/en-US/839ef1ad-522b-4191-8e90-3e277d318516/ms-lync-ms-exchange-display-name-attributes
You can use ABSconfig from Lync Reskit tools
Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph -
How can i change the length of a narration ?
how can i change the length of a narration ?
hotts77
Thanks for the reply.
Still not sure what version of Premiere Elements that you are using. But, the following should apply nonetheless
What you describe is what I have described in my blog post and for which I have discussed all aspects of the issue. There
is no workaround to force the program to give you more than you are getting now without other clips also on the track(s). The
blog post just about says it all.
You might have to weigh the pros and cons of
a. Recording your narrations as .wav files in a free audio editor such as Audacity
Audacity: Free Audio Editor and Recorder
and then importing those into your Premiere Elements project with Premiere Elements' Add Media/Files and Folders/Project Assets from where you drag the narration to the Narration Track.
b. Put any video clips on the Timeline when you are recording your Premiere Elements narrations with its Narration Tool. Then remove these video clips and replace them with the real thing when you are ready to put narration and clips into the project.
Please let me know if you are OK with the details.
Thank you.
ATR -
Can I change the interface of iOs 7 to recover the appearance of iOS 6 ?
I upgrade my iPhone 4S with iOs 7 but I don't like the new interface.
Can I change the interface to recover the appearance of iOS 6?
Thank's!This interface is horrendous and painful to the eyes. We have to be able to change the look. I mean even Windows let's you change. So can Linux. Yikes, this is really, really ugly. Feel like I'm back in a VGA Windows world. What was all the hoopla about? Can I take come of the Cupertino Cool Aid?
APple, have mercy on those of us who adopted you for your deep, luscious feel. This is like going back to Windows. It hurst the eyes, really.
bummer! -
How can I change the audio no Apple tv? on the film appear (english/portuguese), but when the film begins the audio is in english and I want to change for portuguese.
Hold down the select (middle key in the ring) for several secs and chapter/audio options should appear if available.
AC -
I am using a 5s under IOS 7.1.1. How can I change the year field directly when editing an existing calendar entry?
Glad that helped.
Enjoy your iPhone! -
How can I change the order in which songs appear in my iTunes Music Library?
How can I change the order in which songs appear in my iTunes Music Library?
Kay,
If you are looking at the entire music library ("Music") you can sort by any of the columns by clicking the column header. If there is a column you can't see, enable it by going to View > View Options.
Within a playlist, you can do the same, and in addition you can click above the column of sequence numbers, which will then allow you to drag tracks up or down to get any order you wish.
Maybe you are looking for
-
Copying query and workbook related to different Infoprovider
Hi, I need to copy some queries from an ODS to a MULTIPROVIDER. I did the following: 1) I used tr RSZC to copy the queries 2) Erased them from ODS with tr RSZDELETE. When the dialog ask me if i want to delete the related workbooks y say NO. Now, i ne
-
My Zen micro 5gig freezes at the loading screen. It loads the first screen than swaps to a screen that says "creative" and gets no further. i can get to the recovery screen, but when i try to reload the firmware, it starts erasing and just freezes ag
-
I want my ipad to ask for my password every time I buy something, can anyone help?
-
How to exlcude HTML Tags from Excel Reports
Hi Guys Within Project Online - OData extract to Excel Has anyone found a way to eliminate the HTML tags from Multi Line Text fields within Project Server? I can easily extract the text and generate nice Excel Reports, but the html tag is very annoyi
-
OS4 fix for slow running 3G phones...
Ok. my iphone was just creeping along after I did the OS4 update. I did the following and my phone is flying again... Settings> Messages> MMS Messaging (TURN OFF) Shut iphone down (not hard reboot or anything) Turn iphone back on and let it get its b