Problem in call transaction using FD33 t code

Hi all i'm developing a report in that in that i'm calling a tcode FD33.
I want to skip the initial screen.For that i need to pass Customer , Credit control area and status from my program to that tcode.
But my problem is that how to pass the value to check box.
i.m writing the following code
   "Set parameter ID for transaction screen field
        SET PARAMETER ID 'KUN' FIELD W_ALV-KUNNR.
        SET PARAMETER ID 'KKB' FIELD W_ALV-VKORG.
       "Execute transaction FD33, and skip initial data entry screen
        CALL TRANSACTION 'FD33' AND SKIP FIRST SCREEN.
So how to set the value of the STATUS check box.
thanks in advanced.
Dheeraj

use:
data: dynnr(40) value '/210'.    "or number of another dynpro you wish to go
SET PARAMETER ID 'CDY' FIELD dynnr.
A.

Similar Messages

  • Commit work statement creating problem in CALL TRANSACTION

    Hi Friends,
    we are facing a problem where we need to call a standard program from a  Zprogram.
    we have tried the following ways.
    1. Using SUBMIT statement , we are sending the parameters to the standard program, but when the standard program gives a  
        dump our program cannot process further records. we are calling the submit statment in a loop. As because the standard
        program is giving dump our program is not able to process the next record in the loop and this should not be the case.
        To avoid this we have used the second method.
    2. we used a CALL transaction, we have created a Tcode for the standard program and called this transaction in the calling
        program. We are passing the parameters for the  standard program via BDC table. this works fine even when  the standard
        program gives a dump but when ever the control   comes across a Commit work statement the the control comes back to our
       calling program with out executing the rest of the   statments after the commit.
    now our concern is even though there is an commit work statement , statements after the commit work should also get executed in call transaction. Is thee any way?
    Regards,
    Sravan

    Hi All,
    I got the solution
    DATA: ctu_parameters TYPE ctu_params.
    ctu_parameters-dismode = 'E'.
    ctu_parameters-updmode = 'A'.
    ctu_parameters-racommit = 'X'. "No abortion by COMMIT WORK
    CALL TRANSACTION USING itab_bdcdata OPTIONS FROM ctu_parameters.
    the above code will work even if there is an commit work . This might help some others.

  • Problem with call transaction KKS2

    Hi all,
    I am using call transaction method for KKS2 for variance calculation but it is not working.
    Could you please let me know what can be the reason ? also do we need to use commit work after call transaction ?
    Regards,
    Anubhuti

    HI ,
    It's not working means, are you getting any error?
    Did you refresh your BDCDATA internal table?
    check the syntanx for call transaction. Paste  some code for better understanding. so that it l be easy to resolve the issue.
    Regards,
    Pravin

  • Message type in BDCMSGCOLL Structure in Call transaction using BDCDATA

    Hi,
    We are facing issue while capturing message in BDCMSGCOLL structure in Call transaction using bdcdata. The message which are like
    Message 'Message Text' Type 'S' Display LIke 'E' .
    This message is captured as Success on the Message structure instead of error & user are asking to update it as Error as it is looking like Error message to the end user.
    Please provide resolution to the issue.
    Regards,
    Kapil

    Hi Venkat,
    I am not doing any upload, i am just doing a replay of the transaction ME21 & in that there are many error message which encounter while creating a PO but when i have check the logic , they are basically a success message which are display like Error so when i have called ME21 transaction using below statement
    call transaction ME21 using BDCDATA
                                            into messages bdcmsgcoll.
    I am getting the message as success only since the message are of type success but as they are display like E , so user want that in msgcoll structure these messages must be shown as Error.
    Regards,
    Kapil.

  • Problem with CALL TRANSACTION 'VA33' with PARAMETER ID 'AUN'

    I started to post this as a problem, but stumbled into the solution while testing further.  Since I didn't find a solution in the SDN.SAP Forums I'm entering this to help others who may have the same problem.
    This code would not work:
          SET PARAMETER ID 'AUN' FIELD sy-lisel(10).   "sy-lisel(10) contains the Scheduling Agreement on the selected line of the report.
          CALL TRANSACTION 'VA33' AND SKIP FIRST SCREEN.
    It would go to Transaction VA33 but would always default to the last Scheduling Agreement accessed manually instead of the one I needed to see via this call.
    When I change the transaction to VA03 it works:
          SET PARAMETER ID 'AUN' FIELD sy-lisel(10).
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    We can not access a Scheduling Agreement from VA03 on-line, but for some reason this call displays the correct S/A, and System Status says it is running transactin VA03. 
    Perhaps it is because we are using a custome Order Type for Scheduling Agreements (YALZ)?
    Best wishes to our SAP friends.

    Hi,
    VA33 is for schedulinng Agreement so use..
    SET PARAMETER ID 'LPN' FIELD sy-lisel(10).
    AUN - Order number
    LPN - Scheduling agreement number
    now it works..
    Regards,
    Sathish Reddy.

  • Problem with call transaction and a query

    Hi,
    Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103"  within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.
    The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.
    Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras.
    This is the recording:
    AQZZZ_USER_GRMA=Z_QUERY_PP_003     1000X                                                                                BDC_CURSOR     SP$00002-LOW
                                                                BDC_OKCODE     =CRET
                                                                S_WERKS-LOW     1202
                                                                SP$00002-LOW           3994
                                                                %ALV     X
    this is the code in the INCLUDE
    *&  Include           ZXCOFU13
    DATA: itbdcdata TYPE bdcdata    OCCURS 0 WITH HEADER LINE,
          optoption TYPE ctu_params.
    REFRESH itbdcdata.
    CLEAR   itbdcdata.
    itbdcdata-program  = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.
    itbdcdata-dynpro   = '1000'.
    itbdcdata-dynbegin = 'X'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_CURSOR'.
    itbdcdata-fval = 'SP$00002-LOW'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_OKCODE'.
    itbdcdata-fval = '=CRET'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'S_WERKS-LOW'.
    itbdcdata-fval = '1202'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'SP$00002-LOW'.
    itbdcdata-fval = caufvd_imp-rsnum.
    APPEND itbdcdata.
    itbdcdata-fnam = '%ALV'.
    itbdcdata-fval = 'X'.
    APPEND itbdcdata.
    CLEAR optoption.
    optoption-dismode = 'A'. "A is visible
    optoption-updmode = 'S'.
    CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

    problem solved.

  • Problem with Call Transaction opt-RACOMMIT = 'X'.

    Hello Experts
    I am having a problem with call transction. I am calling a Z transaction in function module. Within the Z transaction I am furhter calling some function modules and doing commit work and then some more processing  after the comit work inside  So to make sure the code after comit work is fired I am using opt-RACOMMIT = 'X' in call transaction. Whenever I set this parameter opt-RACOMMIT = 'X' call transaction fails and gives error saying No batch Input data for screen XXXX. However the Z tcode processed succesfully.
    By changing the Mode to E i found that it remians at the last screen of call transction after executing the Z transaction and never comes back 
    But if I donot use RACOMMIT = 'X'  everything is fine. Please let me know if anyone came across such problem. Any help will be apreciated.
    Thanks,
    kamal

    Hello,
    as you said, if there is more than commit statement in your ztransaction, then you should put RACOMMIT to 'X'.
    I think the problem is in your bdcdata: change it to be sure to get back to the 1st screen of your ztransaction. Then, at this point (1st screen) hit "back" button.
    Cordialement,
    Chaouki

  • Problem in event handling using oo abap code

    Hi,
    My requirement is i need to disply 3 blocks in ALV format.I have done that.Now my problem is if i double click on aufnr of the first block, it should call the transaction code. I have written the code in oo abap but i have used function modules for ALV.Now my doubt is 'How to write an event  once the user double click on the particular field of the first block, it should call the tcode " using object oriented code.
    How to populate the heading for each block using oo abap code.
    Thanks & Regards
    Anus

    hi.....
    Use Double_click event handler method of class cl_gui_alv_grid of first block....
    if not solved .
    Send me Your program lines ...........
    Best Regards
    Prabhakar

  • CALL transaction using generic user.

    Hi experts,
    I have a   CALL TRANSACTION, which code is: 'ME54' USING BDC_TAB MODE 'E' UPDATE 'S'.
    I have previosly defines the BDC_TAB. Is is a backgroud process executes with an event. The sy-uname there is the same as the user that has lauched the event. I want this to be executed with a generic user, example GENUSER instead of the one that really launches the event.
    ¿Is this possible?
    Thank-you very much,
    Artur.

    Hi,
    The only way I can think of at the moment is to extract your CALL TRANSACTION into a separate self-contained program (which it may already be looking at your post).  Then use FM JOB_OPEN, JOB_SUBMIT (changing the parameter AUTHCKNAM to you generic user) and JOB_CLOSE (with STRTIMMED = abap_true).
    This obviously gives rise to other problems such as knowing when the job finished etc but this depends on your overall design and if this is important or not.
    Looking at your overall process this does not sound like a problem.  Simply change the background job step for the event - have it call a new program to perform the JOB* FM steps instead which calls your original program that was registered against the event.
    Thanks,
    Pete

  • 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

  • Problem with CALL Transaction syntax

    Hi All,
    I have created  a report in which Im displaying Sales order, planned order n production order details.
    In the output if the user double clicks, anyone of the sales order/planned order/production order no, it has to take to concern transaction.
    Sales order and planned order are perfectly working.
    problem is with production order, it is not displaying, the exact order no.
    my code:
    WHEN '&IC1'.
          IF rs_selfield-fieldname = 'VBELN'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex
            SET PARAMETER ID 'AUN' FIELD wa_final_so-vbeln.
            CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'PLNUM'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'PAF' FIELD wa_final_so-plnum.
            CALL TRANSACTION 'MD13' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    In debugging I checked, after call transaction, the system executing the following code, here CAUFVD-AUFNR is initial.
    So, it has been picking some different no.
          Starten Batchrezept über Einsatzplanung - DO-THANH
      MODULE GET_PARAMETER OUTPUT.
        IF CAUFVD-AUFNR IS INITIAL.
          GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
          IF NOT *CAUFVD-AUFNR IS INITIAL.
            CAUFVD-AUFNR = *CAUFVD-AUFNR.
          ENDIF.
        ENDIF.
      ENDMODULE.                             " GET_PARAMETER  OUTPUT
    Pls help me how to resolve the above problem.
    Valuable suggesstion will be highly appreciated.
    regards,
    Priya

    Hi,
    Note that the code as different Parameter id
    you are setting the parameter 'ANR'
    SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
    Where as in that method it is reading the parameter id 'BR1'
    GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
    so try by setting  the 'BR1' in set parameter.
      ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    Regards,
    Kiruba.

  • Problem with "Call Transaction" which calls a view cluster

    Hi Colleagues ,
    I have a rare issue with the call transaction , here is the use case for it :
    1> I call a transaction(calls a screen X) in a report ,
    2> I have a button in the screen , which calls another transaction(calls a screen X2) .
    3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
    problem :
    i'm not able to see the navigation pane in the view cluster on the left. its missing .
    but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
    My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
    please answer the thread , i have to fix this ASAP.
    regards,
    Dilip

    problem solved.

  • Problem with Call transaction method in function module

    Dear Frndz,
               I am converting its services into webdynpro.
               I developed a rfc[function module] for travel management [TRIP] . In that rfc i used call transaction method[BDC] to upload the data. The same rfc will be called from the frontend[portal].It is working fine in development for whome se37 execution authorization was assigned. It is not working for other users.  I hope it is something relevant to authorization .If suppose can i create a authorization  object for this rfc and assign it to the profile.
            Normally  users can be given authorization to run the tcode.
    similarly i want to give the authorization to be given users to execuste this funtion module.
    huv can i do it ?? any suggestion.
    Rgds.
    siva

    Use ST01 transaction to start authorization trace, you will then see what authorizations are missing (if your assumption is right of course, i.e. if it's really an authorization problem)

  • Hi Problem in call transaction program of FB60

    Hi Techies,
    in my call transaction program for FB60 compnay code is defaulted in the initial screen.Every time i need to post different records with the different company codes.
    when i record the company code change in FB60 through SHDB once i chnage the company code it is coming out of the recording.
    pls let me know how can i continue FB60 transaction once i change the company code for further processing.
    and let me know and logic to handle the compnay code when it is defaulted in FB60.
    Thanks in advance
    Krishna D

    Hi,
    Try this code and cross check with urs.
      CASE SY-UCOMM.
        WHEN '&BATCH'.             "Batch Field
          PERFORM F1000_BDC_MM03 USING LV_MATNR LV_WERKS.
    endcase.
    FORM F1000_BDC_MM03 USING    P_LV_MATNR
                                 P_LV_WERKS.
      PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '4110'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=GESV'.
      CALL TRANSACTION C_TRANSACTION_CALL_MM03 USING I_BDCDATA MODE 'E'
      MESSAGES INTO I_MESSTAB.
    ENDFORM.                    " f1000_bdc_mm03
    &----&      Form  bdc_dynpro
    &----  Appending the BDC dynpros to internal table BDCDATA
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR W_BDCDATA.
      W_BDCDATA-PROGRAM  = PROGRAM.
      W_BDCDATA-DYNPRO   = DYNPRO.
      W_BDCDATA-DYNBEGIN = 'X'.
      APPEND W_BDCDATA TO I_BDCDATA.
    ENDFORM.
    DATA:  I_BDCDATA TYPE STANDARD TABLE OF BDCDATA,
    Internal table to hold BDC messages
           I_MESSTAB TYPE STANDARD TABLE OF BDCMSGCOLL.
    &----&      Form  bdc_field
        Appending the BDC FIELDS to internal table BDCDATA
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> NODATA.
        CLEAR W_BDCDATA.
        W_BDCDATA-FNAM = FNAM.
        W_BDCDATA-FVAL = FVAL.
        APPEND W_BDCDATA TO I_BDCDATA.
      ENDIF.
    ENDFORM.
    Tahnks & Regards,
    Judith

  • Problem in call transaction in interactive ALV

    Hi All
    I am displaying ALV report.
    I want to make it interactive. After clicking on REFBN (COBK-REFBN) it should open FB03 transaction.
    I am using followng code:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                = sy-repid
       I_CALLBACK_USER_COMMAND            = 'USER_COMMAND'
      I_STRUCTURE_NAME                  =
      IS_LAYOUT                         =
       IT_FIELDCAT                        = it_fieldcat
      TABLES
        T_OUTTAB                          = it_final
    EXCEPTIONS
       PROGRAM_ERROR                      = 1
       OTHERS                             = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM USER_COMMAND USING F_UCOMM LIKE SY-UCOMM
                    RS_SELFIELD TYPE SLIS_SELFIELD.
               READ TABLE it_final INDEX rs_selfield-tabindex INTO wa_final.
        CASE F_UCOMM.
            WHEN '&IC1'.
    IF wa_final-refbn is not initial.
              SET PARAMETER ID 'BLR' FIELD wa_final-REFBN.
              CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
            ENDCASE.
    ENDFORM.
    This code is not working. When I am double clicking on the REFBN field in my report nothing is happening.
    Please help.
    Thanks & Regards
    Deepti

    Hello,
    Try the below code
    " while building the field catalog set the field HOPSPOT for the field REFBN
    data: w_repid type syrepid.
    w_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_callback_user_command = 'USER_COMMAND'
    it_fieldcat = it_fieldcat
    TABLES
    t_outtab = it_final
    EXCEPTIONS
    program_error = 1
    others = 2.
    IF SY-SUBRC = 0.
    ENDIF.
    FORM user_command USING f_ucomm LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
    CASE f_ucomm.
    WHEN '&IC1'.
       IF rs_selfield-value IS NOT INITIAL.
         SET PARAMETER ID 'BLR' FIELD rs_selfield-value.
         CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
       ENDIF.
    ENDCASE.
    ENDFORM.
    Hope this helps you.
    Regards,
    Sachinkumar Mehta

Maybe you are looking for

  • Using a array in SQL in

    Hello experts, I got a procedure that accepts a list of clients. From that list I need to build a query that looks like this select *   from customers where customer_id in (i_customer_list);Where i_customer_list is the input parameter of a procedure

  • Fixed Column Number CSV variable? How to parse

    I have the following variable that is a result of a cfexecute that I would like to populate into a database. There doesn't appear to be a Line Feed but there are only three columns. My question is how can I accomplish parsing the 1st value as Column

  • Example of calling utl_http command on trigger

    I am generating trigger on oracle 11g db table,on trigger i want to communicate to other linux machine.Can any one provide me running example of utl_http command,so that i can refer it? thanks in advance

  • Failover To Physical Standby Database

    We have 3 node RAC 11.2.0.3 Primary database data guarded to a 3 node RAC 11.2.0.3 Standby database. There is an activity scheduled to perform some of order extracts in the database which is going to result in a lot of changes. Currently the discussi

  • Invalid Orders displayed in DSPB

    Hi, We are facing an  issue in the DS plannign board. Issue is the orders with invalid PDS are displayed in the DSPB. For a Product Prod1 planned order is created and start date is 06.08.2013 and available date is 31.10.2014. we have 3 PDS with diffe