on 09-25-2015 3:56 PM
Dear all
I have created a custom BOR object - ZRMS (with methods insert and update methods and FMs)
My requirement is that I want to link this object to a Z-table that governs the Insert and Update activities.
I want to help on following items.
1. How to create events to this BOR? I searched in sdn and not able to get answer. ( i wan to attach a custom workflow for update event ).
2. How to call this BOR object in a z-program. (for insert activities)
Can someone provide me a tips.
Regards,
Venkat
hi,
1. FM SWE_EVENT_CREATE is used to generate event and event receiver can be Function module or Workflow.
2.In report you need to create a instance of your custom business object using the following FM
SWO_CREATE or SWC_CREATE_OBJECT.
3 to access the attribute and method of the business object in the report you need to use the following FM SWO_INVOKE
set access parameter = "G" for attribute and "C" for method.
thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
In SWO1, you can display the BOR object and then click on "create new event". You need to pass the required paramaters to this event,
You can use the FM SAP_WAPI_CREATE_EVENT in your progam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In addition to what Aditya already wrote, do check Macro Instructions for Accessing Objects, Attributes and Methods - SAP Business Workflow, and Creating Events by Using ABAP Classes - SAP Business Workflow if you need to program to BOR.
cheers
Jānis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.