How to Handle Business Object event in ABAP class
Hello Everybody,
I wanted to know if it was possible to reference BOR objects in ABAP class and handle BOR events in ABAP Objects.
Thanks in advance.
Hi,
Catch the et_VALIDATE event, when InnerEvent = False and ItemChanged = True.
If pVal.EventType = BoEventTypes.et_VALIDATE Then
If pVal.InnerEvent = False And pVal.ItemChanged Then
'TODO Your code here...
End If
End If
Regards,
Vítor Vieira
Similar Messages
-
Business object reference in ABAP Classes
Hi All,
Here is my requirement.
1) I have a Business Object (say e.g BUS2012) instance in my workflow container
2) I have a task in my workflow referring to a Z-Class and its method (M1)
3) I want to access the attributes of the above Business Object (BUS2012)in the method (M1)of the class.
Please let me know how ? Sample code will be more helpful.
Thanks,
DebHi Deb,
Please check the following [thread|Re: Creating instance of Business Objects;
Hope this helps!
Regards,
Saumya -
Access ECC business object event in CRM
Hi Experts,
We have a requirement in which we need to check whether a business object event is triggered in ECC system and access the related business object details in CRM system.
The ECC and CRM systems are already integrated.
Any help on how to access business object events in the other system would be highly appreciated.
Regards,
SaumyaClosing due to lack of replies
-
Issue regarding [Work Flow] Business Object Event Raise in ABAP Program
Hi All,
I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
Actual TDS is as below:
If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
(BUS2065 Object key) in event container. Also include table of text version of error
messages for this set of Transfer
Request.
Can anybody tell me how can i write it technically in ABAP Code.
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.Hi,
Can anybody solve above posted issue!
Thanks,
Deep. -
Regarding [Work Flow] Business Object Event Raise in ABAP Program
Hi All,
I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
Actual TDS is as below:
If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
(BUS2065 Object key) in event container. Also include table of text version of error
messages for this set of Transfer
Request.
Can anybody tell me how can i write it technically in ABAP Code.
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.Hi,
Can anybody solve above posted issue!
Thanks,
Deep. -
How to find the WhereUsed List for a Business Object Event?
How to find the WhereUsed List for a Business Object Event?
Can anybody let me know how to get which
Whereused function will get the data from
different Werks in multi-level?
Any sample program please!!! -
How to Execute the Business objects created in ABAP from webDynpro applicat
Wht is the steps , or where the help documents are available for accessing the Business objects created in ABAP or R/3 systems from webDynpro project.
Hello Vishal,
I couldn't find any useful documents for your purpose.
However i had a similar requirement and had implemented the same using GCP APIs. But before i send you the code help, i would like to know your exact requirement. What are you trying to achieve? Are you just wanting to execute the BO and get the result? Or is your requirement has got something more to do?
Regards,
Sudeep. -
Integartion of Business objects explorer with ABAP ALV
Hello all,
We have a requirement to integrate one of our applications with business objects explorer. The complete details is as listed below:
1. Our application basically collects feedback provided by users and then displays an ALV with all the feedback ratings received for a topic.
2. It summarizes to the user the average rating received, number of 1star ratings , 2 star ratings etc.,
3. Instead of showing this in the ALV format we have requirement where we want to upload this data into the Business Objects explorer so that the user has a more user-friendly and intutive display of the same data rather than in a ALV.
Any inputs on how we can trigger business objects explorer from ABAP code and pass the data in the internal table used for ALV display to it would be very helpful.
Warm Regards,
Naveen MHI Naveen,
there has been a demo of this by Enterprise Geeks during TechED 2009 and the code is posted on their website.
the other option is to export the data to Excel and then use BusinessObjects Explorer in the cloud for example.
ingo -
How to use Business Object like Vendor or PurchasingInfo
Hi,
How to use Business Object ( like Vendor or PurchasingInfo ) from my Object?
For example:
CLASS myEntity DEFINITION.
PUBLIC SECTION.
METHODS: getVendor EXPORTING pVendor TYPE Vendor.
PRIVATE SECTION.
DATA: aVendor TYPE REF TO Vendor.
ENDCLASS.
CLASS myEntity IMPLEMENTATION.
METHOD getVendor
pVendor = aVendor .
ENDMETHOD.
ENDCLASSHi,
I am giving u a demo Program for ur doubt.
REPORT demo_class_counter .
CLASS counter DEFINITION.
PUBLIC SECTION.
METHODS: set IMPORTING value(set_value) TYPE i,
increment,
get EXPORTING value(get_value) TYPE i.
PRIVATE SECTION.
DATA count TYPE i.
ENDCLASS.
CLASS counter IMPLEMENTATION.
METHOD set.
count = set_value.
ENDMETHOD.
METHOD increment.
ADD 1 TO count.
ENDMETHOD.
METHOD get.
get_value = count.
ENDMETHOD.
ENDCLASS.
DATA number TYPE i VALUE 5.
DATA cnt TYPE REF TO counter.
START-OF-SELECTION.
CREATE OBJECT cnt.
CALL METHOD cnt->set EXPORTING set_value = number.
DO 3 TIMES.
CALL METHOD cnt->increment.
ENDDO.
CALL METHOD cnt->get IMPORTING get_value = number.
WRITE number.
For more demo programs type 'abapdocu' in the command field
U will be getting some demo programs.
There select the abap objects.
Regards,
Jagadish -
Hi everyone,
Now I'm developing the function about drag-drop source(image & text) from Panel Tree to the document.
I also have a look at the basic drag/drop & Panel Treeview, but all of them is not the source code mentions to how to handle the drop event, almost about drag event only.
Now when user Drags(image, text) from PanelTreeView(example) and drops them to document and then new page Item contains source(image, text) created, so I want to get the page item after drop event.
so anyone know about this please give me suggestion
thanks so much.i dont think you can.
~~~~~~~~~~~~~~~~
--> Adobe Certified Expert
--> www.mudbubble.com
--> www.keyframer.com
~~~~~~~~~~~~~~~~
keyoke_za wrote:
> Hi,
> How can I get my flash movie to handle the drop event
when dropping objects from outside the flash window.
> Thanks for your help.. -
TCA Business Object Events: Raise Events Program
Hi,
We are integrating two ebiz instances using SOA and both the instances currently are on 11.5.10. We have back ported patches from ebiz 12i into these instances to use TCA Business Objects functionality(Business Object API's and events). I have a few questions realted to the concurrent program "TCA Business Object Events: Raise Events Program":
1) Do I need to schedule this concurrent program to raise business object events?
2) Is there an alternate way to raise these business object events(any profiles)?
Appreciate if someone can answer these questions.
Thanks,
SakHi,
We use AIA and TCA Business Object Events program to integrate from one Ebiz instance to another.
To achieve what you want I would not do anything in SOA.
In out integration TCA ends up putting messages into WF_BPEL_Q.
I would use the following process: (Assuming offline time is a possibility)
1. Retire the parts of AIA that dequeue from WF_BPEL_Q. (depending on how messages are picked up.)
2. Create a PLSQL script that dequeues all messages from WF_BPEL_Q but dosn't process them. Using relevant select statements you can dequeue by message ID and select only relevant messages
3. Run whatever process you need that puts fires the Raise Events Program
4. Run the script to dequeue the messages that does nothing with them.
5. Re-activate the parts of AIA that dequeue from WF_BPEL_Q
This should give you the desired effect. Just be careful you don't screen out messages that do need to be transfered.
Robert -
How to Find Business Objects for any Tranaction .
Hi Abapers,
How to find Business objects for any transcation..... and how to connect the Work flow to any Trancation so that for example any body changes the date of Birth ...... so that the work flow should trigger .
Thanks & Regards
Bhaskar Rao.MHi Bhaskar,
For finding business object,you can try transaction SWO4 and by checking the documentation in it you can find your required business object.
Another method is:
1) Go to Trx SWE4 and switch on the event trace.
2) Run your transaction which you want to use for triggering your workflow.
3) Run transaction SWEL and find your Business Object and related event in it.
For connnecting your WF to your transaction you have to create a start event in your WF in SWDD,where in you specify the Business Object and start event which you find using above method.
Eg.You want your WF to be triggered whenever you have an error in your idoc.For this your BO will be IDOCAPPL and your event will be (inputErrorOccurred).This you will give in header data in SWDD.
Neerja -
Please let me know to find the where used list for a business object - event?
There are many events defined for each Business Object. But I find either none or just a few of these events for the business objects defined through the event linkages.
Only events that start a follow on process using a workflow, standard task or an FM or defined in event linkages. Not all entries available will be flagged as active. Some of these could be supplied as standard and you activate them as needed and may involve additional config steps. Some of them might have been active once and deactivated later.
I am assuming that all events for a business object must have been defined for a specific purpose and that they must be getting triggered/created somewhere.
Every object can have certain standard entries like Created, Changed etc. There could be object specific events also. There are standard SAP objects with no events defined at all. You can also extend an object with your own events. How you want to react to an event is specific to your business needs. Also, not all the events defined for an object are triggered/created. You may have to do it yourself with various tools provided by SAP. You can test what events get published for an object by activating event trace and taking the object thorough various stages.
a) Is there a way to get a where-used list for events?
One way is to look at the event linkages (txn SWETYPV) as you have already done. Another way is to txn SWU0 to simulate an event and see how the system would react to that event.
b) Are there some SAP-defined events that never get created?
Answered above.
ANd checkout this link
http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8534ac011d1894e0000e829fbbd/content.htm
Thanks, -
How to access Business Objects Explorer?
I am new to Business Objects and would like to know how to access Business Objects Explorer from my local system. I have Business Objects XI 3.1 installed on my system.
I would like to know if BO explorer requires a separate installation package? If yes, how can I acquire it?
If No, what are the steps to integrate the BO Server with the BO explorer?
Edited by: Bhavani I on Jan 28, 2010 11:23 AMHi,
You can refer to the below link for more details on BO EXplorer,
https://cw.sdn.sap.com/cw/servlet/JiveServlet/previewBody/119973-102-1-220562/BO%20Explorer%20Implementation%20checklist.pdf
Regards,
Balajee
Edited by: Balajee Sivakumar on Apr 27, 2011 6:30 PM -
How to register Business Object Portlet in Oacle Portal
Hi Gurus,
Could anybody give me an idea How to register Business Object Portlet in Oacle Portal.
Thanks & Regards
VikramHi
I am also looking into BO portlets but maybe I am one step behind you as I am still trying to find where to download the provider from.
Could you tell me where to got the portlet from.
I recently went to the Business objects web site and could only find a java portal integration kit for JSR 168 platforms (10g included in the list)
at http://www.businessobjects.com/products/downloadcenter/boepik.asp
Maybe you are looking for
-
Hi, I hold a DTD of OAGIS 7.2 and I need convert this to an XSD for my BPEL process to consume. I would like to know if there is any editor which helps in this conversion. I'd tried using XMLSpy but that doesnt give me the correct version(I mean the
-
Integration ECC6.0 with UCM
Hi; I need integrate our SAP ECC 6.0 with UCM of Oracle. I configure in the transaction AOC0 the next values; - Http server; http://<IP server UCM> I have one doubt, if the server is with or without http:// - port number: 4444 - http script; idc/id
-
Please can someone help me. A couple of years ago I bought Adobe Photoshop Elements 7 and had it installed on my computer. I've now bought a new computer and would like to re-install the program on my new computer. It starts going through the setup b
-
Does Import/Export Utility check for Block corruption?
Hi All, Just a quick question I have is does Import/Export Utiligy check for any block corruption while importing or exporting? If yes then does it do automatically or we have do set some parameter explicitly. I am using oracel version 9.2.0.6. Thx i
-
The newly downloaded version of Adobe Flash player 11.8.800.94.0 keeps stopping and starting during video presentation. I have to keep mouse cusor moving on the screen to prevent the video stopping. The previous version I had did not have this probl