ALV Interactive -Problem while calling transaction

Hi Experts,
FORM user_command USING cmd TYPE sy-ucomm
                        self TYPE slis_selfield.
CASE cmd.
      WHEN '&IC1'.
     READ TABLE gt_output INTO gs_output INDEX self-tabindex.
        IF self-fieldname = 'VBELN' and gs_output-vbeln is not initial.
       SET PARAMETER ID 'AUN' field gs_output-VBELN.
       call transaction 'VA23' AND SKIP FIRST SCREEN.
     ENDIF.
ENDCASE.
ENDFORM.
But in the above code my parameter id value is not properly fixed. Could anybody suggest me how I can fix my parameter id based on user selection so that I can call the desired transaction.
Regards,
Neha

hi,
SET PARAMETER ID <pid> FIELD <f>.
This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
in your statement check the id, if it is not available you can create id and store the field value.
for more information, follow this link.....
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9e0435c111d1829f0000e829fbfe/content.htm
regards,
Ashok

Similar Messages

  • 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

  • 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

  • Problem while calling subroutines in ECC 6.0 version

    Hi, here is some problem can you please try to solve.....
        I have created three forms TOP_OF_PAGE,DOC_DISPLAY,END_OF_LIST and i have called them by passing to wa_events-form. Up to this every thing is fine, the problem is i am working witth ECC 6.0  so while doing Extended program check through SLIN it is giving some waring like
    "FORM DO_DISPLAY_AT_USER_COMMAND not called directly
    (check dynamic PERFORMs!!) " for all the three forms which i have created...Please help me out to over come this warning... For ur reference i am giving some code as mentioned below.......
    LOOP AT i_events into wa_events.
        CASE wa_events-name.
          WHEN slis_ev_top_of_page.
            wa_events-form = 'TOP_OF_PAGE'.
          WHEN slis_ev_end_of_list.
            wa_events-form = 'END_OF_LIST'.
          WHEN slis_ev_user_command.
            wa_events-form = 'DOC_DISPLAY_AT_USER_COMMAND'.
        ENDCASE.
        MODIFY i_events from wa_events.
      ENDLOOP.
    ENDFORM.                               " INIT_ALV_EVENTS
    *&      Form  DOC_DISPLAY
    FORM doc_display_at_user_command USING p_ucomm    LIKE syst-ucomm
                                     p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN '&IC1'.
          CLEAR i_out.
          READ TABLE i_out into wa1_out INDEX p_selfield-tabindex.
          IF sy-subrc EQ 0 .
            IF wa1_out-belnr EQ space.
              MESSAGE e016(kb).
            ELSE.
              SET PARAMETER ID 'BLN' FIELD wa1_out-belnr.
              SET PARAMETER ID 'BUK' FIELD wa1_out-bukrs.
              SET PARAMETER ID 'GJR' FIELD wa1_out-gjahr.
              CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                    "DOC_DISPLAY_AT_USER_COMMAND
          FORM TOP_OF_PAGE                                              *
    FORM top_of_page.
      PERFORM std_header in program zstandrt
                           USING sy-cprog sy-title 'L' '1' ' ' 'confidential' 'restricted'.
    ENDFORM.                    "TOP_OF_PAGE
          FORM END_OF_LIST                                              *
    FORM end_of_list.
    Begin of V04 comment  >***********************************
    IF W_BDC_SESSION EQ 'X'.
      SKIP 2.
      IF P_NOUPD EQ 'X'.
        FORMAT COLOR COL_POSITIVE.
        WRITE :/20 ' Created BDC session : '(O02) , P_GROUP.
        WRITE :/25 ' Execute Using tcode SM35 ....'(O03).
      ELSE.
        FORMAT COLOR COL_NEGATIVE.
        WRITE :/20 ' Created BDC session For Error Transactions'(O04) ,
                     P_GROUP.
        WRITE :/25 ' Execute Using tcode SM35 ....'(O03).
      ENDIF.
      FORMAT COLOR COL_NORMAL.
    ENDIF.
    SKIP 2.
    End of V04 comment   >************************************
      WRITE :/50 ' *** END OF REPORT *** '(o01).
      PERFORM print_selections.
    ENDFORM.                    "END_OF_LIST
    Thanks & Regards.
    Laxman.P
    B'lore.

    Hi
    Are you getting the output or not?
    You can just ignore this warning in EPC
    as this FORM USER_COMMAND  is always called indirectly only
    But check the Output and see?
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Problem with CALL TRANSACTION  SKIP FIRST SCREEN

    Hi Experts,
    I am having a functionality where in if i click the hotspot i go the specified transaction..I am able to do that using --
    CALL TRANSACTION 'CAA3' AND SKIP FIRST SCREEN
    Now if i press the back button on the standard transaction i am coming to the first screen of the CAA3 transaction..
    Can i come back to my original ALV display instead of coming to the first screen of the CAA3 transaction which i have skipped while going there..
    I have searched in all forums. But i couldn't get the proper solution.
    Please Help me !!!
    Regards,
    Rajesh

    Hi friends,
    What do you think the results?
    I used alv hotspot.
    FORM user USING  r_ucomm LIKE sy-ucomm rs_selfield
                              TYPE slis_selfield .
       READ TABLE gt_alv INTO gs_alv INDEX rs_selfield-tabindex.
       IF rs_selfield-fieldname EQ 'BELGE'.
         SET PARAMETER ID '80B' FIELD gs_alv-belge.
         CALL TRANSACTION 'FPE3' AND SKIP FIRST SCREEN.
       ELSEIF rs_selfield-fieldname EQ 'GPART'.
         SET PARAMETER ID 'BPA' FIELD gs_alv-gpart.
         CALL TRANSACTION 'FPP3' AND SKIP FIRST SCREEN.
       ELSEIF rs_selfield-fieldname EQ 'VKONT'.
         SET PARAMETER ID 'KT0' FIELD gs_alv-vkont.
         CALL TRANSACTION 'CAA3' AND SKIP FIRST SCREEN.
       ENDIF.
    FPE3 and FPP3 is running. But CAA3 is incorrect.
    is the correct answer enhancement ?

  • 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 in call transaction

    Hi,
    I have a requirement in which i have to send transaction number from the ALV report program to CRMD_ORDER transaction.The problem is that i do not have to send the record to the main screen of transaction CRMD_ORDER.A pop up will be opened (on pressing a button open business transaction in CRMD_ORDER ) in that pop up i need to send my transaction number.Please suggest me how to fix the problem

    Hi Mukesh,
    Here is the solution for your problem.
    1. You need not open the dialog box for entering the Transaction Number.
    2. Have a field which corresponds to the OBJECT_ID(Transaction Number)in your internal table containing data to be displayed in the ALV grid.
    3. Implement the double click event for the ALV Grid.
    4. Capture the ROW-ID and corresponding transaction number.
    5. Get the corresponding GUID for the transaction number from CRMD_ORDERADM_H.
    6. Call 'BAPI_BUSPROCESSND_DISPLAY' passing GUID retrieved from step 5. It will take you to the CRMD_ORDER transaction with the corresponding transaction opened.
    Refer the code below for your ref.
    In the double click event of the ALV Grid write the following code.
    *&      Form  double_click
    *       Double click for ALV.
    *      -->xt_output     Output Table for ALV
    *      -->xv_row        Row Information
    *      -->xv_column     Column Information
    *      -->xv_row_no     Row Number
    FORM double_click  TABLES   xt_output STRUCTURE wa_activity_data
                       USING    xv_row     TYPE      lvc_s_row
                                xv_column  TYPE      lvc_s_col
                                xv_row_no  TYPE      lvc_s_roid.
      DATA: wa_output LIKE LINE OF xt_output.
      Data: lv_transaction_guid type CRMT_OBJECT_GUID.
    *Binary Search not required, index is known
      READ TABLE xt_output INTO wa_output INDEX xv_row_no-row_id.
      IF sy-subrc EQ 0.
      select object_id
      from CRMD_ORDERADM_H
      into lv_transaction_guid
      where object_id = wa_output-transaction_no
    *Takes to the CRMD_ORDER transaction of the passed transaction GUID
        CALL FUNCTION 'BAPI_BUSPROCESSND_DISPLAY'
          EXPORTING
           business_process       = lv_transaction_guid
    *     TABLES
    *      RETURN                 =
        IF sy-subrc <> 0.
          MESSAGE ID gc_msg_class
                      TYPE 'S'
                      NUMBER gc_msgno_068
                      DISPLAY LIKE 'E'.
          flg_err = gc_x.
          EXIT.
        ENDIF.
      ENDIF.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra
    Message was edited by: Amit Mishra

  • Problem while Calling a CGI pgm From Java with code sample

    Hey guys,
    I am calling a CGI program from java servlet, while calling cgi program I am passing encoded(Base64) content via post process,
    My problem is the encoded data is not posted as expected, the encoded data is corrupting. But when I send encoded data in a text file, cgi program is perfectly decoding and working fine.
    Here I am doing Base64 encoding as per requirement, I cannot avoid this encoding.
    My doubt is about OutputStreamWriter constructor argument , In OutputStream Constructor I am passing one argument is OutputStream object and another argument is encoding type. I tried with ASCII, US-ASCII & UTF-8 .
    My code is as follows, please help me to resolve this issue.
    URL url = new URL("CGI server path");
    URLConnection urlConnection = url.openConnection();
    urlConnection.setDoOutput(true);
    OutputStream os = urlConnection.getOutputStream();
    BufferedOutputStream buffer = new BufferedOutputStream(os);
    OutputStreamWriter  writer = new
                                                   OutputStreamWriter(buffer, "US-ASCII");
    writer.write(encodedPDF-Content);
    writer.write("\r\n");
    writer.flush();
    writer.close();
    here encodedPDF-Content is String and it's size is 9565 bytes

    Whenever you read something in java into string (with Reader implementation) it expects source to contain text in encoding you specified. It then decodes it and makes 16 bit unicode string from it. Whenever you store string using Writers it does reverse operation with specified encoding (may be different than this which you used to read source) and stores text as a sequence of bytes made of 16 bit unicode string. So, passing text back and forth between programs with the help of files or I/O you can make mistake at both reading and writing encoding. Check for it.
    Now, when C programm or other application reads file it may take another assumptions about encoding or may even completly ignore it and read source as a binary file. Then, if you have a source text as a file and have to pass it to other application never do it using Reader/Writer. User raw InputStream/OutputStream instead what will preserve all information unchanged.
    here encodedPDF-Content is String and it's size is 9565 byteHow id you get this info? String.length() gets you how many chars is in it, it will be half the number of bytes. If you see your input file beeing 9565 bytes long, see my above statements.

  • Problem with Call Transaction

    hello,
    i am doing call transaction to ME41 in mode 'A' (visible). The problem is when it go to screen SAPLMLSP 0200, in this screen stop call transaction, no error, no okcode, no data,..why?
    thanks,
    regards,

    Hi,
    Please check your BDC Program. i think you are not done the recording for that screen. Pleae do the recording one more time and check the program.
    Thanks,
    Venkat

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

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

Maybe you are looking for