Error on calling a BDC from web dynpro while it runs fine through FM.

I have created a function module for calling transaction ima2n using a BDC. This function module runs as intended, if function module is executed using SE37. if I call the same function module from ABAP dynpro view, on some event. I get the below error. I have debugged the function module but it runs fine. If i debug function module and run the BDC in mode "A" then i can see that BDC is performing the intended actions. This is a strange behaviour.. Please help.
ABAP Dynpro Error
Error when processing your request
What has happened?
The URL http://dev.corp.bharatpetroleum.com:8000/sap/bc/webdynpro/sap/zcapex_appln/ was not called due to an error.
Note
The following error text was processed in the system D01 : Exception condition "CREATE_ERROR" raised.
The error occurred on the application server dev_D01_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: TREEV_CREATE_COLUMN_TREE of program SAPLCNT4
Form: TVAR_INIT of program SAPLAIA1
Module: INIT_VARIANTEN_TREE of program SAPLAIA1
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D01 in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server dev_D01_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server dev_D01_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 100 -u: TESTAUTH32 -l: E -s: D01 -i: dev_D01_00 -w: 0 -d: 20111109 -t: 123625 -v: RABAX_STATE -e: RAISE_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
ST22 Dump screen
User and Transaction
    Client.............. 100
    User................ "TESTAUTH32"
    Language Key........ "E"
    Transaction......... "IMA2N "
    Transactions ID..... "4EB9F7AE3E2403D7E10000000A481584"
    Program............. "SAPLCNT4"
    Screen.............. "SAPLAIA1 0306"
    Screen Line......... 5
    Information on Caller ofr "HTTP" Connection:
    Plug-in Type.......... "HTTP"
    Caller IP............. "10.72.46.106"
    Caller Port........... 8000
    Universal Resource Id. "/sap/bc/webdynpro/sap/zcapex_appln/"
Information on where terminated
    Termination occurred in the ABAP program "SAPLC
     "TREEV_CREATE_COLUMN_TREE".
    The main program was "SAPLAIA1 ".
    In the source code you have the termination poi
    of the (Include) program "LCNT4U74".
Error occurred during batch input processing
Source Code :
                CONTAINER
             CHANGING
                HANDLE
                TREE_CONTROL_NOT_EXISTING
                FAILED
                CREATE_ERROR
                CNTL_SYSTEM_ERROR.
IF NOT TREE_CONTROL_NOT_EXISTING IS INITIAL
   RAISE TREE_CONTROL_NOT_EXISTING.
ELSEIF NOT FAILED IS INITIAL.
   RAISE FAILED.
ELSEIF NOT CREATE_ERROR IS INITIAL.
   -->>>>>>>>>RAISE CREATE_ERROR. " failed on this line
ELSEIF NOT CNTL_SYSTEM_ERROR IS INITIAL.
   RAISE CNTL_SYSTEM_ERROR.
ENDIF.
regards,
Parag Agrawal

Hi,
as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
Thanks,
Chandra

