Query on ABAP List Viewer and Table Control?
Hi all,
I was trying to solve the exercises in these areas....but was unable to do as some of the concepts were not clear to me as I'm new to this field.
So Can any one help me out in giving me the Notes or attachments on the ABAP List Viewer(A.L.V.) and Table Control.
My ID: [email protected]
Waiting for a reply...
A New Entrant in ABAP.
Message was edited by:
saikumar b
Hi saikumar,
I just start to work with Abap too. All links i Know:
http://www.erpgenie.com/abap/controls/alvgrid.htm
http://www.abapfans.hpg.ig.com.br/links.htm
http://abap4.tripod.com/index..html
http://paginas.terra.com.br/educacao/abap/
http://www.sdn.sap.com/
http://www.sap-img.com/
http://www.planetsap.com/Tips_and_Tricks.htm
http://www.abap4.com.br/
http://www.erpgenie.com/sap/abap/index.htm
Good lucky
Similar Messages
-
What is the differenec between 'sap list viewer' and 'abap list viewer'
hi
what is the differenec between 'sap list viewer' and 'abap list viewer'Hi,
There is no difference between them.SAP List Viewer (ALV) is the new name of the ABAP List Viewer (ALV).
The SAP List Viewer unifies and simplifies the use of lists in the R/3 System. A uniform user interface and list format is available for all lists. This prevents redundant functions.
The SAP List Viewer can be used to view both single-level lists and multilevel sequential lists.
Single-level lists contain any number of lines that have no hierarchical relationship to each other.
Multilevel sequential lists consist of any number of lines that have two hierarchical levels. Multilevel lists have header rows and item rows; the item rows are subordinate to the header rows. For each header row there can be any number of subordinate item rows.
You can view subtotals and totals rows in both single-level lists and multilevel sequential lists
From End User Point it is SAP LIST viewer , From Developer Point of View it is ALV .
Check the Below Link
http://help.sap.com/saphelp_nw04/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/frameset.htm
Regards,
Satish -
Print the result of an ABAP Program (in an infoset) in a ABAP List viewer.
Hi ,
Here is my question :
I have created an user group in SQ03
I have created an infoset in SQ02 and a query in SQ01.
In my infoset I have a piece of program which looks like that :
SELECT EVVERTRAG EVBSTATUS EVANLAGE EVVKONTO EV~EINZDAT
EVAUSZDAT EVCOKEY ETABRDATS ETABRVORG ETSPARTE ETTRIGSTAT
ETABLEINH EUIINSTLNINT_UI EUITRANS~EXT_UI
INTO (T_OFB-CONTRAT,T_OFB-STATUT_TRAIT,T_OFB-INSTAL,T_OFB-CMPTE_CONTRAT,
T_OFB-DATE_IN,T_OFB-DATE_OUT,T_OFB-GSR, T_OFB-DATE_CALCUL
,T_OFB-OPE_CALCUL,T_OFB-SECTEUR,T_OFB-STATUT_ORDRE,T_OFB-UNITE,
T_OFB-CLE_PDL,T_OFB-DES_PDL )
FROM ( ever as ev inner join etrg as et
ON evanlage = etanlage )
inner join euiinstln
ON euiinstlnanlage = evanlage
inner join euitrans
ON euitransint_ui = euiinstlnint_ui
WHERE ET~TRIGSTAT = '2'
ORDER BY EV~ANLAGE.
This program works fine, but when I create my query, I can just see the result in abap list.
When I choose "abap list viewer" or "Excel format", the result is more like :
" select * from all tables "
Is there a way to show the result in the viewer ?
I added a "WRITE :/ <column1>, <column2>, but the result is the same.
I also wonder if we can do a "group by " in ABAP.
And do you know how to make a condition " where my_date < today -19 days" ?
Thank you in advance for your answers.
I've been around the others posts and you did such a great job.
Laurent.hi Chintai,
in bw side, you create a abap program to trigger an event in r/3,
and include this abap program in your process chain, the abap program like
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'ZRUNJOB_DEL'
and in r/3 schedule the program to delete previous data with 'after event',
the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
hope this helps. -
Difference between ALV and Table control
Hi folks,
i want to know the major differences between AlV and table controls.
i know that table control is designed in screen painter, but i want to know the major diff between Table control and ALV.
helpful answers will be rewarded.
Regards,
NaveenHi Naveen,
Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and its not use only for Display.
<b>ALV is Application List viewer:-</b>
Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
<b>TABLE CONTROL:-</b>
ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.
Rewards if useful.
Regards,
Shilpi -
Hi.
I have a abap list viewer, when I do a filter by the first name with 'XXXX' the program doesn't find any data, but if no filter as been done the XXXX appears. How can I solve this?Hi,
I guess that the data that you are getting is in caps ( XXXX ) and you must be using small letters ( xxxx ) while putting a filter on the field.
This filter is case-sensitive. Try using the filtering the data in the same manner as you get from the database table. Give it a try may be it works..
Hope this helps you.
Regards,
Tarun -
Difference between Database view and Table
Hi there,
Can anyone tell me the difference between Database view and Table.
Will the Database view query be more faster than a database table?Tables and database views can be defined in the ABAP Dictionary.
These objects are created in the underlying database with this definition. Changes in the definition of a table or database view are also automatically made in the database.
Data from several tables can be combined in a meaningful way using a view (join).
You can also hide information that is of no interest to you (projection) or only display
those data records that satisfy certain conditions (selection).
Database views implement an inner join. You only get those records which have an
entry in all the tables included in the view.
in views db modifications are not possible
views only contain data at run time
when they consult the database
in case of views the join definitions are already sstored in the database itself
whereas join as open sql is a query to oracle database as similar select statements
Views are optimized by SAP and stored in the repository while Joins
are in reports that needs to be compiled at every execution
Reward if helps
Regards,
Senthil
Message was edited by: senthil kumar -
Hello friends,
How do I start configuring ABAP list viewer in sap. Any help will be great.Hi,
ABAP List Viewer (ALV) doesn't need any configuration as such. You can generate an ALV using Classes (cl_gui_alv_grid, cl_gui_custom_container etc.) and also using FM (reuse_alv_list_dispaly). There is also something called as SALV.
So, pls explain your problem in detail.
Reward points if the answer is helpful.
Regards,
Mukul -
Dynamic tabstrips and table control in custom infotype
Dear Experts,
I have a requirement to create a custom infotype using tabstrips and table control. The tabstripes should also be dynamically populated. For example we have infty 8(Basic pay) used table control and 24(Qualifications) for tabstripes.
Could you please tell me how to do this. Please do the needful ASAP.
Thanks,
Chaitanya.
Moderator message - Please don't just post your requirements and ask the forum to do your work for you...especially ASAP - Thread locked
Edited by: Rob Burbank on Oct 7, 2009 4:16 PMHi Partha,
Pls check the threads:
Best way to store a table control into an infotype
Re: Custom Infotype with table control - Overview/List Screen
Dilek -
Problem when creating list box in table control
Hi every body ,
I am placing a list box in table control , the list box is coming perfectly but
when I am scrolling or pressing enter the data in that field is clearing.
if I remove the list box , and i enter the data directly and scrolling or press enter
the data is not clearing.
But only for list box only it is be having like that
what is the problem?
the code is as follows
*{ INSERT DEVK935807 1
*& Module glaccuontlist INPUT
text
module glaccuontlist input.
type-pools vrm.
tables: zglaccount.
data:
name type vrm_id,
list type vrm_values,
value like line of list.
clear:value.
refresh: list.
name = 'ACGL_ITEM-HKONT'.
select * from zglaccount.
value-key = sy-dbcnt.
value-text = zglaccount-hkont.
append value to list.
clear value.
endselect.
call function 'VRM_SET_VALUES'
exporting
id = name
values = list
EXCEPTIONS
ID_ILLEGAL_NAME = 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.
endmodule. " glaccuontlist INPUT
*} INSERT
thanks in advance.\
srinivas.Hi srinivasa,
try it.
select * from zglaccount.
<b>value-key = zglaccount-hkont.</b>
value-text = zglaccount-hkont.
append value to list.
clear value.
endselect.
Regards
Allan Cristian -
How to find how name of view and table using in Discoverer report
Hi all,
Please help me, i have requirement, i need name of views and tables used in discoverer reports.
plz help its urgent.
regards,
Vivek GautamAs per my knowledge goes, We can see from Administrator which Folder is associated with a Workbook. Else you may have to manually open each and every workbook and look for the objects.
-
How to add a field and table control to BP transaction.
Hi,
I have a requirement to add a field and table control to the 'Control data' tab of the Transaction BP.
Can some on please help me if having a solution and with any relavant documents.
Thanks in advance.
Raj & Khader.Also explore with EEWB tcode.
Refer this threads
Re: EEWB
Created New fields in Business Activity with EEWB
Cheers
Manohar -
Query to find the Views and synonyms that are accessing through db_link
HI all,
Oracle 10g
I need a Query to find the Views and synonyms that are accessing through db_link.
ie.
database A have the db_link to database B through a schema A
now i need to find what are the Synonyms and views that are accessing through db_link either directly or indirectly..
regards,
Deepak
Edited by: Deepak_DBA on Dec 10, 2010 5:38 PMOn the second database (B) use this query to find the SQL which used by the schema A (DB LINK USER). Check the SQL_FULLTEXT column.
select sql_fulltext,sql_id,module,parsing_schema_name,parsing_user_id,first_load_time,loads,users_executing,rows_processed,plsql_exec_time,sorts,fetches,invalidations,parse_calls,cpu_time,elapsed_time,disk_reads,buffer_gets
from V$sqlarea
where parsing_schema_name = 'A' --and to_char(first_load_time,'dd/mm/yyyy') like '%11/08/2007'
order by first_load_time desc;
Regards
Asif Kabir -
What is the difference between Alv Grid and Table Control?Explain in detail..
Table control is a screen table to display table data in a screen. You can add table control to a screen in the Screen Painter. The typical flow-logic to process table control is:
LOOP AT <internal table> CURSOR <scroll-var>
[WITH CONTROL <table-control> ]
[FROM <line1> ] [TO <line2> ].
...<actions>...
ENDLOOP.
ALV Grid is a SAP Technology to display a set of data on the output screen. For example if you have selected some SAP tables and processed these data in a way you want to display, then you can pass the internal table to the ALV Grid and it will be displayed on the result screen as ALV Grid. See example in SE16 result. -
Exact cell in list and Table Control
Hi,
Is there someone who knows,
how to to get exact cell from lists (START-OF-SELECTION)
or from Table Control.
For example:
In list I wrtie:
number name date
1234 | es | 10/07/07
and now if I click for example on "es" now there should window apear about name "es"
the same with Table Control.
I know that get selected line is not the problem
but how to get column ???
Please it's very important
Best regards,
Greg.hi,
You can retrieve information either about the current field or the current line.
For field information, use this syntax:
GET CURSOR FIELD <f> [OFFSET <off>]
[LINE <lin>]
[VALUE <val>]
[LENGTH <len>].
This statement transfers the name of the field on which the cursor is positioned during a user action into the variable <f>. If the cursor is on a field, the system sets SY-SUBRC to 0, otherwise to 4.
The system transports the names of global variables, constants, field symbols, or reference parameters of subroutines. For literals, local fields, and VALUE parameters of subroutines, the system sets SY-SUBRC to 0, but transfers SPACE as the name.
The options have the following effects:
OFFSET <off>
The field <off> contains the position of the cursor within the field. If the cursor is on the first column, <off> = 0.
LINE <lin>
The field <lin> contains the number of the list line on which the cursor is positioned (SY-LILLI).
<b>VALUE <val></b>
The field <val> contains the character string output representation of the field on which the cursor is positioned. The representation includes formatting characters.
LENGTH <len>
The field <len> contains the output length of the field on which the cursor is positioned.
<b>you try with this logic.</b>
**define variables for holding field name and field values
DATA: fieldname type n,
fieldval type n.
<b>GET CURSOR FIELD fieldname VALUE fieldval </b>
now the fieldname and fieldval variables hold the values which was selected by user based on cursor position.
the variable declarations based on your selected fields.
regards,
Ashok Reddy -
Query to find list of all tables relating to BP
Hi,
Is there any query which can generate list of all table names relating to BP?
For example tables like BUT000,020,051 etc which are related to BP. I know a list of 14-15 table names but do not know the name of each and every field that is existing in BP.
By writing a query can we get a list of all such table names for all the fields which appear in Field Grouping (which may be Role specfic)Hi Praveen,
Well I am not aware of such query but if you want the CRM data model give me your mail ID i will send it to you in which you will find all the required details.
Best regards,
Vikash.
Maybe you are looking for
-
For the past few months I have been dealing with very poor performance out of my multi room DVR. Often in the middle of watching shows, the DVR will just disconnect and look for the hub which means rebooting the cable box and a constant stream of, "y
-
Cannot Delete Folders from USB drive connected to Airport Extreme
When I try to delete files from the usb drive connected to my airport I get "cannot remove folder, the directory is not empty. This only happens for some of the folders that are empty. No problem deleting any files whether they were created before or
-
Acrobat 7 Pro Windows Scanning Issues for Non-Admins
Hello, We have several users that are having scanning issues. WE recently removed administrator rights from our end users and now for some reason Acrobat 7 Professional doesn't show any scanners in the list when they try to create a PDF from the scan
-
Scanning Access Points configured with JAPAN channels - 184,188 etc
Hi, I have configured the below mentioned configuration for my Access Point. These wireless networks are not appearing in windows client network list. I have tried explicit scan also. Still it is not showing networks with 184,188 channels. But it is
-
MyRIO upgrade to Ni-myRIO13.1 may require chrome browser reset
I upgraded the myRIO to the newest drivers myRIO13.1 and afterwards connecting to the web server was partially broken. Most sections worked, but the buttons for: Security Administration Web services management Web Server configurations ... were no lo