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

Call transaction and skip first screen not working

I have written below test program

REPORT YTEST_DHARM2.

DATA: lv_idoc TYPE edidc-docnum.

lv_idoc = '0000000000263057'.

SET PARAMETER ID 'DCN' FIELD lv_idoc.

CALL TRANSACTION 'WE19'AND SKIP FIRST SCREEN.

Question : The above program is taking me to the WE19 screen but it is not skipping the first screen.

Can you please help me out.

Thanks,

Gayatri.

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 Oct 14, 2010 at 07:31 AM

    Hi,

    Call transaction and skip first screen will work when you can press enter key to take you to the next screen. To make it work,

    you have to record the transaction the first screen of the transaction

    CALL TRANSACTION 'WE19' USING bdcdata.

    Hope it helps.

    Sujay

    Edited by: Sujay Venkateswaran Krishnakumar on Oct 14, 2010 1:01 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 11:04 AM

    Hi,

    Tcode we19 is a Tcode.So try to use submit program "SAPMSED7" VIA SELECTION-SCREEN AND RETURN.

    Thanks,

    AMS

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2010 at 11:22 AM

    There are two conditions that must be fulfilled to execute a AND SKIP FIRST SCREEN ([check online documentation|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm#&ABAP_ADDITION_1@1@])

    - For the initial dynpro, in the Screen Painter the own dynpro number must not be specified as the next screen number.

    - All mandatory input fields of the initial dynpro must be filled completely and with the correct values by the SPA/GPA parameters

    Alas, WE19 first dynpro is "10" and next screen is "10", so first screen is not skipped (if fact it is not displayed, and then next screen is displayed, same screen here)

    So use a [CALL TRANSACTION USIND lt_bdc|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm#&ABAP_ADDITION_2@2@] (there are already many threads and wiki on this subject, like [Batch Input FAQ|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-IsitpossibletosimulateANDSKIPFIRSTSCREENusingBDC%3F], so use the search tool)

    Regards,

    Raymond

    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.