Okcode pass while calling the ITS .

Hi Friends,
I am calling one ITS url from my webdynpro application. I am able to pass the parameter to the ITS screen but i want to pass the okcode also i did it but its not working .
Basically what i want to skip the first screen by passing the input value and ok code .But i dont know why the okcode is not working . Below is the URL where i have pass the parameter and ok code . I have declared the ok code on the screen.
Please suggest if i missed some thing .
Thanks,
Satya

Hello Satya,
Please have a look at [this Wiki|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375]. It might help.
I hope this helps.
Best regards,
Cristiano

Similar Messages

  • Error while calling the Mapping function module for BW Extraction

    Hi
    iam getting runtime error while calling the BW mapping function
    The error description is as shown below.
    Runtime Errors         CALL_FUNCTION_UC_STRUCT
    Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE
    <b>Short text</b>
        Type conflict during structure parameter transfer at CALL FUNCTION.
    <b>What happened?</b>
        Error in the ABAP Application Program
        The current ABAP program "GP466CV1Y7W2VML1PJ3VB80KDOP" had to be terminated
         because it has
        come across a statement that unfortunately cannot be executed.
    <b>Error analysis</b>   
    An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
         not caught in
        procedure "CALL_MAPPING_FUNCTION" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        In the function "CMS_CB_BW_MAP", the STRUCTURE parameter "EXTRACT_DATA" is
         typed in such a way
        that only actual parameters are allowed, which are compatible in Unicode
         with respect to the fragment view. However, the specified actual
        parameter " " has an incompatible fragment view.
    I am passing the EXTRACT_DATA  parameter as specification LIKE with the associated type  - corresponding structure
    Please let me know how can i resolve this issue
    Regards
    Leon

    Dear benarji ,
    I'm having the  same problem help me to correct . I have mentioned below as what error i got.
    Runtime Errors         CALL_FUNCTION_UC_STRUCT
    Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE
    Short text
         Type conflict during structure parameter transfer at CALL FUNCTION.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "ZDLROUTSTANDING_COPY" had to be terminated because it
          has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
          not caught in
         procedure "PDF" "(FORM)", nor was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         In the function "/1BCDWB/SF00000080", the STRUCTURE parameter "IT_WORKS_SF" is
          typed in such a way
         that only actual parameters are allowed, which are compatible in Unicode
          with respect to the fragment view. However, the specified actual
         parameter "SFTWORKS" has an incompatible fragment view.
    Missing RAISING Clause in Interface
        Program                                 ZDLROUTSTANDING_COPY
        Include                                 ZDLROUTSTANDING_COPY
        Row                                     876
        Module type                             (FORM)
        Module Name                             PDF
    Trigger Location of Exception
        Program                                 ZDLROUTSTANDING_COPY
        Include                                 ZDLROUTSTANDING_COPY
        Row                                     894
        Module type                             (FORM)
        Module Name                             PDF
    Source Code Extract
    Line  SourceCde
      864 **            i_logo             = 'ENJOYSAP_LOGO'
      865 *            IT_LIST_COMMENTARY = I_LIST_COMMENTS1.
      866
      867 ENDFORM.                    "alv_top_of_page1
      868 *&---------------------------------------------------------------------*
      869 *&      Form  PDF
      870 *&---------------------------------------------------------------------*
      871 *       text
    872 *----------------------------------------------------------------------*
    873 *  -->  p1        text
    874 *  <--  p2        text
    875 *----------------------------------------------------------------------*
    876 FORM pdf .
    877
    878 *  *** Smartforms & PDF ***
    879
    880   ssfctrlop-no_dialog = 'X'.
    881   ssfctrlop-preview   = 'X'.
    882   ssfctrlop-getotf    = 'X'.
    883   ssfcompop-tddest = 'ERP7'.
    884   DATA : mcheck LIKE sy-subrc.
    885   CLEAR : fm_name.
    886
    887   "Get Function module name for given smartform
    888   CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    889     EXPORTING
    890       formname = 'ZSFDLOS1'
    891     IMPORTING
    892       fm_name  = fm_name.
    893
    >>>>   CALL FUNCTION fm_name
    895   EXPORTING
    896         control_parameters   = ssfctrlop
    897         output_options       = ssfcompop
    898         mrefno               = mrefno
    899 *       P_TITLE              = MTITLE
    900   IMPORTING
    901         document_output_info = st_document_output_info
    902         job_output_info      = st_job_output_info " IT_OTF_DATA
    903         job_output_options   = st_job_output_options
    904   TABLES
    905         it_works_sf          = sftworks
    906   EXCEPTIONS
    907         formatting_error     = 1
    908         internal_error       = 2
    909         send_error           = 3
    910         user_canceled        = 4
    911     OTHERS               = 5.
    912
    913   IF sy-subrc NE 0.
    Advance Thanks

  • Is Header necessary to pass while calling a webservice ?

    Hi all,
            I am calling a webservice which has 1 input parameter.
            My question is, 'Is it mandatory to pass header information while calling the webservice',
            while testing ?
            I got this question because, I tried calling the webservice, but got an error as,
            'CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception'. But I am not passing any
            DateTime field.
            Further my webservice is located in a .NET system and I am trying to consume it from SAP.
            Please advice.
            Any links for the same will be of Gr8 help.
    Thanks.
    Yats.

    Hi Venu,
    DateTime is not as an input.
    I have only 1 input parameter and that is a string.
    Thanks.
    Yats.
    Edited by: Yatin Vishwas Parab on Jun 17, 2009 7:59 AM

  • Problem while calling the FM FP_JOB_OPEN

    Hi All,
    I have a scenario where i need to attach multiple Forms(Adobe) to a work flow container.
    While calling the FM 'FP_JOB_OPEN', i am passing the required parameters as below
    wl_outputparams-nodialog = 'X'.
    wl_outputparams-connection = 'ADS'.
    wl_outputparams-dest = 'LP01'.
    wl_outputparams-getpdf  = 'X'.
    the problem is that i get a Print preview pop-up even though i pass Nodialog = 'X', and more over after calling the actual Form function module the resultant parameter 'fpformoutput-pdf' is only filling up only after i process the print preview dialog and see the preview. other wise the field 'fpformoutput-pdf' is blank.
    as i need to do this work in back ground(for work flow background step) i do not want the print preview pop-up window.
    can some one help me in this regard.
    PS. For multiple forms i tried calling the form functions modules in between every FP_JOB_OPEN n FP_JOB_CLOSE
    as well as a single FP_JOB_OPEN and calling the multiple form function modules and FP_JOB_CLOSE.
    thanks in anticipation .
    Srinivas

    @koolspy      
    Yes, i did specify the settings in the o/p options.
    in addition to this, after debugging i could able to see some issue when calling form name via  FM 'FP_FUNCTION_MODULE_NAME', in this FM it is appending '_IN' to the generated FM name and trying to check for existence check, obviously there wont be any FM as it is appending '_IN' to the generated FM.
    but when calling the generate FM after FP_JOB_OPEN it is throwing sy-subrc = 1, which is Usage error.
    Why is it behaving weirdly, is there any thing i am missing while calling the Form?
    please help as this is on high priority
    thanks
    srinivas

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • Error while calling the EAI Viewer

    Dear all,
    I am working on Document Management System ECC 6.00
    I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when i try to open the same in the next PC it is opening. the work station application which i have defined is EAIWeb.webviewer2D.1 %SAP-CONTROL% for the application .pdf.
    Kindly suggest what will be the problem as it is not opening in my PC but opening in an different PC with the same user name.
    Kindly suggest.

    Hi Kishuz  ,
    ECL Viewer comes with SAP
    It is Engineering client viewer, which works for files like *.jt(jupiter technology), *.pdf(acrobat), *.dwg(autocad), *.step, *.iges
    with ECL viewer you can view files like dwg without having Autocad Installed on your machine.
    Alos it gives redlining feature...
    thus layers help in indicating the modifications needed or commenting on the drawings...
    Now the procedure for installation,
    1. Install the latest SUN JAVA version. The path could be <b>c:\program files\java\</b>
    2. While installing SAP GUI, ensure that the ECL component is not selected from R/3 Add On.
    4. Install ECL Viewer 5.1.2 on local machine.
    5. Ensure the path is as follows :(C:\Program Files\Common Files\SAP Shared\System or C:\Program Files\Common Files\SAP Shared\System\Java )
    6. Ensure that the following files are in the <b>c:\program files\java\1.5.0_08\lib\ext</b>
    folder:
    - VisWebS.jar,
    - VisWeb.jar,
    - eaisupport.jar,
    - eaisupportS.jar
    - version.ini
    - vctk.ini
    In case, please copy the mentioned files from <ECL Install DIR>\java.
    (C:\Program Files\Common Files\SAP Shared\System or
    C:\Program Files\Common Files\SAP Shared\System\Java )
    Reward points if useful...
    regards
    Niranjan

  • Error while calling the PDF in BSP pages in ECC6.0: Question BSP Gurus

    Hi BSP experts,
    Any Experts have solutions for below.
    We recently moved BSP pages into ECC 6.0 .Iam getting the error in BSP page while calling the PDF.
    The scenario is like this: The PDF is getting called the via URL:
    The code is like this
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE runtime->application_url '/' guid '.pdf'    INTO   URL.
    <u><b>This URL is called in the front end LAYOUT.</b></u>
    <iframe src="<%= URL %>" width="100%" height="600px">
    </iframe>

    you missed one question of mine  <b>Do you create the PDF after creating the GUID ?</b>
    try giving a fixed URL just to test.
    Aman

  • FIM "failed while calling the BPC system"

    Hi guys.
    Hope there's an FIM wizard out there.
    We have FIM installed on our BPC server (BPC 7.5 SP06 & FIM 7.5 SP08)
    I am seeing an issue with the connection manager in FIM:
    When I create a new connection, it seems to form correctly (resolves name/IP and gets the list of AppSets from the server)
    However, when I log out and go back in to FIM and check the list of connections, I see an error:
    "Error Loading Data Models"
    The detail of this error is:
    Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action. : javax.xml.ws.WebServiceException:
    org.apache.cxf.service.factory ServiceConstructionException: Failed to create service
    This happens whether I connect using the server name, the FQDN or the IP Address and seems to be the very definition of inconsistency.
    (Why should it see the list of AppSets when the connection is first made, but then fail afterward)
    I am connecting using a secEnterprise login which is mapped to an alias of the BPC Sys Admin account (using LDAP).
    Please help if you can, as this is driving me insane.
    Thanks

    Update.
    I have added the output of the STDOUT log file (including the last couple of things to complete before the ERROR is reported):
    <-- Start Code -->
    2011-11-16 16:28:54,163 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,163 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Using transaction object [org.springframework.jdbc.datasource.DataSourceTransactionManager$DataSourceTransactionObject@892539]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,170 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:46] for JDBC transaction>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:46] read-only>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:46] to manual commit>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@1eacdc4] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor25]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:47] for JDBC transaction>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:47] read-only>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:47] to manual commit>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@18bea70] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor23]>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,188 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=
    [Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:54,302 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=[Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:55,099 ERROR [com.sap.fpm.fim.datamodel.BPCModelProvider] - <Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action.>
    javax.xml.ws.soap.SOAPFaultException: Could not send Message.
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
         at $Proxy67.connect(Unknown Source)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getSessionID(BPCModelProvider.java:401)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getModels(BPCModelProvider.java:281)
         at com.sap.fpm.fim.datamodel.ModelProviderManager.getDataSourceModels(ModelProviderManager.java:351)
         at com.sap.fpm.fim.datamodel.ModelProviderServices.getDataSourceModels(ModelProviderServices.java:133)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy27.getDataSourceModels(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:127)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
         at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:97)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
         at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
         at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:151)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222)
         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:177)
         ... 50 more
    Caused by: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1896)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1824)
         at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:159)
         at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
         at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:583)
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    <-- End Code -->

  • Passing username and password while calling the simple HTTP API

    Hi,
    I want to execute a graph by calling the http api from a java code. However, this gives me a 401 unauthorized http error as I am not passing the username and password to the clover http url.
    The following is the format of the constructed url. - http://<host>:<port>/clover/simpleHttpApi/graph_run?sandbox=<sandboxname>&graphID=graph/Baseline.grf&verbose=FULL
    Can anyone suggest how to pass user credentials to this url.
    Thanks

    Brett,
    Thanks for the response.
    The idea is to run the baseline graph using the simple http api and get the run id of the job. Then I plan to call
    this url - http://<host>:<port>/clover/simpleHttpApi/graph_status?runID=1310924&returnType=STATUS_TEXT&waitForStatus=FINISHED_OK by passing the obtained run ID of the previous job dynamically to this url. This status has to be read and printed on the screen. Now all this is easy to write using java and executing the java class using the JAVA EXECUTE component of Integrator ETL 3.1. My only problem is how do I pass the user credentials.
    Thanks

  • Oracle JBDC error while calling the store procedure

    HI All,
    I am get one strange error while calling a store procedure which has two parameter in and out.
    I am pass the correct XML file which reaches the RDB and then PI receives a exception error message saying:
    oracle.rdb.jdbc.common.RdbException: Closed Resultset
    where as no error log is availble in RBD for the same.
    Can anybody tell me what can be the cause of the error.
    Let me know if you requires more information on this.
    -adi

    Hi Kiran,
    Thanks..
    But I am not able to understand you. I am calling a store procedure not a table. and we not doing anything in the store procedure except return one constant value in Out parameter.
    -Adi

  • Issue while calling the RFC in SAP quality system but not in SAP Dev sys

    Hi,
    Our scenario is FIle-RFC-File.
    We are calling the RFC from XI system in Development environment. This is working fine in Development environment, but not in Quality environment.
    This changes are moved/transported to Quality environment in both XI and SAP side. But we are getting the following error in Quality system:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><b>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null></b></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please provide the inputs, what we can check at SAP side and XI side.
    We have tried to test from XI Development to SAP quality environment, but we are getting the same error message.
    Waiting for the precious inputs.
    Thanks,
    Ramesh.

    Hi Ramesh,
    This might be because your RFC adapter would not have been configured properly. Just do a check on it,in RWB(adapter monitoring) and activate it once more in ID.
    Also check RFC comm. parameters such as host name/user id/password etc..
    Also check whether your XML document is having a mismatch with your RFC XML.
    Check with your payload ( from SXMB_MONI) and test it in your message mapping.
    All the best!
    cheers,
    prashanth
    P.S Please mark helpful answers

  • Problems while calling the webservice published at XI end

    Hi ,
    I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
    I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
    I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
    Can anyone through some light as to what can be the reason behind this .
    is it the problem with the adapter or the webservice
    Thanks
    Nikhil

    HI Ricardo ,
    I have tried that but still I am getting the below error.
    <b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
         at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </b>
    any other Ideas.
    Thanks
    Nikhil

  • Problem while calling the user exit

    Hi All,
    In one of the program one user exit is called. Before this user exit ther is one FM . If I copy the same function module with a new name Z* , this user exit is not getting triggered. The program is going till the point where CALL CUSTOMER-FUNCTION '001' IS written but after that it's not going inside the user exit. But if I put back the original FM , this suer exit is getting triggered and it's gong inside the exit. I've activated the Project for this user exit also. As per our requirement I've to copy the original FM into Z* FM.But my doubt is when I put back the original FM , this User Exit is getting triggered whereas when I copied this FM it's not working .
    Anybody could helpme out why it's happening ?
    Thanks
    Alok

    Srinivas,
    Yes it's related to the other post where I had to copy one standard Function Pool.While copying the function pool I copied the FMs also.This problem is coming out of one FM ,when I changed this to Z* at the place where it is called, the user exit which is written inside that FM is not getting triggered even though program is reaching till the point where this user exit is called .
    Any clue ?
    Thanks
    Alok

  • How to supress the screen while calling the Fm

    hi all,
    i am using  a FM HRHAP_SHOW_DOUMENT,
    i am passing the ADD_ON_APPLICATION = ALL
    MODE = N
    S_APPRAISAL_ID = my appid(50000081).
    and also start date, end date,T_NEW_APPRAISER,T_NEW_APPRAISEE,
    and when i execute this FM i am getting a new screen,
    but when i call the FM it shud not be displayed,
    is there Fm to supress the screen
    please help me to go ahead.

    Hi rukmani,
    i don't think it is possible to supress the screen by calling any other FM. as all the screens are associated wid the function module. so if u don't want that screen in that case use any other fm for the same purpose.
    regards
    saurabh

  • Insufficient privileges error while calling the seeded page on button click

    hi all
    I am working on Customers Online module.
    I have added a normal button on a standard page through personalization .
    The destination for the button is set to call the seeded Create organization page
    destination="OA.jsp?OAFunc=XXIIMC_NG_ORG_CREATE&amp;OAHP=IMC_NG_MAIN_MENU&amp;OASF=IMC_NG_ORG_CREATE"
    System Admin --> functions --> XXIIMC_NG_ORG_CREATE is a copy of standard function IMC_NG_ORG_CREATE.
    It calls the page "OA.jsp?page=/oracle/apps/imc/ocong/party/organization/webui/ImcCreateOrg&HzPuiAddressEvent=CREATE"
    When i click on the button i get the error *"You have insufficient privileges for the current operation. Please contact your System Administrator"*
    1. The profiles *"FND Function Validation Level"* and *"FND Validation Level"* are set to NONE
    2. Bounced apache also.
    3. The responsibility Customers Online Superuser is assigned to my user.
    We are doing R12 upgrade. The similar functionality is working fine in 11i.
    Please let me know what could be the reason of this error and how to correct it.

    Hi,
    Grant is not given to the create organization page. Ask your DBA for this issue.
    Thanks,
    Kumar

