Call procedure2 from procedure1 "in background"

Hi all,
my need is to call procedure2 from procedure1 "in background". What I mean... Let's say, procedure2 works about 10 seconds. So, procedure1 should call procedure2 and go on working without waiting for procedure2 to end its work.
How do I perform it? Is it possible at all? My thought was to use pragma autonomous transaction, am I right?

marco wrote:
Hi all,
my need is to call procedure2 from procedure1 "in background". What I mean... Let's say, procedure2 works about 10 seconds. So, procedure1 should call procedure2 and go on working without waiting for procedure2 to end its work.
How do I perform it? Is it possible at all? My thought was to use pragma autonomous transaction, am I right?No. Pragma Autonomous Transaction sets up a seperate transaction for the code in that procedure, though it will still have to complete that procedure before control is returned to the calling code.
To call procedure2 from procedure1 but not have to wait for procedure 2 to finish, you would use DBMS_SCHEDULER (or DBMS_JOB if you don't want any current transaction committed), to schedule the procedure to be run immediately. This causes the scheduled task to run in it's own right without being a part of the current session.
http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#ARPLS72260

Similar Messages

  • How to call url from abap in background

    Hi,
    I could open url but it opens browser window
    i saw several threads on how to cal url in background but no good answer
    kindly help
    thanks
    B

    Hi,
    Try the following (primitive) example, it calls an url and display the result on screen.
    Hope this will help you.
    <pre>
    REPORT  test.
          CLASS lcx_http_client DEFINITION
          Minimal Error Handling
    CLASS lcx_http_client DEFINITION INHERITING FROM cx_static_check.
      PUBLIC SECTION.
        INTERFACES:
          if_t100_message.
        DATA:
           mv_method TYPE string,                               "#EC NEEDED
           mv_subrc  TYPE i.                                    "#EC NEEDED
        METHODS:
          constructor
            IMPORTING iv_method TYPE string  OPTIONAL
                      iv_subrc  TYPE i       OPTIONAL
                      iv_msgid  TYPE symsgid DEFAULT '00'
                      iv_msgno  TYPE i       DEFAULT 162.
    ENDCLASS.                    "lcx_http_client DEFINITION
          CLASS lcx_http_client IMPLEMENTATION
    CLASS lcx_http_client IMPLEMENTATION.
      METHOD constructor.
        super->constructor( ).
        mv_method = iv_method.
        mv_subrc  = iv_subrc.
        if_t100_message~t100key-msgid = iv_msgid.
        if_t100_message~t100key-msgno = iv_msgno.
        if_t100_message~t100key-attr1 = 'MV_METHOD'.
        if_t100_message~t100key-attr2 = 'MV_SUBRC'.
      ENDMETHOD.                    "constructor
    ENDCLASS.                    "lcx_http_client IMPLEMENTATION
          CLASS lcl_http_client DEFINITION
          Facade for if_http_client
    CLASS lcl_http_client DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          get_http_client_by_url
            IMPORTING iv_url           TYPE string
                      iv_proxy_host    TYPE string OPTIONAL
                      iv_proxy_service TYPE string OPTIONAL
                      PREFERRED PARAMETER iv_url
            RETURNING value(ro_http_client) TYPE REF TO lcl_http_client
            RAISING lcx_http_client.
        DATA:
          mr_http_client TYPE REF TO if_http_client.
        METHODS:
          send
            RAISING lcx_http_client,
          receive
            RAISING lcx_http_client,
          close
            RAISING lcx_http_client,
          get_response_header_fields
            RETURNING value(rt_fields) TYPE tihttpnvp,
          get_response_cdata
            RETURNING value(rv_data) TYPE string.
    ENDCLASS.                    "lcl_http_client DEFINITION
          CLASS lcl_http_client IMPLEMENTATION
    CLASS lcl_http_client IMPLEMENTATION.
      METHOD get_http_client_by_url.
        DATA: lv_subrc TYPE sysubrc.
        CREATE OBJECT ro_http_client.
        cl_http_client=>create_by_url( EXPORTING url                 = iv_url
                                                 proxy_host          = iv_proxy_host
                                                 proxy_service       = iv_proxy_service
                                       IMPORTING client              = ro_http_client->mr_http_client
                                       EXCEPTIONS argument_not_found = 1
                                                  plugin_not_active  = 2
                                                  internal_error     = 3
                                                  OTHERS             = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'GET_HTTP_CLIENT_BY_URL' iv_subrc = lv_subrc.
      ENDMETHOD.                    "get_http_client_by_url
      METHOD send.
        DATA: lv_subrc TYPE sysubrc.
        mr_http_client->send( EXCEPTIONS http_communication_failure = 5
                                         http_invalid_state         = 6
                                         http_processing_failed     = 7
                                         http_invalid_timeout       = 8
                                         OTHERS                     = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'SEND' iv_subrc = lv_subrc.
      ENDMETHOD.                    "send
      METHOD close.
        DATA: lv_subrc TYPE sysubrc.
        CALL METHOD mr_http_client->close
          EXCEPTIONS
            http_invalid_state = 10
            OTHERS             = 999.
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'CLOSE' iv_subrc = lv_subrc.
      ENDMETHOD.                    "close
      METHOD receive.
        DATA: lv_subrc TYPE sysubrc.
        mr_http_client->receive( EXCEPTIONS http_communication_failure = 9
                                            http_invalid_state         = 10
                                            http_processing_failed     = 11
                                            OTHERS                     = 999 ).
        CHECK sy-subrc <> 0.
        lv_subrc = sy-subrc.
        RAISE EXCEPTION TYPE lcx_http_client EXPORTING iv_method = 'RECEIVE' iv_subrc = lv_subrc.
      ENDMETHOD.                    "receive
      METHOD get_response_header_fields.
        mr_http_client->response->get_header_fields( CHANGING fields = rt_fields ).
      ENDMETHOD.                    "get_response_header_fields
      METHOD get_response_cdata.
        rv_data = mr_http_client->response->get_cdata( ).
      ENDMETHOD.                    "get_response_cdata
    ENDCLASS.                    "lcl_http_client IMPLEMENTATION
    PARAMETERS: p_url   TYPE string DEFAULT 'http://www.google.com' LOWER CASE,
                p_phost TYPE string DEFAULT 'your_proxy_here'       LOWER CASE,
                p_pserv TYPE string DEFAULT '8080'                  LOWER CASE.
    *===================================================================================
    START-OF-SELECTION.
      TRY .
          DATA: gt_data          TYPE string_table,
                gv_data          TYPE string,
                gr_http_client   TYPE REF TO lcl_http_client,
                go_cx            TYPE REF TO lcx_http_client.
          "Initialize the http client
          gr_http_client =
            lcl_http_client=>get_http_client_by_url( iv_url           = p_url
                                                     iv_proxy_host    = p_phost
                                                     iv_proxy_service = p_pserv ).
          "Call the specified URL and retrieve data from the response
          gr_http_client->send( ).
          gr_http_client->receive( ).
          gv_data = gr_http_client->get_response_cdata( ).
          "Its over....
          gr_http_client->close( ).
          "Display result
          REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>cr_lf IN gv_data WITH cl_abap_char_utilities=>newline.
          SPLIT gv_data AT cl_abap_char_utilities=>newline INTO TABLE gt_data.
          LOOP AT gt_data INTO gv_data.
            WRITE: / gv_data.
          ENDLOOP.
        CATCH lcx_http_client INTO go_cx.
          MESSAGE go_cx TYPE 'S' DISPLAY LIKE 'E'.
      ENDTRY.
    </pre>

  • Calling DLL from ABAP (BSP) in the background

    Hello,
    We are developing a picture upload webpage (BSP). When uploading the picture has to be checked for certain attributes. This can be done by a dll supplied by a supplier. The dll has as input the location of the image (on the server) and returns a returncode.
    How can I call the dll in het background with the input parameters and get the result? SAP is on a windows system. We are not allowed to use ActiveX, also we want to do the check in the background.
    With regards,
    Frank

    I am already further.
    I created an executable with Visual Studio and have import parameters. Now with SXPG_CALL_SYSTEM I am going to try to call the executable. I get the table EXEC_PROTOCOL back where the output of the executable is called.
    I know have to found out how to save the uploaded jpg to the server.

  • How to print PDF file content from ABAP in background?

    Hi,
    Is it possible to print PDF file content from ABAP in background?
    I have some PDF content which I need to print it, these PDF files are generated outside the SAP.
    Please have you any suggestions?
    Thank you
    Tomas

    <b><u>Solution:</u></b><br>
    <br>
    The target output device must support PDF print, this is only one limitation.<br>
    <br>
    REPORT  z_print_pdf.
    TYPE-POOLS: abap, srmgs.
    PARAMETERS: p_prnds LIKE tsp01-rqdest OBLIGATORY DEFAULT 'LOCL',
                p_fname TYPE file_table-filename OBLIGATORY LOWER CASE,
                p_ncopi TYPE rspocopies OBLIGATORY DEFAULT '1',
                p_immed AS CHECKBOX.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      DATA: lv_rc     TYPE i,
            lv_filter TYPE string.
      DATA: lt_files TYPE filetable.
      FIELD-SYMBOLS: <fs_file> LIKE LINE OF lt_files.
      CONCATENATE 'PDF (*.pdf)|*.pdf|' cl_gui_frontend_services=>filetype_all INTO lv_filter.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          file_filter             = lv_filter
        CHANGING
          file_table              = lt_files
          rc                      = lv_rc
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0 AND lv_rc EQ 0.
        MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      READ TABLE lt_files ASSIGNING <fs_file> INDEX 1.
      IF sy-subrc EQ 0.
        p_fname = <fs_file>-filename.
      ENDIF.
    AT SELECTION-SCREEN.
      DATA: lv_name   TYPE string,
            lv_result TYPE boolean.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file                 = lv_name
        RECEIVING
          result               = lv_result
        EXCEPTIONS
          OTHERS               = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      IF lv_result NE abap_true.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
    START-OF-SELECTION.
    END-OF-SELECTION.
      PERFORM process.
    FORM process.
      DATA: lv_name     TYPE string,
            lv_size     TYPE i,
            lv_data     TYPE xstring,
            lv_retcode  TYPE i.
      DATA: lt_file TYPE srmgs_bin_content.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lv_name
          filetype                = 'BIN'
        IMPORTING
          filelength              = lv_size
        CHANGING
          data_tab                = lt_file
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Read file error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = lv_size
        IMPORTING
          buffer       = lv_data
        TABLES
          binary_tab   = lt_file
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
      IF sy-subrc NE 0.
        MESSAGE 'Binary conversion error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      PERFORM print USING p_prnds lv_data CHANGING lv_retcode.
      IF lv_retcode EQ 0.
        WRITE: / 'Print OK' COLOR COL_POSITIVE.
      ELSE.
        WRITE: / 'Print ERROR' COLOR COL_NEGATIVE.
      ENDIF.
    ENDFORM.                    " PROCESS
    FORM print USING    iv_prndst  TYPE rspopname
                        iv_content TYPE xstring
               CHANGING ev_retcode TYPE i.
      DATA: lv_handle    TYPE sy-tabix,
            lv_spoolid   TYPE rspoid,
            lv_partname  TYPE adspart,
            lv_globaldir TYPE text1024,
            lv_dstfile   TYPE text1024,
            lv_filesize  TYPE i,
            lv_pages     TYPE i.
      CLEAR: ev_retcode.
      CALL FUNCTION 'ADS_SR_OPEN'
        EXPORTING
          dest            = iv_prndst
          doctype         = 'ADSP'
          copies          = p_ncopi
          immediate_print = p_immed
          auto_delete     = 'X'
        IMPORTING
          handle          = lv_handle
          spoolid         = lv_spoolid
          partname        = lv_partname
        EXCEPTIONS
          OTHERS          = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_GET_PATH'
        IMPORTING
          ads_path = lv_globaldir.
      CONCATENATE lv_globaldir '/' lv_partname '.pdf' INTO lv_dstfile.
      OPEN DATASET lv_dstfile FOR OUTPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      TRANSFER iv_content TO lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CLOSE DATASET lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ZBAP_RM_PDF_GET_PAGES'
        EXPORTING
          iv_content = iv_content
        IMPORTING
          ev_pages   = lv_pages.
      lv_filesize = XSTRLEN( iv_content ).
      CALL FUNCTION 'ADS_SR_CONFIRM'
        EXPORTING
          handle   = lv_handle
          partname = lv_partname
          size     = lv_filesize
          pages    = lv_pages
          no_pdf   = ' '
        EXCEPTIONS
          OTHERS   = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_SR_CLOSE'
        EXPORTING
          handle = lv_handle
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
    ENDFORM.                    " PRINT

  • Calling Mapviewer from Jdeveloper

    Hello,
    I am trying to call MapViewer from Jdeveloper. I have already used map builder to access my map, but when I try to call MapViewer I got an error message.
    My Code is as follows:
    MapViewer mv = new MapViewer("http://******:8888");
    mv.setDataSourceName("MVDEMO");
    mv.setBaseMapName("CUSTOMER_MAP");
    mv.setMapTitle(" ");
    mv.setImageFormat(MapViewer.FORMAT_PNG_URL);
    mv.setDeviceSize(
    new Dimension(256, 256)
    mv.setCenterAndScale( 0, 0, 25000000);
    mv.setMapRequestSRID(new Integer(8307));
    mv.run();
    The error message i get is:
    cannot find error code
    Server response is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en,us">
    <HEAD>
    <TITLE>Welcome to Oracle Containers for J2EE 10g (10.1.3.1.0)</TITLE>
    <META content="text/html; charset=windows-1252" http-equiv=Content-Type>
    <link rel="stylesheet" href="ohs_images/portals.css">
    </HEAD>
    <body bgcolor="#FFFFFF" link="#663300" vlink="#996633" alink="#FF6600" text="#000000">
    <span style="font-size: 1pt;"><img src="ohs_images/space.gif" alt="Skip tabs" height=1 width=1 align="right" border=0></span>
    <!-- tabs -->
    <a name="tabs"></a>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td rowspan="2" valign="bottom" class="OraLightHeaderSub"><img alt="Oracle Application Server logo" src="ohs_images/9iAShome_banner_2.gif" width="338" height="90"></td>
    <td align="right">
    <table summary="" align=right border=0 cellpadding=0 cellspacing=0>
    <tr>
    <td width=60 align="center" valign="bottom"> </td>
    <td valign=bottom width=60 align="center"> </td>
    </tr>
    <tr align=center valign="top">
    <td width=60 align="center"> </td>
    <td width=60 align="center"> </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="right" valign="bottom">
    <table summary="" border=0 cellpadding=0 cellspacing=0 height=22>
    <tbody>
    <tr>
    <td align=right noWrap width=16><img alt="selected tab:" height=22 src="tab_files/asytlse.gif" width=14></td>
    <td background="tab_files/blue-content.gif" class=OraNav1Selected width="75">Welcome</td>
    <td align=right noWrap width=12><img alt="" src="tab_files/blue-end.gif"></td>
    <!--<td background="tab_files/green-content.gif" noWrap width="97"> </td>-->
              <td align=right noWrap width=12> </td>
    <td align=right noWrap width=12> </td>
                   <td noWrap width=15> </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </table>
    <!-- blue banner -->
    <table summary="" border=0 cellpadding=0 cellspacing=0 width="100%">
    <tbody>
    <tr valign="top">
    <td height=24>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width="100%">
    <tbody>
    <tr>
    <td bgcolor="#336699" noWrap valign=bottom align="left" width="50">  </td>
    <td background="tab_files/asysrtb.gif" height=30 noWrap valign="top"><img alt="" border=0 height=30 src="tab_files/asysrt.gif" width=40></td>
    <td background="ohs_images/rhshadow.gif" height=30 noWrap valign="top" width=10 align="left">
    <img alt="" border=0 height=30 src="tab_files/asylrhs.gif" width=8></td>
    </tr>
    <tr>
    <td background="tab_files/asylttb.gif" noWrap
    valign="top" align="left" width="50" height="16">  </td>
    <td noWrap valign="top" width="600" height="16"><img alt="" border=0 height=16 src="tab_files/asysrb.gif" width=40></td>
    <td align=left valign="top" width=10 height="16"><img alt="" height=1 src="ohs_images/space.gif" width=1></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    <a name="portlets"></a>
    <span style="font-size: 1pt;">
    <img src="ohs_images/space.gif" alt="This page contains the following topics:" border=0>
    <img src="ohs_images/space.gif" alt="Overview" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Documentation" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Quick Tour" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Release Notes" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Oracle Enterprise Manager" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="New Features" height=1 width=1 border=0>
    </span>
    <!-- main layout table -->
    <div align="left">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="4" height="426">
    <tr valign="top">
    <!-- left column -->
    <td>
    <div align="left"><img alt="Welcome to Oracle Containers for J2EE" src="ohs_images/welcome_CJ2EE_1.gif" width="347" height="60"><br>
    <br>
    <br>
    </div>
    <a name="grid"></a>
    <table summary="" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="OraHeader" height="25" width="25%">Overview</td>
    <td class="OraGlobalButtonText" height="25" width="75%">
    <div align="right"></div></td>
    <td class="OraGlobalButtonText" colspan="6" width="0%">
    <div align="right"></div>
    </td>
    </tr>
    <tr>
    <td height="1" bgcolor="#CCCC99" colspan="2"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="142" class="OraInstructionText" width="30%">
    <p align="center"><img alt="" src="ohs_images/art3.gif" width="150" height="200"></p>
    </td>
    <td height="142" class="OraInstructionText" width="70%">
    <p>
    Oracle Containers for J2EE 10g (10.1.3.1.0) is the core
    J2EE runtime component of Oracle Application Server.</p>
    <p>The key values of this release are: </p>
    <ul>
    <li> J2EE 1.4 compatible with additional support for the final EJB 3.0 specification, including JPA 1.0 API</li>
    <li>Extensive Web Services capabilties with support for JAX-RPC,
    WS-I, WS-Security, WS-Reliability</li>
    <li>Industry leading Object-Relational persistence solution with
    Oracle TopLink</li>
    <li>Standards based management and deployment support with Enterprise
    Manager Application Server Control </li>
    <li>Enterprise performance and scalability</li>
    </ul>
    </td>
    </tr>
    </table>
    <a name="doc"></a>
    <table summary="doc" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="OraHeader" height="25" width="69%">Documentation</td>
    <td class="OraGlobalButtonText" height="25" width="31%">
    <div align="right"></div></td>
    <td class="OraGlobalButtonText" colspan="6" width="0%">
    <div align="right"></div>
    </td>
    </tr>
    <tr>
    <td height="1" bgcolor="#CCCC99" colspan="2"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="142" class="OraInstructionText" >
    <p> </p>
    <p>The Configuration and Administration Guide is included within this distribution. <br>It can be be accessed from here (requires Adobe Acrobat reader).</p>
    <p>The full documentation set is available from Oracle Technology Network at http://www.oracle.com/technology/documentation and contains:</p>
    <ul>
    <li>Configuration and Administration guide to help with management of the server</li>
    <li>Deployment guide to help with deployment operations</li>
    <li>Development guides to support the development of J2EE applications
    using JSP, Servlet, and EJB technologies</li>
    <li>Development guides to support the development and deployment of Web Services</li>
    <li>Security and Services guides which describe the standard
    services available such as JNDI and JMS and the comprehensive
    security infrastructure</li>
    </ul>
    </td>
    </tr>
    </table>
    <br>
    <a name="tour"></a>
    </td>
    <!-- column spacer -->
    <td class="OraInstructionText" rowspan="2" width="12">   </td>
    <!-- right column -->
    <td valign="top" width="228" align="left">
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/logon_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">
    OC4J Management</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>OC4J is managed from a browser using Application Server Control.</p>
    <p>Launch Application Server Control</p>
    </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top">
    <a name="relnotes"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/tree_document.gif" width="16" height="16"> <span class="OraHeaderSubSub"><b>OTN
    and Release Notes</b><span class="OraPortletBodyText"></span></span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText><p><span class="OraPortletBodyText">Check the OC4J
    page on OTN for the latest information,
    technical notes and how-to examples.</span></p>
    <p><span class="OraPortletBodyText">Read
    the latest Release Notes on Oracle Technology
    Network for important information about Oracle Containers for J2EE 10g (10.1.3.1.0)</span><br>
    </p></td>
    <td class=OraPortletBodyText width="10">
    <p> </p></td>
    </tr>
    </tbody>
    </table>
    </td>
    <!--width of the bottom - 2 pixel for border - width of the arrow -->
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1>
    </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/relatedapps_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">Quick
    Check</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>Click on the links below to perform a quick check
    of your installation:</p>
    <ul>
    <li>JSP Test Page</li>
    <li>Servlet Test Page<br>
    </li>
    </ul> </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/relatedapps_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">Community
    Forums</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>Collaborate with other users of Oracle Containers
    for J2EE by visiting theOC4J on OTN.<br>
    </p>
    </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table> <br>
    </td>
    </tr>
    </table>
    </div>
    <div align="left"> </div>
    <div align="left">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="604"> </td>
    <td rowspan="2" valign="bottom" width="12"><img alt="" src="ohs_images/slieghright.gif" width="12" height="15"></td>
    </tr>
    <tr>
    <td bgcolor="#CCCC99" height="1"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="5"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td align="left" class="OraInstructionText"> </td>
    </tr>
    </table>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr>
    <td>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align=center colspan=2 class="OraInstructionText"> </td>
    </tr>
    <tr>
    <td class="OraCopyright">Copyright &copy; 2005 Oracle.
    All Rights Reserved.</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>
    </BODY></HTML>
    Exception in thread "main" java.lang.Exception: MapViewer cannot process your map request. Check MapViewer log for details.
         at oracle.lbs.mapclient.MapViewer.processImgURL(MapViewer.java:6962)
         at oracle.lbs.mapclient.MapViewer.run(MapViewer.java:6391)
         at project1.JDBCVersion.main(JDBCVersion.java:80)
    Thanks,
    M

    Thanks,
    I think so, Could you please let me know how I can check if the deployment is done correctly?
    Also is MapViewer mv = new MapViewer("http://localhost:8888") a correct declaration?
    Thanks,
    M
    Edited by: 834943 on Feb 18, 2011 9:16 AM

  • Problem ! Calling report6 from forms6(run_product()) using global temporary table.

    Requirement :
    To generate stock movement report for certain selected items.
    Background :
    A Form is created with data block (tmp_item_master - a global temporary table)
    when_new_form_instance :
    inserting into tmp_item_master from item_master and then execute_query on tmp_item_master block.
    User selects certain items using check box provided.
    Now tmp_item_master is updated for ch_select_flag_yn = 'Y' for selected items
    and commit.
    Calling report from form(using run_product()).
    Now the main query in report, is joined with tmp_item_master where ch_select_flag_yn = 'Y'
    Here, we are unable to see the report for any item. As the global temporary table data is not visible in the report session.
    How to resolve this problem ?
    Note : global temporary table created with ON COMMIT PRESERVE ROWS
    Thanking you,
    From praful.
    null

    Hi,
    You are using 'ON Commit Delete Rows' . Instead of Use ' ON COMMIT PRESERVE ROWS'
    The ON COMMIT DELETE ROWS clause indicates that the data should be deleted at the end of the transaction.
    CREATE GLOBAL TEMPORARY TABLE my_temp_table (
    column1 NUMBER,
    column2 NUMBER
    ) ON COMMIT DELETE ROWS;
    In contrast, the ON COMMIT PRESERVE ROWS clause indicates that rows should be preserved until the end of the session.
    CREATE GLOBAL TEMPORARY TABLE my_temp_table (
    column1 NUMBER,
    column2 NUMBER
    ) ON COMMIT PRESERVE ROWS;
    Edited by: Mrucha on Nov 26, 2012 6:06 AM

  • How to call people from built-in speakers?

    Does anyone know how you can call people from Skype™ with no microphone, but only from speakers? My friend wants to know this, he apparently wants to use some soundboard, and if you call from your speakers, the person you are calling can only hear the soundboard but nothing else like background noise or anything.
    He's been bugging me to find this out, lol. Anyone know? He has a MacBook Pro 15" OS X Lion.

    for others to hear you or for you to record your voice a microphone is required
    a speaker can never be used at all it's just a magnetic construction which moves air to  produce sound

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Contact name not showing in call/sms log even when I call/sms from my address book.

    Two things have changed on my phone recently.
    1. I ran the latest update 4.3.2
    2. My phone was not showing all the contacts in my address book that is in my Mobile Me account. Mobile me had 166 contacts. The iPhone 4 had 136. I I unchecked the syncing of my contacts on my phone. This removed all the contacts from my phone. Then I check the syncing options again. All 166 appeared on the phone.
    I'm not sure which of the two caused the issue but now anytime someone who calls their name does not appear on the display or log, just their number. I can even call people from my address book and the display shows that I am calling them with their name and photo on display. However, in the call log the name does not show just their number.  This applies for text messages. I send a message directly from within the contact card in the address book and in my text log it shows only the number and not the name.
    I've turned the phone off and on a couple of times.
    I would appreciate any advice.
    Cheers

    Thanks iraghib,
    In the end I reset my phone to factory settings. I created a back up of my address book and ical. Reset the phone and did a sync again. This fixed it all. I didn't need to use the backups but is was nice to know they were there. I felt entering the various passwords for all my installed apps was a much better deal than adding the international area code to the 166 contacts I have in my address book.
    Good luck. And thanks for the post.

  • How can I access my Call Handlers from outside line (outside district)

    CISCO VoIP System Info:
    Cisco Unity Connection version: 8.6.2ES25.21900-25
    CM Admin System version: 8.6.2.21900-5 on C200M2 Servers
    Our engineer setup our Call Handlers so that in our to change the recordings on them, you diall 7800 from a phone inside the office, or as he put it in the procedures, from within the district.  Once you dial, you need to enter the user code, password, then the extension of the Call Handler, and we have no problems recording/changing any Call Handlers.  However, due to possible inclement weather approaching in the next few weeks, I was asked how we cna change them from an outside line (manager's home, etc.).  We cannot access from an outside line.  7800 is not a DID, it is simply the extension he assigned to access the call handlers.  I even went so far as to setup a dummy phone and forward it to 7800, but this does not work either.  It forwards to the extension's voicemail.  Is there a way we can access the Call Handlers from an outside line?  Any help would be gretaly appreciated.  Thank you in advance.

    Hey Joseph,
    Go Flames ....errrrrrrrrrrrrrrrrrr maybe not so much
    What you are trying to get to is really just the Greetings Administrator
    conversation and there are multiple ways to get there.
    For example, you can set up a Caller Input off any mailbox (Press 1-9) let's say 7 to
    go to Conversation> Greetings Administrator. So you could set this on the managers mailbox
    and when he calls his own number from home once his greeting
    kicks in he can press 7 to link to the Greetings Administrator conversation
    or
    You could set up a DID DN xxx-xxx-2345 as a CTI-RP and set Call Forward All to reach Unity Connection.
    In this case you will need to use the Forwarded Routing Rules = xxx-xxx-2345 route to
    Greetings Administrator. Make sure to move this rule to the bottom of the list!!
    Cheers!
    Rob
    "Why do the best things always disappear " 
    - The Band

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu. I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball). Any suggestions? Using 10.6.7 and u

    I cannot log onto the App Store, the page appears when I call it from the dock or the Apple menu and I can call the log-in box from the menu bar, but on signing in the spinning icon just keeps spinning,(not the beachball).  Using 10.6.7 and up-to-date on all software. Any suggestions?

    Could be a third party app preventing you from being able to login.
    Mac App Store: Sign in sheet does not appear, or does not accept typed text
    If it's not a third party issue, follow the instructions here.
    Quit the MAS if it's open.
    Open a Finder window. Select your Home folder in the Sidebar on the left then open the Library folder then the Caches folder.
    Move the com.apple.appstore and the com.apple.storeagent files from the Caches folder to the Trash
    From the same Library folder open the Preferences folder.
    Move these files Preferences folder to the Trash: com.apple.appstore.plist and com.apple.storeagent.plist
    Same Library folder open the Cookies folder. Move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Relaunch the MAS.

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • Want to call transactions from ALV list output

    Hi Guru's,
    I have a report which displays Open PR's, open PO's n their details with respect to material. wat i want to do is call transactions from this out put i.e i want a interactive output. if i click on particular PR i want the system to call that PR screen. how can i do this?? Plz help.

    REFER THIS
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = ' '
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = 'USER_COMMAND '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
      IT_FIELDCAT                    =
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      IR_SALV_LIST_ADAPTER           =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      TABLES
        T_OUTTAB                       =
    IF SY-SUBRC <> 0.
    ENDIF.
    AND THEN
                     rs_lineinfo type slis_lineinfo.
    FORM user_command5 USING r_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    data : lv_date type char4.
    CLEAR : LV_DATE .
    CASE r_ucomm.
    WHEN '&IC1'.
          IF rs_selfield-fieldname = 'BELNR'.
        read table it_e into wa_e index rs_selfield-tabindex.
        if sy-subrc = 0.
        lv_date = wa_e-budat(4).
        endif.
        SET PARAMETER ID 'BLN' FIELD rs_selfield-value.
        SET PARAMETER ID 'BUK' FIELD s_bukrs-low.
        SET PARAMETER ID 'GJR' FIELD lv_date.
        call TRANsaction 'FB03' AND SKIP FIRST SCREEN.
        endif.
        ENDCASE.
    ENDFORM. "user_comm

  • How to call servlet from jsp

    i m trying to call it from jsp using
    <a href="../purchaseP?orderno=<%=pno%>"><%=pno%></a>
    but its giving error..
    type Status report
    message HTTP method GET is not supported by this URL
    description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).

    i m trying to call it from jsp using
    <a href="../purchaseP?orderno=<%=pno%>"><%=pno%></a>
    but its giving error..
    type Status report
    message HTTP method GET is not supported by this URL
    description The specified HTTP method is not allowed
    for the requested resource (HTTP method GET is not
    supported by this URL).Are you implementing the doGet or doPost method in your servlet? If you are calling from a hyperlink then it needs to be implementing the GET method. To access the POST method use a html form.

Maybe you are looking for

  • Can't delete photo's from iPhone without deleting them from iCloud...

    I own a 16GB iPhone 5, every time I try to erase a photo from my iPhone it prompts me with a warning telling me that "this photo will be deleted from iCloud Photo Library on all your devices" this warning pops up in all sections of the photo app. Ple

  • Function module to change Date from YYYYMMDD to DD.MM.YYYY

    Hi PLease tell me the function module that will convert date from YYYYMMDD to DD.MM.YYYY Thanks

  • Creating folder names with variables in applescript?

    im trying to make folders and name them with structured names but im getting an error and im not sure what im doing wrong. the error i get is: Finder got an error: Can't make "/Users/USERNAME/Desktop/Fake Server/Project Name" into type item. --------

  • Authentication on a Wireless Network

    Hi all, I have 2 standalone networks to be deployed in a hotel area on ground and 20th floor. We have a 5M internet link provided by the ISP for the users. I will be usingAIR-WLC4402-12-K9 with AIR-LAP1142N-N-K9 for providing wireless connectivity. I

  • How to convert XML file to WSDL file

    Hi SAP gurus I am trying to create a wsdl file from a BAPI. I have followed all the steps and finally using transaction WSADMIN, I create the webservice. When I select SAVE AS (in the explorer window) it gives me an option with .XML. However, when I