Hi i want to skip a screen in bdc

hi ,
   i got issue detors upload .... for some vendors TDS activated but for some it is not activated, so i should skip the screen automatically for those vendor which had not activated TDS.

Hi...
suppose you have got from recording the following thing..
      PERFORM bdc_field       USING 'BDC_OKCODE' '=ok1'.
      PERFORM bdc_dynpro      USING 'ZPROGRAM' '0500'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=ADDRV'.
      PERFORM bdc_dynpro      USING 'ZPROGRAM' '0600'.
u want to skip the top screen that is 500 based on some conditions...
then put that condition like
       PERFORM bdc_field       USING 'BDC_OKCODE' '=ok1'.
if <condition>.
    PERFORM bdc_dynpro      USING 'ZPROGRAM' '0500'.
endif.
     PERFORM bdc_field       USING 'BDC_OKCODE' '=ADDRV'.
      PERFORM bdc_dynpro      USING 'ZPROGRAM' '0600'.
then the screen 500 will be skipped.
Reward if useful
Regards
Rudra

Similar Messages

  • While Pressing the button i want to skip first screen in standard screen.

    Hello All,
    I need to create a z Program and call a screen variant of a standard transaction in it.
    I am calling a screen variant of transaction PA70 to hide some of the fields of the screen.
    Also the first screen is supressed.
    My requirement is while pressing back button it should not come on the first screen.
    while if i am doing the same thing with Transaction PA20 it is not coming back to first screen.
    How can i supress this first screen while coming back?
    Regards.

    Hi,
    Use:
    "set al the field values on the initial screen of the transaction and then use
    CALL TRANSACTION '<t-code>' AND SKIP FIRST SCREEN.
    Now you will be navigated to second screen of the transaction, when you click, you will be navigated to your program selection screen.
    Hope this helps you.
    Regards,
    Tarun

  • Is possible to skip first screen in BDC Session

    Hi all,
    Is it possible like  in call transaction method to skip first screen in Batch input session?
    Syntax----
    call transaction MM01 and skip first screen.
    I want same result By using Batch input session.
    Suggess..........
    Thanks
    Sanket sethi

    Actually i am open transaction SE38 and execute an Standard Report.In the selectiion screen I am changing something in layout.
    I recorded it by BDC.
    And use batch input session.
    Now i want to skip the se38 window i want to drop user on the execution of the report.
    I also do it by submit report but i want to know that is there any possibilities to use with BDC session.
    Thanks
    Sanket

  • Is it possible to skip the screen in BDC using IF statement.

    Hi Friends,
    I have written a report using BDC for tcode CO11 thru recording using CALL TRANSACTION.
    Case 1:
    If I go to transaction CO11 (screen number 100) and give the  order number which has more than 1 operations to be partially confirmed and press ENTER a pop-up screen (screen number 140) appears where in I need to select the operation number and after selecting the required operation number it automatically takes me to another screen (screen number 150).
    Case 2:
    If I go to transaction CO11 (screen number 100) and give the  order number which has only 1 operation to be partially confirmed and press ENTER it directly takes me to screen 150 skiping screen 140.
    When I enter the order number which has more than 1 operations to be partially confirmed on my selection screen, my code is working fine as needed.
    But, when I enter the order number which has 1 operation to be partially confirmed on my selection screen, it is giving me error in my BDCMSGCOLL saying that the screen 140 doesn't exist.
    Is there any way, Can I skip screen 140 using IF statement?
    My thoughts:
    1. calling screen 100.
          After calling screen 100, I have put the pop-up operation numbers in an ITAB.
          DESCRIBE table lines ITAB <variable>.
          At NEW <order-field>.
          IF <variable> = 1.
    2. calling screen 140. "I need some help here to skip the screen 140
                                        " Will this logic work?
          ENDIF.
          ENDAT.
    3. calling screen 150.
    Rest everything is working fine.
    Will my above logic works correctly? I would appreciate if someone could help me with this.
    Thanks in Advance.

    Hi,
    Try something like this:
    1. Call Screen 100.
    Check if screen 140 needs to be called depending on your custom logic. Lets say you populate a variable as 'X' if it needs to be called.
    Then write:
    if valiable = 'X'.
      Call screen 140.
      Enter Screen 140 details.
    endif.
    Call screen 150.
    Here the 'Call Screen' is nothing but the code you extracted after BDC recording.
    Thanks.
    Ravi'

  • Skip First Screen in BDC

    Hi Experts,
    I am using BDC for transaction PA20 where i am passing employee no and infotype.
    My requirement is to display directly second screen which is obtained by pressing display button (F7) button.
    Is it possible?
    Please suggest.
    Regards,
    Kaustubh.

    Hi, Kabre
    Please Check the following sample code it will solve out your problem,
    DATA: it_bdcdata TYPE TABLE OF bdcdata,
          wa_it_bdcdata LIKE LINE OF it_bdcdata.
    DATA opt TYPE ctu_params.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-program  = 'SAPMP50A'.
    wa_it_bdcdata-dynpro   = '1000'.
    wa_it_bdcdata-dynbegin = 'X'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'BDC_CURSOR'.
    wa_it_bdcdata-fval = 'RP50G-PERNR'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'RP50G-PERNR'.
    wa_it_bdcdata-fval = '1'. " Your Pernr Here.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'BDC_CURSOR'.
    wa_it_bdcdata-fval = 'RP50G-CHOIC'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'RP50G-CHOIC'.
    wa_it_bdcdata-fval = '8'. " Your Infotype Here.
    APPEND wa_it_bdcdata TO it_bdcdata.
    CLEAR wa_it_bdcdata.
    wa_it_bdcdata-fnam = 'BDC_OKCODE'.
    wa_it_bdcdata-fval = 'DIS'.
    APPEND wa_it_bdcdata TO it_bdcdata.
    opt-dismode = 'E'.
    CALL TRANSACTION 'PA20' USING it_bdcdata OPTIONS FROM opt.
    Please Reply if any problem.
    Best Regards,
    Faisal

  • How to skip the screen in abap

    hi all,
             i am calling smartform in abap program through alv reporting. I want to skip the screen where we mention the output device name(LP01). This is the 4th screen in my program.
             can any body tell me the procedure.
    Thanks & Regards,
    Sreelatha Gullapalli.

    DATA: ls_composer_param TYPE ssfcompop.
      DATA: ls_control_param  TYPE ssfctrlop.
      ls_control_param-langu = sy-langu.
      ls_control_param-NO_DIALOG = 'X'. " To skip screen
      ls_composer_param-tddest     = 'LOCL'
      ls_composer_param-tdimmed    = 'X'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname
    *     variant            = ' '
    *     direct_call        = ' '
        IMPORTING  fm_name   = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      CALL FUNCTION lf_fm_name
        EXPORTING
    *     ARCHIVE_INDEX              =
    *     ARCHIVE_INDEX_TAB          =
    *     ARCHIVE_PARAMETERS         =
          control_parameters         = ls_control_param
    *     MAIL_APPL_OBJ              =
    *     MAIL_RECIPIENT             =
    *     MAIL_SENDER                =
          output_options             = ls_composer_param
          user_settings              = ' '

  • Skip first screen of BD87 using call transaction with BDC_DATA option

    hello all,
    i am using call transaction with BDC_DATA option and i want to skip first screen, so can anyone please tell me how can i skip first screen of BD87 and get second screen that is output screen?
    regards.

    Hi
    Build a BDCDATA with following code..
                                                          T     BD87                                                                               
    RBDMON00     1100     X                                                                               
    BDC_CURSOR     SX_DOCNU-LOW
                                                                BDC_OKCODE     =CRET
                                                                SX_DOCNU-LOW                                                                               
    SX_CRETI-LOW     00:00:00
                                                                SX_CRETI-HIGH     00:00:00
                                                                SX_UPDDA-LOW     05.02.2010
                                                                SX_UPDDA-HIGH     05.02.2010
                                                                SX_UPDTI-LOW     00:00:00
                                                                SX_UPDTI-HIGH     00:00:00
    RBDMON00     0100     X                                                                               
    BDC_OKCODE     =BACK
    RBDMON00     1100     X                                                                               
    BDC_OKCODE     /ECBAC
                                                                BDC_CURSOR     SX_DOCNU-LOW

  • Call Transaction - both Skip first screen and USING in one

    Hi Experts,
    I have to call a Tcode which is for a report painter report and I have to fill the selection screen parameters for that report. Nothing is mandatory but it will be filled in select option field.
    My issue is I can only call this Tcode with all the parameters when I use USIING with BDC. but I also want to skip the selection screen so that only the final output gets displayed.
    I tried SET PARAMETER ID but I am filling the select-options range from a custom table so don't know how to achieve that.
    Any suggestions !!!

    See here: [sdn wiki - Batch input FAQ - Is it possible to simulate AND SKIP FIRST SCREEN using BDC?|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-IsitpossibletosimulateANDSKIPFIRSTSCREENusingBDC%3F]

  • Help needed - want to skip to the menu screen, using any button!

    hey there -
    i'm creating a DVD in DVD Studio Pro 4 - when the DVD is inserted, the viewer is treated to a bunch of trailers and previews - it's set up with the "First Play" option. i have to do it this way, for the client.
    obviously, i'd like the viewer to be able to skip that stuff and go straight to the main menu. after all, that would be a pain to go through, again and again, if one wanted to watch the DVD mulitple times.
    i want to create the DVD in such a way where the viewer can hit ANY button to skip the initial previews and end up on the Main Menu screen. they should be able to hit the "chapter forward" button, the "menu" button, or any other button. in other words, this should be a very user friendly DVD, for those that want to skip over this stuff.
    is this possible? how do i do it? do i need to make a script? it's bugging the heck out of me, and the deadline is coming up way too fast...
    thanks!
    -kenneth
    mac dual 2.7 G5   Mac OS X (10.4.5)   dual-layer burner

    i want the user to be able to hit the "next chapter" button, or, ideally, any button; to get to the main menu. again, this is during the 2-minute trailer ad that occurs before the menu.
    Place a Chapter Marker at the end of the track and set that to have an action to jump to the menu. (Place it at the very end of the track, and also have the tracks end jump jump to the menu, actually to prevent certain players ffrom blowing through chapter markers, place two chapters at the end, the action for the next to last one jumps to the menu, and also DISABLE all actions at the Marker, then the same for the next one.) You can also make it a story witth Marker 1 & 2 and then set the jump to the menu.
    The inspector on the track provides all the main buttons on a remote, but some (like subtitle or fast forward) may not do anything or just behavee like they normally behave with no way of overriding them.
    If you set the ones you can in the inspector for the track and then also use the chapters described above, you hit most of the main buttons you can.
    Since pictures are worth 1000 words, download this little project to see what I am talking about
    http://www.geocities.com/mypix013/MenuCall.zip
    Also look at this thread
    http://discussions.apple.com/thread.jspa?threadID=459698&tstart=0
    Where there is some discussion of some things that cannot be done, particularly relating to subtitle buttons (if Hal and Jake say certain things can't happen in DVD SP, you can be pretty much assured that it can't happen)

  • Call transaction and skip first screen

    Hi,
    I have a little but I think difficult problem
    I have a selection screen and after that I call my dnypro. In this dynpro I can open a dynpro which looks like a popup where I have the possibility to call the same transaction with other input paramters.
    the problem is when I make call transaction and want to go back I see the pop up dynpro which calls the transaction. so how can I close this popup dynpro by calling again transaction?

    I think I can't eyplain it.
    Following. I have:
    call transaction trans: selection screen calls dynpro 100, in dynpro 100 button with dynpro 200  with starting parameters.
    dynpro 200 calls again transaction trans with skip first screen.
    now I have displayed again dynpro 100 with new values. When I now want to go back I can see dynpro 200 which called the transaction. So how can I achieve this that dynpro 200 isn't shown when I go back ?

  • Call Transaction and skip first screen in SE37

    Hi All,
    I want call transaction SE37 and skip first screen of it. Is it possible through the statemen Call transaction 'SE37' and skip first screen ?.
    Of course I have populated the parameter id 'LIB' before this statement but it is not working. Though I have found several posts with this solution but it's not working for me. Could anyone please let me know if this can be done using this statement or there are any other additions required along with this statement or it is not at all possible to achieve this functionality.
    Thanks in advance !!.

    Solved! without a solution? very funny.
    In somewhere of second screen related bdcdata, intensionlly make a mistake to force the system throws the error and the call the trasnaction with mode 'E'. This will solve the issue.
    perform bdc_field       using 'BDC_CURSO'                   " I removed letter R in 'BDC_CURSO'
                                                 'ISEG-ERFMG(01)'.
    CALL TRANSACTION 'XXXX' USING BDCDATA MODE 'E'.
    Thanks.
    Suresh Yerra.

  • Reg XK03 skip first screen

    Hi All,
    I have a requirement in my custom program when I double click on vendor number it should navigate to the transaction XK03 by skipping first screen.I have done code for this using set parameter for vendor and compcode and purchasing organization but the problem is the program should select purchasing data checkbox also in the first screen before skipping that.So how to pass default check for purchasing data check box?
    We tried to do this also using BDC but the problem is with modes since we have only 3 modes A,N,E.I want to skip the first sceen and go to the 2nd screen which is not possible in BDC.
    Please suggest somebody how to do this?
    Regards
    Mahesh

    data : opt like CTU_PARAMS.
        opt-DISMODE = 'E'.
              CLEAR   : it_bdc.
              REFRESH : it_bdc.
              PERFORM populate_bdc_data USING 'X' 'SAPMF02K' '0101'.
              PERFORM populate_bdc_data USING space 'BDC_CURSOR'
                                                    'RF02K-LIFNR'.
              PERFORM populate_bdc_data USING space 'BDC_OKCODE'
                                                '/00'.
              PERFORM populate_bdc_data USING space 'RF02K-LIFNR'
                                                 l_final-lifnr.
              PERFORM populate_bdc_data USING space 'RF02K-BUKRS'
                                                 '1000'.
              PERFORM populate_bdc_data USING space 'RF02K-EKORG'
                                                 l_final-ekorg.
              PERFORM populate_bdc_data USING space 'RF02K-D0310' 'X'.  <-- for checkbox ..
              CALL TRANSACTION 'XK03' USING it_bdc OPTIONS FROM opt.

  • Call transaction using bdc tab and also skip first screen??

    Hi,
    Please help.
    I want to call transaction PA30 fill it with values which are determined only at runtime and then skip first screen.
    The screen doesn't have parameter fields so i cannot use 'set parameter id'.
    I also cannot create a transaction with parameters as I only have these at runtime.
    Anyone done anything like this???

    hi,
      you might be populateing the itab bdc_tab with the corresponding values fronm the recording.
    while doing the recording go until to the screen wher u want to finsih.
    and populate the bdc_tab wit the ok code,screen number and the value.
    this will do.
    for eg see the code below.
    METHOD analyze_log.
      DATA : wrk_extid TYPE balhdr-extnumber.
      DATA : wrk_date(10) TYPE c.
      DATA : it_rspar TYPE TABLE OF rsparams .
      DATA : wa_rspar TYPE rsparams.
      DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata,
          wa_bdcdata TYPE bdcdata.
      DATA: params TYPE ctu_params.
      CONSTANTS : object TYPE balhdr-object VALUE 'ZKIV_LOG'.
      IF wa_kopf-vertr_nr IS NOT INITIAL.
        CONCATENATE wa_kopf-vertr_nr '/' wa_kopf-nachtr_nr  INTO wrk_extid.
        wrk_date = '01.09.2006'.
        SET PARAMETER ID 'BALOBJ' FIELD object .
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
        wa_rspar-selname = 'ALDATE'.
        wa_rspar-sign = 'I'.
        wa_rspar-kind = 'P'.
        wa_rspar-option = 'EQ'.
        wa_rspar-low = wrk_date.
        APPEND wa_rspar TO it_rspar.
      ELSE.
        CLEAR wrk_extid.
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
      ENDIF.
    Update BDC tab
    --Call SLG1 using BDC--&
      params-dismode = 'E'. "Show errors only
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_CURSOR'.
      wa_bdcdata-fval = 'BALHDR-ALDATE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BALHDR-ALDATE'.
      wa_bdcdata-fval = wrk_date.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=SELE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=&F03'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_SUBSCR'.
      wa_bdcdata-fval = 'SAPLSBAL_DISPLAY                        0101SUBSCREEN'.
      APPEND wa_bdcdata TO it_bdcdata.
      CALL TRANSACTION 'SLG1' USING it_bdcdata OPTIONS FROM params.
    --End of BDC--&
    ENDMETHOD.
    here wat i m doing is that i dont want the subscreen 101 to be displayed..
    Message was edited by:
            Sandeep S

  • Call transaction CJIC using bdcdata and skip first screen

    I want to call transaction CJIC and skip first screen. I have set parameters for fields for which I need to pass data. But one field namely display variant has no parameter id. How can I pass value to it and also skip first screen?
    I have tried passing its value in bdcdata and also passing ONLI. But it does not run in mode "N". What can be the solution?

    Hi frnd,
    fortunately transaction CJIC is selection-screen of an executable program RKPEP012.......so u don hav to use call transaction and instead u can use SUBMIT statement................
    submit RKPEP012 WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    SELNAME (length 8),
    KIND (length 1),
    SIGN (length 1),
    OPTION (length 2),
    LOW (length 45),
    HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Revert back for queries.
    Cheers,
    Will.

  • CALL TRANSACTION VK13 AND SKIP FIRST SCREEN

    Hi,
    I'm using ALV report and i want to call the the Tcode VK13 from alv and skip the screens.
    I have declared form user_command and calling from the "REUSE_ALV_LIST_DISPLAY".
    The actual issue is how to select the radio button in the pop up window and also skip the next screen to go the condition records screen when calling tcode VK13 by passing parameters.
    CALL TRANSACTION VK13 .
    Help is highly appreciated.
    Thanks,
    Kash

    Hello,
        As per the requirement I understood that you have to skip more than one screen in VK13 transaction.
    For this purpose, write a BDC (Upto the screen you want ) and use it in a call transaction .
    You have to do a partial BDC to the transaction VK13, providing all the data that is required to get to the screen you want and use the statement
    Call transaction 'VA03' using it_bdcdata mode 'E'...
    (IT_BDCDATA should have the information that is necessary to fill in the screens of VA03.)
    Eg:
    DATA: bdcdata_wa  TYPE bdcdata,
              bdcdata_tab TYPE TABLE OF bdcdata.
    CLEAR bdcdata_wa.
    bdcdata_wa-program  = 'SAPLSEOD'.        "Pass pgm name
    bdcdata_wa-dynpro   = '1000'.                    "Pass your screen you want to call
    bdcdata_wa-dynbegin = 'X'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.                                         "Optional
    bdcdata_wa-fnam = 'BDC_CURSOR'.                  "Optional
    bdcdata_wa-fval = 'SEOCLASS-CLSNAME'.        "Optional
    APPEND bdcdata_wa TO bdcdata_tab.              "Optional
    CALL TRANSACTION 'VK13' USING bdcdata_tab
                                MODE 'E'
                                UPDATE 'A'
                                MESSAGES INTO g_t_bdcmsgcoll.
    Regards,
    Lijo

Maybe you are looking for