Need to Trigger a Program in ECC after the DSO load has completed
HI Experts,
I have scenario where i need to trigger a Program in ECC after the load to DSO has been completed successfully. Basically opposite of the everyday scenario.
Can i still use the the RSSM_EVENT_RAISE FM in the program to call the event in ECC.
If the above is true.Do i need to have code in the program to confirm the DSO has been loaded or can i just have the program (which basically calls the FM RSSM_EVENT_RAISE) appended to the process chain after the DSO Activation?
Appreciate your advice
Hi,
To help future proof your solution, lean towards using the process chain as much as possible.
A "Green/Success" only link from the DataStore Activation process variant to an ABAP Program process variant will work nicely. It will also still allow your program to be executed by other scenarios (like manually because you want the event raised now without any dependency on the DataStore status).
SAP now recommends you use the CL_BATCH_EVENT class and it's methods to interact with the system events. Use transaction SE24 to review the methods and parameters available and then use the sample code below to test your solution.
Here is a starting point for coding that is used within an ABAP Program process variant in a process chain.
Use transaction SE38 to store this code to be called by the ABAP Program process variant.
constants:
c_interrupt_eventid type btceventid value '[Event]',
c_interrupt_eventparm type btcevtparm value '[Parameter]'.
data:
l_interrupt_eventid type btceventid value c_interrupt_eventid,
l_interrupt_eventparm type btcevtparm value c_interrupt_eventparm.
call method cl_batch_event=>raise
EXPORTING
i_eventid = l_interrupt_eventid
i_eventparm = l_interrupt_eventparm
EXCEPTIONS
excpt_raise_failed = 2
excpt_server_accepts_no_events = 3
excpt_raise_forbidden = 4
excpt_unknown_event = 5
excpt_no_authority = 6
others = 1.
if sy-subrc <> 0.
message e051(rsar) with 'Failed to raise background event.' c_interrupt_eventid c_interrupt_eventparm.
endif.
Note: The error message is process chain friendly and will appear in the RSPC transaction GUI and system logs.
Hope this helps,
John.
Similar Messages
-
For another program (WASY WGeo) after the working with PS CC I need a picture with the right colours in the end with 256 colours in 8 bit per picture - I still got it until yesterday. I don´t know what I´ve done wrong in PS CC but I´m still working in mode with 8 bit RYB. I controlled my result with Irfan View: it´s a picture with 16,7 million colours and 56 bit pp.
Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
That field is not for attempting to fit your entire question in there.
Please keep this in mind next time you post. Thank you. -
Hi All,
We have created a manual planned order for one buy item in ASCP workbench for some qty and released it.
But, we are not able to get its requisition created in source.
When we check the PO_Interface _Errors table, we found that it is errored out with error as --
Need By Date Should be equal or after the effective start date .
Can anyone please help me out to find the cause of this issue. Any help/pointer in this regard will be highly appreciated.
Thanks,
AvinashHi Abhishek,
We found the root cause of the issue.
Its BPA was not having any Effective start date mentioned in its terms. So we put it as BPA creation date and ran the data collection and plan run.
After that we were able to see its BPA release created without any error.
Thanks,
Avinash -
Extend End date after the end date has reached
Hi gurus,
We are using SRM5.0 on ECS with backend ECC5.0.
We notice that after the end date of bid has reached even though there is a bid submitted by supplier , the purchaser still can extend the end date to a later date as long as he has not made the accept or reject choice.
If it is the case, the purchaser can view the price after the end date reached and then extend the end date and maybe tell other supplier what the price the opponent has submitted. This is not allowed and should be penaltied.
We just want to know how to avoid this in the term of system. Can we make the
end date field unchangeable after the end date has reached? or any other solutions?
Thank you in advance.
Message was edited by:
YE WangHi,
As Teja and SAndeep mentioned,you can go for either the Approval or BADI approach.
In case you are implementing the BADI,you can make the concerned fields grayed out so no changes are made but then this would mean that <b>no changes
</b> can be done at all after the END date has been reached.
In case of workflow,you can have you starting conditions in which you will compare the end date and the system date .If same,you can trigger a Workflow for approval of any changes to be done further.So even if the changes are made,the chnages are approved by a higher authority.
Another way would be to implement the "BBP_DOC_CHECK_BADI" to check whether the end date has been reached and then allow the user to do any changes.You can use the FM "BBP_PD_BID_GETDETAIL" to get the details of the BI and then check.In this case,you can additionally check for other parameters of the User like role,authorisation based on which he can make changes in exceptional cases.
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Revision: 650
Author: [email protected]
Date: 2008-02-25 16:55:13 -0800 (Mon, 25 Feb 2008)
Log Message:
Prevent potential NPEs from wait'ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread.
Bugs: BLZ-65 - Long-polling clients trigger NPE on server shutdown.
QA: Yes
Doc: No
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-65
Modified Paths:
blazeds/trunk/modules/core/src/java/flex/messaging/endpoints/BasePollingHTTPEndpoint.javaHi,
Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
Berkeley DB
Thanks,
mark -
Does anyone know how to unfreeze a screen.
My mini Ipad is only 2 months old and it has frozen. The screen says that the ipad needs to be backed up on icloud but the touch screen has frozen and I can even shut it down. SuggestionsTry to reboot it. Hold down the sleep and home keys until you see the silver apple, about 20 seconds or so. It should reboot and work for you.
-
When I open a new tab and type in the website url, after the website loads the website url disappears. In order for me to get it to come back, I have to right click on the navigation bar and click undo. why is this?
Did this happen immediately after the reset or at a later time?
Does this only happen on a new tab?
What is the current setting for the new tab page as set via the browser.newtab.url pref?
You can open the <b>about:config</b> page via the location bar.
*http://kb.mozillazine.org/about:config
Rename or delete the prefs.js file and possible numbered prefs-##.js and user.js files to reset all prefs to the default value.
*http://kb.mozillazine.org/Preferences_not_saved
*http://kb.mozillazine.org/Resetting_preferences -
How do I set up iTunes to automatically move on to / play the next album after the last one has finished? (in Album view).
This used to happen automatically in Genre view.Hi Henryhippo,
If you have questions about play order in iTunes, you may find the following article helpful; I believe you can use the Play Next or Add to Up Next to add albums as well as songs.
iTunes 11 for Windows: Ways to play songs
Regards,
- Brenden -
Users added to a Task AFTER the BPM process has started
Does anyone know of a way to assign users to a task AFTER the BPM process has started?
Hi Craig,
whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
Hope this helps.
Stefan -
Add menu after the plug-in has started
Hello,
I want to added a menu under 'File' menu after the plug-in has started.
Through the shell example in SDK, i am able to add menus on plug-in startup but cant figure out how to add menus after the plug-in has started.
Is it possible to do so? If yes, then how to do it?
Thanks,
HiteshThe suites should be the same, namely AIMenu.h's AIMenuSuite. The calls are fairly self-explanatory I think, though if you have questions fire away & hopefully I can help.
The only thing that might be tricky is that it wants a reference to your plugin. Typically you'd do that in response to a selector/caller combination that included a message -- the message always has such a reference. If that's the only thing you're missing, the simple answer is to grab that from one of the early messages and stow it in a static variable somewhere so you can use it later; it won't change, so that's perfectly acceptable. -
Iphone 3g shuts off after the apple loading screen then cuts back on
Iphone 3g shuts off after the apple loading screen then cuts back on by its self but when i connect it to a charger it works fine also my on/off button is unresponsive (i havent dropped it or wet it so im confused why its doing this)
Welcome to the discussions,
normally you could try to reset the phone by holding the sleep and home button until the Apple logo comes back. But since the sleep button is unresponsive, try to restore "as new iPhone", if necessary without using the backup afterwards, in case the backup contains corrupt data.
Restoring: http://support.apple.com/kb/HT1414 -
After the latest update was completed, I couldn't open the firefox browser. I received an application error. I tried restarting the Windows OS but no change. How do I fix this?
If not this:
http://www.mcelhearn.com/deleting-the-itunes-album-artwork-cache-folder-may-reso lve-problems-with-album-art-displaying/
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- delete all music and resync
To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
My Keyboard and touch-pad will work during post, but will not work after the os loads?
I have a G60 and My Keyboard and touch-pad will work during post, but will not work after the os loads? Im running Windows 7, Anyone have any Ideas? I have already tried a hard reset, and safe mode???
Try pressing the fn key and f2 to reach bios
or
try a usb mouse from your desktop
S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!**** -
Change Department after the Discrete Job got Completed
Hi All,
Please let me know how to change the Department (in Operations) even after the Discrete Job got completed.
This is in Oracle Applications (11.5.10),Oracle Work in Process module.
Thanks a lot.You will have to undo completion, then undo every operation step (including resource transactions), modify the resource requirements to 0, add new operations and resource requirements and take the job thru' completion.
-
Trigger a program in ECC from BI using a process chain with out Program
Hi,
How can we trigger a program which is in ECC system from BI using a process chain with out writing any program.
is it possible? if yes how can we achieve this.
Thanks & Regards,
MadhuMadhu,
Not possible, indeed need event or Remote Function Call using an ABAP program.
Other option would be to use a 3rd party tool like Control-M to run programs/jobs on whatever system in your landscape (but requires investments of course).
Grtx
Marco
Maybe you are looking for
-
How to export pictures from my ipad to my computer
HOW TO EXPORT PHOTOS FROM MY IPAD ?
-
Service Desk Issue in SolMan 4.0 - Installation Number differrence
Hi all, I am in the process of setting up Service Desk in SolMan 4.0. When I create a message in my satellite system, the message is sent successfully and appears in my Solution Manager. However, I have red light appearing. This is because I need to
-
What's wrong with this code (AS3)?
I want to publish a live stream and, when a button is pressed, publish the same stream for vod. I haven't been able to get an answer as to whether I can do this...my code is below. Can someone please tell me if I can do this, or what may be wrong w
-
Ok... this should be a no brainer but I can't figure it out
How do I set a different SMS notification tone? The 8220 isn't defaulted to Lightspeed which is what I'm used to, but when I try to set that for texts it only gives me the option to set it as a ringtone.
-
Dears, Kindly advise as we encounter anyConnect issue, when creating profile for using with ISE, the new created profile is not shown in the connection list. I'm using profile editor to create profile for EAP-Fast, the issue is that the profile that