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

Workflow problem: Value from se38 to Object-key

Hi, all!

Scenario:I have created z-object with an event....

This event I m triggering from my se38 prog...

through the function module 'SAP_WAPI_CREATE_EVENT'.

Problem: Now my created object has 2 keys. How to pass these 2 values thru the above said function moduel...The code used is as.....

Here <b>Date</b> and <b>Position</b> r the 2 variables to be passed to the 2 Object keys...

CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'

EXPORTING

OBJECT_TYPE = 'ZHR_NEWPOS'

OBJECT_KEY = 'DATE,POSITION'

EVENT = 'REQUEST_GENERATED'

  • COMMIT_WORK = 'X'

  • EVENT_LANGUAGE = SY-LANGU

  • LANGUAGE = SY-LANGU

USER = SY-UNAME.

  • IFS_XML_CONTAINER =

  • IMPORTING

  • RETURN_CODE =

  • EVENT_ID =

  • TABLES

  • INPUT_CONTAINER = ev_container.

  • MESSAGE_LINES =

  • MESSAGE_STRUCT =

*----


Thanks and Regards,

Sudipto.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 07:51 AM

    The OBJECT_KEY export parameter of the function module should have one string that is combination of both key fields of your object (date and position). You have to pass this string to the parameter OBJECT_KEY.

    For example for object 'BKPF' the key consists of company code, document number and year. So the value of string for key is '3000xxxxxxxxxx2005' where xxxx.. is 10 digit document number

    Message was edited by: Sudhir Bhate

    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.