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

Accessing Container

Hi all,

I have a problem with Object type: Absence, Event: Requested.

When a leave request is created the event Request is no longer triggered.

When looking at the event trace there is no events for Absence. This used to work before and I am not sure where to look for the problem.

Looking at transactions SWEHR1 and SWEHR2 for the event linkage the following entries are there:

Ob: P

Infotype: 2001

Updat: REQ

Obj type: Absence

Event: Requested

Does any one have elements from Business Object method

I am having some difficulties in accessing container elements in my business object methods.

Thanks,

Manosh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2007 at 02:31 PM

    Hi,

    if you want to do something with the value of the importing paramter of the business object, you also have to declare a data element with the same datatype.

    E.G. method X with importing parameter Abc with data type reference t000-mandt

    In the ABAP of the business object:

    data abc type mandt.

    swc_get_element container 'Abc' abc.

    Reward points if found helpful....

    Cheers,

    Venkoji Babu.

    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.