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

Doubt in Check Function module

Hi all,

I have created a parameter(mulitline) for an event (in SW01) and I am using a check function module to check the conditions.

My problem is I am able to get the '_EVT_OBJECT' (object instance) in the check FM and not able to get the event's parameter (which i created for that event) in the check FM. In the log it says, "Container element xxxx doesnot exists".

May I know whether is it possible to send the event parameter to the Event_container of the check FM. Please help in this regard. As I am placing a breakpoint in the check FM but it doesnot stops.

P.S. I am using ZBUS2012 (delegation of BUS2012) and I redefined the event "Changed" and I added a multiline parameter with respect to DB field.

Regards,

V Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 12:10 PM

    Hi,

    You can user both SWEC and CHECK FM.

    About problem of not able to access event parameter can you pl tell how you are filling EVENT PARAMETERS ( In an EXIT or somewhere ). Please try to use SWUE to trigger method manually and set break point in the CHECK FM it will stop there and you can find what value is coming in event container.

    If you use SWEC i think you wont be able to access EVENT PARAMETERS.

    Regards,

    Rushikesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 14, 2009 at 11:29 AM

    Hello,

    What ABAP are you using to access the event parameter in the check function?

    regards

    Rick Bakker

    Hanabi Technology

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I am using a macro.

      SWC_GET_TABLE EVENT_CONTAINER 'IM_NETWR' T_NETWR.

      IM_NETWR is my mutiline element for the event "Changed". It will have the old and new value of the net price. I need to trigger the workflow if there is a change in price.

      I Know it is possible with SWEC, but i need to validate some condition, which i am not able to give in SWEC, so I am using Check FM. Please help.

      If i use both SWEC and check FM whether it will give any problem?

      Regards,

      V Kumar

      Edited by: V Kumar on Aug 14, 2009 1:37 PM

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.