Connection Timout in BSP application

Hi,
  How to increase the connection timout for BSP application. I get the following error,
500 Connection timed out
Connection timed out (-5)
Error: -5
Version: 6020
Component: ICM
Module: icxxthr_mt.c
Line: 2476
Server: systdemo
Detail: Connection to partner timed out
I am displaying order list in an BSP page.If i select less number of orders it works properly but when i increase the number or orders i get this error. How to handle this?
Thank you
arun

Hi,
  I am using the TableView and the assigned Internal table to get the Order list. Since i make multiple select from different table it takes a long time.
I checked the Profile parameter icm/conn_timeout and it has the following value,
Minimum                   0         
Maximum                   9,999,999 
Dflt value                5000      
ProfileVal                5000      
Current value             5000      
What is the value that controls the BSP application to wait somemore time till it gets the Order list formed?
Thank you
arun

Similar Messages

  • BSP Application connection to SQL Express DB to execute SQL Queries

    Hi There everyone,
    I am not sure if I am posting this discussion in the correct section, but please try and help me out.
    I have been tasked to write a BSP Application in the ABAP Workbench.  The purpose of this application is to enable our Weighbridge operators to execute pre-defined SQL Queries by selecting certain criteria from the Application.  The application is based on an HTML frontend which includes the Web Form (Input Fields, Submit buttons).  We have 6 Weighbridges, each has its own HTML page in this application.
    What I need to achieve is the following;
    I need to know how I must setup the connection between the BSP Application and the SQL Express DB.  Each Weighbridge has its own dedicated SQL Express instance + DB.  These SQL Instances are not on the same host as where the BSP Application is located, I think the correct term is "External SQL Instances".  Everything is on the same domain though.
    What code would I need to add to the "OnInitialize" section in the BSP Application, to be able to establish the connection to the SQL Express database using Windows Authentication?
    And what code would I need to attach to my submit buttons in the "OnInputProcessing" in the BSP Application, to execute a SQL Query to that DB and display the results in .CSV format back to the user?
    I have attached 2 screenshots of what the BSP Application interface looks like.  (This is what the user sees)
    I am very new to creating BSP's, and I have never had to link to SQL from HTML / PHP before, so I basically have no knowledge of this.
    Any help will be greatly appreciated.

    Sorry for the late reply.
    Yes, database is always available and online, not involved in Log Shipping or other things.
    At the time of the connection failure I can find the following in the log of the application:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:20 - \PCV/src/ni/src/pcvnireceive.cpp - 4741 - Thread 4768 - Receive Thread Started for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 4968 - Thread 4768 - Receive Thread Ended for Remote Node 043SBTMS10DRSP: In Thread index 1:
    ProcessID:2452 ,ThreadID:4768 : NI-I - 24/08/2012-15:12:40 - \PCV/src/ni/src/pcvnireceive.cpp - 115 - Thread 4768 - Merge Memory Usage: KB Allocated = 2186, KB in use = 889
    ProcessID:2452 ,ThreadID:1408 : NiJ - E - 25/08/2012-19:35:29 - \PCV/src/ni/src/pcvnijournal.cpp - 2842 - PcvNiJournal::isRetrievePending() - DB Exception.Error: TCP Provider: The specified network name is no longer available.
    Communication link failureQuery timeout expired - State:08S01,Native:64,Origin:[Microsoft][SQL Server Native Client 10.0] State:08S01,Native:64,Origin:Microsoft][SQL Server Native Client 10.0]
    State:S1T00,Native:0,Origin:[Microsoft][SQL Server Native Client 10.0]

  • Bsp applications are not connecting to WEB

    HI GURUS,
      I  am trying to execute bsp application. but i not connecting to the web.
    can any one tell me how to configure .
    thanks

    Their could be any reason for that. Please tell us which message you are getting.
    But still you can try some of these things.
    1. Check the server IP configs in your Host File in your system windows files.
    2. Check in transaction SICF  weather your application is activated or not.
    3. Check other required services in SICF , those should be activated.
        Follow the path tocheck..  SAp->BC->BSP->SAP-> 
    Ask your Admin person regarding this issue.

  • Bsp application not connecting to explorer

    hi experts,
      bsp application not connecting to explorer, even i excute example bsp programs.Is there any  configaration needed.please help me

    Hi Ankal,
    First check whether the hostid of the server is added in your system. And there is one more way to check whether the application is worked properly. Please go to the SICF transaction and execute. In that your application is under the bc/sap/<your application name> folder. Right click that and 'Activate the service' then 'Test Service'.
    Finally you consult with your Basis guys.
    Regards,
    Anita B.

  • Http connection loss in a BSP application.

    Hi everyone,
    We have a big problem with one of our BSP application.
    We are running a 4.7 and it runs well on our mono application server, but when we try it on our multi-application server it crash, even thought the configurations are just equals.
    On this server every time we call:
    CL_HTTP_SERVER_NET->SEND_RESPONSE()
    system-call plugin
    id 'HTTP' value 'SendAndReturn' "#EC NOTEXT
    id 'Name' value conn_name
    id 'Stateful' value stateful
    id 'MessageOut' value c_msg.
    It runs well most of the time, but when we have a heavy treatment, we loose all the http connection and the variable of session is set to initial.
    We don’t know why, we try to trace everything we could.
    Hope somebody will help, or just have an idea.
    Great day to y’all
    Quentin.

    Can you post some code around where this problem occurs.  Is this in a MVC or flow logic page?  Why are you implicitly calling CL_HTTP_SERVER_NET->SEND_RESPONSE? 
    With some more details we might be able to get to the bottom of this.

  • Connection Timout

    Hi All,
    One of the user facing the Connection Timout when he clicks on one of the BSP application in portal.
    Can any boady explian what could be reason.  This not for all users.
    How can rectify the problem ? 
    Regards,
    Kishan

    Hi Amar,
    thanks for your reply.
    Only few of the users in portal getting this error.
    When i run  the same in portal it is working fine. Even one of my team member is not having any problem.
    The error is as below:
    Internet explorer can not display the web page,.
    Most likly the causes...
    This is similar to :  when internet connection is not available.  when we run any application like gmail.
    Can you expect the problem.
    Regards,
    Kishan

  • How to deal the timeout session in BSP application

    Hello everybody,
    inside a BSP application, I want to inform the user that he is near to reach the timeout of its session.
    So I wonder how to know the lifetime of the session and how to calculate the time from its connection.
    Anyone of you can help me on his topic?
    Thanks in advance.

    Starting point: <a href="/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication">BSP In-Depth: Confusion between Stateless, Stateful and Authentication</a>
    The trick will be to after each roundtrip set a JavaScript timer tied to a alert statement. The weblog gives you ideas of what values you want to look at.

  • Download of a webform within a BSP application

    Hi SDN members,
    I wrote a ESS BSP application with a 3 step wizard. Within the first step the user can enter some data in some form fields.
    In the second step a webform (SMARTFORM) with the form data is displayed and in the third step the user can save the document.
    Is there any possibility to save the web form as a document when the user saves the document. It would be sufficient to save the webform to the application server and get back a link.
    Later on the webform should be linked as a kind of attachment. This means when the user calls again the saved document a link should be available where the form can be called.
    The webform is called in the following way within my BSP:
    Call the generated function module
      call function l_function_module_name
           exporting
                    archive_index        =
                    archive_parameters   =
                      control_parameters   = ls_control_parameters
                    mail_appl_obj        =
                    mail_recipient       =
                    mail_sender          =
                      output_options       = ls_output_options
                      user_settings        = space
                      customer             = lt_customer
                      bookings             = lt_bookings
                      connections          = lt_connections
           importing
                    document_output_info =
                      job_output_info      = ls_output_data
                    job_output_options   =
           exceptions formatting_error     = 1
                      internal_error       = 2
                      send_error           = 3
                      user_canceled        = 4
                      others               = 5.
      if sy-subrc <> 0.
      error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      ls_xmloutput = ls_output_data-xmloutput.
      lt_html_raw  = ls_xmloutput-trfresult-content[].
    Fill HTTP request
      response->set_header_field( name = 'content-type'
                                   value = 'text/html; charset=UTF-8').
    SAP Smart Forms returns XML data island in raw data format.
    method 'set_data' of the response object needs the output
    in XSTRING. The next loop convertes the raw table into xstring.
      loop at lt_html_raw into l_xstring.
         concatenate l_html_xstring l_xstring into l_html_xstring
                                                   in byte mode.
      endloop.
      l_xlength = xstrlen( l_html_xstring ).
      response->set_data( data   = l_html_xstring
                          length = l_xlength ).
    Any ideas how to save the form in any way?
    Best regards
    Thomas

    Hi,
    thanks for your answer!
    Let me explain more in detail what I want to do.
    I am calling my BSP application from our SRM system. When the user saves the data which were entered in my BSP application, the data are transferred via OCI (Open Catalog Interface). This is already working.
    The only thing which is missing is the transfer of my webform to the SRM via OCI.
    OCI is waiting for a link to my form. Only then, the SRM can attach a document. See OCI description
    http://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/ff03d072-0501-0010-aa88-8018506a2ebe">oci [original link is broken] [original link is broken]
    Therefore I have to download the form to get a link which can be written to the OCI interface. This could also be a temporary link.

  • Calling a BSP application in ABAP webdynpro

    Hi Friends,
    Is there any chance that i can call a BSP application from WEBDYNPRO.
    regards
    Nalinikanth.

    Hi Yashpal/ Pankaj,
    I have one question regarding this.
    The usage of the UI element link "link to URL" is pretty much understandable to call a stanalone application.
    Whereas the usage of suspend and resume plugs, how does it work for BSP applications? For two WD components we can connect the plugs and it works.
    As I do not know about BSP, does it have in/out plugs like WD components?
    If so how to create the navigation link for this.
    Please explain.
    Sankar.

  • How to call bsp application in workflow and process it...

    The requirement is ...
    HR as (admin) -- in standard workflow selects apprasiee for 360 degree apprasial process(bsp application developed by me)..
    aprasiee selects 10 employees and sends to HR
    HR checks the employees list and their relationships
                            if
                      HR satisfies and clicks ok .. email will go to all 10 employees selected by apprasiee with a link
                  of 360 degree application developed in bsp..
                      else
               HR says to reselect the employees to apprasiee.
    when apprasier completes the form and submits both HR and appraisee gets a note that particular
    employee as filled your application..
    for this process ... there r standard ones and i have to creare new ones ..
    tell me which standard workflows  i can use for this and which one to and also how to create a new one...
    i hope i can use HR and apprasiee selected by HR can be used as standard ones, which i want to copy and create a new one.

    Hi,
    If you want to use a BSP in your workflow, this can fairly easy be done by incorporating your BSP as a webactivity in your own flow or into an existing one. Things to consider when creating webactivitysteps in your workflow are:
    - Making settings in WF_HANDCUST.
    - Make settings in SICF: here you have to activate the WSHANDLER (pad /default_host/sap/bc/webflow/wshandler) and your own BSP which is somewhere under pad /default_host/sap/bc/bsp/&name_of_your_bsp&
    - Make settings in WF_EXTSRV: here you can make settings between the import and export parameters of your BSP and the (future) parameters in your workflowtask. When all these settings are made correctly, you can generate a WF-task with the corresponding button in this transaction (a wizzard will be started). The connection between the task and your BSP will be stored in table SWLWPTSSID.
    Try if you can figure it out with these transactions. Good luck!
    Kind regards,
    Joost van Poppel

  • How to Assiging BSP application in workflow

    Hi, Experts..
    I have developed an bsp application ,i want it to assign in workflow..
    if we select 10 employess such that the application as to go all 10 employess selected in their ms-outlook.
    please help in this ..
    1.Assiging bsp appplication in workflow
    2.selecting 10 employess
    3.sending application to all selected employess to thier ms-outlook.
    if u provide me sample application and step by step procedure i would be thankful to u

    Hi,
    If you want to use a BSP in your workflow, this can fairly easy be done by incorporating your BSP as a webactivity in your own flow or into an existing one. Things to consider when creating webactivitysteps in your workflow are:
    - Making settings in WF_HANDCUST.
    - Make settings in SICF: here you have to activate the WSHANDLER (pad /default_host/sap/bc/webflow/wshandler) and your own BSP which is somewhere under pad /default_host/sap/bc/bsp/&name_of_your_bsp&
    - Make settings in WF_EXTSRV: here you can make settings between the import and export parameters of your BSP and the (future) parameters in your workflowtask. When all these settings are made correctly, you can generate a WF-task with the corresponding button in this transaction (a wizzard will be started). The connection between the task and your BSP will be stored in table SWLWPTSSID.
    Try if you can figure it out with these transactions. Good luck!
    Kind regards,
    Joost van Poppel

  • Internet explorer script error in BSP application

    Hi,
    I am receiving Internet Explorer script error when I try to navigate between different pages in a BSP application/navigate between diff page fragemnts within the sqame page.
    Error - "An error occurred in the script on this page."
    Line - 480, char - 33
    error - Object expected
    code - 0
    URL - <Page URL>
    Whether I click Yes or No to continue running the scripts, I still face the same issue.
    The strange part is that this application runs fine in Prod system , but is giving error in Test and Dev systems. There is no difference in the code. There are no Java scripts used in this page. In the whole application as such, there are a few scripts being used.
    The only difference is the Web dispatchers connected to these systems.
    Please let me know in case of any pointers to this error.
    TIA,
    Regards
    Deepthi

    Sachin,
    Thanks for the reply.
    The following is the URL in the error -
    https://<server>/sap(bD1lbiZjPTEwMA==)/bc/bsp/sap/<BSP appn name>/<page>.htm?edit_mode=I
    The page in this URL does not have any JS being used.
    Also, the target pages for this page also do not have any JS.
    How come the application is working fine in Prod system and giving errors in Test system when no changes have been done to the application since atleast a month?
    What are the factors which can create this diff behaviour?
    Also, how can I check if a Java script has any error? Does Web Dispatcher have any role to play in this whole scenario?
    Thanks once again,
    Deepthi

  • File Upload in BSP Applications and store in Application server

    Hi we have requirement to store the attachments from BSP application into the external/internal storage space connected to application server.
    I search for weblogs and all talking about <a href="http://help.sap.com/saphelp_me21sp2/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm">File Upload in BSP Applications and store in MIME Repository</a>.
    But our requirement is upload and store(no need to read the file content) attachments from BSP page into file server, and then make a link back in BSP page to open.
    I know we can handle documnets in R/3 using DMS, but our system is SRM.
    Please give a suggestion and solution.
    Thanks,
    Giri

    Hi,
    I faced a similar problem some time ago (uploading a file via BSP, storing it to the application server and then linking the archived document to a business object.
    Here is the coding I used:
    when 'SubmitUploadFile'. "OnInputProcessing
        DATA: data_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD,
              l_filename type string,
              l_archiv_doc_id type SAPB-SAPADOKID,
              l_content type string,
              l_file_ixos(100) type c value '/transfer/PV2/aus/IXOS/',
              l_file(200) type c,
              tbl_bin TYPE STANDARD TABLE OF tbl1024,
              wa_bin type TBL1024,
              l_xstring type xstring,
              l_arc_doc_id type SAPB-SAPADOKID,
              l_doctype type TOADD-DOC_TYPE,
              l_filename_e type DRAW-FILEP.
    upload the file from the BSP web interface (e.g. file C:TempSUTestPDF_SU.pdf)
        data_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA(
                                           request = runtime->server->request 
                                           name    = 'fileUpload'
                                           id      = ‘InputFieldFileUpload’
        IF NOT data_fileupload IS INITIAL.
          l_filename         = data_fileupload->file_name.
          l_content      = data_fileupload->file_content.
          l_content_type = data_fileupload->file_content_type.
        ENDIF.
    The uploaded file is returned as XSTRING, so we have to convert it to BINARY
    (or STRING alternatively)!
        l_xstring = l_content.
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER          = l_xstring
            APPEND_TO_TABLE = 'X'
          TABLES
            BINARY_TAB      = tbl_bin.
    split path for storing the file to the application server
        l_filename_c = l_filename.
        CALL FUNCTION 'CV120_SPLIT_PATH'
          EXPORTING
            PF_PATH  = l_filename_c
          IMPORTING
            PFX_FILE = l_filename_e.
    write the uploaded file to the application server
        l_filename = l_filename_e.
        concatenate l_file_ixos l_filename into l_file.
        open dataset l_file for output IN LEGACY BINARY MODE.
        loop at tbl_bin into wa_bin.
          transfer wa_bin-line to l_file.
        endloop.
        close dataset l_file.
    store the uploaded file on the IXOS-archive
        l_doctype = l_content_type.
        CALL FUNCTION 'ARCHIVOBJECT_CREATE_FILE'
          EXPORTING
            ARCHIV_ID                = '2T'
            DOCUMENT_TYPE            = l_doctype
            PATH                     = l_file_arc
          IMPORTING
            ARCHIV_DOC_ID            = l_arc_doc_id
          EXCEPTIONS
            ERROR_ARCHIV             = 1
            ERROR_COMMUNICATIONTABLE = 2
            ERROR_UPLOAD             = 3
            ERROR_KERNEL             = 4
            OTHERS                   = 5.
    link the archived document to the business object ‘DRAW’
        CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
          EXPORTING
            ARCHIV_ID                   = '2T'
            ARC_DOC_ID                  = l_arc_doc_id
            AR_OBJECT                   = 'DRW'
            OBJECT_ID                   = g_object_id_arc
            SAP_OBJECT                  = 'DRAW'
           DOC_TYPE                    = l_extend
         EXCEPTIONS
           ERROR_CONNECTIONTABLE       = 1
           OTHERS                      = 2.
    Remark: It´s vital to convert the uploaded file from XSTRING to BINARY. Otherwise the file cannot be stored/archived properly.
    The archived document can then be displayed by inserting the (IXOS-web client-)link to the BSP page (e.g. http://193.228.208.78:4060/archive.dll/get?arc=2T&doc=44439F1B4F701E65E1000000C1E4D00A).
    Hope this helps!
    Regards,
    Ulli

  • Master Table for Work Items from BSP Application

    hello guys,
    just want to ask if there is a master table for work items (and other details) from BSP application?

    Hi,
          Ya its true but i want to connect my customized application to UWL in Enterprise Portal and there after approval i want my workitems to be punched in R/3 system.Is there any source code available,so that my application directly contact UWL in sap enterprise Portal as a link or workitems where user should have an option to approve or reject.
    If u have any idea plz let me know.
    Thanks in Advance
    Regards
    Santosh Saraf

  • Oracle conennection from BSP application

    I want to know how can I access to a Oracle database from a BSP application, my WAS System is 6.40
    Thanks in advance.

    Yes you can, check out this thread
    external Oracle DB Connectivity
    or
    HOWTO Transfer Oracle Database Tables to SAP

Maybe you are looking for

  • Installing Oracle 9i on Windows 2003 Server R2 Stansard x64 Edition

    I'm trying to install Oracle 9i Release 2 (9.2.0.2.1) for 64-Bit Windows on a Dell Server PE2950 equipped with intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 2.00GHz, 3.99 GB of RAM (It is planed to upgrade to 12 GB of RAM next week) Running Windows 2003 Serv

  • Managing Color with LR and the Canon Pixma Pro 9000 10.1.2.0 printer driver

    I would like help understanding how to manage color in LIghtroom with the Canon Pro 9000 10.1.2.0 printer driver. When I ask LR to manage color in the Printing Module Color Management Profile, it warns me to turn off the printer managing color. But I

  • All Desktop Applications Uninstall, uncontrolled

    Ever since we upgraded our Zen Server to 6.5 SP2, we have encoutnered problems whereby sporadic users will have all of their applications uninstall. All Desktops are running the Management Agent 6.5 SP2 as well. It appears that what happens is when t

  • Debating between 15" macbook (used) or an iMac (new/used) help?

    With my tax return I need to get a new mac.  I used to have a 2008 17" macbook pro, but that died on me a little over a year ago.  I loved that thing and used it for everything as I am a graphic designer and musician.  I've gone over a year without a

  • In getting error in field symbols

    your attempted to assign a field to a type filed symbols but the field dose not have the required type. iam getting runtimes error like this what should i do for this. regards, sivakumar