Sublist by using ALV OO can not be refreshed
Hi Gurus,
i met with a very strange problem. i created a interactive list by using ALV OO and if you double click on one of the rows, the screen will go to a sublist which displays the detail information of the row.
My question is every time i chose a row(double click), the program will always display the sublist of the row firstly chosen. For example:
i have a overview list:
10001 Micheal
10002 Tom
10003 Michelle
and the sublist for 10001:
Surname Frank
Givenname Micheal
Age 18
Gender Male
sublist for 10002:
Surname Lee
Givenname Tom
Age 19
Gender Male
sublist for 10003:
Surname Williams
Givenname Michelle
Age 17
Gender Female
at the very beginning, the program is launched, the overlist shall be displayed correctly. then if i double click on 10001, the detail information of Micheal will be displayed in a sublist correctly. after that i go back to the overview list and double click on 10002, the detail information displayed is still for Micheal instead of Tom. and no matter which row is chosen, the detail information displayed will always be :
Surname Frank
Givenname Micheal
Age 18
Gender Male
Here is some of the source code
the main program:
INITIALIZATION.
PERFORM f_init.
AT SELECTION-SCREEN on p_mode.
PERFORM f_screen_change.
START-OF-SELECTION.
PERFORM f_fetch_data.
END-OF-SELECTION.
CALL SCREEN 2000.
The code for event double click:
FORM handle_double_click USING i_row_id TYPE lvc_s_row
i_column_id TYPE lvc_s_col
is_row_no TYPE lvc_s_roid.
REFRESH i_rebate_detail.
READ TABLE i_rebate_header INDEX is_row_no-row_id.
IF sy-subrc EQ 0.
LOOP AT i_rebate_log_detail WHERE vkorg = i_rebate_header-vkorg
AND vtweg = i_rebate_header-vtweg
AND spart = i_rebate_header-spart
AND payer = i_rebate_header-payer.
MOVE-CORRESPONDING i_rebate_log_detail TO i_rebate_detail.
APPEND i_rebate_detail TO i_rebate_detail.
CLEAR i_rebate_detail.
ENDLOOP.
CALL SCREEN 3000.
ENDIF.
ENDFORM . "handle_double_click
The source code for sublist display:
FORM f_output_detail.
* ALV Grid instance reference
DATA:
gr_alvgrid_detail TYPE REF TO
cl_gui_alv_grid,
* Custom container instance reference
gr_ccontainer_detail TYPE REF TO
cl_gui_custom_container,
* Field catalog table
gt_fieldcat_detail TYPE lvc_t_fcat,
* Layout structure
gs_layout_detail TYPE lvc_s_layo.
IF gr_alvgrid_detail IS INITIAL .
* Creating custom container instance
CREATE OBJECT gr_ccontainer_detail
EXPORTING
container_name = 'ALV_CONTAINER_DETAIL'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
*--Exception handling
ENDIF.
*----Creating ALV Grid instance
CREATE OBJECT gr_alvgrid_detail
EXPORTING
i_parent = gr_ccontainer_detail
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5.
IF sy-subrc <> 0.
*--Exception handling
ENDIF.
*----Preparing field catalog.
PERFORM f_field_catalog_detail CHANGING gt_fieldcat_detail.
*----Preparing layout structure
PERFORM f_layout CHANGING gs_layout_detail .
CALL METHOD gr_alvgrid_detail->set_table_for_first_display
EXPORTING
is_layout = gs_layout_detail
CHANGING
it_outtab = i_rebate_detail[]
it_fieldcatalog = gt_fieldcat_detail[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4 .
IF sy-subrc <> 0.
*--Exception handling
ENDIF.
ELSE .
CALL METHOD gr_alvgrid_detail->refresh_table_display
EXCEPTIONS
finished = 1
OTHERS = 2 .
IF sy-subrc <> 0.
*--Exception handling
ENDIF.
ENDIF.
ENDFORM. " F_OUTPUT
Similar Messages
-
My old itunes id was an email that no longer can be used, therefore, I can not change the password for that account. Everything that I purchased under that id name will not play. How can I fix this?
I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
Note: @mac.com and @me.com Apple IDs can not be renamed. If you no longer use the .mac or .me email address be sure to add your valid email address as an additional email address.
From here > http://support.apple.com/kb/HT5622?viewlocale=en_US
If necessary...
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
>
>>Dear AppleCare,
>>My iPhone 5 was bought with full price in the USA from Sprint, and I was told that it is a global phone.
>>But when I am back in China using local carrier, Can not be activated
>>I can't believe that !
>>>Details:
>>>SN:F1*******8GL
<Personal Information Edited by Host>Sorry to tell you this but this is not AppleCare.
This is a forum of users just like yourself who do their best to help other users.
We are not able to help you with your problem -
In Firefox 4.0 I have a server ... it contains a self signed certificate. Using IPv6 I can not add a "Security Exception" for this certificate.
1. I log onto the server (using IPv6). I get the "Untrusted connection page" saying "This connection is Untrusted"
2. I click on "Add Exception.." under the "I understand the Risks" section.
3. The "Add Security Exception" dialog comes up. soon after the dialog comes up I get an additional "Alert" dialog saying
An exception occured during connection to xxxxxxxxx.
Peer's certificate issuer has been marked as not trusted by the User.
(Error code sec_error_untrusted_issuer).
Please note that this works in Firefox 3.6.16 (in IPv4 and IPv6). It also works in Firefox 4.0 in IPv4 only IPv6 has an issue. What's wrong?Exactly the same problem, except I'm using FF v6 for Windows, not FF v4 as for the lead post. This is for a self-cert which IS trusted, although the error message says it isn't.
-
I do not remember what name and password and it uses the device used and I can not open it is at activation
Hey there Haimnus!
I have two articles that I believe will help you resolve this issue:
iCloud: Find My iPhone Activation Lock in iOS 7
http://support.apple.com/kb/ht5818
Find My iPhone Activation Lock: Removing a device from a previous owner’s account
http://support.apple.com/kb/ts4515
Take care, and thanks for visiting the Apple Support Communities.
Cheers,
Braden -
Trying to print e-mails using iCloud but can not add my printer Epson Stylus Photo PX810FW
Why not?Trying to print e-mails using iCloud but can not add my printer Epson Stylus Photo PX810FW
Why not? -
I travel for work and use iCloud - I can not use back to my mac because i use a Verizon MiFi wireless that does not have NAT-PMP or UPnP. Does anyone know of a way to get around this problem
All ISP-provided equipment is junk. You could get a decent router and connect it to the Verizon router in bridge mode. It should cost about $ 30.
-
When opening the Calendar app, I am greeted with a box that says "This calendar can not be refreshed," and after clicking ok there is another box saying "The server responded with an error." How do I get rid of this. The calendar functions all right, but just have to close both of those boxes after doing any action in the calendar app.
Please take each of the following steps that you haven't already tried, until the problem is resolved. Back up all databefore making any changes.
Step 1
From the Calendar menu bar, select
Calendar ▹ Preferences ▹ Accounts
Choose the affected account from the list on the left and uncheck the box marked
Enable this account
Then check the box again. Test.
Step 2
Make a note of the account settings, then delete the account and add it back with the same settings.
Step 3
If you can't add the account, the settings may be invalid. Verify them. How you do that depends on what kind of account it is. If it's a Google calendar and you've activated 2-step verification, you need to generate an application-specific password in your Google account and enter it in place of your old password.
Step 4
Quit Calendar. Triple-click the line below on this page to select it:
~/Library/Calendars/Calendar Cache
Right-click or control-click the highlighted line and select
Services ▹ Reveal
from the contextual menu.* A Finder window should open with a file named "Calendar Cache" selected.
Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
*If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
Go ▹ Go to Folder...
from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return. -
Cannot get the details in ME2N when using ALV but can when using BEST
Hi experts,
Could you let me know why I am not able to get the results when using ALV as Scope of List in ME2N Transaction, but can get data when using BEST?
Regards,
PriHi Priya,
Check the following :
IMG-> Materials Management-> Purchasing-> Reporting-> Scope of List->Define Scope of List
Here select ALV and click details.
Check the check boxes you need.
Cheers,
Satish -
I believe you can only look a your emails if you have a eircom email account and you can not send or answer them with a eircom account if this is so can anybody tell me if there is a fix for this problem or would i better off just useing another email account that will work with ipad Reason i ask is i am just about to buy a ipad air and if this is not possible to use my email address to send emails from my ipad i would be better off with my laptop Thanks Napster
There are lot's of posts via a google search and it seems you certainly can set up your eircom account on your mailbox on iPad. Read this thread link:
https://discussions.apple.com/thread/4022610?tstart=0 -
I have had to create a new Apple ID after having my previous email locked and put out of use. I have managed to change my purchasing for music and apps to my new Apple ID but for iCloud and iMessage I can not access my old email/Apple ID to change this.
Any ideas guys. Sorry if this has been posted previous.
New here.
ThanksYou need to delete them and then download them from the new Apple ID. This may require repurchasing paid applications.
(87599) -
I use bing and can not get adobe flash player to install ?
I can not install flash player on this computer with Windows 7 64 bit . I did every thing on the site to get this installed but it did not work. it keeps telling me that Internet explorer is open and I need to close it. All windows are closed and I use bing not internet explorer any help
jupitermap wrote:
I use bing not internet explorer...
"bing" is a search engine and NOT a browser. I have a Mac and I can use bing with Firefox. Unless you've installed: Firefox, Opera, Google Chrome or Safari... you most certainly DO use Internet Explorer. -
What do I use seeing I can not download adobe flashplayer
I am trying to watch a tv rerun I am in Australia and it will not let me watch it on my iPad. I understand I can not download adobe flash player, so what program do I use
No Flash for iPads, iPhones, or iPods
Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
Apps that can display some Flash content from the Web:
Puffin
SkyFire
Photon Flash
Browse2Go
iSwifter
Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that." -
Using VoIP and can not send or receive fax. I am now also having problem scanning
I use VoIP for phone service. I can not send or receive faxes although the Fax Test Report Pass. Now I am having problem scanning. My main concern is with faxing.
Hi,
This won't work for analog fax. You need a normal analog telephone line to fax this way. Please check the following article:
http://hylafax.sourceforge.net/docs/fax-over-voip.pdf
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
How do I find the details of my operating system on my IPad 2 as I can not sem to get I Cloud to work
sync the ipad to the computer that has itunes via usb. This is the same computer that you originally used to activate and set up your ipad.
Maybe you are looking for
-
How to transfer stuff from Iphone 3gs to new laptop....
I had an old laptop with all the same info as on my Iphone 3gs. That laptop crashed so I got a new one. I wanT to transfer stuff from my Iphone to the laptop itself. Only I don't know how to do that. It's a windows 7 laptop. Thanks to all. Cheerio!
-
I have a page set up in iWeb 09 and have a album page with all our mobileme gallery zI went to add a new mobileme widget and it does not see anything at all. I clicked to move 2 other ones and they are dead now as the others keep working. What is goi
-
Hi there, I just created simple slideshow using Flash and it s working well, but i woudl like to put little tricky. Before it display next images, current it will slowly disappear in to whithe color, and then show next image. I m not sure how to do i
-
Network Solutions DNS down...
Network Solutions DNS is down again. I'm considering options. Anyone have any suggestions for good DNS providers? Somebody that is more reliable? Ken
-
Fabric Interconnect join cluster
Hi! Experts: When I join a new FI to the cluster, do I have to get the same firmware on the new FI before it can join?