How to get the record selected in ztable based record in the output of alv
Hi All,
I have developed a report, it is displaying the output in ALV format.The list contained some 20 fields along with MATERIAL and BATCH. I have provided menu bar as extras -> ztable(it also contained MATERIAL and BATCH). But I have some issue when I select any record in the output then go to
path extras -> ztable, it has to select the record in ztable based MATERIAL and BATCH which i have selected in the output, then can you please provide solution for the above problem.
Thanks in advance
Hi Dolly,
you can do this by,
data: index_rows type lvc_t_row,
index like line of index_rows.
* Get Selected rows from alv grid
clear index_rows. refresh index_rows.
"When you choose extras->ztable
call method alv_grid->get_selected_rows
importing
et_index_rows = index_rows.
* Now delete those rows from the ALV grid
loop at index_rows into index.
read table itab index index-index. "Lets say itab is the table you are displaying
if sy-subrc = 0.
perform bdc_sm30. "do simple bdc for sm30 with tab name and selected values
endif.
endloop.
Regards,
Manoj Kumar P
Edited by: Manoj Kumar on Feb 23, 2009 2:49 PM
Similar Messages
-
How to get id of selected Tab in WebDynpro abap
HI,
How to get id of selected Tab in WebDynpro for abap? THANKS!Hi,
In the action method for onSelect try using,
DATA:
lv_select_tab type string. "Selected tab value
DATA:
lt_events type WDR_EVENT_PARAMETER_LIST,
ls_events type WDR_EVENT_PARAMETER.
field-symbols: <fs_value> type any. "Attribute value in events table
lt_events = wdevent->parameters.
read table lt_events into ls_events with key name = 'TABSTRIPID'.
if sy-subrc eq 0.
assign ls_events-value->* to <fs_value>.
if sy-subrc eq 0.
lv_select_tab = <fs_value>. "Tab selected
endif.
endif.
Hope it helps!
Regards,
Radhika, -
I have lost my "Basic" panel in the Develop module and can't figure out how to get it back. My right panel goes from the Histogram straight to the Tone Curve panel. My Basic panel should be below the Histogram. Any ideas how to get it back. I have even uninstalled my lightroom and reinstalled it with same issue. Help!!!
Right click on or near one of the other headers and a pop-up will appear and you will be able to select the Basic Panel for viewing.
-
How to get Value of a item of first record when current record is second
How to get Value of a item of first record when current record is second in Form6i ?
get_item_instance_property dose not allow to get value.Gerd,
You're right, there are several other triggers that must be coded, but I was responding to Steve's statement about Inserting or deleting records from the multi-record block. For the record, I use the following to manage a Record Group:
* When-New-Block-Instance - Initialize the RG
* block Post-Query - populate the RG
* When-Create-Record - add new record to RG
* When-Remove-Record - remove record from RG
* block When-New-Item-Instance - capture previous value of the item or row
* When-Validate-Item - Item specific Insert, Update, Delete of values in the RG
There are a few other places as well, but these are the minimum. It might seem like a lot of code, but then again, I don't use this solution for every multi-line block. Like all tools, you use the right tool for the job. :-)
Craig... -
My mini died. bought one used from a friend... all of my songs and books are on my iPhone, and I cant figure out how to get them onto this new computer. this is frustrating. the things i really want are purchases I've made from itunes store... help
!!!!!Hey kevyg3,
I was able to find an article that I believe will help you move your iTunes purchases from your iPhone over to your new computer:
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
http://support.apple.com/kb/HT1848
Hope this helps,
David -
I recently purchased songs from itunes via my pc and I dont know how to get them onto my iphone? When I click the sync button it says I will lose all the music currently on my iphone.. Help
If you're syncing with a different iTunes library than the one you previously synced with, then there is no way around it. You're gonna loose the old data. The only way round it would be to make sure that all the music files on your iPhone is also in your iTunes library. If you still have access to the computer with the old library, you could copy the files on to an external harddrive, and then import them into your new iTunes library.
If it is in fact the same library, then the music currently on your iphone, is also in your itunes library. Just make sure that the artists/albums/playlists, or whatever you sync contains these tracks, that you allready have on your phone and don't want deleted. What i do is, i create a playlist specifically for my iPhone, and i set it up to only sync with this playlist. Whenever i hear a track from my iTunes library or buy a new track that i want on my phone, i just drag it to this playlist and next time i synchronize, it's there without deleting anything else. -
Photoshop elements 10 will not migrate to my new macbook pro/retina display. There is no CD/DVD player on this machine. Any suggestions on how to get Elements onto my machine? Yes, I have the disk(s). Am I going to have to buy an external CD/DVD player to load this one program:(
I have ordered a USB3 BluRay/DVD/CD player/burner and will use that both with my iMac ( in which the Superdrive seems to be failing ) and the MBPro Retina I just bought .
-
How do get my mail on my ipad 3 to set the same email rules as is on my imac ???
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
iPad Mail
http://www.apple.com/support/ipad/mail/
Cheers, Tom -
My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?
Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
kevinpowell1 wrote:
how can i get it out of recovery mode?
Make sure you have the Current Version of iTunes Installed on your computer
iTunes free download from www.itunes.com/download
Then See Here > http://support.apple.com/kb/HT1808
You may need to try this More than Once... Be sure to Follow ALL the Steps...
Take your time... Pay particular attention to Steps 3 and 4.
Some users have reported as many as 8 or 9 attempts were necessary before success.
After you have Recovered your Device...
Re-Sync your Content or Restore from the most recent Backup...
Restore from Backup > http://support.apple.com/kb/ht1766
If the issue persists...
Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
Be sure to make an appointment first... -
My itunes store won't open. Any suggestions on how to get this to work? I've already downloaded the newest version of itunes. I'm also not sure what Mac operating system I have..
To find the version of Mac OS X on your computer, all you have to do is click the Apple logo and then About this Mac. For more info, take a look at this doc -> Finding your OS X version and build information
Do you see an error when you try to open the iTunes Store on your Mac?
This Apple doc is a good place to start -> iTunes: Advanced iTunes Store troubleshooting -
Sophos detected 3 threats on my iMac (Maverick OSX 10.9.5) but clean up failed. Any idea how i get rid of them please? 1 is Malware the other 2 Trojans. Thanks
Thanks for your interest CSound & sorry I couldn't get back sooner. These are the full details from Quarantine Manager:
Date Threat Filename Action Available
2 Feb 2015 Troj/Zbot-Goy notification - the_royal_ban Clean up failed
2 Feb 2015 Troj/Agent -AIRO sale 2014-12-08_8704... Clean up failed
2 Feb 2015 Mal/Phish-A e document..html Clean up failed
I did have a look at a 'manual' for sophos but couldn't make sense of how to go about trying to rid something if the automatic detection / clean up process didn't work.
Any ideas?
Thanks -
How do you sync only selected songs to your ipod using the new version of itunes?
how do you sync only selected songs to your ipod using the new version of itunes?
Same way you did with the previous versions of iTunes.
To view the iPod in iTunes, Ctrl S to show the sidebar.
Create a playlist, add songs and sync that playlist.
Or drag songs to the iPod in iTunes. -
How to get assettype of a flex asset based on asset id
How to get assettype of a flex asset based on asset id
See http://docs.oracle.com/cd/E29495_01/doc.1111/webcenter_sites_11gr1_bp1_developer_guide.pdf page 84:
ASSETSET.GETASSETLIST retrieves an ordered list of assets, given optional sort criteria.
The resulting list has two columns, assetid and assettype, that are sorted by the criteria that you specify. -
How to get values of selection screen fields in the POV event
I have two radio buttons r1,r2 and a field file_name on selection screen.
I have written At selection screen on value-request for the field file_name. Based on the selection of radio buttons I have to display different screens when f4 for field_name is pressed.
Unfortunately the values of r1 or r2 are not populated in the AT selection screen on value-request event.
Can any one tell me if there is a way to obtain the values of r1 or r2 in the AT selection screen on value-request event.Hi..
Try out this.
REPORT ZH_TEST4 .
CONSTANTS : c_x TYPE char01 VALUE 'X',
c_rg1(4) TYPE c VALUE 'RG1',
c_gr2(3) TYPE c VALUE 'GR2',
c_gr3(3) TYPE c VALUE 'GR3',
c_zero TYPE n VALUE '0',
c_neg(2) TYPE c VALUE '-1'.
data: w_sscrfields_ucomm1 TYPE sscrfields-ucomm.
SELECTION-SCREEN : BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS : p_back RADIOBUTTON GROUP rg1
USER-COMMAND pc,
p_fore RADIOBUTTON GROUP rg1
DEFAULT 'X'.
SELECTION-SCREEN : END OF BLOCK blk1.
SELECTION-SCREEN : BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS : p_phif LIKE rlgrap-filename MODIF ID gr2,
p_ahif LIKE rlgrap-filename MODIF ID gr3.
SELECTION-SCREEN : END OF BLOCK blk2.
AT SELECTION-SCREEN OUTPUT.
IF p_fore EQ c_x.
w_sscrfields_ucomm1 = c_rg1.
ELSE.
w_sscrfields_ucomm1 = space.
ENDIF.
LOOP AT SCREEN.
IF w_sscrfields_ucomm1 EQ space.
IF screen-group1 = c_gr2.
screen-active = c_zero.
ENDIF.
ELSE.
IF screen-group1 = c_gr3.
screen-active = c_zero.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
also try out function module POPUP_WITH_TABLE_DISPLAY.
Plz reward points if this helps by clicking on star!1
Good Luck!!
Cheers,
Rajeev -
How to get result of Select from stored function.
I need to get result of select from a stored function.
In the end of my stored function I makes final select (four columns).
How it can be retrived from function?Hi,
A function can only return one value, but it sounds like you want to return 4 values.
The one value that you return can be a record, with many columns, such as a ROWTYPE, or a TYPE that you define.
You can return an XMLTYPE that has whatever elements you want.
You can write a procedure that has several OUT parameters. (You can have OUT parameters in a function, but a lot of people find that confusing.)
In very special circumstance, you might consider returning a string that is a delimited list of values, such as '7639,SMITH,,17-DEC-1980'.
Someoneelse has a good point.
We could give a better answer if you ask a specific question, like:
"I have this table ...
I want a function such that, if I call it with these parameters ... I get ...
but if I call it like this ... then I get ..."
Maybe you are looking for
-
Is there anyway to use the ipad2 as a bluetooth headset?
Well that is my initial question. i have well searched the internet for the answer but haven't found anything really relevant to my search. i have a few tablets in my house for my kids, visitors, and for my wife and me. This question arose when i con
-
Selecting and moving clips to the right of the TCI
Is there a way to be able to move the editted clips that are to the right of my current TCI, and keep the edits as they are? I'm looking for a ripple delete with more control if that makes sense. My old editting software had a group tool which alowed
-
How to display the RFQ Number as the Document Name in the E-Mail output.
Hi All, I want the Document Name of the E-Mail Notification of RFQ to be the RFQ Number itself. For eg. RFQ E-Mail-60000015096.pdf How can this be configured? Thanks, Muneer.
-
How Many devices can I sync with my iPhone? I own a Mac PRO and an iMAC. Depends on where I am, I will plug my iPhone to either of the machines. I haven't sync with either machine yet.
-
Performance Manager LUN latency
Hello,Can you tell me if I can see LUN layer latency in OnCommand Performance Manager ? I can see the LUNs on volume but performance data seems to be gathered only on Volume level. Can I see it also on LUN level? And another question - is there any w