Maybe you are looking for

  • How to "cleanse" source data in OWB

    hi! I need cleanse source data like this: destination := NVL(source, 'not defined') in SQL select NVL(src_table.field, 'not defined') from src_table how I can it do in OWB?

  • Navigate to a "sub node"

    Hi Web-Dynpro experts, I have an easy question for you: How can i navigate to a "sub node" of the context? Example: context -> folder -> file Navigation to "folder": * navigation via lead selection   NODE_INPUT = WD_CONTEXT->GET_CHILD_NODE( NAME = IF

  • IllegalStateException: getOutputStream() has already been called

    Hi guys, I am writing JSP to retrieve data from database and export to the user as csv or zip file. It has to be binary. I would like to a download dialog to show up and allow users to choose where to save the exported file. Funcitonally, it works fi

  • Fastest way to find parents with only one child?

    I have two very large tables (both >6 million rows) in an oracle 8i DB. They have a parent child relationship and I would like to construct a query to give me the parents that have only one child......syntactically, what's the best way to construct t

  • How can I populate my PC HD with all the files that are currently on my iPod Classic?

    I think I've changed PCs three times since I've had my iPod Classic 80 gb. I think because of this, I have lost copies of files on my PC along the way (probably some of them remained in the earlier PCs and never made it to my current PC) although eve