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

Click a execute button using SY-UCOMM

Hi Friends,

I have used CALL TRANSACTION 'CJ8G' in my report. When I execute it, the screen comes up. How do I code to automatically click the execute button in that screen (CJ8G) ? I've been stuck with this for quite sometime now.

Please help.

Thanks in advance.

Regards,

Dikshitha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 05:30 AM

    Hi,

    In the transaction 'CJ8G' controlling area is the input field which is mandatory, so for this field

    you find the Parameter ID , then call the transaction by skipping the first screen.

    see the below example:

    SET Parameter ID 'KOK'. " KOK is the Paramter ID for controlling area field.

    CALL TRANSACTION CJ8G AND SKIP FIRST SCREEN.

    Regards

    Satish Suri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2009 at 02:54 PM

    Hi,

    CALL TRANSACTION <tcode>AND SKIP FIRST SCREEN.

    Before calling this statement you need to set the parameter using the SET PARAMETER ID <ID>.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2009 at 06:50 AM

    I've done the SET PARAMETER for all the mandatory fields in CJ8G. When I execute the program its taking me to the screen with all the values in place.

    My question is how do I execute CJ8G from my program after filling all the values in the respective fields.

    Please help.

    Regards,

    Dikshitha

    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.