Dump during BAPI_ENTRYSHEET_CREATE calling from Portal

Hi,
I am getting dump during creation of Service Entry Sheet using the 'BAPI_ENTRYSHEET_CREATE' when triggering it from Portal end. But if I directly call the FM from ECC6.0 with the same passing values it gives me the success meassage. The dump only occurs when I am triggering it from Portal via another custom RFC funtion module.
   I have checked in ST22 and the message text is like ....." Exception condition "GUI_NO_MODE_AVAILABLE" raised."
Also have checked the SAP Note1271652 and have suggested to apply kernel patch 184. But kernel patch 185 already been applied as our basis team have confirmed. Can you please help me out of this situaion.
Thanks & Regards,
Apurba

Hi,
I came across this issue and have blogged a solution that gets round it for our purposes. This may help:
http://community.altiusconsulting.com/blogs/adamadshead/archive/2009/09/24/bex-analyzer-s-file-upload-bug-when-integrated-with-sap-portal.aspx
Regards,
Adam

Similar Messages

  • RFC call from portal gives dump call_function_open_error

    Hi all ,
    We have a RFC function module where standarad BAPI BAPI_ENTRY_SHEET_CREATE IS USED
    where a dump  call_function_open_error occurs when the rfc is called from portal , while on r3 it works fine.
    I wanted to know if somebody has faced this kind of problem anytime and what can be the possible solution .
    There is no problem with data , there is no problem with RFC where can be the problem ?
    Please suggest >

    Hi Bhanu,
    Can be helpful
    too many dumps in production Env: CALL_FUNCTION_OPEN_ERROR

  • How can I detect in Business HTML that the app was called from portal?

    How can I detect in Business HTML that the app was called from portal?
    I need to distinguish whether the application was called from portal (URL iView) or by using an URL outside of portal.
    So what I'm looking for is a variable or function that can be used like this:
    `if (~within_portal==1)`
      do this if called from portal
    `else;`
      do that if not called from portal
    `end;`
    For example, can I check in the program that there is a SSO2 cookie from the portal?
    I'm using Integrated ITS in Basis 700.

    Here is the trick:
      if (sapwp_active=="1")
        in portal
      else
        without portal
      end;

  • In Decision task, Method defined after execution is not called from Portal

    Dear All,
    In one of my scenarios, I am using a decision task for approval.
    In that after the approval action is taken i am calling a BAPI to update business function.
    I have called this BAPI in the Methods ( After Workitem Execution ) .
    When I execute this task from the SAP Inbox ,  the method is getting called successfully and the BAPI is also executed successfully. But when I approve the task from portal this method is not getting called at all, and BAPI also fails.
    Actually in the workitem display , I am using the standard FM SWU2_INPLACE_DECISION_PROCESS, will it have any impact when its used from Portal ?
    Is there any common place that will be called from both SAP Inbox and Portal after the task execution , so that based on the decision taken , I can process the action at the same place.
    Advance thanks for your response.
    regards,
    Sabari Prabhu.

    Hello,
    Unfortunately, that I know, there is no way to call your BAPI if you're using the standard decision JavaWD. In fact all that WD does is calling a WAPI to read the decision alternatives and then once the user has taken his decision it calls another WAPI to feedback the decision into the backend.
    The blog mentionned by Pavan concerns only the secondary methods with amodal call, this is different from the before and after methods which are not supported and cannot help you for calling your BAPI. The so-called "Program exits" are not supported either.
    The only alternatives I can see for you are:
    - Develop your own decision screen specific for your workflow and integrate there your BAPI call. This would also give you more flexibility to show your agents the information they need to take their decision. This is the way I usually go for now.
    - Change your UWL settings so that decisions are processed in a GUI screen instead of the JAVA WD screen. The main disadvantage is that you can do this either for all decision or for none of them. You can't just set that up for the decision in your specific workflow (or at least I haven't found how to do it).
    To change the way decisons are processed in UWL you must first change the parameter "List of preview sections to hide" in your UWL iView to add value USERDECISION.
    Then you must create a custom XML config file (or modify an existing one) in which you must customize each decision task used in your company individualy. To do that just take a standard config file and find the Item type entry for a standard decision task as an example. All you have to do is to recreate the same entry for each of the decision tasks you actually use and replace the defaultAction="viewDetail" parameter by defaultAction="launchSAPAction".
    Cheers,
    Patrick

  • Color changed when webdynpro application is called from Portal

    Hi,
    I have developed an Webdynpro application, but the orginal color has been changed if I call it from portal.
    Does someone have an idea how to deal with it?
    best regards

    Hi,
             The attribute name in iView configuration is 'Supply Portal Stylesheet'. It should be marked as 'No' to not to use the Portal Style Sheet.
    Ranganathan.

  • Detecting call from Portal/iView in R/3.

    Hello.
    When processing R/3 code, are there any system variables or function modules that can be called to identify if the code is being processed from an RFC from a Java iView ?
    In partcular compensation planning iView in MSS.
    There does not seem to be any ITS_PING or equivalent. The only way so far has been to evaluate the returned table from a System_Callstack FM call which is not very elegant.
    Many thanks
    Mike

    I don't know if this is exactly what you are asking for, but you can try and put an external breakpoint in the code. Of course it has to be with the same user of the portal, otherwise it will not work. After that, don't forget to go into SE38 and then Utilities --> Settings. There go on to the Debugging tab and check the "Session breakpoint active immed.". This in a ECC 6 environment. If you then login the portal and trigger the RFC you have the breakpoint, as long as you have an R/3 session active, it should open up a Debugging session as well.

  • Short Dump during Import Statement from STXL(TX)

    Hi All,
    issue for me.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception which is assigned to class CX_SY_IMPORT_FORMAT_ERROR was not
         caught in
        procedure READ_TEXTLINES (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:
        When attempting to IMPORT the object TLINE there was a format error.
        Unable to read an IMPORT dataset.
        The dataset may have been processed using SQL and is
        thus no longer readable for the IMPORT.
    Information on where terminated
        Termination occurred in the ABAP program SAPLSTXD - in READ_TEXTLINES
        The main program was RS_TESTFRAME_CALL .
        In the source code you have the termination point in line 106
        of the (Include) program LSTXDFDB.
        The termination is caused because exception C_SY_IMPORT_FORMAT_ERROR
         occurred in
        procedure READ_TEXTLINES (FORM) but it was neither handled locally n
         declared
        in the RAISING clause of its signature.
        The procedure is in program SAPLSTXD its source code begins in line
        75 of the (Include program LSTXDFDB .
    import tline to rt_lines
        from database stxl(tx)
             client   rt_client
             id       stxl_id
             ACCEPTING TRUNCATION                     "important for Unicode->Nonunicode
             IGNORING CONVERSION ERRORS.
    Thanks & Regards,
    Pavan.

    Hi Ramotar,
      are you using the read_text function module to retreive contents? if yes then ensure that you have passed everything correct am given example below just check that,
    DATA : T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE .
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
             CLIENT                        = SY-MANDT
              ID                            = 'F01'
              LANGUAGE                      = 'E'
              NAME                          = V_NAME
              OBJECT                        = 'EKKO'
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
            TABLES
              LINES                         =  T_LINE
           EXCEPTIONS
             ID                            = 1
             LANGUAGE                      = 2
             NAME                          = 3
             NOT_FOUND                     = 4
             OBJECT                        = 5
             REFERENCE_CHECK               = 6
             WRONG_ACCESS_TO_ARCHIVE       = 7
             OTHERS                        = 8
    if not just explain on what scenario you are getting this dump?

  • WDA app not launched with SSO when called from portal

    Hi,
    we have configured our systems so that our portal (NW Portal 7.0) is issuing logon tickets and ERP6.0 is receiving them in the backend for single sign-on.
    When launching a SAP GUI for Windows transaction (System admin->Support->SAP Application) to test if the SSO is set up correctly, all goes well and I'm able to call e.g. SU01 with logon tickets from the portal.
    My problem is that when calling a Web Dynpro for ABAP application in the same backend system from the same portal, I get an error "SSO logon not possible; logon tickets not activated on the server" and need to login manually when starting the application.
    When looking at the WDA app URL, I see http://<backend server>.<domain1>.com/... and the portal is sitting on http://<portal server>.<domain2>.com. Could it be a problem if the backend system is in another domain? And if yes, how come the SAP GUI for Windows launch then works (related to an http connection and domain relaxing?)? How to go forward and make it work all right?
    Best regards,
    Mikko

    Hi Navarro,
    Merry Xmas:)
    >>We did the same test with the demo app from you (MS)
    http://msdn.microsoft.com/en-us/library/windows/apps/hh202967(v=vs.105).aspxand it still don't work. (remember to setup
    fast app resume)
    Yes, I can reproduce your issue using the official sample.
    I think this issue is caused by the mechanism of Fast app resume, please refer to the following reference:
    #Fast app resume for Windows Phone 8
    http://msdn.microsoft.com/en-us/library/windows/apps/jj735579(v=vs.105).aspx
    Quote:
    With Fast Resume, when an app is resumed, the system creates a new page instance for the target of the launch point and this page is placed on top of the app’s existing backstack.
    This official sample can also help us to understand how it works:
    https://code.msdn.microsoft.com/windowsapps/Fast-app-resume-backstack-f16baaa6
    We could find that the Application.Launching event will not be triggered if we used Fast app resume, this will affect responding Toast's parameter(Deep Link).
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Deployable Proxy Called From Portal

    I've created and deployed a proxy on my portal application server.  Then, from a portal service, I successfully look it up and invoke it.  However, I'm getting a class loader error on the com.sap.engine.lib.xml.parser.tokenizer.XMLTokenWriter class.
    I've added a sharing reference to my deployed J2EE component, and I know this is working because I can look up the proxy.  What is strange is that this was working okay yesterday.  It seems some class loading issue has come up since then.
    Can anyone give me a pointer here?
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at com.sap.engine.services.webservices.jaxrpc.encoding.SimpleValidator.checkMaxLengthString(SimpleValidator.java:77)
         at com.champtech.coin.extract.bwdelta.types.Unit3.serialize(Unit3.java:58)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:500)
         at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil._serializeArray(SerializationUtil.java:462)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:354)
         at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:500)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildRequestDocument(MimeHttpBinding.java:388)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1422)
         at com.champtech.coin.extract.bwdelta.ZCOINLAB_XML_WSSoapBindingStub.BI0_QI6AZCOINLAB_XML_RFC(ZCOINLAB_XML_WSSoapBindingStub.java:86)
         ... 5 more
    #1#java.rmi.RemoteException: Service call exception; nested exception is:
         java.lang.ClassNotFoundException: com.sap.engine.lib.xml.parser.tokenizer.XMLTokenWriter
    Found in negative cache
    Loader Info -
    ClassLoader name: [champtech.com/COINBWExtraction.services]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:cross
       interface:ejbserialization
    Resources:
       C:
    usr
    sap
    EPQ
    JC00
    j2ee
    cluster
    server0
    apps
    champtech.com
    COINBWExtraction.services
    webservices_container
    wsClients
    ws_cl_0
    jars
    com.champtech.coin.extract.bwdelta.BWDeltaLoadService.jar
       C:
    usr
    sap
    EPQ
    JC00
    j2ee
    cluster
    server0
    apps
    champtech.com
    COINBWExtraction.services
    webservices_container
    wsClients
    app_jars
    COINBWExtraction.services.jar
    Loading model: {parent,references,local}

    Hi Mike:
    I am facing the same problem, my project can't fine class XMLTokenWriter.
    I removed the default class path and added the sapxmltoolkit.jar as external jar to my project, but the problem still exist. Could you kindly tell me more detail of your solution?
    Best regards!

  • How to find out  fn calls  from portal.

    can anyone help me to find out  fn calls in xrpm portal?
    steps!

    You can use the following steps for doing it in portal
    Open two sessions of SAP EP with the same user
    Navigate to: Portfoliomanagement – Administration – Cache Administration – RFC Debugging (first session)
    Activate the Debugging
    Execute xRPM application in the second session
    Switch back to the RFC Debugging press Load
    Select the executed function
    All parameters will be displayed in the Context Input window
    if you need to do debugging in backend !
    make sure to swithch to new editor.
    regards@gopeekrishnan

  • RFC call from portal to CRM - Special Characters are replaced

    Hi All,
    I am trying to call an RFC which gives the user information. I pass the portal username.
    Issue is when the user name has special characters 'ä'  are replaced by 'Ã#'.
    Iam using SAP CRM ABAP 7.0.
    Please let me know how to solved it.
    Thanks in advance..
    Thanks and Kind Regards,
    Basheer.

    Possibility is your one of the system is Unicode & other is non unicode.

  • Message expired during sync call from BPM to ECC

    Hi guys,
    I'm doing a sync call to ECC during my BPM processing and it takes approx 2 minutes to the function module there to process the data. And since it takes so long I'm getting following exception for the message in SXMB MONI
    com.sap.aii.af.ra.ms.api.MessageExpiredException: Message xxxxxxxxxxxxxxxxxxxxx (INBOUND) expired
    Any ideas why does this happen and how to solve it?
    Thanks
    Olian

    Hi,
    Check this links
    Timeout when calling a RFC
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1430683750DB10832347498039929799End?blog=/pub/wlg/3802
    Regards
    Ramesh

  • Getting ioerrorevent type ioerror during webservice call from mobile app

    Hi,
    I building a mobile employee directory and for that I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).
    Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co">http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabhttp://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.alshaya.com:7013/RESTEm ployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabEmployeeDetails-context-root/jersey/restlab
    The same code is working in Flash Builder 4.6. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
       <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.collections.IList;
        import mx.collections.XMLListCollection;
        import mx.events.FlexEvent;
        import mx.rpc.events.FaultEvent;
        import mx.rpc.events.ResultEvent;
        import mx.rpc.xml.SimpleXMLDecoder;
        import mx.utils.ArrayUtil;
        import valueObjects.EmployeeDetail; 
        [Bindable] 
        private var myXml:XML;
        [Bindable]
        public var resultCollection:IList;
        public function handleXml(event:ResultEvent):void
         var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
         var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
         var resultArray:Array = xmlListCollection.toArray();
         var resultArrayValues:Array = xmlListCollectionValues.toArray();
         var objEmployeeDetails:EmployeeDetail;
         var resultCollection:ArrayCollection = new ArrayCollection();
         var j:int = 0;
         for(var i:int=0;i<resultArray.length;i++){
          objEmployeeDetails = new EmployeeDetail();
          objEmployeeDetails.brand = resultArrayValues[j];
          objEmployeeDetails.division = resultArrayValues[j+1];
          objEmployeeDetails.email = resultArrayValues[j+2];
          objEmployeeDetails.employee_name = resultArrayValues[j+3];
          objEmployeeDetails.employee_number = resultArrayValues[j+4];
          objEmployeeDetails.grade = resultArrayValues[j+5];
          objEmployeeDetails.mobile = resultArrayValues[j+6];
          objEmployeeDetails.position = resultArrayValues[j+7];
          j = j + 8;
          resultCollection.addItem(objEmployeeDetails);
         list.dataProvider = resultCollection;
         //return resultCollection;
        public function handleFault(event:FaultEvent):void
         //Alert.show(event.fault.faultDetail, "Error");              
        protected function sesrchEmployee():void
         xmlRpc.send();
       ]]>
    </fx:Script>
    <fx:Declarations>
       <dao:EmployeeDAO id="srv"/>
       <mx:HTTPService id="xmlRpc" 
           url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlab"
           result="handleXml(event)" 
           fault="handleFault(event)" 
           resultFormat="e4x" showBusyCursor="true">
        <mx:request xmlns="">
         <data>{key.text}</data>
         <data>{key1.text}</data>
        </mx:request>
       </mx:HTTPService>
    </fx:Declarations>
    <s:navigationContent/>
    <s:titleContent>
       <s:VGroup width="100%">
       <s:HGroup width="100%">
        <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
        <s:TextInput id="key" width="559"/> 
       </s:HGroup> 
       <s:HGroup width="100%">
        <s:Label height="30" paddingTop="10" text="Employee Number:"/>
        <s:TextInput id="key1" width="100%"/> 
       </s:HGroup> 
       </s:VGroup> 
    </s:titleContent>
    <s:actionContent>
       <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/>  
    </s:actionContent> 
    <s:List id="list" top="0" bottom="0" left="0" right="0"  
        change="navigator.pushView(EmployeeDetails, list.selectedItem)">
       <s:itemRenderer>
        <fx:Component>
         <s:IconItemRenderer label="{data.employee_name}"
              messageField="position">
         </s:IconItemRenderer>
        </fx:Component>
       </s:itemRenderer>
    </s:List>
    </s:View>
    Please help me to resolve this issue as soon as possible. Appreciate your quick response in this regard.
    Thanks,
    Murtaza Ghodawala
    Mobile: +965 97180549
    [email protected]

    I am in the same boat, trying to get data from a site with simple Apache Basic Authentication.  I couldnt get the FB/AIR App for iPad to popup the login window. Then, I hard coded in my own login credentials as:
    URLRequestDefaults.setLoginCredentialsForHost("99.99.99.99", "alan", "1234");
    That worked to get logged in at least, and did bring back the data OK.
    Still working on the getting the popup the login window.

  • Calling RFC placed in PI from Portal

    Dear All,
    We have a scenario where we have RFCs in ECC and it has to be called from Portal through PI.
    Please suggest the possible and easiest ways.
    Please note these RFC are already being called from Portal to ECC directly. So we need to change it be called from PI.
    with regards,
    Ravi Siddam

    Hi Ravi,
    You can do it in either any one of the below ways.
    Use PI Http Url to push the data to PI and from there you can call RFC.
    Plz check below link: Sender Synchronous HTTP Adapter
    Or you can use Web sevice to push the data to PI and then you call RFC.
    Plz check below link on Web service scenario:/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi
    But before going for above solutions. Please have a looku2026 on below info and decide whether to go for it or not.
    SAP NetWeaver PI 7.1 Usage Scenarios: When NOT to use SAP PI
    User Interface Integration scenario: This is a common scenario faced by the development team u2013 the Webdynpro application is developed on the SAP J2EE application server integrated with the portal. The business data has to be fetched from the SAP ECC backend.
    The User Interface would demand a quick response from the backend for fetching data and conducting the transaction. This is a synchronous scenario, and it would also be conducted with high usage every day. Hence, it is recommended to have a direct integration between the source application (WebDynpro application) and the target application (SAP ECC6) without using SAP PI. It is also recommended to expose the backend functionality as standard services.
    For example, integration between SAP Portals (containing SAP BPM, SAP CAF, SAP WebDynpro) and SAP Suite (SAP ECC, SAP CRM, SAP SCM, SAP SRM etc.) should be conducted without the usage of SAP PI; the services should be exposed from the SAP suite as standards-compliant enterprise services.
    Web Service interface of backend application: Many times, the target application in SAP/Microsoft/Java/Legacy is available as a standard web service. In such cases, the web service interface can be easily consumed in the source application. In such scenarios, SAP PI adds no value for transformation or backend integration.
    In conclusion, SAP PI usage is usually not recommended for User facing applications where the backend application is available as a standard web service. SAP PI is almost always suitable for integration between backend applications not requiring human intervention.

  • POWL inbox dump error from portal

    Hi all,
    we are on 6.06 our problem is about powl inbox.(IBO_WDA_INBOX with config ID HRMSS_AC_POWL_INBOX ).  I can call the application from se80, it is working perfect, however when the same application is called from portal I got an portal error and could not display it. I tried to upload the webdynpro application to portal as a different ivew resulty is the same . Same error even when I link the same application from the URL link. Any idea ?
    http://xxxxxxxxxxxxxxxxxxxx/sap/bc/webdynpro/sap/ibo_wda_inbox?sap-language=EN&sap-wd-configId=HRMSS_AC_POWL_INBOX

    what is the whole error you get can you paste from ST22? check your Profile Table CATS_APPR_CUST , should at least contain SAP_LINE & SAP_PROJ check in LPD_CUST MSS NAV http://scn.sap.com/thread/3350041 Please advise the system version you are using? use MANAGER_MSS_INBOX_2 http://scn.sap.com/thread/3484138 SAP Note 1800335 - CATS WDA: Web Dynpro ABAP based CATS use in UWL

Maybe you are looking for