Test Run with BAPI_PRICES_CONDITIONS

Hi,
I am using BAPI_PRICES_CONDITIONS in my program to create pricing conditions.
BAPI is working fine and it creates pricing conditions.  I can see them in VK13 and in table A9**.
The surprising thing is - this BAPI creates pricing conditions in database, even if I am not calling BAPI_TRANSACTION_COMMIT or  COMMIT WORK in my program.
In fact, I need to have two options as below in my program:
1) Test Run --> Just to display the return messages from BAPI (no DB update)
2) Create conditions --> Actual creation in Database
Now the problem is that condition records are created in both of these cases.
So, I am not able to achieve functionality of option-1.
Has anyone faced this problem before or can anyone help me in this?
Awaiting for your valuable input/suggestions.
Thanks & Regards,
Devendra

Devendra Yadav,
where yoiu able to resolve your issue number 1?
I have the same problem.
Thank you.

Similar Messages

  • Schedule multiple jobs/test runs

    Hi,
    Is there a way to schedule multiple jobs/test runs with oats 9.10?
    It seems it is only possible to schedule a single job, by setting the start time in OLT...
    Any suggestions?

    Hi
    I'm talking about functional tests.
    In OLT when you set the auto-pilot you can schedule the test to start after a delay of xxx minutes or at some exact time, however I have never used that fixture.
    Regards
    Alex

  • Create customer date trough class cmd_ei_api - error in test run

    Hi all,
    I try to use class cmd_ei_api to create customer. It works fine but one thing is strange.
    When I pass data with test run and customer is in a group with internal nummering system icrease number every time when i run program. Customer is not created ( that is good) but the assigned nummer is lost.
    I tried to use method maintain_bapi and maintain.Problem occurs every time.
    Do you have the same problem?  Do you know solution of this problem?
    regards,
    JG
    SAMPLE CODE:
    report zcreate_customer.
    data: wa_header          type cmds_ei_header,
          wa_central_data    type cmds_ei_vmd_central_data,
          wa_central_datax   type cmds_ei_vmd_central_data_xflag,
          wa_address         type bapiad1vl,
          wa_addressx        type bapiad1vlx,
          wa_tax_ind_st      type cmds_ei_tax_ind,
          wa_tax_ind         type cmds_ei_cmd_tax_ind,
          wa_bankdetail_st   type cvis_ei_cvi_bankdetail,
          wa_bankdetail      type cvis_ei_bankdetail,
          wa_company_code_st type cmds_ei_company,
          wa_company_code    type cmds_ei_cmd_company,
          wa_functions_st    type cmds_ei_functions,
          wa_functions_t     type CMDS_EI_FUNCTIONS_T,
          wa_functions       type cmds_ei_cmd_functions,
          wa_sales_data_st   type cmds_ei_sales,
          wa_sales_data      type cmds_ei_cmd_sales,
          wa_customer        type cmds_ei_extern,
          wa_customers       type cmds_ei_main,
          wa_correct         type cmds_ei_main,
          wa_defective       type cmds_ei_main,
          wa_mes_correct     type cvis_message,
          wa_mes_error       type cvis_message.
    constants: c_update type c value 'M',
               c_insert type c value 'I'.
    PARAMETERS: p_test type c as CHECKBOX DEFAULT 'X'.
    start-of-selection.
      free: wa_customer, wa_company_code_st, wa_customer.
      wa_address-name       = 'CUSTOMER NAME'.
      wa_address-city       = 'CITY'.
      wa_address-postl_cod1 = '28-500'.
      wa_address-street     = '1400 9TH ST W'.
      wa_address-country    = 'PL'.
      wa_address-langu      = 'L'.
    wa_address-region     = 'FL'.
      wa_address-sort1      = 'SORT1'.
      wa_address-sort2      = 'Sort2'.
    Assign address data directly
      wa_customer-central_data-address-postal-data = wa_address.
      wa_addressx-name       = 'X'.
      wa_addressx-city       = 'X'.
      wa_addressx-postl_cod1 = 'X'.
      wa_addressx-street     = 'X'.
      wa_addressx-country    = 'X'.
      wa_addressx-langu      = 'X'.
      wa_addressx-region     = 'X'.
      wa_addressx-sort1      = 'X'.
      wa_addressx-sort2      = 'X'.
    wa_customer-central_data-address-postal-datax = wa_addressx.
      wa_customer-central_data-central-data-ktokd = 'OKRA'.
      wa_customer-central_data-central-data-STCD1 = '8291004247'.
      wa_company_code_st-task           = c_insert.
      wa_company_code_st-data_key-bukrs = '1000'.
      wa_company_code_st-data-zuawa     = '009'.
      wa_company_code_st-data-akont     = '0000201100'.
      append wa_company_code_st to wa_company_code-company.
      append wa_customer to wa_customers-customers.
      call method cmd_ei_api=>maintain_bapi
        EXPORTING
          iv_test_run         = p_test
          iv_collect_messages = 'X'
          is_master_data      = wa_customers
        IMPORTING
          es_master_data_correct   = wa_correct
          es_message_correct       = wa_mes_correct
          es_master_data_defective = wa_defective
          es_message_defective     = wa_mes_error.
      if wa_mes_error-is_error is initial and p_test is INITIAL.
        commit work AND WAIT.
      else.
        ROLLBACK work.
      endif.

    Hi experts, I am using cmd_ei_api to create customer. Each time when I create the customer, for the customer number KUNNR, first the method picks a new number from number range, if I don't supply one in program. Then it makes the necessary checks on customer data. If data check is success, customer is created and everything is okay. But if the check is failed, no customer gets created in the Data base, but the picked number is lost forever. Is there a way to avoid this?
          The same happens, even when I ran it in Test Mode(iv_test_run = 'X'). A number is lost irrespective of whether the test run is success or not.
          I tried supplying the customer number via the program. I this case also, I had to get a number from the Number Range and supply. As the Method validates whether the supplied number belongs to the right number range, I cannot use any dummy number(not even for a Test run). Also it validates whether a customer exists in KNA1 with the supplied number.
          As a work around, now I am supplying the last number of the number range for the test run(which I have hard coded ~not a good practice!!). If this runs error free, I will pick a new number and creates the customer.
    regards,
    anish
    sample code...
    *-- Fill customer parameters to lwa_master_data
    lwa_customer-header-object_instance-kunnr  = '99999'.
    * *** ~~
    *-- Test Run with dummy customer no. for data check
        IF lwa_master_data IS NOT INITIAL.
           CALL METHOD cmd_ei_api=>maintain
             EXPORTING
               iv_test_run    = 'X'
               is_master_data = lwa_master_data
             IMPORTING
               es_error       = lwa_es_error.
    *-- Create customer if Test Run Succeeds.
          IF lwa_es_error is INITIAL.
    *-- Get new Customer Number
           CALL METHOD cmd_ei_api=>get_number
             EXPORTING
               iv_ktokd = as_customer-ktokd
             IMPORTING
               ev_kunnr = lv_kunnr
               es_error = lwa_getno_msg.
           IF lv_kunnr is NOT INITIAL.
    *-- Supply new customer number
             CLEAR: lwa_master_data, lt_customer.
             lwa_customer-header-object_instance-kunnr = lv_kunnr.
             APPEND lwa_customer TO lt_customer.
             CLEAR lwa_customer.
             lwa_master_data-customers = lt_customer.
    *-- Initialize Global and Current Customer Buffer
             CALL METHOD cmd_ei_api=>initialize.
    *-- Create Customer
             CALL METHOD cmd_ei_api=>maintain
               EXPORTING
                 iv_test_run    = ''
                 is_master_data = lwa_master_data
               IMPORTING
                 es_error       = lwa_es_error.
    *-- Proceed if no error with customer creation
             IF lwa_es_error is INITIAL.
    * ******************* * ******************* ~~

  • Unit test runs perfectly fine with NUnit but fails when run from TestExplorer

    Hello all,
    I have a TestProject, Harmony.Tests. In there, I have a method AddApplicationEvent()
    which calls another method Send(InvokeRequestMessage requestMessage) which calls a webservice (OperationHandlerBrokerWebService). 
    The code snippet looks like this. This is not the complete code but a part where we are calling the web service. It fails on the underlined Italic line of code.
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    brokerService.Url = address;
    brokerService.Timeout = timeoutInMilliseconds;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    The same test works and passed fine when I ran it with NUnit, but failed with following exception when I tried to run it from TestExplorer. 
    Test Name: AddApplicationEvent
    Test FullName: N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.AddApplicationEvent
    Test Source: d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs : line 665
    Test Outcome: Failed
    Test Duration: 0:00:00.296
    Result Message:
    SetUp : Message returned System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.
    at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
    at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
    at System.Runtime.Serialization.ObjectManager.DoFixups()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
    at N4S.Forms.OperationHandlerBroker.AMessage.DeserializeMessage(Byte[] serializedMessage)
    at N4S.Forms.OperationHandlerBroker.WebServiceServer.BrokerService.InvokeOperationHandler(Byte[] serializedInvokeRequestMessage)
    --- End of inner exception stack trace ---
    expected: <0>
    but was: <1>
    Result StackTrace:
    at N4S.Harmony.Tests.TestHelper.InvokeOperation(OperationHandler handler, OperationHandlerInput input, Boolean expectedToWork) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 136
    at N4S.Harmony.Tests.TestHelper.LoginAsUser(String username, String password) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 394
    at N4S.Harmony.Tests.TestHelper.Login(TestUserName requestedUser) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 377
    at N4S.Harmony.Tests.TestHelper.LoginAsAdvisor() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 230
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.Login() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 76
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.SetupTest() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 67
    I am not sure what causing the issue. I checked the Credentials, Windows Identity during both the test run and there is no difference. Please advise !!
    Thanks,
    Deepak

    Hi Tina,
    Thanks for your reply. 
    I do have NUnit adapter installed. I even noticed that the test runs fine with NUnit GUI and also if I run it through Resharper Test Explorer window. 
    As you can see in the image above the same test is passed when I ran it from Resharper Unit Test Explorer window but fails when I ran it from Test Explorer window. I also captured the information on fiddler. 
    There was a significant difference in the Header Content length. Also under the User-Agent property the protocol versions are different. 
    Not sure why VSTest ExecutionEngine is picking a different version.
    The UnitTest in question is calling a webservice method which in turn calls a method from another referenced project. 
    Web Service class
    using System;
    using System.Web.Services;
    using N4S.Forms.OperationHandlerBroker.Server;
    using NLog;
    namespace N4S.Forms.OperationHandlerBroker.WebServiceServer
    /// <summary>
    /// The operaton-handler broker service.
    /// </summary>
    [WebService(Description = "The N4S Forms Operation-Handler Broker Web-Service.", Name = "OperationHandlerBrokerWebService",
    Namespace = "N4S.Forms.OperationHandlerBroker.WebServiceServer")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class BrokerService : WebService
    { /// <summary>
    /// Calls <see cref="HandleRequest"/>. Updates performance-counters.
    /// </summary>
    /// <param name="serializedInvokeRequestMessage">the binary-serialized <see cref="InvokeRequestMessage"/></param>
    /// <returns>the binary-serialized response message</returns>
    [WebMethod(BufferResponse = true, CacheDuration = 0, Description = "Invokes the requested operation-handler and returns a binary-serialized response-message.", EnableSession = false)]
    public byte[] InvokeOperationHandler(byte[] serializedInvokeRequestMessage)
    logger.Trace(Strings.TraceMethodEntered);
    PerformanceMonitor.RecordRequestStarted();
    InvokeRequestMessage requestMessage = (InvokeRequestMessage) AMessage.DeserializeMessage(serializedInvokeRequestMessage);
    InvokeResponseMessage responseMessage;
    try
    responseMessage = HandleRequest(requestMessage);
    PerformanceMonitor.RecordSuccessfulRequest();
    catch (Exception)
    PerformanceMonitor.RecordFailedRequest();
    throw;
    finally
    PerformanceMonitor.RecordRequestEnded();
    logger.Trace(Strings.TraceMethodExiting);
    return AMessage.SerializeMessage(responseMessage);
    UnitTest snippet
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    Please advise.
    Thanks,
    Deepak

  • A way to run bundle tests scripts with EBS 11.5.10.2

    Hi,
    looking for a way to run bundle tests scripts with EBS 11.5.10.2. We prepare our tests scenarios and run them manually now but would rather job them and verify results of testing on logs created by the automatic execution of these scripts.
    We use UPK for preparing and supporting our training activities and I read that UPK features a way to prepare and run bundle tests scipts. Does anybody from the community knows something about that? I haven't found a guide to explain how to do it.
    Hoping someone to lead me to the topic I'm looking for. Does any release of UPK can do this and how or the community uses another tool to do so
    Alain

    UPK allows you to create manual test scripts which can be imported into a variety of testing suites. UPK does not provide automated test scripts. In the current release, the name of the publishing style is "HP Quality Center". This will create a spreadsheet document that can then be imported into a variety of testing suites as a test script. The product documentation should give you all the information you need to start using the HP Quality Center output. If not, here is a blog post describing how to use UPK to create an output for IBM Rational Quality Manager, which may help describe how this process works:
    http://blogs.oracle.com/UPK/2010/05/upk_and_rqm.html
    I hope this helps.
    Best regards,
    Marc

  • [svn:bz-trunk] 5137: Fix failing security tests on BlazeDS/ trunk by using a remote object to invalidate the FlexSession at the end of each test method which should cause each test method to run with a new /clean session.

    Revision: 5137
    Author: [email protected]
    Date: 2009-03-02 10:28:59 -0800 (Mon, 02 Mar 2009)
    Log Message:
    Fix failing security tests on BlazeDS/trunk by using a remote object to invalidate the FlexSession at the end of each test method which should cause each test method to run with a new/clean session. It looks like some test methods were leaving some things in a bad state which was causing the next test that ran to fail. These may be legitimate bugs/issues so we should investigate further to see what sequence of events gets things into a bad state but for these tests we want all of the test methods to run in isolation.
    Modified Paths:
    blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/services-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/security/stream ing-amf/JMSAuthSendSubscribeConstraintTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/security/stream ing-amf/MessagingAuthProSendTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/security/stream ing-http/JMSAuthSendSubscribeConstraintTest.mxml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/security/stream ing-http/MessagingAuthProSendTest.mxml
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/qa/messaging/SessionManager.java

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • BC4J Tester won't run with SunJCE provider enabled in JDev 903

    I have a working BC4J project that I can access via the Tester and via code in JDev 903. The Module is deployed in 'Local' mode.
    I go into <jdev_home>\jdk\jre\lib\security\java.security and add the following line:
    security.provider.3=com.sun.crypto.provider.SunJCE
    I can no longer run the BC4J Tester - I get "java.lang.NullPointerException" - that's it - in the log window when I try to run the tester. I can still access the BC4J Module via code, just as before enabling the SunJCE provider, its just the Tester that won't run. My code that uses the SunJCE provider runs fine.
    I then comment out the new line in java.security, and the Tester runs fine again. (But, of course, my code that needs the SunJCE provider does not...)
    Note that I added this provider as the lowest order provider - the following is how java.security is setup when JDev is installed:
    security.provider.1=sun.security.provider.Sun
    security.provider.2=com.sun.rsajca.Provider
    Any thoughts or ideas?
    Thanks,
    Jim Stoll
    (I need this provider for something else I'm doing which uses both the SunJCE provider and BC4J, independent of each other)

    Hi,
    Can you create a JClient project to test your application module? I have not found why it failed in Tester when using SunJCE privider, but found that if I create a simple JClient using the same application module, it work.
    Thanks,
    Yvonne

  • K8n neo2 running with 260 FSB ?

    Hi !
    Well, I have one question about the FSB and Multi settings.
    first, my sys:
    -K8N Neo2 Platinum
    -AMD64 3500+ winchester
    -OCZ 2x512 DDR (PC 3500 - 433Mhz) Ram
    -2x S-ATA HDD Hitachi 160GB @ Sata 3&4
    -550W PS
    So, with some tests, I can found the fastest CPU-freq @ 2600Mhz with 1,58V VCore - testing with Prime95.
    But I want the fastest clock for the rams, too.  The Ram works with FSB 217, DDR200-setting in BIOS. Multi 11x. very well at 217Mhz...
    first settings:
    FSB @ 237 / Multi @ 11x / HT @ 4x / Ram set to DDR166.
    So the effective CPU-clock is 2604Mhz, the ram is at 186 Mhz.
    The setting works fine... but with very poor ram-clock...
    (I had to set the ram to DDR166, because with DDR200-Setting the clock will be 237 which is too high and I can´t boot. )
    2nd setting:
    FSB @ 248 / Multi @10.5 / HT @4x / Ram set to DDR166.
    The setting works fine... The Mobo shows a ram-clock of 208Mhz. The Tool "Clock-Gen" shows a ram-clock of 200Mhz...(I dont´know which is right...?) But: The Ram-Clock can ba 217Mhz, I guess..?
    3rd setting:
    FSB @ 260 / Multi @10 / HT @3x / Ram set to DDR166.
    This setting crashes up while booting.... normally, I think, the CPU-clock will be 2600 (which will work), the RAM will divided down to 217 Mhz.
    Now my prob: the CPU runs with 2604 Mhz, the RAM runs with 217Mhz - but why can´t I set the FSB to 260 and Multi 10x ?? PS: the system ist still crashing, when I set the Multi to 10x and try FSB to 250Mhz... ?
    Does anyone know ??
    Many thanks !
    A.

    Just so you know, when you use dividers, your memory performance is only as good as the lowest setting. For example, I you have a system with ddr333 memory and a CPU with a 333mhz FSB your memory performance is as follows:
    Memory Peformance:
    133CPU x 133mem = 166CPU x 133mem
    CPU performance:
    133CPU x 133mem
    As opposed to:
    Memory Peformance:
    133CPU x 166mem CPU performance:
    133CPU x 166mem
    The Kicker:
    Memory Performance (first versus second):
    133CPU x 133mem 166CPU x 133mem CPU Performance (first versus second):
    133CPU x 133mem 166CPU x 133mem
    I neglected to try overall combined performance like 3dmark01/03/05 but I was on a time budget at the time and only concerned with running a 4:5 divider as opposed to a 4:4 divider which my results gave me no increase (but no decrease either).
    Therefore, you get no increase in memory performance when using dividers. I used sandra to verify this. I simply used my CPU and RAM in every different configuration I could think of and then ran it and recorded the results. Hopefully I remembered my results correctly.
    Yes, you will see a CPU increase with dividers but you will not see a memory increase.
    The Kicker Reiterated:
    CPU Performance:
    (133 CPU x 133 mem
    Personally I think you should be happy with an FSB of 248 because that means your memory frequency is 198.4mhz which means you nearly have ddr400. How much of an increase do you think you'll see with 260FSB (208mhz memory frequency (increase of 9.6 mhz))? Personally I think you should be happy with 248 with a 5:4 divider.
    ORRRRRRRR:
    try benchmarking with a 216FSB x 11mult x 4htt with DDR200 versus 248 x 10mult x 4 htt with DDR166 and see which is faster. You'll do better on the first with memory and better on CPU with the second but the inverse will be the inverse. Then I would do an overall benchmark like 3dmark03/05 and see which had the best overall effect (I'm guessing it will be a somewhat close call but I never tried that... hmmm... something to try now).

  • Error while Test Connection with Connector

    hi all:
         there is an error while  Test Connection with Connector , I also test it through sys administration->sys configuration->
    suport -> sap transaction, I got all errors, I put these two errors as folows, could you please tell me how to sovle it
    ***************ERROR 1 while *error while Test Connection with Connector ******************************************************
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this
    system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    ************error sys administration->sys configuration-> suport -> sap transaction        ********************** 1.5 #0025B3E02892006100000A0800001798000487530FB0122E#1274690722265#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt
    .runtime#guodongdong#47472##n/a##690347f0670e11df98cc0025b3e02892#SAPEngine_Application_Thread[impl:3]
    9##0#0#Error##Java###04:4524/05/10_0077_6087550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Application URL
    &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid!
    Please check the protocol and host entries for system &\#39;sapdev&\#39;.
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass
    (AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         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:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Hi,
    As per this part of the trace:
    Exception in SAP Application Integrator occured: Application URL &\#39;:///sap(ZT1KVXBWektldldTeV9QQXBXRjNaWTRBLS1OZmRvZzBRWWY2QmN0WThNUmgqdUlRLS0=)/bc/gui/sap/its/webgui&\#39; is not valid! Please check the protocol and host entries for system &\#39;sapdev&\#39;. at ...
    You can clearly see that the system object 'sapdev' is not configured correctly/at all - you are trying to launch transaction iView
    (WEBGUI) and in order to do so you should configure the 'internet transaction server' category of the system  object
    with the hostname of the ITS server.
    Generally the template is
    <System.Access.ITS.protocol>://<System.Access.ITS.hostname>/sap<ESID>/bc/gui/sap/its/webgui?\....
    So that's why you got
    Please check the protocol and host entries for system ..

  • The build directory of the test run either does not exist or access permission is required.

    i am trying to run automated tests
    i follow the steps in the web but when i have 2 issues that does not solve
    1. i created console project and add build definition without drop folder and queue builds that success.
    2. i created C# unit test and add build definition and run it from VS and it worked and done what i want to do.
    3. i built lab with 1 machine and define the controller on this pc ( the machine in the lab is another pc)
    4. i created test suite with test cases and from vs 2013 i associated automation nethod that i created in 2.
    5. when i try to associate the builds for the test plan i have a PROBLEM(1):
    this happened every new build that i try to assign - all the builds appears after refresh and when i press assign to plan button
    a pop up shown with error : " The build that you selected for this plan no longer exist " but he chose it in build in use but there no work item under it - the list is empty even that there are 2 tests under this test suite.
    and than when i try to run the automated tests i have this PROBLEM(2):
    The build directory of the test run either does not exist or access permission is required. and the test failed.
    Please Help
    Roey

    Hi Rory,
    Thank you for posting in MSDN forum.
    According to the error message:
    (1) a pop up shown with error : " The build that you selected for this plan no longer exist "
    I tried to create a build definition without the drop folder location for unit test solution from the VS IDE, and then I try to select the Build in use option to add the Available builds, then click this Assign to plan. I found that I get same error message
    with yours like the following screen shot.
    However, when we try to create a build definition with drop folder location for this same unit test solution and then build successfully in the VS IDE.
    After you add the Available builds and then click this Assign to plan in the MTM, it work fine.
    Therefore, I assume that the issue is related to that you did not specify a build directory for automated test case. MTM need to know where is the drop location of the build building your tests.
    http://stackoverflow.com/questions/20033217/couldnt-run-my-test-using-microsoft-test-manager
    In addition, I did some research about the problem 2:"The build directory of the test run either does not exist or access permission is required. and the test failed."
    I know that the error message occur in either of the following conditions:
    1. The account under which test controller is running does not have read permission on the build directory. (The build directory is same as the drop location of build associated with this test run.) 
    2. The build directory itself does not exist.
    So please refer the following blog to check this issue:
    http://blogs.msdn.com/b/aseemb/archive/2009/11/25/error-starting-the-test-run-build-directory-of-the-test-run-is-not-specified-or-does-not-exist.aspx
    Therefore, I suggest you can try to specify a drop location for build when you run the automated test from the MTM and then check this issue.
    Best Regards,
    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.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Hello. My mac pro early 2008 restarts after sleep mode and it works slower. I tested it with apple hardwear test and it seems to be ok. Thank you.

    Hello. My mac pro early 2008 restarts after sleep mode and it works slower. I tested it with apple hardwear test and it seems to be ok. Thank you.

    Try this:
    clone your system and repair it with Disk Warrior instead
    Or try a clean test system install on another drive
    A must: SmcFanControl 2.2 - a mere 400 rpm extra to keep air cooling up
    Try to run w/o externals. MyBook included.
    Is that a 7200.11 1TB? they had a lot of issues.
    Run AHT off your OEM DVD.
    2008 had to have EFI and SMC updates to deal with freezes on wake from sleep, and like all models, high inrush current.  Hopefully you have a UPS and is 1500VA unit.
    When you do hard restart from power button, you almost certainly add more directory errors and to files requiring immediate attention to repair and rebuild the directory; and to scan and repair and delete cache and temp files and folders. A must. Invest in bootable backups SuperDuper along with Disk Warrior (or TechTool Pro 6, maybe Drive Genius 3 but I'd rate that #3).
    TimeMachine has its own bad habits, especially with Green drives and some externals.
    Try to rule out everything and then add back one at a time.
    And it may just be time to replace the 8800, very common, a couple threads this week, and it is 3 yrs old.  Might want ATI 5870 or 5770.

  • My system is asking to run the hard disk test run...What i have to do? can any one guide me????

    model is Hp Pavilion  g6.. windows 7 home basic,
    My system is asking to run the hard disk test run.. i have run , there was no error, but the message is still comming, i do not kow whether i amdoing it in a right way or not.. Please any giude do that test and find the issue.....

    Hi,
    If you receive this message when starting the notebook, try the following.
    Shut down the notebook.  Tap away at f10 as you start the notebook to enter the bios menu.  Under the Advanced or Diagnostic tab you should find the facility to run a test on the Hard Drive.  Post back with the details of any error messages.
    If you receive this message while Windows is running , click the Start Menu, click Computer, left click Local Disc C once to highlight it, right click Local Disc C and select Properties.  Click the Tools tab and then click the button to 'Check the Drive for Errors'.  In the following window make sure both boxes are ticked and then click Start.  Agree to schedule the check at the next system restart and then restart the notebook - this process can take a couple of hours to complete before loading back into Windows.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • IDOC send step not running with exception in BPM?

    Hello,
    hope this is a simple question, but we are running with a problem here which is not answered well in SAP help or sdn. Possibly I didn´t find the right blog.
    Situation:
    We created a BPM with a send step (IDOC receiver) in a block (after a receive step starting the BPM) (That´s simple so far!).
    The send step (async IDOC) in the block is connected in its attributes in field "system error" to an exception branch defined in the same block.
    In this except.branch the process should send back to sender system a message via RFC and the last step in this exception branch is to interrupt the proces.
    But now we tried to do a test. In this test we modified the receiver address of the send step (IDOC reciver) so that the receiver could not be reached, which results in a system error in SXMB_MONI (Service unavailable).
    But this doesn´t work. The BPM starts the send step to the unavailable receiver, SXMB_MONI shows a system error step, but then the BPM continues with the next step after the block without starting the exception branch.
    Any idea why the exception branch is not called?
    Best regards
    Dirk

    Hello again,
    we are one step further now.
    We did the same with an RFC instead of the IDOC send step.
    Same result:
    The service is not reachable. So the step results in an system error.
    But as we could see in the monitoring SXMB_MONI the block with the exception and this send step (RFC) is passed before the step gives back this error!
    So it looks like connection problems do not trigger an exception?
    Any help is welcome!
    Best regards
    Dirk

Maybe you are looking for