ALV BLOCK and GRID to move right in screen
Dear all,
How to move the reuse_alv_block_display and grid display to little right side of screen and also it should go back to the previous screen clicking the back button.
Thanks in advance.
Hi
call function 'REUSE_ALV_GRID_DISPLAY'
Exporting
This code will start your screen at column 4 and line 5.
SCREEN_START_COLUMN = 4
Screen_start_line = 5.
And you header will come in every page for that you have to define a routine
Form top_of_page.
Endform.
and pass this routine name name to your REUSE_ALV_GRID_DISPLAY FM.
Check this code for the example of TOP_OF_PAGE.
http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm
Regards
Neha
Edited by: Neha Shukla on Nov 30, 2008 7:11 PM
Similar Messages
-
HT1553 my macbook pro is frozen and does not move from loading screen. Can you help?
my macbook pro is frozen and does not move from loading screen. Can you help?
Call Apple Support and schedule a appointment for a hardware check, or take it into a Apple Store.
We can't help you with that problem.
Good Luck -
Programs for alv block and hierarchy list
hi abapers,
can anyone pls mail me the simple program to get an idea of block and hierarchy list.
my mail id is <u>[email protected]</u>HI
go through below links
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305
Reward points if help full
Regards
Suresh.D -
Alv numbering and grid for line selection
friends,
how to give serial numbering in alv...the scenario is if the data is coming for the same item, then the serial no. should not get incremented..the serial no. has to change only when a particular item changes..then, how to give a grid or a box so that any particular line can be selected? thanks all..HI,
for numbering you have to control it in program using looping.
some thing like that.
LOOP.
at new item.
endat.
ENDLOOP.
for line selection check the following code, line in bold should be noted.
REPORT ZWA_ALV_SELECT_LINE_ITEM .
TYPE-POOLS : slis.
*-------------- Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
*DATA: itab like t001 occurs 0 with header line.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
data v_repid like sy-repid.
*--------- Select Data
v_repid = sy-repid.
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = v_repid
i_internal_tabname = 'ITAB'
* I_STRUCTURE_NAME =
* I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = v_repid
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
changing
ct_fieldcat = alvfc[] .
*---------------Display
<b>alvly-box_fieldname = 'FLAG'.</b>
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = alvfc[]
i_callback_program = v_repid "<-------Important
i_callback_user_command =
'ITAB_USER_COMMAND' "<------ Important
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
* CALL BACK FORM
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
*--------- IMPORTANT.
data : m(100) type c.
m = whatrow-tabindex.
condense m.
concatenate 'Row Number is ' m into m separated by space.
concatenate m ' : Field Clicked is ' whatrow-fieldname into m separated
by space.
message i000(su) with m.
ENDFORM. "ITAB_user_command
REgards, -
MAC MINI BLOCKED AND PASS OUT THE OPENING SESSION SCREEN
Hi, i hope someone can help me.
(i'm a french user, so i'll try to write a good english)
I've a mac MINI (2006) Intel Core Solo
Mac OSX 10.4.11 Tiger
I've no problem since some days.
I'm not the usual user.
Is the problem description :
• I start my Mac mini by pressing the button.
• "dong"
• I see the apple on the screen with spiral progression, all right.
• after around 15 sec. normally, at this moment, the opening session screen must appear… (there are 2 users, one administrator [with password] and one guest without password) but it don't.
• After a brief flash between two different screens (blue-gray),
the gray screen with the apple and the spiral progression re-appear but BLOCKED.
• There are some pixels lost in disorder at the top-left of the screen (the place of the starting mouse-arrow).
• After some minutes, or when i click away (i really don't now exactly when…)
The session of the guest starting normally (with some slownesses)
• I've a AirPort connexion with an iMac (Leopard 10.5.5).
• I've noted that someday, my usual network connexion have been changed (on the mac mini only), and my Mini tryed to connect with the connection of a neighbor.
As if this connexion have been selected by default.
•• I've tryed to restart, close the session etc.
•• I've lunched the disc utility to verify the HD…
•• And finally, I've passed out the problem with changing the account parameters :
Open the session automaticaly as a guest. Passed out but not resolved !!
••• THE PROBLEM STILL HERE, but for a few seconds only
(blocking lasts only two seconds).
So, can someone help me ?
What type of problem can it be ?
I hope someone has allready resolved it !
Thanks for reading.Hi you, i love your post…
So, i suggest you :
- In the account parameters (in préf. sys.)
- Delete the guest account created.
- Specify start automatically as "your Admin. name"
- Restart your computer.
- Go one more time in the Account param. pane
- Create a new guest account and modify some settings (such as display of the file for users in opening session screen etc.)
- Specify automatic start with guest
- Restart you Mac Mini.
Of course you have note that i've solved (for the moment only ?) the problem.
But i must say it for others, if someone has the same pb.
When my Mac Mini was Blocked, in fact, the computer seems all right but the display not. As the opening session screen was behind this static grey-apple-screen.
In addition, i've forgotten that there is an other screen with
"Démarrage de Mac OS X en cours…"
So, when i've unplugged my screen during the blocked screen,
and re-plugged it, all returns right : i can see my opening session screen…
So, if some one can tell me what is the problem exactly…
I'm curious.
So, at this moment, i've started my Mini once time only.
I hope all stay right in future…
Thanks so munch to me for my response.
:] -
Text for block and select option on the selection screen of Logical Databas
Hi,
I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
Also i need to provide a frame and title to it. but its not displayed.
i have written the following code for that:
SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
SELECTION-SCREEN: END OF BLOCK seg.
Could you please help me in getting the texts displayed for fram and the select option?
Thanks,
PhaniSolved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.
-
The videos that I import (and are located on the bottom of imovie) will show up and play on the right hand screen. But if I move that clip to the actually project area it won't play in the right hand side! I somehow must have clicked something that now won't play the project videos and now plays the clips below instead! Help please I need to fix this! Everythign else works, I can still edit videos, add transitions, music, etc I just can't see it on the right hand side- so I can't edit because I can't see
See my post here on how to do this.
https://discussions.apple.com/docs/DOC-4141 -
HT1349 Ipod touch won't move past password screen
my ipod touch 4g keeps asking for hotmail password. I enter it and it is not taking it and won't move past this screen. Any idea how to get this off?
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
ALV like LIST GRID BLOCKED and HIRARCHIC using oops class SALV
Hi ,
Can any one let know me is it possible to display all the Flavours of ALV like LIST GRID BLOCKED and HIRARCHICAL
using oops class CL_GUI_ALV and class CL_SALV.
and the relevant events with respect to the type of ALV.
regardsHello
Have you had a look at the documents of Rich Heilman:
[ALV Object Model - Simple 2D Table - Event Handling|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01]
[ALV Object Model - Hierarchical Sequential List - The Basics|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c]
[ALV Object Model - Simple 2D Table - The Basics|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eac1fa0b-0e01-0010-0990-8530de4908a6]
Regards
Uwe -
Move all fields and grid lines to the the right
I have a report where I want to insert two new fields to the left of all the existing columns. Can I move all of my fields and grid lines to the right at once? I don't want to start at the right and drag each field out to the right two inches, etc. Hoping there is an easy way to accomplish this at once. Thanks.
Thanks - that I know. Really would like to see the grid lines move with it. Kind of like when you adjust columns in a table in ms-word. You can move a left most column and shift the others right of it in one motion.
-
Is it possible to display list alv and grid alv in the same screen
Hi
There are methods to display more than 1 alv grid in the same screen by using block append grid . In the same manner its available for more than 1 list alv report display by REUSE_ALV_BLOCK_LIST_APPEND.
My question is I want to display 1 alv list and 1 alv grid report in the same output screen .
Please let me know how to do it ? I will definetly appreciate the answers.
Thanks!!Hi Anindita,
Previously i ad told v cant display two lists together in same screen. But u can use Block ALV for this. Use FM "REUSE_ALV_BLOCK_LIST_APPEND.
In OO u can use Cl_GUI_EAST_SPLITTER_CONTAINER for displayin more than two lists in same screen.
If useful giv points
Regards
Vanitha P -
I am creating a video using the green screen option in iMovie. I imported a picture for the background of the project and videotaped someone using a green screen. Is it possible to move the video of the person around so it is not blocking the picture behind it?
To enable this right you need Acrobat, not the free Reader.
However, starting from Reader X it is possible to add simple markups to any file, unless it has been specifically disallowed by the creator of the file. -
Hi Experts,
wht is the use of blocked and hierarchial ALV's.
In which situations are they used? Can u provide any material
Thank Youhi,
<b>Block ALV</b> means more than one list in one screen.
Means u can have many list in one screen at a time.
Like this,
TYPE-POOLS : slis.
TABLES : mara,
makt.
SELECT-OPTIONS : mat FOR mara-matnr.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
matkl LIKE mara-matkl,
mtart LIKE mara-mtart,
END OF itab.
DATA : BEGIN OF itab1 OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1.
DATA : BEGIN OF itab1_col OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1_col.
DATA : t_fcat1 TYPE slis_t_fieldcat_alv,
t_fcat2 TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv,
t_eve TYPE slis_t_event,
wa_eve TYPE slis_alv_event,
t_layout TYPE slis_layout_alv.
DATA : v_repid LIKE sy-repid,
t_mat LIKE mara-matnr.
DEFINE create_fcat.
clear wa_fcat.
wa_fcat-fieldname = &1.
wa_fcat-seltext_l = &2.
wa_fcat-outputlen = &3.
append wa_fcat to t_fcat1.
END-OF-DEFINITION.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form get_data
text
FORM get_data.
SELECT amatnr bmaktx amtart amatkl INTO CORRESPONDING FIELDS OF TABLE itab
FROM mara AS a INNER JOIN makt AS b ON
amatnr = bmatnr
WHERE a~matnr IN mat.
LOOP AT itab.
itab1-mtart = itab-mtart.
itab1-count = 1.
APPEND itab1.
ENDLOOP.
SORT itab1 BY mtart.
LOOP AT itab1.
MOVE-CORRESPONDING itab1 TO itab1_col.
COLLECT itab1_col.
ENDLOOP.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE1'.
APPEND wa_eve TO t_eve.
create_fcat:
'MATNR' 'Material' '10',
'MAKTX' 'Material Description' '40',
'MTART' 'Type' '10',
'MATKL' 'Group' '10'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB'
it_events = t_eve
TABLES
t_outtab = itab.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE2'.
APPEND wa_eve TO t_eve.
create_fcat:
'MTART' 'Type' '10',
'COUNT' 'Total' '5'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB1_COL'
it_events = t_eve
TABLES
t_outtab = itab1_col.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
ENDFORM. "dis_data
*& Form top_of_page1
text
FORM top_of_page1.
FORMAT COLOR COL_POSITIVE.
WRITE:/ 'First Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2.
FORMAT COLOR COL_NEGATIVE.
WRITE /5 'Second Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
In <b>hierarchical ALV</b> hierarchy will create,
Like This,
TYPE-POOLS : slis.
TABLES : mseg.
DATA : BEGIN OF itab_head OCCURS 0,
matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
END OF itab_head.
DATA : BEGIN OF itab_item OCCURS 0,
matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
mblnr LIKE mseg-mblnr,
menge LIKE mseg-menge,
END OF itab_item.
DATA : t_fcat TYPE slis_t_fieldcat_alv,
key_info TYPE slis_keyinfo_alv,
t_eve TYPE slis_t_event,
gt_subtot TYPE slis_t_sortinfo_alv,
subtot LIKE LINE OF gt_subtot,
t_listhead TYPE slis_t_listheader,
st_line TYPE slis_listheader.
DATA : t_mtdoc LIKE mseg-mblnr.
SELECT-OPTIONS : mat FOR mseg-matnr.
INITIALIZATION.
PERFORM build_cat USING t_fcat.
PERFORM build_eve.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form build_cat
text
-->TEMP_FCAT text
FORM build_cat USING temp_fcat TYPE slis_t_fieldcat_alv.
DATA : wa_fcat TYPE slis_fieldcat_alv.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-seltext_m = 'Material'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'WERKS'.
wa_fcat-seltext_m = 'Plant'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MBLNR'.
wa_fcat-seltext_m = 'Material Doc.'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MENGE'.
wa_fcat-seltext_m = 'Quantity'.
wa_fcat-do_sum = 'Y'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
subtot-spos = 1.
subtot-fieldname = 'MATNR'.
subtot-tabname = 'ITAB_HEAD'.
subtot-up = 'X'.
subtot-group = 'X'.
subtot-subtot = 'X'.
subtot-expa = 'X'.
APPEND subtot TO gt_subtot.
ENDFORM. "build_cat
*& Form build_eve
text
FORM build_eve.
DATA : wa_eve TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_eve
EXCEPTIONS
LIST_TYPE_WRONG = 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.
READ TABLE t_eve INTO wa_eve WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc = 0.
wa_eve-form = 'TOP_OF_PAGE'.
MODIFY t_eve FROM wa_eve INDEX sy-tabix.
ENDIF.
ENDFORM. "build_eve
*& Form get_data
text
FORM get_data.
SELECT matnr werks mblnr menge FROM mseg INTO CORRESPONDING FIELDS OF TABLE itab_item
WHERE matnr IN mat.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
key_info-header01 = 'MATNR'.
key_info-item01 = 'MATNR'.
key_info-header02 = 'WERKS'.
key_info-item02 = 'WERKS'.
REFRESH itab_head.
LOOP AT itab_item.
ON CHANGE OF itab_item-matnr OR itab_item-werks.
MOVE-CORRESPONDING itab_item TO itab_head.
APPEND itab_head.
ENDON.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZHEIRALV_PRDS'
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = t_fcat
it_sort = gt_subtot
it_events = t_eve[]
i_tabname_header = 'ITAB_HEAD'
i_tabname_item = 'ITAB_ITEM'
is_keyinfo = key_info
TABLES
t_outtab_header = itab_head
t_outtab_item = itab_item
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. "dis_data
*& Form top_of_page
text
FORM top_of_page.
CLEAR st_line.
st_line-typ = 'H'.
st_line-info = 'Dhwani Shah'.
APPEND st_line TO t_listhead.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_listhead
I_LOGO =
I_END_OF_LIST_GRID =
I_ALV_FORM =
ENDFORM. "top_of_page
reward if useful. -
Deskjet 712C: Ink cartridge got stuck in right side and won't move
I have an old DeskJet 712C that was working fine until today. Strangely, the ink cartridge got stuck in the right side of the printer and won't move. As soon as I turn on the printer, the red light starts blinking. Does anyone know any tricks to get the ink cartridge to move again? Thank you for your help.
This question was solved.
View Solution.Hi,
It may be possible to move the carriage if you turn off the printer. Unplug the printer and open the printer lid. See if you can move the carriage by hand. If this is possible move the carriage to the centre. Check to see that the is nothing blocking the movment of the carriage - e.g. some pieces of paper.
Close the lid and then plug the printer back in. Hopefully this will help.
I did find a You Tube video which shows fixing carriage jams on C4200 printers ( I know that they are not the same as the 712C) but some of the suggestions may be useful if my initial thought above do not help. the video is at this link:
http://www.youtube.com/watch?v=l9x6ZLIYMog
Again these tips are not specifically for your printer but they may help solve your issue.
I hope that this was helpful.
---- If my answer was helpful please click the Kudos star.
If your problem is solved please click the Accept as Solution button so other forum users can use the solution.---->
(I am an HP employee) I am not a expert on all our products, but I'll do my best to help you. -
What is the difference between list display and grid display in alv report
Hai genious
i am a new of the abap, i dont know the alv report, i have a small doubt, can u please tell me what is the main difference between list display and grid display in alv report
thanks®ards
chinnuHi ,
1. For all practical purposes, they are the same.
2. Some differences:
a) from abap coding point of view,
alv list is done with Function modules,
alv gris can also be done with FM,
but can also be done using OO concepts.
b) Alv grid (using oo concept) requires
designing the screen layout .
Hence, in one screen, we can show more
then one alv grid
(we cannot show more than
one alv list on one screen)
c) ALV grid uses ActiveX controls
present on the Presentation Server.
Hence, it consumes More Memory
on the presentation server.
d) ALV LIST is Display Only.
Whereas
ALV Grid Can Be made EDITABLE for entry purpose.
e) In alv grid, these options are possible,
but not in alv list.
without horizontal lines
without vertical lines
without cell merging during sorts
display total lines above the entries
I hope it helps.
Regards,
Mamta
Edited by: Mamta Verma on Nov 27, 2008 6:41 AM
Maybe you are looking for
-
RUNING STANDARD REPORT ON DEVELOPER
we are using solaris operating system on our server machine, while we are running windows on our client site, we want to run standard report of Oracle Fixed Assets (Cost Sumary Report). we had tried to comment that parameters it gives error of REP-14
-
Webcast : Sun Oracle Database Machine for Data Warehousing -Sep 30 noon ET
Sun Oracle Database Machine for Data Warehousing Jean Pierre Dijcks - Data Warehousing Product Mgmt, Oracle https://conference.oracle.com/imtapp/app/cmn_jm_hub.uix?mID=158101510 On September 15 Oracle announced the second generation of its Database M
-
Search Help: Multiple Return Values in WD4A
Hello, I would like to fill more than one fields on my WD4A screen when executing a search help for one input field. So I need to manage somehow to get all the export parameters from the search help and post them to a context node. Simple example: Th
-
[Java 7] Zip file system does not handle nested zip files
The ZIP FileSystem which is shipped as an extension with Java7 does not support nested ZIP files. I.e., you can open the outer zip file as a FileSystem, but if you try to open an inner zip as a FileSystem, you get this exception: java.nio.file.Provid
-
Playlist from itunes to new nano
How can in move or copy a playlist from my itunes to a new nano.