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

Issue with CK74n session in background

Hi,

I am using tcode CK74N, Session is working perfectly in SM35 foreground mode but fails in background in ECC 6.0. The error as under:

Runtime error RAISE_EXCEPTION has occurred

The dump anlysis as under:

A RAISE statement in the program "CL_GUI_DOCKING_CONTAINER======CP" raised the

exception condition "CNTL_ERROR"

Please give me suggestion for the above problem.It is very urgent.

Thanks,

Akshatha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 11, 2013 at 10:41 PM

    Hi,

    Check the session code. The CL_GUI* requires the GUI during execution. In Background mode GUI is not available. To enable execution in background please replace the usage of CL_GUI* in the code. I think there are no standard object to do it via background for mass processing. The other options would be a custom program or LSMW.

    Cheers,

    Arindam

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2013 at 12:56 AM

    Hello,

    CK74N/CK75N will never be supported for batch processing.
    The screens are redesigned to support the enjoy functionality and it is technically not possible to make them work in batch input.

    For a possible solution of your problem please review suggestions below for CK74.

    1. You should use:
    KKPI_BDC_ADD_ON_COSTS_CREATE
    KKPI_SESSION_ADDONCOSTS_CREATE (creates Batch Input map)
    It is alright that they are using transaction CK74, since this is the transaction which is supported

    for Batch Input.

    2. In Rel. 4.6B TA CK74 has extended functionality to Rel. 3.1:
    a) If there already exists a manual cost a new one is created with a new validity date. The

    validity range of the old one is set back automatically to the day before the new one.
    b) If you create new manual costs with the same validity date as the old one the old one is just

    overwritten. Therefore you do not need TA CK75 anymore.

    3. However if you want to use CK75 you just can use it. It still should work fine.

    See also SAP note 314528 which specifies other effected transactions.

    Regards,

    David

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi David,

      I am trying to do CK74 posting using FM - KKPI_BDC_ADD_ON_COSTS_CREATE but in this FM there is no parameter to pass Valuation Date which is mandatory field in CK74.

      Can you please help

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.