Skip to Content
author's profile photo
Former Member

Embedding a Transaction into a job, e.g. CO43and CO88

Hello SAPworld,

I call two transactions (co43 and co88)within an ABAPprogram:

CALL TRANSACTION 'CO43' / 'CO88'

USING IT_BDCDATA (wich includes the dynpros)

MODE 'N'

UPDATE 'S'

MESSAGES

INTO IT_BDCMSGCOLL (which gets the TA-messages)

This ABAP-program is planned within a job. When the job starts, the ABAP-program calls both transactions and outputs the appearing messages. To me it shows, the transactions are called how they should be. On the other hand I'll get not output from the transactions itself. If I call them in a dialog mode, I get the normal output; afterwards I took out the output from the calling ABAP, afterwards I did not get any output at all.

Question: What can I improve, if I want to embedd these TRANSACTIONS within a job (but not ABAP-programs like CO43= "RKAZCO43" and CO88="RKO7CO88") with output?

Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Feb 27, 2004 at 04:45 PM

    I am not familar with these transactions, but it sounds like they just produce list output.

    Assuming so, you are misusing batch-input. It is designed for processing transactions not for getting report output.

    Your choices are:

    1) Schedule the respective SAP reports as steps of the same job (which you state you don't want).

    2) Submit these reports yourself from your own program, capture the output and represent as required. For example, you would schedule your own Z program which might have code like:

    SUBMIT RKAZCO43 EXPORTING LIST TO MEMORY

    AND RETURN

    WITH ...

    CALL FUNCTION 'LIST_FROM_MEMORY'

    ...

    There is documentation on this approach in the ABAP help for keyword SUBMIT.

    Cheers,

    Scott

    Add comment
    10|10000 characters needed characters exceeded