How can we manage two different itab in ALV
Hi Experts,
I have a requirement where i need to convert classical report to ALV Grid. This report outputs two different itab with different columns (structures)
Example like...
<u> Costs</u>
1. 2. 3. 4.
<u>Revenues</u>
1. 2. 3.
Appreciate your ideas how can this be done to fit into one ALV grid .
Is this possible?
Ravi.
Hi,
You can use the class cl_gui_splitter_container and split the container in two rows, one row for costs and the other one for Revenues.
Something like this:
data: obj_splitter TYPE REF TO cl_gui_splitter_container.
g_custom_container TYPE REF TO cl_gui_custom_container,
g_cont_req TYPE REF TO cl_gui_container,
g_cont_det TYPE REF TO cl_gui_container.
Create container instance
CREATE OBJECT g_custom_container
EXPORTING container_name = 'ALV_CONTAINER'.
Split container
CREATE OBJECT obj_splitter
EXPORTING parent = g_custom_container
rows = 2
columns = 1.
Get reference to row 1, Column 1
CALL METHOD obj_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = g_cont_req.
Get reference row 2, Column 1
CALL METHOD obj_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = g_cont_det.
Set height of row 1
Add
CALL METHOD obj_splitter->set_row_height
EXPORTING
id = 1
height = 60.
Create Object AVL with reference to container row 1,
column 1
CREATE OBJECT alv_grid
EXPORTING i_parent = g_cont_req.
Create Object AVL with reference to container row 2,
column 1
CREATE OBJECT alv_grid2
EXPORTING i_parent = g_cont_det.
Then you should continue like in ALV grid, to show data with method set_table_for_first_display
For the first row:
CALL METHOD alv_grid->set_table_for_first_display
EXPORTING
is_variant = gs_variant
i_save = x_save
is_layout = gs_layout
CHANGING
it_outtab = i_zdocument
it_sort = i_sortcat
it_fieldcatalog = gt_fieldcat.
For the second row:
CALL METHOD alv_grid->set_table_for_first_display...
Regards,
Alejandro.
Similar Messages
-
How can I manage two different accounts on itunes
Ok both my husband and I have Ipod touched (he also has an iphone). My issue is with Itunes.... I do not want his music sync'd on my ipod as im sure he does not want mine on his. However, if I delete any songs from my account it automatically deletes them from his and vice versa with adding songs. How do we keep our accounts/music separate and stop the syncing of unwanted songs?!?!
Launch iTunes with the Shift key held down and create a new library, or use separate Windows user accounts.
(77569) -
HT204053 How can I sync two different email accounts?
How can I sync two different email accounts? All of this Mobile Me and cloud stuff got me all flustered and now I have two accounts possibly 3.
How to use multiple iPods, iPads, or iPhones with one computer
-
How Can i Use two Different Public IP Addresses no my DMZ with ASA Firewall.
How To Using Two Different Public IP Address on My DMZ with ASA 5520
Postado por jorge decimo decimo em 28/Jan/2013 5:51:28
Hi everyone out there.
can any one please help me regarding this situation that im looking for a solution
My old range of public ip address are finished, i mean (the 41.x.x.0 range)
So now i still need to have in my DMZ another two servers that will bring some new services.
Remember that those two server, will need to be accessable both from inside and from outside users (Internet users) as well.
So as i said, my old range of public ip address is finished and we asked the ISP to gives some additional public
ip address to address the need of the two new servers on DMZ. and the ISP gave us the range of 197.216.1.24/29
So my quation is, on reall time world (on the equipment) how can i Use two different public ip address on the same DMZ
on Cisco ASA 5520 v8??
How my configuration should look like?
I was told about implementing static nat with Sub Interfaces on both Router and ASA interface
Can someone please do give me a help with a practical config sample please. i can as well be reached at [email protected]
attached is my network diagram for a better understanding
I thank every body in advance
JorgeHi,
So looking at your picture you have the original public IP address range configured on the OUTSIDE and its used for NAT for different servers behind the ASA firewall.
Now you have gotten a new public IP address range from the ISP and want to get it into use.
How do you want to use this IP address range? You want to configure the public IP addresses directly on the servers or NAT them at the ASA and have private IP addresses on the actual servers (like it seems to be for the current server)?
To get the routing working naturally the only thing needed between your Router and Firewall would be to have a static route for the new public network range pointing towards your ASA OUTSIDE IP address. The routing between your Router and the ISP core could either be handled with Static Routing or Dynamic Routing.
So you dont really need to change the interface configuration between the Router and ASA at all. You just need a Static route pointing the new public IP address towards the ASA outside IP address.
Now when the routing is handled between the ISP - ISP/Your Router - Your Firewall, you can then consider how to use those IP addresses.
Do you want to use the public IP addresses DIRECTLY on the HOSTS behind the firewall?This would require you to either configure a new physical interface with the new public IP address range OR create a new subinterface with the new public IP addresses range AND then configure the LAN devices correspondingly to the chosen method on the firewall
Do you want to use the public IP addresses DIRECLTY on the ASA OUTSIDE as NAT IP addresses?This would require for you to only start configuring Static NAT for the new servers between the inside/dmz and outside interface of the ASA. The format would be no different from the previous NAT configuration other than for the different IP addresses ofcourse
Of the above ways
The first way is good because the actual hosts will have the public IP addresses. Therefore you wont run into problems with DNS when the LAN users are trying to access the server.
The second way is the one requiring the least amount of configurations/changes on the ASA. In this case though you might run into problem with DNS (to which I refer above) as the server actually has a private IP address but the public DNS might reply to the LAN hosts with a public IP address and therefore connections from LAN could fail. This is because LAN users cant connect to the servers OUTSIDE NAT IP address (unless you NAT the server to public IP address towards LAN also)
Hopefully the above was helpfull. Naturally ask more specific questions and I'll answer them. Hopefully I didnt miss something. But please ask more
I'm currently at Cisco Live! 2013 London so in the "worst case" I might be able to answer on the weekend at earliest.
- Jouni -
hello,
How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?
thanks,
JayHi,
I understand that it applied first logo to all other sub sites.
Please make sure that you change the logos in the subsites.
If we change the logo in the root site, the logos in the subsites will be changed at the same time.
However, we can change the logo in the subsites separately.
We can go to a subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo->select a picture, then it will has a different logo than the root site.
Then go to the other subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo-> select another picture, then it will has a different logo that the first subsite.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi Sir/ Madam,
My name is Rishav and I am facing some problem with my Photoshop CC. Actually I have a question. If you guys could help me out i will be very obliged. The quest in "Can you please help me by saying me how can i join two different picture to make it as one picture.??"Maybe you should post over at
Photoshop for Beginners
or start with the "Get Started" section of the Help:
Photoshop Help | Photoshop Help
And your question
Can you please help me by saying me how can i join two different picture to make it as one picture.??
does not seem particularly specific – do you want to simply combine two images as they are, do you want to clip elements from the one and insert them into the other, …?
Could you post (lores of) the images and explain what you intend to achieve? -
How can I order two different calendars from iPhoto in the same order?
How can I order two different calendars from iPhoto in the same order?
You cannot - the "Buy Calendar" button is only available, while viewing one calendar. You can order more than one copy of the same calendar on one order, however.
-
How can I set two different emails in only one contact form?
How can I set two different emails in only one contact form?
To enter multiple email address with the Contact Form Widgets:
Click the Options icon for the selected widget, then
In the Email to box, enter multiple emails by delimiting them with a semi-colon. For example: [email protected];[email protected]
Cari -
How can i sync two different ipods to one computer
How can i sync two different ipods to one computer
How to use multiple iPods, iPads, or iPhones with one computer
-
How can we have two different Itunes libraries on one computer?
How can we have two Itunes accounts on one computer? I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries
Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
(74282) -
How can I have two different windows up on one screen at the same time?
How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.
If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313 -
How can I use two differant iphones on one itunes
I can i use two differant iphones on one itunes, and keep the content seperate?
You can sync as many iphones/ipod/ipads as you like to one computer.
Each is different and is recognized as such -
How can I Generate two different reports from single execution of Test cases in NI teststand
Hi,
My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
Solved!
Go to Solution.Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property.
Also, be aware that step's post-expression is not executed in case of error in the step.
Sergey Kolbunov
CLA, CTD
Attachments:
SequenceFilePostStepRuntimeError_Demo.seq 7 KB -
How can I use two different Yahoo mail accounts ion Firefox?
I have two Yahoo mail IDs. How can I use them both simultaneously on Firefox? Right now I am running Firefox and Internet Explorer so I can have the two accounts open at the same time. I would prefer to have both accounts running on Firefox, but I can't figure out how to do it.
Multifox is an extension that allows Firefox to connect to websites using different user names. Simultaneously! <br />
http://br.mozdev.org/multifox/ -
How can I prevent two different profiles from interfering with one another?
I have a serious profiles problem. I created a new profile with Profile Manager and then copied a well-established profile's contents into its directory before starting the new profile. Now, when I start either profile, it contains whatever tabs I had in the previously opened profile. I deleted a bunch of tabs and a window from the new profile but when I opened it after having opened and closed the old profile, the tabs and window reappeared. If I open some tabs in the new profile and then close it and open the old profile, the tabs appear in it, and vice versa.
I open the original profile through a shell script:
<pre>/Applications/Firefox.app/Contents/MacOS/firefox -P "profile 1"</pre>
I open the second one the same way but with the <i>-no-remote</i> parameter:
<pre>/Applications/Firefox.app/Contents/MacOS/firefox -P "profile 1 clone" -no-remote</pre>
Why do the two profiles collide like that and how can I prevent this from happening?Are you using Sync then ?
Or are you setting a bunch of tabs as the homepage ?
If you cloned a profile they will start off the same and that will include the set of open tabs from the file ''sessionstore.js'' however profiles are independent and so should have there own sessionstore and History once they have been used.
Maybe you are looking for
-
Have ICloud, and mobile me and on mobile me a pinwheel continues to spin without stopping. Have turned off computer. Reset Safari. Pulled up system preferences and clicked on mobile me to see if it would clear up and to no avail as I am still typ
-
I am looking to save a pdf file as plain text through VBA, however I am getting the error "Security Settings Prevent access to this property or method". I am using Acrobat 9.0 Standard. Please help! Here is the code I am using in VBA: Dim AcroXApp A
-
Indesign and Illustrator will not open
I can't open either of the programs. I done tried uninstalling and reinstalling. I troubleshoot both to see if the compatibility work with the server. Is there any other solution to help with my problem?
-
How to create JDeveloper Extension for new Projects ??
I want to create a JDeveloper Extension for creating new project with following: (11gR2) 1. Maven Support 2. pre-defined dependencies in pom.xml 3. pre-defined project feature (e.g. ADF Business Components) 4. pre-defined Custom Base classes for ADF
-
Airplay - How to prevent Photos app to go fullscreen?
Hi all, I'm using Reflector + a screen recorder on my Mac to record my iDevices' screens mainly for wireframing. Today, I wanted to record the built-in effects of Photos app in iOS 7 {you know, pinch-rotate-zoom etc.}. But the moment I started the pi