on 2010 Dec 13 6:58 PM
Hi,
We have a process where we an External program that is creating IDocs for us and we have a Z FM to process this IDoc. If during processing within the FM the process dodnot complete we are raising a Workflow Event ( Z - Business Object ) that sends notification to a SAP users Inbox.
We need to link the Originating IDoc linked as a OBJECT in the workflow notification item.
Can I use Adhoc Objects and How do i use it. I have already created a container element referring to Object Type BO - IDOCAPPL. What i am not able to do is how to get the values populated in this element. Are there special function modules available to populate Adhoc Objects.
Has anyone used the adhoc objects. Or point me to some sample proram that use these.
Regards,
Arunava
Solved by self.
1. Create a variable for the object reference. Use the following command to do this:
DATA <Object> TYPE SWC_OBJECT.
2. Create the object reference. Use the following command to do this:
SWC_CREATE_OBJECT <Object> <ObjectType> <ObjectKey>.
3. Write the object reference into the container using the following macro instruction:
SWC_SET_ELEMENT <Container> <ContainerElement> <Object>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.