Call transaction can be executed in SERVER proxies

Hi Experts,
Can any one pls let me know whether we can execute the call transaction in Server side proxies.
The scenario is File - Proxie - File .
Regards
Santosh.

Hi Sivan,
You are calling a report in server proxies and from report you can call transactions. So it is possible
Never tried though, you can try calling it.
Are you trying to call any BDC?
Regards
Suraj

Similar Messages

  • CALL TRANSACTION won't execute report, keeps returning to program

    Good day to you!
    I have the following code:
      CALL TRANSACTION 'FPO4' USING bdcdata
                              MODE   'A'.
    The last line in my bdcdata is to simulate pressing the Execute button (OK_CODE = '=ONLI').  However, instead of running the report that FPO4 is supposed to generate, it just comes back to my program and its selection screen.
    Please note that although I am populating data on FPO4's native Selection Screen, I am also populating data on a special "predefined selection," so using a simple SUBMIT has never been an option to me.
    Does anyone know how I can get FPO4 to actually execute vs. coming back to my program?
    Thanks -- as always, points for all helpful answers!

    Before calling the call transaction, put a dummy screen of the report output
    ' ' 'OK_CODE' '=ONLY'.
    *This screen name nad number should come in the SHDB recording..
    *Don't assing any OK_CODE to that screen
    Perform screen 'X' 'SAPMSSY0' '0120'.   "<< it should be your reports screen
    CALL TRANSACTION 'FPO4' USING bdcdata
    MODE 'A'.
    Actually, I dont' have this transaction in my systm otherwise I should able to give you exact screen name and number.
    Regards,
    Naimesh Patel

  • Call transaction in abap server proxy

    Hallo
    We have a problem with one of our server proxys.
    Scenario: SAP - backend system
    The functionality implemented is the creation of a service notification
    (IW51). The creation is made using batch input/call transaction and is
    capsuled in an function module. In case of error by creation, the
    message table will be read and a application error will be raise.
    In the implementation of the proxy class the function module will be called
    and the exceptions will be read and put in the response.
    In case of success by the creation of the notification, everything is working ok.
    In case of error in the call transaction, we will receive a "server
    error" in XI, even if the error is catched and treated. In the trace we can see the error message from the call transaction, even if we do not send these messages in our response anymore.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html> <body> <H1> 500 SAP Internal Server Error </H1> <B> Error message: </B> Counter reading smaller than in previous document 10000009340 ( <B> type of termination: </B> ERROR_MESSAGE_STATE ) <BR /> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description Internal Server Error XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Ex: if by call transaction we have at the end 2 messages ( first W and second E) , we will see in the tracing in XI the second message ( so the error one ).
    In the backend system (SAP), under sxmb_moni the message in question has the status : "green flag".
    We used the same way of implemenation for all our interfaces. The only difference is that we are now using a batch and not a bapi or SAP function module for objects creation.
    Has someone any idea? . Any suggestion will be really helpful.
    Thanks.
    Anca

    Hi Udo
    My response has the following structure:
    notification nr
    + 3 fields: message type (E,W,I,S,A)
                message nr
                message text
    In case of error I should receive this filled structure and not a internal service error.
    When I am testing the class in SAP is working very good.
    Proxy Class implementation:
    CALL FUNCTION 'Z_B2_CREATENOTIFICATION1'
      EXPORTING
        P_SERNR              = i_sernr
        P_MATNR              = i_matnr
        P_CDGRP              = i_cdgrp
        P_CODE               = i_code
        P_KUNAG              = i_kunag
        P_DATE               = i_data
        P_COUNT              = i_counter
      P_NTYPE              = 'Z7'
      P_VKORG              = '2730'
      P_VTWEG              = '20'
      P_SPART              = '10'
      P_PARVW              = 'AG'
      P_NAME               =
        P_EMAIL              = i_email
    IMPORTING
       E_QMNUM              = e_qmnum
       e_return             = e_error
      TABLES
        T_SPARES             = t_spares
    EXCEPTIONS
       EQUI_NOT_FOUND       = 1
       ERROR_EMAIL          = 2
       MEAS_POINT           = 3
       ERROR_NOTIF          = 4
       OTHERS               = 5
    output-MT_CREATE_NOTIFICATION1RESPON-returncode = sy-subrc.
    case SY-SUBRC.
    when 1.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'equi'.
    when 2.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'error email'.
    when 3.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'meas point'.
    when 4.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'notification'.
    when 5.
    data mess type ZB2_EXCHANGE_FAULT_DATA22.
          mess-fault_text = 'others'.
          raise exception type ZB2_CX_FM_CREATE_NOTIFICATION1
                 exporting standard = mess.
    endcase.
    output-MT_CREATE_NOTIFICATION1RESPON-qmnum = e_qmnum.
    data out_return type ZB2_DT_RETURN2.
    IF e_error-type is not initial.
    out_return-type = e_error-type.
    out_return-number = e_error-number.
    out_return-message = e_error-message.
    append out_return to output-MT_CREATE_NOTIFICATION1RESPON-DT_RETURNS.
    endif.
    Regards,
    Anca

  • Calling FI Validation Rules in BPM server through call transaction

    I m trying to call FI validation rules through call transaction (for FBV0) in BPM server but in the messages table of call transaction it does not gives us the validation rules error messages while when i run manually the transaction in R/3 system i get the validation error messages. So please tell how i can get these validation error messages when called through BPM server.

    Hi madhvi,
                       You are using jtab within the form.. i dont think you can use it directly inside ur FORM sub1 without declaring it or without passing it. and it will give you the syntax error.
    and please send me the step by step code you have written in editor so that i can check it and can reply you with proper solution'
    Thanks ,
    Prasanna

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

  • How to create bdc for fbs1 using both call transaction and session

    Hi Friends,
    i have one problem with tcode FBS1, i need to create a bdc program for both call transaction and session method using subroutine.
    first call transaction needs to execute if there is an error sesion has to execute. if u have code please forward.
    thanks in advance.
    chandramouli pothugunta

    where as in call transaction we can do error handling explictly.those errors  are stored in one file .this file will send to the error log(session method),i.e session log.
    in the above case we use both call transaction n session method at time in one program.sample code is below ,go through it .
    data : begin of itxk01 occurs 0,
    end of itxk01.
    data : bdcdata like itbdcdata occurs 0 with header line.
    data : itbdcmsgcoll like itbdcmsgcoll occurs 0 with header line,
             itxk01 like itxk01-dup occurs 0 with header line.
    call gui-upload.
    loop at itxk01.
    refresh itxk01.
    perform bdc-dynpr0 using 'prg' 'scr'
    perform bdc-dynfld using fnam fval
    call transaction 'xk01' using bdcdata mode 'a' update 's' messages into itbdcmsgcoll.
    if sy-subrc ne 0.
    append itxk01 into  itxk01-dup.
    endif.
    endloop.
    if not itxk01-dup[] is initial.
    refresh itck01.
    call bdc_open_group
    itxk01 = itxk01-dup.
    loop at itxk01.
    refresh itxk01.
    perform bdc-dynpr0 using 'prg' 'scr'
    perform bdc-dynfld using fnam fval
    call bdc-insert.
    endloop.
    call bdc-close-group.
    form bdc-dynpr0 using pr sc
    endform .
    form bdc-field  using fnam faval
    endform.
    this will help u.
    reward points for me
    kiran

  • FWZE transaction , call transaction is not working as 4.6C (TR-TM)

    Hi ,
    After upgrade from 4.6C to ECC 6, the call transaction  statement is behaving different.
    We are using a custom program in which we are calling the standard transaction FWZE .
    In 4.6C ,After carrying out posting, when we click back, the next statement after 'CALL TRANSACTION' is getting executed. But in ECC 6 after carrying out posting in FWZE if we click back it is going to
    SAP ACCESS initial screen and it is not resuming to the next point. Please tell us why it is not happening in ECC 6. If only the execution comes back to the custom program then we have the
    functionality of clearing the document.
    Also please tell us if we could use any enhancement or BADI in Standard transaction FWZE to resume
    to the calling point after posting.
    Thank You,

    Hi Vadamalai,
    mode 'P' is no proper vmode for a production system. No normal user should found himself stoppping at a break-point in debugger in any transaction. Please check, if the issue remains after changing the vmode to n.
    Is there really a break-point (maybe in a userexit or badi) that can be reached on DEV system? If not, there is no reasen to use vmode 'P'. If yes, please remove the break-point after finishing your test.
    Regards,
    Klaus

  • Main diff between call transaction and session method

    hi frnds.
    my friend went for an interview they asked her whts the diff between call tran adn session?
    she told more thn one transaction we can call for an session she told itseems. but he told tht by cal tran also u cn call more thn one tran it seems... so please canu help me out regarding this question? how we hve to tell in interview?
    in advance thanks....

    Hi
    Batch Input and CALL TRANSACTION are both data transfer methods. Batch Input usually are used to transfer large amount of data. For example you are implementing a new SAP project, and of course you will need some data transfer from legacy system to SAP system. If there is no standard batch input program, direct input program, you would need to write your own data transfer program and it is going to be batch input program. CALL TRANSACTION methods is real-time method, whenever you run the program CALL TRANSACTION can be triggered. CALL TRANSACTION is used especially for integration actions between two SAP systems or between different modules. Users sometimes wish to do something like that click a button or an item then SAP would inserts or changes data automatically. Here CALL TRANSACTION should be considered. You use CALL TRANSACTION and you do everything automatically, collect necessary data, call transaction and so do database update. If any error occurs, show the user them.
    Batch Input
    With the Batch Input method, an ABAP program reads the external data that is to be entered in the R/3 System and stores the data in a “batch input session”. The session records the actions that are required to transfer data into the system using normal SAP transactions.
    When the program has generated the session, you can run the session to execute the SAP transactions in it. You can explicitly start and monitor a session with the batch input management function (by choosing System - Services - Batch Input), or have the session run in the background processing session.
    It offers management of sessions, support for playing back and correcting sessions that contain errors, and detailed logging. Your program prepares the data and stores it in a batch input session. A session is a collection of transaction data for one or more transactions. Batch input sessions are maintained by the system in the batch input queue. You can process batch input sessions in the background processing system.
    Your program must open a session in the queue before transferring data to it, and must close it again afterwards. All of these operations are performed by making function modules calls from the ABAP program.
    The most important aspects of the session interface are:
    Asynchronous processing
    Transfer data for multiple transactions
    Synchronous database update. During processing, no transaction is started until the previous transaction has been written to the database.
    A batch input processing log is generated for each session
    Sessions cannot be generated in parallel. The batch input program must not open a session until it has closed the preceding session.
    CALL TRANSACTION
    In the second method, your program uses the ABAP statement CALL TRANSACTION USING to run an SAP transaction. External data doesn’t have to be deposited in a session for later processing. Instead, the entire batch input process takes place inline in your program. With CALL TRANSACTION USING, the system process the data more quickly than with batch input sessions. Unlike batch input sessions, CALL TRANSACTION USING does not automatically support interactive correction or logging functions.
    Your program prepares the data and then calls the corresponding transaction that is then processed immediately.
    The most important features of CALL TRANSACTION USING are:
    Synchronous processing
    Transfer of data from an individual transaction each time the statement CALL TRANSACTION USING is called
    You can update the database both synchronously and asynchronously. The program specifies the update type.
    Separate LUW (Logical Units of Work) for the transaction. The system executes a database commit immediately before and after the CALL TRANSACTION USING statement.
    No batch input processing log

  • Calling transaction sm35

    i want to call transaction sm35 after executing the session method instead of going manually to sm35 and process the session

    You can call external executable program 'RSBDCSUB' to execute the session automatically. You need to supply session name and required details. Better, you can execte RSBDCSUB program and then use that.
    I hope your problem solved.
    thanks

  • Code for Hot spot in ALV report to call transaction

    Hi,
    I  hv never use hot spot to link as a call transaction can u give the link or code how to make hot spot on a particular fields  i am working on a ALV report in that report in the belnr coloumn when user click on belnr i want to call FB03 transaction ref. to that belnr number and fisacl year.
    regards,
      zafar

    Hi,
    In the fieldcatalog you will have to write the hotspot as shown below,
       wa_fieldcat-hotspot   =  'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program       = sy-repid
            i_callback_user_command  = 'USER_COMMAND'"----> this is important
         i_callback_pf_status_set = 'PFSTATUS'
            it_fieldcat              = it_fieldcat
            is_layout                = it_layout
         it_event_exit            = it_eventexit
         i_screen_start_column    = 10
         i_screen_start_line      = 20
         i_screen_end_column      = 70
         i_screen_end_line        = 45
            i_grid_title             = 'Customer-Order Details'
          TABLES
            t_outtab                 = it_data.
    then you will have to catch the user command as follows,
    FORM user_command USING r_ucomm TYPE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      DATA: alv_vbeln TYPE vbeln,
            mess_text(30) TYPE c,
            txt_vbeln(10) TYPE c.
    *User clicks a Order No. in ALV it passed to the following transaction.
      CASE r_ucomm.
        WHEN '&IC1'.
          READ TABLE it_data INDEX rs_selfield-tabindex INTO wa_data.
          alv_vbeln  = wa_data-vbeln..
          IF sy-subrc = 0.
            CLEAR: mess_text, txt_vbeln.
            SUBMIT zprogram
             WITH pr_vbeln = alv_vbeln AND RETURN.
    put your call transaction logic here
          ENDIF.
      ENDCASE.
    ENDFORM.                    "user_command
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

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

  • Call Transaction Through RFC

    Hi ,
    I am trying to do a call transaction through RFC call from a Middleware which is a CPIC user (only communication Non dialog User ) . 
    Call  transaction does gets executed without any error but it does not update any data.But when I run it through my user id it works absolutely fine .
    I am not sure what is causing the issue
    Security authorization?
    RFC through Non Dialog user ?
    Paramters missing in RFC  ?
    Paramatertes missing in call transaction option?
    If anyone of you has faced a similiar issue then please let me know the path forward.
    Thanks
    Vikas

    Hi Vikas,
        The problem is in Authorization? And check the mode of Process Synchoronus or asynchoronous? Both the RFC and CALL transaction should be Same /
    Thanks
    MAnju

  • Which method should use? Call Transaction or Session Method?

    I need to upload 1,00,000 records then which method i need to use? Either session or call transaction?

    Hi.....
    A (asynchronous updating) The called transaction does not wait until the database has been
    updated, it simply forward the updates to the SAP update service. This usually speeds up the CT
    program. This processing mode is NOT recommended for large data sets as the called transaction
    does not receive a completion message from the update module.
    The calling CT program therefore cannot tell if the transaction has been successfully completed. You
    should use the updating administration function (transaction SM13) to determine whether updating
    was terminated early. The error analysis /correction functions for are less helpful than with
    synchronous updating.
    S (synchronous updating) With synchronous updating the called transaction waits until all the
    updates have been completed. So processing is slower than with synchronous updating. The called
    transaction can however report any updating errors to the program, which makes error
    analysis/correction easier.
    And
    Unlike the classical batch input processing with sessions CALL TRANSACTION does not offer any
    special processing procedures for transactions containing errors. There are no restart functions for
    transactions that contain errors or that cause updating terminations.
    Now you decide which one is best...
    For large amount of data Sessions method is the better.
    Thanks,
    Naveen.I

  • No batch input data for screen  occured in Call Transaction method for PA40

    Hi,
    I creatred an interface to update an employee action data ( Change of position )  PA40 by using  Call transaction method.
    while executing the  interface, I got the below error.
    No batch input data for screen MP049100 200 
    this interface updated the first employee from file,  then after it is giving the below error frequently.
    No batch input data for screen MP049100 200
    regards,
    Ashok Reddy Revoori

    The infogroup of action Change Position may be having infotype 0491. The infotypes screen sequence is decided based on employee's country grouping and user group. For the employee where you are receiving error, infotype 0491 screen is appearing for which you do not have BDC data.

  • How to call Java script from java code?Can Jscript be executed at server?

    Hi All,
    We are using 'WebTrends' tool to analyze our site usage pattern.
    To use WebTrends, we need to :
    1) call Java Script code from the java code
    2)Java script has to be executed at server.
    Please comment on two points mentioned above. If yes, please let me know how to do them?
    Thanks in advnce,
    Regards,
    Ganga

    You can check out Rhino project.
    [http://www.mozilla.org/rhino/]

Maybe you are looking for

  • How do i transfer apps from one device to another?

    how do i transfer apps from one device to another?

  • How .xml and ~/Music/iTunes/iTunes Music work

    Have posted this before, just reposting in hopes of getting an answer... In 2.5 years we've had 3 hard drives, 2 logic boards, a power supply, multiple crashes, etc. During all this time of data recovery and frantic backing up, I managed to duplicate

  • JTable Horizontal Scroll WHEN NEEDED fix?

    Me again.... JTable in a JScrollPane When the Jtable width exceeds the scrollpane I would like a horizontal scrollbar to appear. If the Jtable does not exceed the width Id like it to fill the ScrollPane. If I use the AUTO_RESIZE_OFF I get a horizonta

  • [SOLVED] calling releaseData() on DCIteratorBinding not working correctly

    Hi, I have a jsf form to search data when pressing a submit button by calling a webservice. In the resulting table on the same page a record can be selected and when a submit button in the selection table facet is pressed a bpel webservice is called.

  • Save CSV in Unicode

    Hi,  I have the following code: private void button3_Click(object sender, EventArgs e) SaveFileDialog sf = new SaveFileDialog(); sf.Filter = "CSV file (*.csv)|*.csv| All Files (*.*)|*.*"; if (sf.ShowDialog() == DialogResult.OK) string savePath = Path