Skip to Content

Can I execute a report and skip the first screen in CJE0

I'm trying to call transaction CJE0 and skip the first screen. The report name I'm assigning to the PID REI appears in the screen field, but you have to click execute to continue to the report.

Is there something I'm missing.

Thanks

Karen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2004 at 01:09 AM

    Hi Karen,

    I presume, you want to skip the dialog that requests for the controlling area.

    That is easy:

    Place (before you do the call to transaction CJE0) the following commands:

    DATA: v_carea TYPE kokrs VALUE 'IN01'.

    SET PARAMETER ID 'CAC' FIELD v_carea.

    You can of course change the value 'IN01' to your own value (or maybe determine it dynamically).

    This will set the parameter for controlling area to a fixed value and therefore NO dialog will be diplayed.

    Regards,

    Rob.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi ZAMUser,

      You can try this code:

      perform bdc_dynpro using 'RVV50R10C' '1000'.

      perform bdc_field using 'BDC_CURSOR'

      'ST_VSTEL-LOW'.

      perform bdc_field using 'BDC_OKCODE'

      '=ONLI'.

      perform bdc_field using 'ST_VSTEL-LOW'

      '0001'.

      perform bdc_dynpro using 'SAPMSSY0' '0120'.

      REFRESH MESSTAB.

      CALL TRANSACTION 'VL10C' USING BDCDATA

      MODE 'E'.

      The thing is, I think Karen did not put the next screen in the BDCDATA. Like in your case, you need to put in SAPMSSY0 0120 in the BDCDATA. Hope this will work.

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.