Similar Messages

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • Error when calling BPEL process from web service client

    I have created three projects here ,there're no problem when testing Composite Application(SynchronousSampleApplication) by test case inside this project.
    When I create a Java Application(SynchronousSampleApp),inside this project I've created a web service client from file WSDL of BPEL. After that, In Main class, I call an operation from web service client.But have the following error:
    Jul 17, 2008 4:48:22 PM synchronoussampleapp.Main main
    SEVERE: null
    java.rmi.RemoteException: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"; nested exception is:
    HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
    at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:83)
    at synchronoussampleapp.Main.main(Main.java:24)
    Caused by: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
    at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
    at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:67)
    ... 1 more
    Please help me soon. Thanks very much!

    Can't anyone help me? I'm using Netbean 6.1 and Glassfish server.
    Do I need any additional plugin?

  • Error in calling a method from Web services

    Hai Experts,
                    When i try calling a method in web services from webdyn pro its not being called, i get a error SAOPFAULTCODE: 1 . wat might be the problem? The thing i am working with is tat when a employee try to create a FTR(HCM : Travel), a check has to be done in web services and then allow certain employees to proceed and rest should get a error msg but, i could find all the employees r getting the same error msg . Please resolve this issue.
    Regards and thanks in advance,
    Srija.

    Hello,
    Add the line :
    SET_REPORT_OBJECT_PROPERTY(RAP,REPORT_DESNAME,'test.rdf');
    before
    VRAP:=RUN_REPORT_OBJECT(RAP);
    (Of course, 'test.rdf" is an example, replace it by the name of the reports who want to execute)
    Regards

  • How to call t-code from web dynpro ABAP application

    Dear Gurus,
    I am new to ABAP web dynpros. I have to add a button and have to call a SAP standard t-code if user clicks on this button? How to accomplish this task? Any help or example would be appreciated.
    Thanks,
    GSM

    Hi GSM,
    You have to create a SAP transaction iView in your Portal, then obtain its URL in your webdynpro and call WDPortalNavigation.absolute() method.
    Below are the same steps in more detail:
    1) Create a SAP Transaction iView or an Internet Application Component iView (whichever you find convenient). While creating you can select whether you want to use SAP GUI for windows or SAP GUI for HTML. For the latter(GUI for HTML) ensure that your ITS is working fine and configured while creating the system in EP.
    2) Open the properties of the SAP transaction iView created. In the OK code field you can give the ok code value just as you give in SAP R/3 in case you want to navigate to the second screen of SAP R/3 when you pass values from WebDynpro.
    Example for the above would be say Transaction "VA03" for displaying Sales order. Suppose from Webdynpro i want to pass a parameter called "Order number" and when i click a button it should pass the order number to R/3 and skip the first screen required for inputting the sales order numbe.
    It should directly go to the main display of sales order for that ordernumber.
    3) Create your WebDynpro component and deploy it on the server. In your WebDynpro use the WDPortalNavigation.absolute() method and give the url of the SAP Transaction iView created as a parameter and also the required parameters that you would like to pass from WebDynpro.
    4) Create a SAP WebDynpro iView in the Portal.
    5) Now run the Component. It should open up your SAP Transaction iview.
    Regards,
    Uday

  • Call a report from web dynpro abap

    hi i need to call a abap program inside my webdynpro project anyone know how i can do it? i´m using the submit command to do it but a exception error is displayed

    Hi John
    you can't direct call report program from ABAP. Instead you can write the functionality in Function module and get the result in some internal table and  that table you can show in webdynpro for ABAP  using some UI element.
    Regards
    Naresh

  • How to call BI report  from web dynpro

    Hi ,
    How to call  BI report from webdynpro application  and what are the prerequisites for that .
    Please provide an example to work with BI application frame UI element
    Thanks

    Hi Rajpal,
    Please go through this..
    calling BI report
    Cheers,
    Kris.

  • Call same RFC from Web dynpro twice (table parameter passing)

    We have one table on our Iview bind to RFC A output table. We execute the RFC A with input parameters (p1=val1, p2=val2) and the data (task name and chkbox field) gets displayed on Iview table.
    The user will click a select deselect all checkbox to select all rows of the table.
    We want to execute SAME RFC A with input parameters (p1=val3, p2=val4) by passing the Iview table for processing. Please suggest the way to do this.

    Hi Sanjay,
    I am not sure about your requirement. I assume you need to call the same RFC twice, the first time with some simple parameters & the second time with a table parameter. Is this the case? If so:
    You needn't switch data between the contexts. You simply need to check if the RFC is being called when the WD table has some data. If so, add the table parameter to the RFC Input object. Let your WD table be bound to a node 'TableNode' having two attributes - 'task' and 'chk' (chk of type 'boolean'). I assume you need to add the row only if the checkbox has been selected.
    Assuming that your BAPI/RFC uses a table ‘MyTable’ of some type 'ZTAB' and that your RFC call is being done from your view:
    ZTAB table;
    IPrivate<your view>.ITableNodeElement elmt;
    <i>// create an instance of the Input class;</i>
    <BAPI_name>_Input input = new <BAPI_name>_Input ()
    <i>// Populating the RFC Object for the first time call
    i.e when the table node is empty</i>
    if(wdContext.nodeTableNode.size()==0)
    input.setParam1(<some default value>);
    input.setParamN(<some default value>);
    else
    for(int i=0;i<wdContext.nodeTableNode.size();i++)
    elmt = wdContext.nodeTableNode().getTableNodeElementAt(i);
    if(elmt.getChk())
    table = new ZTAB();
    <i>//if you do not know table type of 'MyTable’ , check the function input.add<MyTable> (<table type>)</i>
    table.set<property1>(elmt.getTask());
    <i>// If you need to add more parameters :</i>
    table.set<propertyN>(<your-value>);
    input.add<MyTable>(table);
    wdcontext.node<BAPI_name>_Input().bind(input);
    <i>Now execute the BAPI using the following line</i>
    wdContext.current<BAPI_Name>_InputElement().modelObject().execute();
    wdContext.nodeOutput.invalidate()
    <i>// Refreshes the value in the output node</i>
    Hope this helps,
    Best Regards,
    Nibu.

  • Calling transactional BAPI from Web Dyn Pro

    Hi,
    I am trying to call an RFC from web dynpro, unfortunately I'm a java person rather than ABAP so am struggling a little.  The Bapi is BAPI_BPCONTACT_CREATEFROMDATA, which a colleague has wrapped up so that it saves data from memory and then commits.  I can successfully create sales activities using this RFC from the GUI.  I have connected it to a web dynpro screen and am sending the same information I send from the GUI but get the following error message
    Msg Type I.  Start Processing of refernce object - Handle generated: $000000001 Message variable $000000001 Msg.no 000000 Msg.no 082 MessageID V3 Lines in parameter 0
    Msg Type I.  Integrity rule F0026 broken (field check) - Object $000000001! Msg Variable F0026 Msg Variable $000000001 Msg.no 000000 Msg.no 084 MessageID V3 Lines in Parameter 0
    Msg Type E.  Partner function CR is not defined from fiedl VBKAKOM-PARVW_BPARNR Msg Variable CR Msg Variable VBAKOM-PARVW_BPARNR Msg.no 000000 Msg.no 688 MessageID V1 Lines in Parameter 0
    Msg Type I.  Integrity Rule D0008 broken(dependency) - Object CR VBKAKOM-PARVW_BPARNR! Msg Variable D0008 Msg Variable VBAKOM-PARVW_BPARNR Msg Variable CR Msg.no 000000 Msg.no 085 MessageID V3 Lines in Parameter 0
    Msg Type I.  Business partner 100000000 with function CR from VBKAKOM not in VBPAKOM Msg Variable D0008 Msg Variable 100000000 Msg Variable CR Msg.no 000000 Msg.no 075 MessageID V3 Lines in Parameter 0
    The implementation within web dynpro is forcing to add a Bapi_Sender which I don't have to specify when using the GUI.  I am sending a bapi_sender object in the call with no information which is what I do when using the GUI.  As I mentioned before the parameters I am sending work perfectly when sent from the GUI.
    Any help would be greatly appreciated and I will award generous points. FYI I am also going to post this in the ABAP forum.
    Thanks in advance John Abbott

    Hello John,
    seems to be a customizing problem in SAP. Error says, that the Partner function CR is not properly configured in the tables VBKAKOM and VBPAKOM.
    Did you try to execute the bapi from se37 with function module -> test -> single test ? That is a comparable situation
    The sender has to be a logical system, that in this case, i suppose, has to be declared in SAP (and referenced in the Partner function) to create Data. It depends on the 'type' of function you are executing, reading or creating data in SAP.
    Regards Andreas
    Message was edited by: Andreas Milbredt

  • Can I use bdc in web dynpro?

    Hi,
    I have a fronted application in web dynpro which is using function module which I wrote which uses bdc for creating employee (I haven't found a function which does that without using bdc). The problem is that nothing is happening, the employee is not being created if this function is being called from web dynpro.
    If I call this function module through abap debugger, everything is ok.
    Any ideas?
    Regards
    Ladislav

    Hi,
    You can't call a BDC in Web DynPro's.
    Only You can use RFC FM's or BAPI's.
    Regards,
    Anji

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • Authorization error calling a XI web service from Web Dynpro

    Hi all,
    I'm trying to communicate to XI from a Web Dynpro application but I get an Unauthorization error (401).
    I've generated a WSDL in XI and import it to web dynpro as a new Model. But when a I call the web service, the exception "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized." appears.
    I don't know how to pass the right user and password from Web Dynpro, I've tried the web service from SOAP client tools and it works fine.
    I'll apreciate any help.
    Regards,
    Diego.

    Hola mi  nombre es Luis,
    Creyendo que eres español te escribo en tal idioma.
    He visto que a ti también te devolvía un error de autentificación 401, y que lo subsanaste, pero a mi con la solución que te dieron no me vale, ya que implemento el código que te ofrecieron para arreglarlo y ahora me da un fallo de "Server Error" poniendo en usuario y password, los correspondientes a XI.
    +Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay req=new Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay();
    wdContext.nodeRequest_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay().bind(req);
    req._setUser("username");
    req._setPassword("password");+
    No sé si es que ese usuario y contraseña son otros distintos.
    Si pudieras ayudarme, te lo agradecería.
    Un saludo, Luis

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Line chart will not drill down

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales (

  • T430s Display Port resolution

    I have a T430s connected to a Lenovo mini dock station running Windows 7. I have just purchased a 27" monitor which supports up to 2560x1440 resolution. When connect to the monitor using a display port to DVI cable Windows will only allow a maximum r

  • What i this error code 4SNS/1/40000001 : IG0C-0 257

    just check the hardware for any problems with my mac. this was the answer. i started looking because 1. my serial number isn't showing up and 2. my iMessage and FaceTime doesn't work.

  • Creating a Resume with Microsoft Office

    I'm trying to create a Resume with my Microsoft Word '04 for Mac. But I cannot find a template or wizard for creating a resume in the program. Any help would be greatly appreciated! thanks.

  • Is Refine Edge better in CS6 than CS5.5 than CS5

    Is refine edge better in CS6 than CS5.5 than CS5 - have there been continual improvements Thx