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

CALL TRANSACTION 'Zxxxx' USING BDCDATA messages into itab

Hi everybody,

Do you know if it is possible to call a Z* transaction (that calls program Zxxxxxxx)

and to get back the messages into itab like we do with a standard transaction ?

In the Z* transaction the messages are sent via normal message statement.

Thanks in advance for your answer,

Marie

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 Dec 04, 2007 at 10:17 AM

    to store returned messages from transaction in to itab.

    use this.:

    frst declare this:

    DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.

    and then:

    CALL TRANSACTION 'MK01'

    USING it_bdcdata

    MODE v_mode

    MESSAGES INTO messtab.

    plz reward points if helps.

    regards,

    rahul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 10:26 AM

    Hi Marie,

    You can use it.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 10:48 AM

    It is certainly possibly, but as the called program is a Z program, why not modularise the functionality of the transaction into a class or function module. Then you can get the functionality without having the overhead of screen flow.

    matt

    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.