Can we restict a transaction when another transaction is running
Hi All,
1. Is there any way to trace which particular transaction is running? say SE38, not user specific, globally? It has to be traced programmatically.
2. Is it possible to restrict another transaction when one transaction is running. For eg. I want that when ST05 will run, SE38 should not run.
3. Is there any transaction to create custom event that will run autometically to restrict other transaction from running when one particular transaction is running.
Looking for your valuable suggestion/s.
Thanks and regards,
Atanu
Message was edited by: Atanu Dey
Hi!
I appreciate the valuable effort you have given to analyze the problem. I will be more specific with my requirement. It says:
When we run transaction EA10 to create mass bills or invoice, the transaction is running fine even for multiple users firing lot of data in the production system.
But, but, when someone is trying to run transaction FPMA to do autometic clearing for some business partner/s the transaction EA10 is throwing error as Mass Block.
Reason: One table in EA10 transaction is getting locked during updation, more logical. But second transaction is trying to fetch data from same table just hindering the process.
Probable solution: Do not allow to run transaction FPMA when transaction EA10 is running. After total execution, allow to run the other transaction.
Both of them are creating background job runtime and processing as well. Stop other job running when previous job is active. SAP program, no change/s allowed. (
Any more suggestion please. (
Best wishes,
Atanu
Similar Messages
-
Can you keep your playlist when moving from computer running xp to computer running vista. v
can you keep your playlist when moving from computer running xp to computer running vista as i keep losing my playlists when using computer with vista running on it.ipod touch 3rd gen set up originally on computer running xp.thanks.
This seems to be a commercial product. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
You can find the Commercial Laserjet board here:
http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
Error while posting XML from a scheduled transaction to another transaction
When I try posting an XML from one transaction to another in a different project by calling it as a webservice, it doen't hit the other transaction.
I see this in the Netweaver error logs:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:111)
at java.util.zip.ZipFile.<init>(ZipFile.java:127) [see details]
XML AssignXml Parse Error
[EXCEPTION]
org.xml.sax.SAXParseException: Premature end of file.... [see details]
AND
[Fatal Error] :-1:-1: Premature end of file.
More interestingly it happens ONLY when I schedule the parent transaction, when I trigger it manual everything works fine.
Any help appreciated.Hi Srinivas,
I see that this post was marked as answered. Could you please elaborate on how this problem was fixed?
I am experiencing a similar issue:
I am trying to get the Active Portal application running in MII 12.1.7 (also 12.1.8) and all went well up to the point where the ActivePortalMonitor transaction is scheduled. In the logs I also receive the org.xml.sax.SAXParseException.
The culprit is the XMLQuery block in that txn. Just like with your situation, when ran from workbench it works; when scheduled it doesn't.
I tried replacing the XMLQuery with other blocks that get the same result, i.e. XMLLoader or HTTPLoader + StringToXMLParser; and in all cases the XML fetching element bombs out.
I also built a simple txn that does an XMLQuery on another txn and then dumps the output in a file. Same thing: when run from workbench it runs fine; from scheduler it gives "SAX" error
I would post the specific error log, but it is always varying, here is one example:
[ERROR] [Untitled_0]org.xml.sax.SAXParseException: Open quote is expected for attribute "DIR" associated with an element type "HTML".
Any help/hints are much appreciated
Kind Regards,
Fanie -
I listen to music using iTunes all the time on my Mac. However I am constantly having to listen to snippits of audio from recordings that I have made, and I would ideally like to briefly pause iTunes during playback.
Is there a way to automatically cause iTunes to pause its playback when another application generates audio output? When you make a call on Skype this seems happens, and so I just want to replicate this functionality on other applications that can play back audio files.
PS: I know I can simply go to iTunes and pause it, but hey, this is all about finding really easy ways to do things you do a lot and it's annoying (and distracting) to have to do all those extra keystrokes.
thanks
SteveHate to say it but its still a problem with iTunes although better with 7.0.1.... at least on the Win side of things.
-
We have to stop one job when another job is running
Hi,
I have a new Requirement. There are two jobs running in background one is delta load and another one is Full load. Delta load runs for every two hours( Daily 12 loads) and full load runs on sundays(weekly only one load) for 6hrs. Now what happening is Full load and delta load are running on same time i.e when the full load is running, delta loads are also running on the same time, Full load runs for 6 hrs and 3 Delta loads runs on same time. Now we have a requirement to stop the delta loads when full load is running. Is there any posibility how to stop the delta load.
Rgds
Kishorhi Kishor,
check this
Re: How to Cancel a ACTIVE background Job scheduled in SM37.
hope it will help you.
thanks
Sachin -
DAC can't connect with INFORMATICA_DW_SERVER when dac server is running
Hello all,
We have something strange.
We just installed BIA 7.9.5.1 with informatica 8.1.1 sp5 on windows server 2003.
And confiugered it according to the manual.
Now we want to setup the connection from the dac to the informatica services but we can't establish a connection when the DAC server is running. When we press on test connection it says 'please wait... ' but that is for almost an hour now or so.
Now when we stop the dac server the connection to informatica_dw_server works just fine.
Also the connection with the informatica_rep_server works, also when the dac server is started.
What have we done so far:
- We can run pmcmd and pmrep from the command line
- We added the /server/bin and /client/bin directory to the path
- We added the system variable infa_domains_file
- We checked the config.bat file from the dac server
- We checked the port in the adminconsole (which is 4001)
- We restarted everything (all the services and the windows server as well)
- when we try netstat we see it is listening on port 4001
Proto Local Address Foreign Address State
TCP rst-act3ct2:4001 rst-act3ct2:0 LISTENING --> is this correct?
Hope anyone can help me out!!!!
Best regards,
Remc0 & Erikuser7316776 wrote:>
Now we want to setup the connection from the dac to the informatica services but we can't establish a connection when the DAC server is running. When we press on test connection it says 'please wait... ' but that is for almost an hour now or so.
Now when we stop the dac server the connection to informatica_dw_server works just fine.
Also the connection with the informatica_rep_server works, also when the dac server is started.
What have we done so far:
- We can run pmcmd and pmrep from the command line
- We added the /server/bin and /client/bin directory to the path
- We added the system variable infa_domains_file
- We checked the config.bat file from the dac server
- We checked the port in the adminconsole (which is 4001)
- We restarted everything (all the services and the windows server as well)
- when we try netstat we see it is listening on port 4001>
Hope anyone can help me out!!!!
Best regards,
Remc0 & Erik>i have similar problem. When i test connection to Integration Service it says 'please wait... ' 10-15 minuts and then I am getting error:
=====================================
STD OUTPUT
=====================================
Informatica(r) PMCMD, version [8.1.1 SP5], build [135.0129], Windows 32-bit
Copyright (c) Informatica Corporation 1994 - 2008
All Rights Reserved.
Invoked at Wed Mar 25 13:53:41 2009
The command: [pingserver] is deprecated. Please use the command [pingservice] in the future.
WARNING: Lost server connection.
ERROR: Cannot connect to Integration Service [localhost:6001].
Completed at Wed Mar 25 13:54:21 2009
=====================================
ERROR OUTPUT
=====================================
When i test connect to Repository all right
Please!! Help me!!!! -
Contaner managed transaction, when XA transaction completed?
Hi,
I used container managed transaction. And i wanna understand when a XA transaction is considered "started" and when it is "ended" ?
suppose, the application flow is:
from JSF GUI -> Managed Bean -> JMS -> EJB -> Database.
is there any differences if the application flow like this:
from JSF GUI -> Managed Bean -> JMS1 -> EJB -> JMS2 -> EJB -> JMS3 -> Database.
How many XA transactions are there in this case?
Could you suggest if there is around tutorial to start with XA transaction?
thanks,
Edited by: CardM on Nov 2, 2012 12:38 AMCardM wrote:
Hi,
I used container managed transaction. And i wanna understand when a XA transaction is considered "started" and when it is "ended" ?
suppose, the application flow is:
from JSF GUI -> Managed Bean -> JMS -> EJB -> Database.Those are at least two isolated transactions. Everything up to and including sending a message and everything upon receiving one. Likely the transactions happen in two different and isolated containers too. -
I want to have firefox as my default browser. As this is a new laptop, I hasve to download firefox. As per the instructions, I click on "run" to complete the download, but instead of completing the download, a window appears which says that the author is unknown. If I ignore the window and click on run, I get another window which says the file is corrupt and I can't finish the download and have firefox as my browser.
I have windows 7 and explorer is the default browser and I want to change to firefox, but so far am being prevented from doing so. How can I successfully download firefox?It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
See also:
* http://kb.mozillazine.org/Unable_to_save_or_download_files -
Scipt which starts a Program only when another program is running
Hello again.
I want to activate compiz-fusion, but reactivate kwin when playing games on wine (caus fps will break down very hard when compiz is running).
Ive read lots of forums and tutorials and scripted this scipt, which runs fine and smoothy.
BUT when he activates for example "kwin --repalce", the output from kwin blocks further walking thrugh the script and it "hangs"
Do anyone of you has ideas to solve my problem. I welcome completly other ideas of solving my quest, too.
Thanks a lot !
#!/bin/bash
while [ '1' = '1' ]
do
if [ $( ps aux | grep -c wineserver ) = '1' ]
then
#WINE LÄUFT NICHT
if [ $( ps aux | grep -c compiz ) = '1' ]
then
echo Wine lauft nicht und compiz soll gestartet werden
compiz --replace --sm-disable --ignore-desktop-hints ccp
fi
else
#WINE LÄUFT
if [ $( ps aux | grep -c kwin ) = '1' ]
then
echo Wine lauft und kwin soll gestartet werden
kwin --replace
fi
fi
sleep 2
done
Last edited by stonix_015 (2012-02-16 19:59:06)pmd wrote:
This can solve your problem:
kwin --replace &
But I'm not sure if it will
If you are wondering where your post went; It seems you hit the 'report' link, not the 'reply' link. (about 15 minutes ago) -
I transferred everything over with an ethernet cable. All my apps are working... Photoshop... Illustrator... InDesign won't though.
adobe products are especially prone to problems when 'migrated'. they should be properly install using the installation files.
at this point, uninstall your cs 5.5, clean and reinstall using the proper installation files, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
if you need the installation files:
Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 12 | 11, 10 | 9, 8, 7
Photoshop Elements: 12 | 11, 10 | 9,8,7
Lightroom: 5.6| 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
How to turn off alarms when iCal is not running
iCal-Version 4.0.4 (1395)
Imagine giving a lecture supported by powerpoint in front of an audience, all applications turned off except of powerpoint, and suddenly popping up the iCal alarm message "meet her (xy) in the pub". How can I turn off alarms when iCal is NOT running?
cheers
knattertonHey! I was DJ'ing and an iCal alarm went off even though I'd selected to have alarms not go off when iCal is not running. Now that option isn't there anymore! Can I revert to the previous version of iCal? I don;t see any other new features that are worth not having interruptions during DJ'ing and presentations! I know that if I turn off all alarms, I will forget. I'd create an alarm to remind me to turn it back on, but... This is REALLY annoying.
Rob -
IBeacon : launch app when application is not running
Hello Friends,
How can i launch the app when app is not running when i found any beacon in range of device.
I am able to detect in background state for long time, but when i close the app from background i am not getting any notification.
Please help me, Thanks in advance.Update your IOS to 7.1 and it should work.
-
Can we call another transaction from the Userexit
Hi all,
Can we call another transaction from the Userexit?
Thanks,
BalajiHi
Because the statament CALL TRANSACTION triggers the end of the LUW so COMMIT WORK, so you should be sure not to insert that statament while some updating actions are been doing.
So that exit shouldn't be triggered while updating
Max -
Can't catch the exception when transaction rollback ,BPEL/SOA 11G,updated!
Hi Guys ,
I have two insert/update invoke actions through dbadpter in my BPEL process .
When I set the GetActiveUnitOfWork property of those two db adapters to true ,it successfully makes the global transaction work . any of them failed will cause the other rollback.
But the CatchAll brunch can't catch the exception in that case,
I can only see exception message from the system output :
02/11/2009 11:36:46 AM oracle.toplink.transaction.AbstractSynchronizationListener beforeCompletion
WARNING:
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (Table1_PK) violated
from BPEL console , you can't even see the error , the process finished with no exception.
When I set GetActiveUnitOfWork to false, CatchAll brunch is able to catch the exception , but global rollback is not working .
I try all the other method like set the transaction property of BPEL to required , using checkpoint() in java embedding . it looks like only way is set GetActiveUnitOfWork to true, but can't catch exception.
Here are some updated:
Here is my process
Main Sequence
Invoke (dbadapter update)
Invoke (dbadapter insert)
Global CatchAll
Invoke(jmsAdapter sendjms)
if I disable the CatchAll branch , when insert failed , the insert will rollback as well, even GetActiveUnitOfWork set to false.
enable CatchAll branch , even doing nothing in this branch , the update won't rollback when insert failed. it looks like when catch the exception , bpel seems not rollback , I try to add throw rollback in catchall branch, no any effect.
any clue ?
Kevin
Edited by: kyi on Nov 5, 2009 10:10 AMHi All,
We are also facing a similar kind of issue.
We have a simple BPEL which will makes use of JAva embedding to call an end point to check its availibility.
The Java code for cheking the enpoint connectivity is below
try{
boolean endpointAvailable = false;
long start = System.currentTimeMillis();
int endpointTestURL_port = 8445 ;
int endpointTestURL_timeout = 500;
String endpointTestURL_queryString = "" ;
String endpointTestURL_protocol = (String)getVariableData ("endpointProtocol");
addAuditTrailEntry("endpointTestURL_protocol: " + endpointTestURL_protocol);
String endpointTestURL_host = (String)getVariableData ("endpointHost");
addAuditTrailEntry("endpointTestURL_hostl: " + endpointTestURL_host);
URL endpoint = new URL(endpointTestURL_protocol, endpointTestURL_host, 8445, endpointTestURL_queryString);
addAuditTrailEntry("endpoint object is created" );
String endpointTestURL = endpoint.toExternalForm();
addAuditTrailEntry("Checking availability of endpoint at URL: " + endpointTestURL);
// Configure connection
HttpURLConnection connection = (HttpURLConnection)endpoint.openConnection();
connection.setRequestMethod("GET");
addAuditTrailEntry("The Method is Get");
connection.setConnectTimeout(5000);
addAuditTrailEntry("Timeout is 500 ms");
// Open connection
connection.connect();
addAuditTrailEntry("Open Connection");
String responseMessage = connection.getResponseMessage();
addAuditTrailEntry("Recieved availability response from endpoint as: " + responseMessage);
// Close connection
connection.disconnect();
endpointAvailable = true;
if (endpointAvailable)
setVariableData("crmIsAvailable", "true");
else
setVariableData("crmIsAvailable", "false");
catch(Exception e)
System.out.println ("Error in checking endpoint availability " + e) ;
addAuditTrailEntry("error message is : " +e);
When we run the above as a seperate java program it runs fine i.e goes to the catch block and catches the exception.
But when we run it within the java embedding in BPEL(11G) it gives us the follwoing error.
The reason was The execution of this instance "490001" for process "default/GMDSSalesLeadsBackMediationInterface!1.0*soa_e1a6362f-c148-417c-819c-9327017ebfa4" is supposed to be in an active jta transaction, the current transaction status is "ROLLEDBACK" .
Consult the system administrator regarding this error.
at com.oracle.bpel.client.util.TransactionUtils.throwExceptionIfTxnNotActive(TransactionUtils.java:119)
at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:4055)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4372)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:713)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:545)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:355)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor960.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInte
we also get
BEA1-108EA2A88DAF381957FF
weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
BEA1-108EA2A88DAF381957FF
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1733)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1578)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1900)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1488)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 301 seconds
BEA1-108EA2A88DAF381957FF
We tried the following
Increase the JTA timeout in the EM console to a larger value like 600 secs.
The BPEL instance is not getting created.
Any help would be appreciated
Thanks
Lalit -
How to create a link to another transaction on a record in ALV report.
Hi All,
I have an ALV report output ,if i click on any record in the report i want it to show me the details of the record which is another transaction code in my case.So basically i want to execute that T-code on clicking on the record of the ALV report.
How can i achieve this ,please provide me the insight with same helpful examples.
Thanks in advance,
SwatiHi,
This solution is for the ALV by Function Module Appraoch.
You need to use the Importing Parameter I_CALLBACK_USER_COMMAND, of the FM Reuse_ALV_GRID_DISPLAY(or LIST Display) for this.
Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.
This is an exit subroutine and takes care of the Interactive aspect of the ALV. When User performs any action in the displayed ALV, Control automatically goes to this Subroutine.
The interface of the form routine specified must be defined as follows:
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Parameter R_UCOMM contains the function code triggered.
Structure RS_SELFIELD contains the following information:
o tabname : Name of the internal output table
o tabindex : Index of the internal output table
o fieldname: Field name
o endsum : Cursor is located on the totals line
o sumindex : If >0, the cursor is located on a subtotals line
o value : Value of the field on the list
o refresh : (Exporting) List should be set up again
o col_stable: (Exporting) Keep column position when list is set up again
o row_stable: (Exporting) Keep row position when list is set up again
o exit : (Exporting) Exit list (and ALV)
o before_action: Call before standard action execution
o after_action : Call after standard action execution, before list setup
o ignore_multi : Internal use
o sel_tab_field: Internal use
The EXIT routine is called whenever a function unknown to the ALV is triggered or if the routine call before/after the execution of a standard function code has been defined by interface parameter.
Ok code for double click is &IC1 for ALV report.
Eg:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
Name of the program
I_CALLBACK_PROGRAM = V_REPID
title
I_GRID_TITLE = 'Details of Storing'
calls subroutine : PF_STATUS_SET
i_callback_pf_status_set = 'PF_STATUS_SET'
Calls subroutine : user_command
i_callback_user_command = 'USER_COMMAND'
Overall structure of the report
IS_LAYOUT = STRUCT_LAYOUT
Passes the field catg internal table
IT_FIELDCAT = I_FIELDCAT
Passws the sort sequence internal table
IT_SORT = IT_SORT
I_DEFAULT = 'X'
I_SAVE = 'A'
Passes the internal table for variants
IS_VARIANT = i_variant1
fetches different events into internal table i_events
it_events = i_events[]
TABLES
Passes data table for ALV display
T_OUTTAB = I_TAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
*& Form user_command
Form used to handle USER_COMMAND events
rf_ucomm: Function Code
rs : Internal Table containing the selection information.
FORM user_command USING rf_ucomm LIKE sy-ucomm
rs TYPE slis_selfield.
data : v_mblnr like mseg-mblnr.
case rf_ucomm.
A custom pushbutton for record deletion is set in the GUI status.
When a record is selected , the field BOC for that record becomes 'X'.
The records are traced and deleted and the fields are refreshed( rs
of type slis_selfield is refreshed)
when '&DEL'. "Print button clicked.
delete i_tab where box = 'X'.
rs-refresh = 'X'.
When the user selects a row and presses the Select pushbutton ( user
defined ) from the application toolbar, the details of the document
will be shown in another ALV list
when '&SEL'.
PERFORM SUB_SELECT_DOCUMENT.
set parameter id 'MBN' field i_tab-mblnr.
call transaction 'MB03'.
Ok code for double click is &IC1 for ALV report
when '&IC1'.
perform sub_hotspot.
endcase.
ENDFORM.
*& Form SUB_HOTSPOT
text
--> p1 text
<-- p2 text
form SUB_HOTSPOT.
message i398(00) with 'Hello'.
endform. " SUB_HOTSPOT
Maybe you are looking for
-
I'm in the process of teaching myself the components of the CS4 Design Premium package using the Adobe Classroom in a Book series. I'm currently going through the Flash CIAB and i've started using the pen tool. The task involves creating a wave like
-
ORA24327: Oracle 8i and Weblogic Server
Hello, I hope someone can help me with the following problem: When starting Weblogic Server on Solaris, I get the following error message after loading of native jDriver for Oracle is started: ... Starting Loading jDriver/Oracle ..... ---------- LOGI
-
My PC fails security scan when downloading Adobe reader
My PC fails security scan when installing Adobe Reader
-
How to move multiple decision tables values into results data object
Hi Carsten and other experts, I am building a BRF+ function and have a question, I would probably try to give an example to better explain the issue. 1. Function Signature Context elements: C1, C2, C3 2. Ruleset has two decision tables DT1 and DT2.
-
How to combine below 4 queries into a single query?
SELECT COUNT(*) AS NORMAL_PASS FROM ( SELECT MAINSERNO FROM SGSTUDENT.PPL_PRODUCT_TESTID2 WHERE (MONO = '5954556' AND TESTMODE =1 AND TESTFLAG =1) SELECT COUNT(*) AS NORMAL_FAIL FROM ( SELECT MAINSERNO FROM SGSTUDENT.PPL_PRODUCT_TESTID2 WHERE (MONO =