Skip first screen when calling transaction via  BDC

I need to use BDC to call transaction FD32 and suppress the first screen. Do I need to set BDC_OKCODE? However, when I set BDC_OKCODE to '/00', this error occured, "System error: Error in routine DYNPRO_ERSTES_BILD".
Here is my code:
CLEAR ls_bdcdata.
ls_bdcdata-program  = 'SAPMF02C'.
ls_bdcdata-dynpro   = '0100'.
ls_bdcdata-dynbegin = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-KUNNR'.
ls_bdcdata-fval = gs_data-kunnr.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-KKBER'.
ls_bdcdata-fval = p_kkber.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-D0105'.
ls_bdcdata-fval = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '/00'.
APPEND ls_bdcdata TO lt_bdcdata.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'FD32' USING lt_bdcdata OPTIONS FROM opt.
Any suggestions?

Hi,
Try this..This is working fine for me..
CLEAR ls_bdcdata.
ls_bdcdata-program = 'SAPMF02C'.
ls_bdcdata-dynpro = '0100'.
ls_bdcdata-dynbegin = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_CURSOR'.
ls_bdcdata-fval = 'RF02L-D0110'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'BDC_OKCODE'.
ls_bdcdata-fval = '/00'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-KUNNR'.
ls_bdcdata-fval = gs_data-kunnr.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-KKBER'.
ls_bdcdata-fval = p_kkber.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-D0105'.
ls_bdcdata-fval = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-D0110'.
ls_bdcdata-fval = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CLEAR ls_bdcdata.
ls_bdcdata-fnam = 'RF02L-D0120'.
ls_bdcdata-fval = 'X'.
APPEND ls_bdcdata TO lt_bdcdata.
CALL TRANSACTION 'FD32' USING lt_bdcdata MODE 'E'.
Thanks,
Naren

