How to display records when clicking button in alv
I am using screen painter to create two buttons
'classical' and 'alv'.
When i click the first button control should move to
corresponding classical program.Evan i got the answer
I am not able to display the "select-options button" in the
output as in classical report program.
It displays all records instead of selecting particular records from select-option button.
So how to display the select option button(i.e in the classical view program) while "clicking the classical button " .
plz send me the coding....
hi,
try this.
SELECTION-SCREEN BEGIN OF SCREEN 100.
SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
VBELN FOR V_VBELN MODIF ID G2.
SELECTION-SCREEN END OF SCREEN 100 .
PAI.
module mod_name.
case sy-ucomm.
when 'BUTT!'.
call selection-screen 100.
when 'BUTT2'.
""""your ALV logic"""".
endcase.
endmodule.
if...any doubts revert back.
Regards
Sandeep Reddy
Similar Messages
-
How to display records with radio buttons
Well,
<b>This is what I have right now:</b>
When I execute the Sales Orders report, it takes me to a selection screen with fields (VBELN, AUDAT, UNAME,....). I have Display, Create and Edit buttons below the selection criteria. The database table will have a DELETE FLAG.
<b>This is what I need to do:</b>
When I click on Edit button, it should take me to a new screen (this screen will have 3 buttons: Change, Delete, Undelete) with records based on the selection criteria. Also each record should have radio button.
So if I select a record and <u>click on CHANGE</u> button it should take me to a new screen with only that record and the fields should be editable. Upon changing the fields, the records should be updated in the database.
If I <u>click on DELETE</u> button it should set the DELETE FLAG in the database, so that when I click on Display button in main screen it shouldn't show me this record next time.
If I <u>click on UNDELETE</u> button it should reset the DELETE FLAG.
<b>This is what you get:</b>
Reward points if helpfulYou can use AT SELECTION-SCREEN OUTPUT event to capture the dynamic screen changes like selecting the radio buttons, once you captured the user action then you can call the other screen and you can work on that.
regards,
Dj
reward, if its useful -
How to perform action when clicking button of NSAlertSHEET
How can I perform an action when people click on "Update"?
NSAlert *alertSheet = [NSAlert alertWithMessageText:@"New update available"defaultButton:@"Update"alternateButton:@"Remenind me later" otherButton:nil informativeTextWithFormat:@"There is a new update available."];
[alertSheet beginSheetModalForWindow:self.window modalDelegate:nil didEndSelector:nil contextInfo:nil];
I tried this:
(but this doesn't work)
NSAlert *alertSheet = [NSAlert alertWithMessageText:@"New update available"defaultButton:@"Update"alternateButton:@"Remenind me later" otherButton:nil informativeTextWithFormat:@"There is a new update available."];
[alertSheet beginSheetModalForWindow:self.window modalDelegate:nil didEndSelector:nil contextInfo:nil];
if ([alertSheet runModal] == NSAlertFirstButtonReturn){Your first step is wrong.
yourInternalFrame.addInternalFrameListener(
new InternalFrameAdapter(){
public void internalFrameClosing(InternalFrameEvent e){
// do part
}); -
i want to do banners ,how can we do when click the same button (next button) it must show different images . cam any one help
Check out my blog with samples on Edgehero.
http://www.edgehero.com/articles/interactivity -
i have 100 records can anybody tell me how i display records 10 at atime in jsp & by clicking the next button another 10 records displays in the same jsp. How i can do that thing.
You have to implement a page breake yourself.
Simple scenario would be to store a page number into a session:
session.setAttribute("page", selectedPage)
every time user clicks on a next page link
When displaying the record read the page and display only those which should be on the page
Integer selectedPage = session.getAttribute("page")
if (selectedPage == null) selectedPage = 1;
//display code goes here -
How to display records into a non table base block..
Hi,
Can anybody help me how to display records into a non table base block....
Find below is my coding but it only display the last record in the first line
in the block.
PROCEDURE CREATE_CARTON_QUESTION IS
CURSOR car_c IS
select /*+ rule */ question_id, question_description
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
v_found VARCHAR2(10);
v_status boolean;
v_error varchar2(150);
v_count number;
car_r car_c%rowtype;
begin
begin
select count(*) into v_count
from WHOP.QADB_QUESTIONS
where question_category = 'Carton'
and question_active_flag = 'Y';
exception
when no_data_found then
v_count := 0;
end;
if v_count > 0 then
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
end loop;
end if;
end;
Thanks in advance.
Regards,
JunHi SNatapov,
Thanks for you reply but still I get this error...
FRM-40737 Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.
Please note that I call that program unit in the last field of my control block inside when-validate-item trigger the questions should be display in la_carton block which is my non-base table block.
Find below is the code....
begin
go_block('la_carton');
first_record;
for car_r in car_c loop
---populating carton questions
:la_carton.carton_question_id := car_r.question_id;
:la_carton.carton_question_answer := 'N';
:la_carton.carton_error_details := null;
:la_carton.attribute2 := car_r.question_description;
next_record;
end loop;
end;
Hoping you can help me this problem...
Thanks in advance.
Regards,
Jun -
How to display subtotals in separate column in alv report?
hi,
I am displayed the subtotals for QUantity field BDMNG in Reuse_alv_grid_display in the same column.
but I want to display subtotal in separate column.
How to display subtotals in separate column in alv report?
thanks®ards.
samba.kHi
As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
Best Regards
Yossi -
How can we place a push button in ALV report
hi
could anybody inform me
how can we place a push button in ALV report
thanx
regards
kals.Hi kals.
please have a look at demoprogram
SALV_DEMO_TABLE_FUNCTIONS
BCALV_GRID_05
Regards
Bernd -
How to display 2 lines of fieldcat in alv
hi,all.
I wonder how to display 2 lines of fieldcat in alv,no matter grid,list ,oo. whatever.
thanks in anvance.Hi,
it's only possible in alv-list (3 lines).
A. -
How to display multi line headings in procedural alv report
Hi experts,
How to display multi line heading in alv( procedural alv report) report.
some columns single line and some columns multi line in the same report.
ex:
solvent consumed solvent recovered
fresh | recovery recovery | spent batch no storage
I am using procedural alv .pls give me idea.Hi Ram,
Check the sample report [how to display multi line headings in procedural alv report|http://sample-code-abap.blogspot.com/2008/01/printing-multiple-line-header-and.html]
Thanks,
Duy -
How can I go to other page when click button??
When I click button, the process of this button is be executed, then current page will go to other page.
1.I setup this button's Optional URL Redirect to other page, but process is not be executed.
2.I create a process and a branch(point: on-summit:after process...), not setup button's Optional URL. at this time, the process is be run, but not go to other page.
please help me if you know it! Thanks a lot!Do you need the process to do something or do you just want to forward to the next page. In this case you just need the branch. In the configuration you can choose the button that forwards to the next page.
Configuration in the branche:
Target type: Page in Application
Page: The Page you want to redirect to.
On clicked Button: The Button you created on the page which redirects to the next page
Hope i could help.
Philipp -
How to play music when clicking a button?
Hello There
Could someone help me a bit to get started?
My first attempt is to just create a scene, in which clicking
a button it starts to play a mp3 file. I did get it to start it to
play as a backround music after reading the help file, and tried
also find source code from internet and also here without success.
So, could someone be so kind to give me a Lingo example code
snipplet, which would start playing the music immediately without
first importing the file (like streaming the file) if this is
possible and also small instructions how to assign it to the button
(so, not as a backround music).
I just got the Adobe Director 11 couple of days ago, and my
wife is starting to get angry for me for sitting with my NB all the
evenings without any progress,,,
Thanks, in case someone answers…Thanks Sean, here is some more info for your answer:
Is it imported into a cast library, or is it an external
file?
I did try it to get working with an imported mp3 file and
also I would like to add fuctionality to use it as a link.
If it's an external file, do you need to give the user the
option to
choose a file from a list (or even a different directory), or
will the
sound file to be played always exist in the same (relative)
directory
with the same name?
The best would be a possibility to choose the file, and if
it's possible to set up a starting directory (like "My Documents\My
Music" for example), so that could work as a mp3 player. -
How to display records of int. table in list tree?
friends,
i want to display a list tree using fm RS_TREE_CONSTRUCT and RS_LIST_DISPLAY.
this is the data that i have to display
Matnr doc no. Stock qty. Age
1 45601236 100 55
1 45601237 10 54
1 45601238 11 53
1 45601239 101 52
now, only the first record should be displayed with a + symbol... when the user clicks the + symbol, then the node has to expand and display the other 3 records pertaining to that material...how to display 4 fields of an internal table in one line and like that, 3 records...i have seen some threads relating to this, but they all display only one value in the child node..how to display multiple fields like this?
please address this functinality using FMs alone, as i am not exposed to objects :!
thanks all
Sathish. Rsatish,
Before passing the Node name ,Concatenate all the values of record in one string and pass that string as node name.Now it will work.
To develop the basic logic simple program name is :
"SAPSIMPLE_TREE_CONTROL_DEMO" In this program use above logic.
Don't forget to reward if useful.
Don't forget to reward if useful -
How to display record in hyperlink in JSP?
Does any knows how to display the records in hyperlink? That's mean when I retrieve data from one database....two records...let's say peter and thomas....then i want the two records display in hyperlink....that's mean two records can be clicked by the user....and after the user clicked on either one of the record.....the record's value will be able to pass to the other page for use...
Can anyone pls help me of this?Thank in advanced....This will pass the Value from the DB as Query Parameters to the Target JSP.
Peter
Thomas -
Display data when Back button of Browser is pressed
Hi All,
Thanks for Reading my query.
I have an issue with display of data in Jsp page:
I have 2 JSP pages, wherein i entered data in page1 and clicked submit to see page2.Now i pressed back button of browser and im able to see data which i entered.I require the feilds in page1 to be cleared when back button is pressed in page2.Could any one please tell me how to handle this issue.
Please help me out.
cheers,
sharathyou can use the HTML header set pragma - no-cache expires - 0 and cache-control - no cache property so whenever you will press back button of browser it will show the message page has been expired. You can find the proper syntax on any HTML site
Maybe you are looking for
-
Hi, Is there a property in the Sales Order Document to get the Total Before Discount ?
-
Dear All Can some one help me to have a good document / manual for ABAP - Report Writer. Regards, Venkat Moderator Message: Please do not ask for documentation here. Instead, Search for them. Edited by: kishan P on Oct 19, 2010 10:04 AM
-
IAC application throwing the error ITS_EXPRESSION_NOT_NUM
Hi all, We are having some IAC applications, the older version is ECC 4.6 . All the applications are working fine there. Now that we have migrated from ECC 4.6C to ECC 6.0, we have just copied all the IAC applications to the new system. When tested i
-
Why wont my purchased music download from macbook to ipad?
why wont my purchased music download from macbook to ipad? What checks should I make?
-
Is there APIs for Oracle Quality Module - Collection Plan, Specifications ?
We are converting Collection Plan, Specifications etc and was wondering whether there exists API? Thanks