Generic Instantiate method not working

Srinivas Reddy ootasrinivasreddy at gmail.com
Wed Dec 7 23:05:59 EST 2016


Hi Rick,

Thanks for your response.

Yes you are right the place where I'm calling the instantiate method is not
correct. Changed the place and everything works fine.

On Wed, Dec 7, 2016 at 5:38 PM, Rick Bakker <rbakker at gmail.com> wrote:

> Hello,
>
> What exactly is the error you are getting? Do you provide a proper key and
> is it available at the time that you call GENERICINSTANTIATE?
>
> You may want to make a very simple one-step workflow to test out that
> method first.
>
> regards
> Rick
>
> On Wed, Dec 7, 2016 at 2:50 AM, Srinivas Reddy <
> ootasrinivasreddy at gmail.com> wrote:
>
>> Hi Experts,
>>
>> I'm working on CRM system, as a requirement I need to instantiate BUS
>> object BUS2000223 inside the workflow.  For this I've created a task
>> calling GENERICINSTANCE method for the bus object SYSTEM to create the
>> instance.
>>
>> The worklfow is getting triggered via custom class event.
>>
>> For some reasons the instance is not getting created and workflow is
>> going into error status. While I debug the method GENERICINSTANCE
>> explicitly using the same key and object collected from workflow log Im
>> able to create the instance. No idea why Im not able to achieve this inside
>> workflow.
>>
>>
>>
>> --
>> Thanks and Regards
>> Srini..
>> SAP Technical Consultant
>>
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>


-- 
Thanks and Regards
Srini..
SAP Technical Consultant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20161207/bd3992dc/attachment.html


More information about the SAP-WUG mailing list