Similar Messages

  • Problems with SKIP FIRST Screen when calling a transaction variant

    Hi,
    I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
    In my program I have coded the following :-
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
    I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
    I don't think I need VPO setting but when I code
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
    VA02's second screen is displayed
    Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
    Thanks
    Rous

    Yes you are right Reg thanks for that.
    But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 .

  • How to skip first screen while calling transaction

    Hi all,
    I am using interactive alv.
    if i select one line and press details
    that must go to another screen.
    In that i must skip first screen and directly go to the details of that first screen.
    suppose i am using the code as follows
    call transaction mm01 and skip first screen
    this is giving me error.
    how to solve the problem.
    thanks and regards,
    giri.

    hi giri,
    For ur requirement, u can use SKIP FIRST SCREEN addition for CALL TRANSACTION Command.
    Before this, u have to use SET PARAMETER ID Command to pass the required values for transaction.
    Example, In transaction VA01, we have to set parameter AUN to pass the sale order number to the transaction.
    <b>
    AT LINE-SELECTION .
    SET PARAMETER ID 'AUN' FIELD w_vbeln.
    CALL TRANSACTION 'VA01' AND SKIP FIRST SCREEN .</b>
    where w_vbeln contains the sale ordre number. Now VA01 runs for this sale order number..... And AUN is the PARAMETER to be set before calling VA01 TCODE.
    similarly, check the PARAMETER associated with MM01 Tcode and initialize that parameter and call the code in the similar way.
    To check parameter Id of MM01,
    1) Enter MM01 Transaction
    2) Press F1 on Material Field
    3) Select Technical Info
    4) u can find Parameter ID associated with this field.
    check these links for full details.
    call transaction...
    http://help.sap.com/saphelp_47x200/helpdata/en/78/21761c51ce11d189570000e829fbbd/frameset.htm
    at line selection,
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm
    get/set parameter:
    http://help.sap.com/saphelp_nw04/helpdata/en/5b/7bc3775d1111d295ad0000e82de14a/frameset.htm
    Reward me if useful........
    Harimanjesh AN

  • Skipping multiple screens when calling transaction.

    Hi Gurus,
    It's quite easy to call transaction mm03 with from an ABAP program.
    Filling the parameter ID MAT with the material, and you're good to go.
    Call transaction 'MM03' and skip first screen.
    So far so good. But is it also possible to enter data for the next screens (you have to select a view and plant). Now the user still has to enter that data and I was wondering if I could do that automatically...
    kind regards,
    Ron.

    Hi
    CALL TRANSACTION ta USING bdc_tab
    bdc_tab of row type BDCDATA from the ABAP Dictionary
    regards
    Pavan

  • Can we skip the first screen after call transaction has been performed?

    Hello Friends,
    I have written a program for INTERCATIVE REPORT .
    When i click on the link it needs to call transcation MD4C.
    I have written a BDC for calling the transaction and skipped first screen.Its working fine but the problem is that WHEN I TRY TO COME BACK TO MY REPORT OUTPUT USING(BACK OR EXIT OR CANCEL) BUTTONS THE CONTROL IS PASSING THRU THE FIRST SCREEN OF TRANSACTION MD4C and then its coming back to report output.
    Now i dont need the first screen of the MD4C to be dispalyed when i use the BUTTONS.
    That means i want to dirctly come to report output when i click (BACK OR EXIT OR CANCEL) BUTTONS.
    Hope the problem is clear.
    Is there any way?
    Please do suggest me.
    Thankx in advance,
    Sanghamitra.

    Hello everybody,
    Thanks a lot for the quick replies.
    The problem i m facing comes after the call transaction statement gets executed.
    when the statement gets executed i m able to skip first screen and goto the required screen in the transaction but WHEN I PRESS BACK BUTTON THERE it is showing the initial screen which i have skipped.I dont want this scrren to be dispalyed.When i press back it should directly take me to the report output from where i have come to this transaction.
    Hope i m clear now?
    Any suggestions.
    Regards,
    Sanghamitra.

  • ABORT_MESSAGE_STATE when calling transaction via integrated ITS

    Hello experts,
    we use ECC 6.0 (and therefore Netweaver 7).
    I try to start a customer transaction via integrated ITS on our consolidation system with the following link.
    http://  ...   :8080/sap/bc/gui/sap/its/webgui/!?~transaction=ZCO16&sap-client=200
    In our dev system all works fine so far. But in consoloidation I get errors showing in the browser after logon:
    Error when processing your request
    What has happened?
    The URL http://  ...   :8080/sap/bc/gui/sap/its/webgui/! was not called due to an error.
    Note
    The following error text was processed in the system Q01 : System error
    The error occurred on the application server asapt02sv1_Q01_00 and in the work process 1 .
    The termination type was: ABORT_MESSAGE_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPMZCO002
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system Q01 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server asapt02sv1_Q01_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 1 in transaction ST11 on the application server asapt02sv1_Q01_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: IE121 -l: E -s: Q01 -i: asapt02sv1_Q01_00 -w: 1 -d: 20080111 -t: 165033 -v: ABORT_MESSAGE_STATE -e: System error
    HTTP 500 - Internal Server Error
    SM21 says:
    16:37:04 DIA  001 200 IE121   ZCO1           W0  1 ITS, User session terminated   
    long message:
    ocumentation for system log message W0 1 :                            
    he user session has been terminated after an error in the log         
    onversion from SAPdiag to HTML. Look in the preceding syslog entries to
    ind the cause of the error. For more error details, refer to the trace
    iles.                                                                 
    16:37:04 DIA  001 200 IE121   ZCO1           D0  1 Transaction Canceled ITS_P 001 ( )                
    long message:
    The transaction has been terminated.  This may be caused by a      
    termination message from the application (MESSAGE Axxx) or by an   
    error detected by the SAP System due to which it makes no sense to 
    proceed with the transaction.  The actual reason for the termination
    is indicated by the T100 message and the parameters.               
    The tracefile of the work process says:
    ========================================
    W Fri Jan 11 16:37:04 2008                                                                               
    W      *** ERROR => julep: PpioCreateParseTree:  IRepRetrieve(templates/system/header.html) failed. [w3xxppio.cpp 1184]             
    W      *** ERROR => julep: PpioCreateHtmlPP:  PpioCreateParseTree(templates/system/header.html) failed, rc=0x10c [w3xxppio.cpp 985] 
    W      *** ERROR => julep: XIntInterpret:  PpioCreateHtmlPP(templates/system/header.html) failed, rc=0x10c [w3xxjuce.cpp 529]       
    W      *** ERROR => xgdk: MsgtBuildHtmlBlock: IntpDoInterpret (templates/system/header.html) failed, rc=0x2101 [w3xxmsgt.c   220]   
    W      *** WARNING => diag: SemgXGHandleResponse: Returning rc=0xffffffcc [w3xxsemg.cpp 1490]                                       
    W      *** ERROR => plugin: XKrnHandleResponse failed rc= -52 [itspxkrn.cpp 764]                                                    
    W      *** ERROR => plugin: ItspXKrn_HandleResponse failed. 700000840333ba0 rc: 0 [itspxkrn.cpp 391]                                
    W    *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c    1526]                                             
    M    ***LOG W01=>  [itsplxx.c    1527]                                                                               
    W    *** ERROR => ipl_ConvertOut returns 1(ITSPE_FAILURE) [itsplxx.c    1529]                                                       
    W    *** ERROR => Raise Last error:[1 from: itspxx.cpp  :817] [itsplxx.c    1216]                                                   
    W    *** ERROR => RaiseError(sapdext) ITS_P:01 [itspxx.cpp   817]                                                                   
    ==========================================
    I don't have any dumps.
    Please help. Thanks in advance.
    Frank

    Hello Ruchit,
    > Publishing is done via SE80 but may be it may not be needed. But you can try that out as well.
    Please advise. How do I this precisely?
    > Try this. Deactivate your SICF completely in consolidation system and then reactivate
    > it. After that give this a try.
    All services have been activated now (after deactivating first) but I have still the same symptom.
    > Also when you are trying to execute this customer transaction just compare the urls you
    > are getting in development and consolidation. I guess there is an issue with the
    > url you are getting.
    I get exact the same URL after (except the hostname of course):
    http:// ... 8080/sap/bc/gui/sap/its/webgui/!?sap-system-login-basic_auth=X&sap-client=200&sap-language=EN&%7Etransaction=ZCO16
    Regards.
    Frank

  • Submit "and skip first screen"

    hello!
    is there an option for submit-command like "and skip first screen" for call transaction?
    i would like to start a programm without displaying the selection screen (parameters are provided by submit with ...).
    the parameters of the new programm aren't set/get parameters (sap-standard-pgm) therefore call transaction won't work.
    thanks
    matthias

    Hi,
    In ur question itself u have given a solution
    1. Combination of variant and WITH
    DATA: RANGE_LANGU    TYPE RANGE OF SY-LANGU,
          RANGE_LANGU_WA LIKE lINE OF RANGE_LANGU.
    PARAMETERS: MSG_FR LIKE T100-MSGNR,
                MSG_TO LIKE T100-MSGNR.
    MOVE: 'I'  TO RANGE_LANGU_WA-SIGN,
          'BT' TO RANGE_LANGU_WA-OPTION,
          'D'  TO RANGE_LANGU_WA-LOW,
          'I'  TO RANGE_LANGU_WA-HIGH.
    APPEND RANGE_LANGU_WA TO RANGE_LANGU.
    MOVE: 'EQ'  TO RANGE_LANGU_WA-OPTION,
          'E'   TO RANGE_LANGU_WA-LOW.
    APPEND RANGE_LANGU_WA TO RANGE_LANGU.
    <b>SUBMIT REPORT00
           USING SELECTION-SET 'VARIANT1'
           WITH  MSG   BETWEEN MSG_FR AND MSG_TO
           WITH  LANGU IN RANGE_LANGU.</b>
    In REPORT00, all parameters and SELECT-OPTIONS take their values from the variant VARIANT1.Only MSG and LANGU take the values that are explicitly passed.
    Examples
    2. Combination of variant, WITH SELECTION-TABLE, and explicit WITH clauses.
    DATA: SELTAB     TYPE TABLE OF RSPARAMS,
          SELTAB_WA  LIKE LINE OF SELTAB.
    MOVE: 'LANGU'  TO SELTAB_WA-SELNAME,
          'S'      TO SELTAB_WA-KIND,      " SELECT-OPTION
          'I'      TO SELTAB_WA-SIGN,
          'BT'     TO SELTAB_WA-OPTION,
          'D'      TO SELTAB_WA-LOW,
          'I'      TO SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    MOVE: 'E'      TO SELTAB_WA-SIGN,
          'EQ'     TO SELTAB_WA-OPTION,
          'F'      TO SELTAB_WA-LOW,
          SPACE    TO SELTAB_WA-HIGH.
    APPEND SELTAB_WA TO SELTAB.
    CLEAR SELTAB_WA.
    MOVE: 'ARBGB' TO SELTAB_WA-SELNAME,
          'P'     TO SELTAB_WA-KIND,      " PARAMETER
          'XX'    TO SELTAB_WA-LOW.
    APPEND SELTAB_WA TO SELTAB.
    <b>SUBMIT REPORT00
           USING SELECTION-SET 'VARIANT1'
           WITH  ARBGB CP 'A*'
           WITH  SELECTION-TABLE SELTAB
           AND RETURN.</b>
    In REPORT00, all parameters and SELECT-OPTIONS take their contents from the variant VARIANT1except LANGU, which takes its contents from SELTAB, and ARBGB, which takes the value that was explicitly passed.
    I got this from ABAP help.
    Hope this helps.
    Thanks & Regards,
    Judith.

  • How to skip first screen that is not selection screen.

    Hi Experts
    I am working on a module pool program where in I am required to call a transaction with skip first screen. the first screen of this transaction is self made screen with screen painter with input boxes and a submit button with an OK_CODE. now I am able to get all the input boxes filled during the call, however as the ok_code is missing it is not skipping first screen, neither does the PAI of first screen of called transaction is getting fired, is there any way to fire it?

    I discovered that once I set the parameter of sy-ucomm and then called the transaction it worked. check the code if you need the help on same
    ACTION = 'VW'.
      value = 'V01'.
      SET PARAMETER ID 'SPM' FIELD SPMON.
      SET PARAMETER ID 'VRS' FIELD VRSIO.
      SET PARAMETER ID 'VKB' FIELD WA_INDEX-L_VKBUR.
      SET PARAMETER ID 'DFM' FIELD ZSDTPLANVRSIO-DAT_FRM.
      SET PARAMETER ID 'DFT' FIELD ZSDTPLANVRSIO-DAT_TO.
      set PARAMETER ID 'ACT' field action.
      set PARAMETER ID 'OKC' field value.
    call TRANSACTION 'ZPLAN_INT' AND SKIP FIRST SCREEN.{/code}
    this OKC parameter id holds the value for sy-ucomm and the screen 100 of the called transaction has been skiped and ALV was displayed direct away.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'ZAO_MAIN'.
      SET TITLEBAR 'ZAO'.
      if pass <> 1.
      get PARAMETER ID 'ACT' FIELD action.
      get PARAMETER ID 'SPM' FIELD SPMON.
      get PARAMETER ID 'VRS' FIELD VRSIO.
      get PARAMETER ID 'VKB' FIELD knvv-VKBUR.
      get PARAMETER ID 'DFM' FIELD ZSDTPLANVRSIO-DAT_FRM.
      get PARAMETER ID 'DFT' FIELD ZSDTPLANVRSIO-DAT_TO.
      get PARAMETER ID 'OKC' field sy-ucomm.
    set PARAMETER ID 'ACT' field action.
      endif. {/code}

  • 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 'ME23N' AND SKIP FIRST SCREEN.

    Hi,
    i'm using this in an report.
    SET PARAMETER ID 'BES' FIELD WA_ITAB-EBELN.
    SET PARAMETER ID 'BSP' FIELD WA_ITAB-EBELP.
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    It works OK.
    Is there any parameter ID to go in a sprecial part of an PO, for example
    direct to materialdata or konditions?.
    thanks.
    Regards, Dieter

    Hi,
    I think u can do that by using BDC as used in this code please refer to this code.
    FORM get_user_command USING cr_ucomm     LIKE sy-ucomm      "#EC *
                                cr_selfield TYPE slis_selfield.
      CLEAR wa_final.
      DATA BEGIN OF bdcdata OCCURS 10.
              INCLUDE STRUCTURE bdcdata.
      DATA END OF bdcdata.
      CASE cr_ucomm.
        WHEN '&IC1'.
          READ TABLE it_final INTO wa_final
                   INDEX cr_selfield-tabindex.
          IF cr_selfield-fieldname = 'MATNR'.
            IF sy-subrc IS INITIAL.
              SET PARAMETER ID 'MXX' FIELD 'E'.
              SET PARAMETER ID 'MAT' FIELD wa_final-matnr.
              SET PARAMETER ID 'WRK' FIELD wa_final-werks.
              CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
            ENDIF.
          ELSEIF cr_selfield-fieldname = 'LIFNR'.
            IF sy-subrc IS INITIAL.
              CLEAR bdcdata.
              bdcdata-program  = 'SAPMF02K'.
              bdcdata-dynpro   = '0101'.
              bdcdata-dynbegin = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-LIFNR'.
              bdcdata-fval     = wa_final-lifnr.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-EKORG '.
              bdcdata-fval     = wa_final-ekorg.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'RF02K-D0310'.
              bdcdata-fval     = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'WRF02K-D0320'.
              bdcdata-fval     = 'X'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-fnam     = 'BDC_OKCODE'.
              bdcdata-fval     = '/00'.
              APPEND bdcdata.
              CLEAR bdcdata.
              bdcdata-program  = 'SAPMF02K'.
              bdcdata-dynpro   = '0110'.
              bdcdata-dynbegin = 'X'.
              APPEND bdcdata.
              CALL TRANSACTION 'XK03' USING bdcdata MODE 'E'.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.  " get_user_command
    regards,
    sudha

  • Call transaction skip first screen and fill a field

    Hi,
    I have got a requirement where need to call transaction VA01 by filling the fields on the first screen like order type, sales area using set parameter IDs and need to skip first screen. There is additional requirement apart from this where I need to fill the field 'Proforma' with some value 'X' in the header 'Additional data A' while calling transaction VA01.
    Is there any shortway to do this without using BDCdata?
    Thanks
    SD

    Hi,
    I had this kind of requirement earlier. But in my case I need to pre populate several values and then show the screen for user input. Here is my suggestion for you. Follow below code for filling BDC DATA internal table and call transaction in "E" error mode. This should show the screen finally for user input. In this code find for "?" and replace it with your field name and field value.  Remember to check validity of screen # and names with you system.
    Thanks,
    Amara.
    Moderator message - Please respect the 5,000 character maximum when posting. Post only the relevant portions of code. Do not use code tags to format text
    Edited by: Rob Burbank on Dec 22, 2010 6:08 PM

  • 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 on workflow task

    Hello, I'm developing  a workflow with a user decison step, where the user should fill some data in transaction FD02.
    When the user presses the button in the workitem, the wf goes to a step where i should call transaction FD02.
    I'm using SET PARAMETER ID: 'KUN' FIELD customer.  to fill the customer field and CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.
    But when I press the button in the workitem nothing happens. I tested the same in a report and it works. Can anybody help me?
    Thanks a lot.

    Hi,
    try below code
    data: fcode type FCODE value 'ANTRAGAEN',
           customer type kunner,
           bukrs type bukrs.
    SET PARAMETER ID  'KUN' FIELD customer. "  to fill the customer field
    SET PARAMETER ID  'BUK' FIELD companycoder. " to fill the company code
    SET PARAMETER ID  'TTC' FIELD fcoder.       " to fill Function code for enter " it may be other than TTC please check.
    CALL TRANSACTION 'FD02' AND SKIP FIRST SCREEN.

  • 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]

  • Call transaction VA01 or VA03 and skip first screen using Web dynpro

    Hello Experts,
    I am calling the standard transactions using Web dynpro via ITS.
    I am able to reach to the initial screen of the standard transactions say VA03 and populate the sales order number through Web dynpro.
    My requirement is to skip the first screen of the transaction.
    I tried passing the screen number in the URL link but still it is showing the initial screen.
    Please suggest me solution for this.
    Thanks and Regards,
    Rahul Sinha

    Hello Rahul,
    Did you follow the ITS Wiki article?
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375
    Edgar

Maybe you are looking for

  • Getting error after enabling the Transaction in SSIS package in Windows Server 2008 R2 Standard machine

    Hi, I created a package with "Execute SQL Task and Data Flow Task". I am able to execute successfully in my server having "Windows Server 2008 R2 Standard" Operating System. But after enabling the Transaction in my SSIS Package I am not able to execu

  • Photos when published have the colours washed out

    I'm using iWeb 09. This didn't happen with 06 but whatever I do to process photographs before sticking into iWeb 09, when the site is published all the colours are washed out. I use Photoshop CS to get photographs suitable for websites using "Save fo

  • Word forward & backward reverse

    i have problem in most word files "its happen in word 2007,2010,2013" when I press forward arrow go backward or when press backward arrow go forward. I don't know how to fix it.

  • Using NI-CAN in TestStand

    Hi, I have a requirment for writing TestScript to test NICAN in TESTSTAND. I tried with the .lib file in NICAN driver but am getting "parameters not recagonized" error.and i need to add the varibles manually. NI can has many complex structures,which

  • Error when deploying (eclipse/tomcat)

    hello people, i need a little help with an application i am deploying from eclipse using tomcat plugin. if anybody came across this before and solved it, ploease help SEVERE: Error configuring application listener of class org.springframework.web.con