Help needed on MDB listening on an AQ
We have a MDB which is listening on an AQ in a database. Here is the issue, we need to restart the container (MDB) everyday otherwise after a while, the MDB would not get the message that has been sent to AQ. We thought there is JDBC connection timeout issue, however, we don't know how to setup datasource so that it would not timout. Or may it be connection timeout issue on database side?
Please help.
message from q1and q2 needs to be correlated. if MsgID is the key for correlation then create correlation element in the correlation editor. u will have two recv steps in bpm with correlation condition activated. so when a message q1 comes to bpm it will be in wait step until relevant message is arrived from q2. when the correlation condition is satisfied the processing happens. having split mapping u can process the messages and send as idocs to r3. this way is async.
to make it sync (to get the respone from the r3) have one recv step after the send step that would expect a message from r3 on the status. following a send step that sends the response to jms.Thsi requires activating client proxy in r3 that would send the status of the idoc to xi once posted.
or check this link for appl response handleing
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
Edited by: Prabhu S on Jan 8, 2008 4:16 PM
Similar Messages
-
Desperate help need with Document Listener
I'm working on a very cool freeware Java text editor, that is working beautifully, except for the code used to change the color of reserved words, etc, on the fly...
At the moment, I use a documentlistener. When text is inserted, I need to color some of that text automatically. However, when I try to call setCharacterAttributes in DefaultStyledDocument, it causes a runtime exception, Illegal State Exception (Attempt to mutate in notification)>
I understand how this exception is caused, but how do I get around it?Thanks for the replies. They were very helpful, and I have now managed to sort the problem, although in a different way that involves using the key listening class you can add to containers...
The java editor is called j-Scribe, and is a text editor dedicated to java. I've designed it to be more user friendly than other text editors, with a useful interface. The code dispplay is all highlighted, and clicking on a brace collapses that section of code, to make larger classes easier to work through... There are also some nifty filemanagement windows, including a history pane similar to IE6, and one click access to all open files, and one click access to all of their save and close functions... There are wizards to automate creation of certain elements of code, and eventually a number of intelligent features will be added. The program makes extensive use of xml to store all of the information generated by the program.
I'm working on the alpha version right now, for release in about two weeks. The beta will be out three - four weeks after that, and the release should be late September / early October time...
If you're interested, e-mail me and I'll add you to the list for the alpha and beta test releases...
[email protected] -
Help Needed for Mouse Listener
Ive created an item in a JPanel with a mouse listener for when it is clicked, I have a JFrame class called ScoreWindow(). What do i put into the mouse listener so that it will open up an instance of ScoreWindow().
class MouseListener extends MouseAdapter{
public void mouseClicked(MouseEvent e) {
}Is the extent of my mouse listener so far (i know nearly nothing).
The class i am adding this to is a shape drawn on a JPanel if this effects things, can you tell me what class type i need to make the item.
Edited by: IInferno on Apr 23, 2009 3:49 PM
Edited by: IInferno on Apr 23, 2009 4:18 PMSo id add something like
ScoreWindow window = new ScoreWindow;in the thing?
this is my Network class so far which is the object i want to click to open the ScoreWindow class. I have run the ScoreWindow class already and it runs
fine.(as far as ive coded it)
package jeismus;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.geom.*;
import javax.swing.*;
import java.awt.Color;
* @author Ben
public class Network {
public Network(JPanel s) {
playArea = s;
paintNetwork();
public void paintNetwork() {
Graphics g = playArea.getGraphics();
Graphics2D g2 = (Graphics2D)g;
sqr.setFrame(c, d, rectWidth, rectHeight);
g2.draw(sqr);
g2.dispose();
private static class ScoreData {
int x, y, NoteID, Octave;
String Key, NoteDuration;
class MouseListener extends MouseAdapter{
public void mousePressed(MouseEvent e) {
public void mouseClicked(MouseEvent e) {
class MouseMotionListener extends MouseAdapter{
public void mouseDragged(MouseEvent e) {
public void mouseMoved(MouseEvent e) {
public int getNetID(){
return NetID;
private int NetID;
private ScoreData[] stringData;
private double c = 200;
private double d = 200;
private double rectHeight = 30;
private double rectWidth = 30;
private double a = c + rectHeight;
private double b = d + rectWidth;
private int count = 0;
private JPanel playArea;
private Rectangle2D.Double sqr = new Rectangle2D.Double();
private Point2D startpoint = new Point2D.Double(a, b);
private Point2D endpoint = new Point2D.Double(c, d);
} -
Help needed with Vista 64 Ultimate
"Help needed with Vista 64 UltimateI I need some help in getting XFI Dolby digital to work
Okay so i went out and I bought a yamaha 630BL reciever, a digital coaxial s/pdif, and a 3.5mm phono plug to fit perfectly to my XFI Extreme Music
-The audio plays fine and reports as a PCM stream when I play it normally, but I can't get dolby digital or DTS to enable for some reason eventhough I bought the DDL & DTS Connect Pack for $4.72
When I click dolby digital li've in DDL it jumps back up to off and has this [The operation was unsuccessful. Please try again or reinstall the application].
Message Edited by Fuzion64 on 03-06-2009 05:33 AMS/PDIF I/O was enabled under speakers in control panel/sound, but S/PDIF Out function was totally disabled
once I set this to enabled Dolby and DTS went acti've.
I also have a question on 5. and Vista 64
-When I game I normally use headphones in game mode or 2. with my headphones, the reason for this is if I set it on 5. I get sounds coming out of all of the wrong channels.
Now when I watch movies or listen to music I switch to 5. sound in entertainment mode, but to make this work properly I have to open CMSS-3D. I then change it from xpand to stereo and put the slider at even center for 50%. If I use the default xpand mode the audio is way off coming out of all of the wrong channels.
How do I make 5. render properly on vistaWe ended up getting iTunes cleanly uninstalled and were able to re-install without issue. All is now mostly well.
Peace... -
ONKYO TX-SR805 Set-up Menu HELP Needed
This is a LONG post, but I would appreciate if you would read it and respond to it. The settings That are setup might not be the CORRECT settings. If you think a different setting should be made, please let me know.
Also right now I only have 2 front speakers (NHT VT-1A), 1 middle( NHT VT-1C), and a NHT SW12 Subwoofer. I will be hooking up 2 or 4 more speakers for the REAR.
Here are the settings on my TX-SR805 receiver on the set-up menu. I could use some help to see if they need set to something else.
2.2 Speaker Config
Subwoofer yes
Front 70Hz
Center 90Hz
LPF of LFE 80Hz THX
2.6 THX Audio Setup
THX subwoofer YES I don't know if mine is or not
BGC OFF Not sure what this BGC means
3. AUDIO ADJUST
3.1 Tone Control
Front Bass -1dB
Treble +1dB
Center Base +2dB
Treble +7db
Subwoofer Base +7
3.2 DIRECT
Delay Enable
DSD NO Not sure what DSD is
3.3 MULTIPLEX/MONO
Multiplex
Input CH Main/Sub
Mono
Input CH L+R
Output Speaker L/R
3.4 PLIIx/Neo:6
PLIIx Music (2ch input)
Panorama ON
Dimension +1
Center Width 3
Neo: 6 Music
Center Image 5
3.5 DOLBY EX
Dolby EX AUTO
3.6 THEATER-DIMENSIONAL
Listening Angle Narrow
3.7 LFE LEVEL
Dolby Digital -10dB
DTS -10dB
Multich PCM -10dB
Dolby True HD -10dB
DTS-HD Master Audio -10dB
DSD -10dB
4. SOURCE SETUP
CABLE/SAT
4.1 INTELLIVOLUME +4Db
.2 A/V SYNC 0 msec
.3 NAME EDIT Blank
5. LISTENING MODE PRESET
5.1 DVD
Analog/PCM NOT SURE WHAT TO SET HERE
Dolby Digital NOT SURE WHAT TO PUT HERE
NOT SURE WHAT TO PUT FOR ANY OF THESE LISTENING MODE PRESET
5.8 TUNER (ANALOG) Neural THX 5.1 is set on mine. Is this correct?
CD ?
6. MISCELLANEOUS
6. 1 VOLUME SETUP
Volume Display Relative
Muting Level -40dB
Maximum Volume +10dB
Power on Volume -22dB
Headphone Level +2dB
6.2 OSD SETUP
Immediate Display OFF
Monitor Type 16:9
Display Position TOP
7. HARDWARE SETUP
7.4 ANALOG MULTICH
Subwoofer Input Sensitivity 0
7.5 HDMI
ALL under here are ENABLE
Solved!
Go to Solution.I gave you some answers in your original post. I wish you didn't start a new one. Here is what I posted.
Re: ONKYO TX-SR805 Set-up HELP Needed[ New ]
Options
Mark as New
Bookmark
Subscribe
Subscribe to RSS Feed
Highlight
Print
Email to a Friend
Report Inappropriate Content
01-21-2010 08:24 AM
Unfortunately this is very difficult because the top half of your post, your really the only one that can answer what the setup should be. The adjustments are made based on the acoustics of your room and how everything sounds noone can really give you info on it because every house, and room has different acoustics. The walls, insulation, carpet or bare floors, basement or main floor are just some examples of what can make a difference in sound reproduction. By the way NHT (Now Hear This) are excellent speakers. For bass and treble, the music I listen too requires a high treble content so I usually have it at 7 out of 10 but my bass is at 4 out of 10. The sub base should be fine where it is.
Did your receiver come with an Audessy mic for calibration. I would use that for a basic setup and go from there I am not sure if on your unit it will do frequecy but I think it did.
Your volume settings look fine again personal preference there is right or wrong.
For you listening mode Preset you should have an auto setting I am at work so it may take a coule of hours for me to get back to you as I have to go through your manual and see what you would set it up with so please bare with me. I will list the info as I read it so it may not be in the order you have it.
I will have to make a second post since I can't go back and edit this one. -
MDB listening on Socket instead of Queue
Hi all,
Is it possible for to make MDB listen on socket instead of queues using JCA. Can anyone please help me on this.
Thanks in advanceHi,
Thanks for the reply. In the example provided, it is for mail. Since we have javax.mail.Message message API we can use this. How about Socket.Here am lost. Can you please tell how to go with this.
I also had tried the above one, but while deploying MDB, I error as MDB is in failed state with Exception as Resource Adaptor "EchoXMLRP" is not deployed. Where as i had already deployed it. Also i had deployed "EchoXMLRP" as Resource Adaptor Module. But when i view the same its not present in standalone Resource Adaptor, instead its there in Modules. -
I have a main menu with a series of buttons, when you press a
button, it triggers an animation for a fly-out menu with a series
of buttons to trigger other events. Everything works fine up to
this point.
What I need is an independent hit area underneath the buttons
on the fly-out menu so that when the mouse leaves the area, the
fly-out menu will retract. The current methods require that the
mouse be down or released, but I need a mouse listener for an
'over' and 'out' state so that when the mouse is over the hit area,
the fly-out menu will show and when the mouse leaves the hit area,
the fly-out menu will retract.
I've have googled and read and am now totally confused. Can
anyone point me in the right direction to solve this
problem?you shouldn't need setInterval, and its incorrectly set up.
If you wanted to use a setInterval call instead of the onMouseMove
event then you could do it as follows (but its NOT good
programming, just providing it for illustrative purposes)
remove the line Mouse.addListener... etc (you wouldn't do
both an onMouseMove check and a setInterval check)
and put in
var ML = setInterval(mouseListener,"onMouseMove",500);
That should work... I haven't tested it. Nor do I recommend
it. I think you're better off with onMouseMove.
If you are going to use the setInterval its better to change
the name of the
onMouseMove everywhere that it appears to something like
onIntervalCheck just so it makes more sense to you if you
look at it later on (or for someone else too). Using onMouseMove
shouldn't be too demanding on the CPU - and if its noticeable it
should only be for very short bursts.
BTW You can also delete or comment out the trace actions...
they were just there to help you understand how it works. Best not
to leave them in when you do a final publish (or exclude trace
actions in your publish settings) -
Hi All!
I am in need of some help.
I'm trying to set up the sample code for the Healthy Living WebSite.
I need to have WebDB 2.2x, Forms 6i and Reports 6i all running on the same box. Does anyone know how to set this up....?
Thanks,
Matt
[email protected]
nullHi Matt,
You didn't mention but do you also wish to install the database(8i) on the same machine ?
I am also trying to install all these products(+8i and designer 6i) on the same box but I am concerned more about the min. resources needed before I get started.(I put up a question about it on the 6i Forum, but nobody has answered yet !)
The correct install order should be Forms/Reports 6i then Forms/Reports 6i Server and then WebDb 2.2.
Forms /reports server needs a http listener and installs en configures the WebDb listener for the job.(you are prompted for this during tho have the install process).This is handy if you are intending to use WebDb anyway. When you install Webdb it detects the already installed WebDb listener and does not reinstall.
You do have the SYS password on the database you will use to stored the WDK and WebDb schema.
About installing the demo.....
I dont' think there are any special issues.I have never done it.
If you are intending to install an 8i database on the same box there are some important things to consider with respect to the install order and what products in which Oracle home must be installed.
1.Forms/Reports first in the default_oracle
home.
2.Then Oracle 8i in a 2nd oracle home call
it ora81 for example.
3.Then WebDb in the non oracle 8i home !!
This is just a quick summary.
If you run into any problems let me know
Good Luck.
Dave. -
Multiple ethernet network adaptors + MySQL/php5: configuration help needed
I would be grateful if someone could give me some advice on how to configure multiple ethernet adapters under OS X 10.5.6
I have set up my system to work nicely with two ethernet network adapters, each with its own fixed IP. This bit works just fine. The machine supports two separate servers - a mail server and the OS X Apache2 server. I have configured the mail server to only listen to one of the IPs, and the Apache2 server to listen to the other (via httpd.conf). The system also has MySQL and php5 installed / enabled, and these services are only used by the Apache2 server.
The problem I have is that when I start the machine, initially the php5 system cannot connect reliably to the MySQL database system. The fix I have found is to temporarily make the ethernet adapter connected to the mail server 'inactive'. While this is so, the php5/MySQL connection to Apache2 works. Curiously, once an initial connection between php5 and MySQL has been made, subsequently I can make the mail server's ethernet adapter active again without further problems.
I initially thought this might be due to 'service order' issues - but changing the service order (e.g. putting the Apache adapter 'above' the mail adapter in the service order does not help. The fix only works by making the mail adapter inactive temporarily.
I suspect that there is some configuration change I can make to clarify the setup I have. The MySQL and Apache installations only need to talk to the Apache server - but I am not sure how to record this configuration in the OS X system.
Thanks in advance for any assistance that you can provide.
Message was edited by: Gavin LawrieHi Stepehen,
Did the configuration as per your advice but i am getting the below mentioned error which i have highlighted it in red. Please advice what needs to be done.
Home
Re: 1941W configuration help needed
created by Stephen Rodriguez in Getting Started with Wireless - View the full discussion
conf t
interface Dot11Radio0
no ssid Cisco_Kamran_BGN
no encryption mode ciphers aes-ccm
exit
interface Dot11Radio1
no encryption mode ciphers aes-ccm
no ssid Cisco_Kamran_A
exit
dot11 ssid Cisco_Kamran_A
vlan 10
dot11 ssid Cisco_Kamran_BGN
vlan 11
exit
interface Dot11Radio0
encryption vlan 11 mode ciphers aes
ssid Cisco_Kamran_BGN
exit
interface dot11radio0.1
encapsulation dot1q 1 native
bridge-group 1
interface dot11radio 0.11
encapsulation dot1q 11
bridge-group 11
Configuration of subinterfaces and main interface
within the same bridge group is not permitted
exit
interface Dot11Radio1
encryption vlan 10 mode ciphers aes-ccm
ssid Cisco_Kamran_A
interface dot11radio1.1
encapsulation dot1q 1 native
bridge-group 1
interface dot11radio1.10
encapuslation dot1q 10
bridge-group 10
Configuration of subinterfaces and main interface
within the same bridge group is not permitted
end
wr
Reply to this message by going to Home
Start a new discussion in Getting Started with Wireless at Home -
Troubleshooting help needed: My iMac keeps crashing and restarting with a notice: "Spinlock application timed out" What can I do?
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports. -
help needed for writing query
i have the following tables(with data) as mentioned below
FK*-foregin key (SUBJECTS)
FK**-foregin key (COMBINATION)
1)SUBJECTS(table name)
SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
2 02 Computer Science
3 03 Physics
4 04 Chemistry
5 05 Mathematics
7 07 Commerce
8 08 Computer Applications
9 09 Biology
2)COMBINATION
COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
383 S1 9 4 2 3
384 S2 4 2 5 3
---------I actually designed the ABOVE table also like this
3) a)COMBINATION
COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
383 S1
384 S2
b)COMBINATION_DET
COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
1 383 9
2 383 4
3 383 2
4 383 3
5 384 4
6 384 2
7 384 5
8 384 3
Business rule: a combination consists of a maximum of 4 subjects (must contain)
and the user is less relevant to a COMB_NAME(name of combinations) but user need
the subjects contained in combinations
i need the following output
COMB_ID COMB_NAME SUBJECT1 SUBJECT2 SUBJECT3 SUBJECT4
383 S1 Biology Chemistry Computer Science Physics
384 S2 Chemistry Computer Science Mathematics Physics
or even this is enough(what i actually needed)
COMB_ID subjects
383 Biology,Chemistry,Computer Science,Physics
384 Chemistry,Computer Science,Mathematics,Physics
you can use any of the COMBINATION table(either (2) or (3))
and i want to know
1)which design is good in this case
(i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
good method to link with same table but if 4 subjects only(and must) comes
detail table is not neccessary )
now i am achieving the result by program-coding in C# after getting the rows from oracle
i am using oracle 9i (also ODP.NET)
i want to know how can i get the result in the stored procedure itsef.
2)how it could be designed in any other way.
any help/suggestion is welcome
thanks for your time --PradeeshWell I forgot the table-alias, here now with:
SELECT C.COMB_ID
, C.COMB_NAME
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
, (SELECT SUB_NAME
FROM SUBJECTS
WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
FROM COMBINATION C;
As you need exactly 4 subjects, the columns-solution is just fine I would say. -
Hi all help needed I have a canon 40D. I am thinking of buying a canon 6D.
But not sure that my lenses will work.
I have a 170mm/ 500mm APO Sigma.
A 10/20 ex Sigma HSM IF.
And a 180 APO Sigma Macro or do I have to scrap them and buy others.
ALL Help will be greatly received. Yours BRODIEIn short, I love it. I was going to buy the 5DMark III. After playing with it for a while at my local Fry's store where they put 5DMII, 5DMIII and 6D next to each other, using the same 24-105L lens, I decided to get the 6D and pocket the different for lens later.
I'm upgrading from the 30D. So I think you'll love it. It's a great camera. I have used 5DMII extensively before (borrowing from a close friend).
Funny thing is at first I don't really care about the GPS and Wifi much. I thought they're just marketing-gimmick. But once you have it, it is actually really fun and helpful. For example, I can place the 6D on a long "monopod", then use the app on the phone to control the camera to get some unique perspective on some scenes. It's fun and great. GPS is also nice for travel guy like me.
Weekend Travelers Blog | Eastern Sierra Fall Color Guide -
Help needed! Raid degraded again!
Hi!
Help needed! I hava made bootable RAID with two S-ATAII 250Gb HDD and its not working! Every now and then at bootup I get a message RAID -> DEGRADED... Must be seventh time! Rebuild takes its own time!
What am I doing wrong!
T: Ekku
K8N Neo4 Ultra
AMD 64 4200+
2 Gb RAM
2 x 250 Gb HDD (Maxtor)
nVidia RAID (in mb)
P.S. I wery SORRY with my poor language!I'm going to blame the nVRAID because I've seen issues with it in the past. If your motherboard has another non-nVidia RAID solution, use that instead. Using the nVidia SATA ports as BASE or JBOD is fine and dandy but RAIDing always had issues. It's not even a driver issue I think it's just instability. Latest drivers and even boxed drivers never helped. Granted, some will report success with their rig. But on a professional level I've seen nForce issues on different motherboards and different hard drives that had RAID disaster stories.
Good luck and if you don't have another RAID solution, my suggestion would be to buy a dedicated RAID controller card.
LPB -
HELP NEEDED WITH ADDAPTER-DVI TO VGA.
PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
......THIS ENSURES NO SMOKE!!!
THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!Quote from: BOBHIGH on 17-December-05, 09:21:31
Get over it mate !
I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
And why bother to reply...some people have nothing better to do.
Yes there chep and easy to come by...Ive already got a new one.
All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
NO NEED TO A WANKA !!
I feel a bann comming up.
Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
Google = your friend.
Quote from: BOBHIGH on 17-December-05, 09:21:31
it was a simple question and required a simple answer
Simple for who ? you (buying a new one) ? me ? we ? .really...........
Quote from: Dynamike on 16-December-05, 04:11:48
1: There are allot of diffrent types of those adapters.
If any of the mods have a problem about my reply.. please pm me. -
Help needed for grouping.
Hi,
Help needed .
I have an internal table having 6 .
Ex :
f1 f2 f3 f4 f5 f6
a aa 11 p1 10 10
a aa 12 p1 20 20
b aa 11 p2 30 30
b aa 12 p2 40 30
Now i want to sum the fields f5 and f6 individually and need to display based upon the fields f1 and f4.
To Display :
f1 f2 f3 f4 f5 f6
a aa 11 p1 30 30.
b aa 11 p2 70 60.
can anyone help me.How to do this..?
ThanksHere you go
DATA:
BEGIN OF cur_tab OCCURS 0,
f1 TYPE c,
f2(2) TYPE c,
f3(2) TYPE c,
f4(2) TYPE c,
f5(2) TYPE c,
f6(2) TYPE n,
END OF cur_tab.
DATA:
BEGIN OF sum_tab OCCURS 0,
f1 TYPE c,
f4(2) TYPE c,
f5 TYPE p,
f6 TYPE p,
END OF sum_tab.
DATA:
BEGIN OF final_tab OCCURS 0,
f1 TYPE c,
f2(2) TYPE c,
f3(2) TYPE c,
f4(2) TYPE c,
f5(5) TYPE c,
f6(5) TYPE c,
END OF final_tab.
START-OF-SELECTION.
cur_tab-f1 = 'a'.
cur_tab-f2 = 'aa'.
cur_tab-f3 = '11'.
cur_tab-f4 = 'p1'.
cur_tab-f5 = '10'.
cur_tab-f6 = '10'.
APPEND cur_tab.
cur_tab-f1 = 'a'.
cur_tab-f2 = 'aa'.
cur_tab-f3 = '11'.
cur_tab-f4 = 'p1'.
cur_tab-f5 = '20'.
cur_tab-f6 = '20'.
APPEND cur_tab.
cur_tab-f1 = 'b'.
cur_tab-f2 = 'aa'.
cur_tab-f3 = '11'.
cur_tab-f4 = 'p2'.
cur_tab-f5 = '30'.
cur_tab-f6 = '30'.
APPEND cur_tab.
cur_tab-f1 = 'b'.
cur_tab-f2 = 'aa'.
cur_tab-f3 = '11'.
cur_tab-f4 = 'p2'.
cur_tab-f5 = '40'.
cur_tab-f6 = '30'.
APPEND cur_tab.
LOOP AT cur_tab.
MOVE-CORRESPONDING cur_tab TO sum_tab.
COLLECT sum_tab.
ENDLOOP.
LOOP AT sum_tab.
READ TABLE cur_tab WITH KEY f1 = sum_tab-f1
f4 = sum_tab-f4.
IF sy-subrc NE 0.
WRITE:/ 'Something went very wrong'.
CONTINUE.
ENDIF.
MOVE-CORRESPONDING cur_tab TO final_tab.
MOVE-CORRESPONDING sum_tab TO final_tab.
APPEND final_tab.
ENDLOOP.
LOOP AT final_tab.
WRITE:/1 final_tab-f1,
AT 5 final_tab-f2,
AT 10 final_tab-f3,
AT 15 final_tab-f4,
AT 20 final_tab-f5,
AT 25 final_tab-f6.
ENDLOOP.
and the output
a aa 11 p1 30 30
b aa 11 p2 70 60
Maybe you are looking for
-
Hi can anyone tell me that does MDM play any role in data reconciliation across various R/3 modules.
-
Time Capsule won't connect PC to the Internet
I'm sure there's something simple that I'm not doing but I can't get my PC to pick up the Internet from my Time Capsule. The TC is wirelessly connected to a BT HomeHub and is backing up my MacBook over Time Machine but why won't my PC, which is conne
-
IPad freezing and shutting down after OS7 upgrade
Does anyone else have an issue with the iPad suddenly shutting down. I'm finding that since the O.S. 7 update my iPad often freezes, is slow to open apps, and will often shut down to the apple icon screen ( like you're doing a full reboot). I'm al
-
G4 iMac Black Screen - went pop!
Hi everyone, This my first post (in the right place) and I must admit I am a bit desperate! I have just turned on my iMac, there was a little pop and the screen remained black. The hard disk is spinning fine and has started up OK, so I can access it
-
Use Classes from another webapp
Hi Everybody! I have a webapplication, lets call it "MyWebApp". Furthermore I have installed axis in Tomcat. Now what I want to do is, create a class, situated within the axis directory, that uses classes that are stored in the "MyWebApp" application