on 12-17-2012 9:25 PM
Hi
I have copied the business object(BUS2012) to a Z object. I have added a method to it and the method (when called from workflow task) is supposed to update the object attributes. First of all, is this possible? To call method on the BO to changes its attributes(these are the attributes that I added to the Z-BO).
I wrote code to change the attribs in the method of the BO, there is no error but when control returns from the method I do not see the attributes values set.
I am just doing: Object-attributeA = 'X' kind of assingment. Please help!
hi soumya
you have to do the necessary binding in order to see the reflected values or even you can write breakpoint in the method (i.e. in BO) to see its proper functioning or not.
Regards
vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Soumya,
This is possible.
You have to pass the attributes as import parameter into the method, change it, get the output parameters into the same workflow object field. Ofcourse, necessary binding has to be done from workflow to task.
Ex: SWC_GET_ELEMENT CONTAINER 'ATTR1' L_ATTR1.
<<<change the value of L_ATTR1.>>>
SWC_SET_ELEMENT CONTAINER 'ATTR1' L_ATTR1.
<Asking for points is against forum RoE>
Thanks,
Sreekanth
Message was edited by: Suhas Saha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.