Skip to Content
author's profile photo Former Member
Former Member

what parameters to be passed to 'SWE_EVENT_CREATE'

Hi friends,

I need to Use the objecttype : ISUCONTRCT

Event : Assessed

and trigger the standard work flow

so i am using the function module 'SWE_EVENT_CREATE'

could any one help me what are the input parameters that I need to pass

I am giving this input parameters, the control is goin into it and i can see the debugging,

I am getting the SY-SUBRC = 0.

I am passing the below Input parameters

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

objtype = 'ISUCONTRCT'

objkey = objkey " Contract Number

event = 'ASSESSED'.

Kindly help me

Thanks in Advance

Ganesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 03:35 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 04:33 AM

    Hi Ganesh Yerramsetti,

    CALL FUNCTION 'SWE_EVENT_CREATE'

    EXPORTING

    objtype = 'PAYOH'

    objkey = objkey

    event = event

    start_recfb_synchron = 'X'

    IMPORTING

    event_id = lf_event_id

    TABLES

    event_container = i_swcont

    EXCEPTIONS

    objtype_not_found = 1

    OTHERS = 2.

    ENDFORM. " ext_event_gen_po

    Object type, key and event are defined and working fine. Th event is triggered in the RFCDESTINATION system .

    If we We raise an event by function SWE_EVENT_CREATE, and a Workflow is

    launched by this event. A parameter of the event is bound with the WF container ; we pass this parameter to the function SWE_EVENT_CREATE. But the WF container element is not filled, although the workflow does start.

    thanks

    karthik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 09:18 AM

    Hi,

    objtype,obj key and event these parameters will be enough.

    additionally u have to add COMMIT WORK statement at end of the function module.

    Regards

    Krishna

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.