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

Read container element in program exits

Hi all,

again me 😊

Today the question is that i want to read and change the element 'ObjectType' of an BOR element's container before execute method of the task. I use the program exits with CL_SWF_TST_PE_BEFOREEXEC class, it's work fine.

But this element is a BOR of a BOR, so i know how to read an element with CALL METHOD container->element_get_value but in this case how can i do ?

Thanks

Edited by: CECG on Jan 24, 2008 2:46 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 07:19 AM

    Hi!

    Try functions SWI_READ_CONTAINER_OBJECT, SWI_READ_CONTAINER_ELEMENT or SWI_READ_CONTAINER_ATTRIBUTES.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 03:18 PM

    I think you can use following macros

    swc_get_object_type

    swc_get_object_key

    Checki in Include <CNTN01> for syntax

    Thanks

    Arghadip

    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.