How to fill properly PA fields when creating FI document through BDC sessio

Hello Guys,
I got a problem filling PA fields properly when creating an FI document via FB01 with BDC session. There is no problem filling PA fields properly with bapi 'BAPI_ACC_DOCUMENT_POST' as background and document is being created succesfully but when I try to create FI document via Batch input session and when Profitibality segment screen comes , PA field values don't fill the appropriate PA fields in this screen and cannot be created document. There is no problem sending appropriate values to related fields in the program code because I debugged and seen it. Do you have any idea for solving this issue?

mehmet gullu wrote:
Hello Guys,
> I got a problem filling PA fields properly when creating an FI document via FB01 with BDC session. There is no problem filling PA fields properly with bapi 'BAPI_ACC_DOCUMENT_POST' as background and document is being created succesfully but when I try to create FI document via Batch input session and when Profitibality segment screen comes , PA field values don't fill the appropriate PA fields in this screen and cannot be created document. There is no problem sending appropriate values to related fields in the program code because I debugged and seen it. Do you have any idea for solving this issue?
In some scenarios when the program is run in the background then some screen numbers are different. Maybe you can try to simulate the program in background mode.

Similar Messages

  • How to change schedule line fields when save sales documents in va01/va02

    Hi, every Experts,
    I want to change schedule line when save the sales documents in va01 or va02, such as change delivery block or schedule line category.
    of course, can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE, but I do not know to use this user exit, I am newer about ABAP.
    Please help me , thanks.
    best regards
    Passion Wu

    Hi,
    For changeing schedule line: select line item, GOTO --> item --> schedule lines --> enter the confirmed qty.
    USEREXIT_SAVE_DOCUMENT_PREPARE program is MV45AFZZ
    For your reference
    USEREXIT_SAVE_DOCUMENT_PREPARE - Can I use in button, but skip
    regards,
    Mohanprabu C

  • Default value in field when creating a new vendor (Transaction: XK01)

    Hi, everybody!
    Is it possible to set a default value to a field when creating a new vendor (transaction: XK01)?
    We need the field "Payment terms" in "Payment transactions accounting" tab and field "Terms of payment" in "Purchasing data" tab to be filled with a default value when creating a new vendor.
    Thanks in advance
    Best regards,
    J Madariaga

    You can try creating a transaction varient fron SHD0 for this which will default the requiredd values .
    -Hari.

  • How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

    How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
    Hi,
    I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
    but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
    ( f.ex. cannot verifying it correct in xmlspy )
    my dbms is
    NLS_CHARACTERSET          = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET     = AL16UTF16
    NLS_RDBMS_VERSION     = 10.2.0.1.0
    I do generate it in this matter :
    declare
    xmldoc CLOB;
    ctx number ;
    utl_file.file_type;
    begin
    -- generate fom xml-view :
    ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
    DBMS_XMLGEN.setRowSetTag(ctx, null);
    DBMS_XMLGEN.setRowTag(ctx, null );
    DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
    -- create xml-file:
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    -- put data to host-file:
    vblob_len := DBMS_LOB.getlength(xmldoc);
    DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
    bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
    UTL_FILE.put_line(bHandle, vbuffer, FALSE);
    UTL_FILE.fclose(bHandle);
    end ;
    maybe while work UTL_FILE there is a change the encoding ?
    How can this solved ?
    Thank you
    Norbert
    Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

    Marco,
    I tryed to work with dbms_xslprocessor.clob2file,
    that works good,
    but what is in this matter with encoding UTF-8 ?
    in my understandig, the xmltyp created should be UTF8 (16),
    but when open the xml-file in xmlSpy as UTF-8,
    it is not well ( german caracter like Ä, Ö .. ):
    my dbms is
    NLS_CHARACTERSET = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    NLS_RDBMS_VERSION = 10.2.0.1.0
    -- test:
    create table nh_test ( s0 number, s1 varchar2(20) ) ;
    insert into nh_test (select 1,'hallo' from dual );
    insert into nh_test (select 2,'straße' from dual );
    insert into nh_test (select 3,'mäckie' from dual );
    insert into nh_test (select 4,'euro_€' from dual );
    commit;
    select * from nh_test ;
    S0     S1
    1     hallo
    1     hallo
    2     straße
    3     mäckie
    4     euro_€
    declare
    rc sys_refcursor;
    begin
    open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
    dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
    end;
    ( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
    open in xmlSpy is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <S0>1</S0>
    <S1>hallo</S1>
    </ROW>
    <ROW>
    <S0>2</S0>
    <S1>straޥ</S1>
    </ROW>
    <ROW>
    <S0>3</S0>
    <S1>m㢫ie</S1>
    </ROW>
    <ROW>
    <S0>4</S0>
    <S1>euro_€</S1>
    </ROW>
    </ROWSET>
    regards
    Norbert

  • How to inactive checking available budget when creating reservation

    Dear SAP Guru,
    Need your advice in how to inactive checking available budget when creating reservation under Project system and Investment management module
    Many thanks in advance.
    Nies

    ok

  • How to install certifcate to tmg when create web listener

    how to install certifcate to tmg when create web listener

    Short comment that may help, if you've added the cert while the TMG MMC is open you need to refresh the MMC on the node second to the top (right-click on server/array name and select refresh) or simply restart the MMC.
    Then create the web listener as desired.
    As always you need a cert with the EKU of server authentication (regular web server cert will do) with the corresponding private key and the cert needs to be trusted on the computer where TMG is installed.
    Hth, Anders Janson Enfo Zipper

  • Event when creating a document?

    Hi everyone,
    With Sap B1 SDK, is there a way to catch an event when creating a document?
    I want to execute some actions every time an Invoice is created.
    Have anyone a  solution for that?
    Thank you!

    I would excecute Accounting operation but I'm not still sure about what..
    Where can I download the B1 Event Logger? I can't find out!

  • Refresh document error when creating new document.

    I want to refresh document when create new document , but I meet the error.
    Output in Console
    http://10.173.1.153:6405/biprws/logon/long/
    http://10.173.1.153:6405/biprws/raylight/v1/documents
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
    http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
    Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
      at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
    |D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
    |D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
    |D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
    com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
    Results: [ [uniqueName=YR] [Identifier=DP0.YR],  [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
    DrillScope: []
    Sorts: []
    Condition: DEF: null
    |D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
    |D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
    com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
      at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
      at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    |D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
    com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
      at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
      at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
      at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
      at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
      at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
      at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
      at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
      at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
      at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
      at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
      at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:743)
    Java Source code
    Java Source Code
    package com.sap.oem.restfulws.test;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.text.ParseException;
    import org.json.JSONException;
    import org.json.JSONObject;
    public class CreateWebiReport40Sample {
      /** CMS System */
      private static final String CMS_LOG_HOST = "10.173.1.153:6405";
      /** User name used to log in to the CMS */
      private static final String CMS_LOG_USER = "Administrator";
      /** User password */
      private static final String CMS_LOG_PASS = "******";
      /** Authentication mode used to log in to the CMS. Here: Enterprise */
      private static final String CMS_AUTH_MODE = "secEnterprise";
      private static final String WEBI_URL = "/biprws/raylight/v1";
      private String logonToken;
      private boolean isLogon = false;
      private String folderID = "5652";
      private String fileName = "eFashioin_IQ_Auto";
      private String documentID = "23547";
      private String reportID = "1";
      private String dataSourceID = "5650";
      private String dataProviderID = "DP0";
      private String elementID = "8";
      private String elementParentID = "2";
      private String elementName = "Block 1";
      private String axisID = "1";
      public static void main(String[] args) throws JSONException,
      ParseException, IOException {
      CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
      JSONObject json = null;
      String resultStr = null;
      webiRep.getLogonToken();
      json = webiRep.createDoc();
      json = webiRep.addDataSourceInReport();
      json = webiRep.refreshDocument();
    // json = webiRep.addTableInReport();
    // json = webiRep.updateExpressionInAxis();
      webiRep.saveDocument();
      System.out.println(resultStr);
      if (json != null) {
      System.out.println(json.toString());
      public JSONObject createDoc() throws IOException, ParseException,
      JSONException {
      String body = "<document>" + "<name>" + this.fileName + "</name>"
      + "<folderId>" + this.folderID + "</folderId>" + "</document>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
      + "/documents", body);
      this.documentID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject saveDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID;
      String body = "<document>" + "    <name>" + this.fileName + "</name>"
      + "    <folderId>" + this.folderID + "</folderId>"
      + "</document>";
      // System.out.println(urlStr);
      JSONObject json = postContentJson(urlStr, body);
      return json;
      public JSONObject addDataSourceInReport() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders";
      String body = "<dataprovider>" + "<name>Query 1</name>"
      + "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
    // + "<dataSourceType>unx</dataSourceType>"
      + "</dataprovider>";
      JSONObject json = postContentJson(urlStr, body);
      this.dataProviderID = json.getJSONObject("success").getString("id");
      json = addQueryInDataProvider();
      return json;
      public JSONObject addTableInReport() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements";
      String body = "<element type=\"VTable\">"
      + "    <reference>1.B</reference>" + "    <name>"
      + this.elementName
      + "</name>"
      + "    <parentId>"
      + this.elementParentID
      + "</parentId>"
      + "    <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
      + "    <hide always=\"false\"/>"
      + "    <style>"
      + "        <border>"
      + "            <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "            <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
      + "        </border>"
      + "        <background height=\"0.0\" width=\"0.0\"/>"
      + "        <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
      + "    </style>"
      + "    <content>"
      + "        <axes duplicateRowAggregation=\"true\">"
      + "            <axis role=\"Column\">"
      + "                <id>1</id>"
      + "                <expressions>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".YR"
      // + "\" dataType=\"String\">=[YR]"
      // + "</formula>"
      // + "                    <formula dataObjectId=\""
      // + this.dataProviderID
      // + ".QUANTITY_SOLD"
      // + "\" dataType=\"Numeric\">"
      // + "=[QUANTITY SOLD]"
      // + "</formula>"
      + "                </expressions>"
      + "            </axis>"
      + "        </axes>"
      + "        <layout>"
      + "            <zone verticalType=\"Body\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
      + "            </zone>"
      + "            <zone verticalType=\"Header\" horizontalType=\"Body\">"
      + "                <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
      + "                <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
      + "            </zone>"
      + "        </layout>"
      + "    </content>" + "</element>";
      JSONObject json = postContentJson(urlStr, body);
      this.elementID = json.getJSONObject("success").getString("id");
      return json;
      public JSONObject updateExpressionInAxis() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/reports/" + this.reportID + "/elements/"
      + this.elementID + "/axes/" + this.axisID + "/expressions";
      // int i = 0;
      String body = "<expressions>"
      + "    <formula  dataType=\"String\">=[YR]</formula>"
      + "    <formula  dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
      + "</expressions>";
      JSONObject json = putXmlContentJson(urlStr, body);
      return json;
      public JSONObject refreshDocument() throws IOException, ParseException,
      JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      // + this.documentID + "/parameters?refresh=true";
      + this.documentID + "/parameters";
      // JSONObject json = this.putXmlContentJson(urlStr, "");
      JSONObject json = this.getContentJson(urlStr);
      return json;
      public JSONObject addQueryInDataProvider() throws IOException,
      ParseException, JSONException {
      String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
      + this.documentID + "/dataproviders/" + this.dataProviderID
      + "/specification";
      // int i = 0;
      String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
      + "    xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
      + this.dataProviderID
      + "\">"
      + "  <queryParameters>"
      + "    <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
      + "    <maxRowsRetrievedProperty value=\"0\"/>"
      + "    <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
      + "    <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
      + "    <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
      + "    <stripQueryProperty/>"
      + "    <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
      + "  </queryParameters>"
      + "  <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
      + "    <bOQuery name=\"Query\" identifier=\"_"
      + this.documentID
      + "_"
      + this.dataProviderID
      + "_"
      + "query\">"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".YR"
      + "\" name=\"YR\"/>"
      + "      <resultObjects identifier=\""
      + this.dataProviderID
      + ".QUANTITY_SOLD"
      + "\" name=\"QUANTITY SOLD\"/>"
      + "      <conditionPart/>"
      + "    </bOQuery>"
      + "  </queriesTree>" + "</queryspec:QuerySpec>";
      JSONObject json = putTextContentJson(urlStr, body);
      return json;
      public String getLogonToken() throws ParseException, IOException,
      JSONException {
      String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
      + "<attr name=\"userName\" type=\"string\">"
      + CMS_LOG_USER
      + "</attr>"
      + "<attr name=\"password\" type=\"string\">"
      + CMS_LOG_PASS
      + "</attr>"
      + "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
      + CMS_AUTH_MODE + "</attr>" + "</attrs>";
      JSONObject json = postContentJson("http://" + CMS_LOG_HOST
      + "/biprws/logon/long/", body);
      logonToken = (String) json.get("logonToken");
      isLogon = true;
      return logonToken;
      private JSONObject postContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "POST",
      "application/xml; charset=utf-8");
      private JSONObject putTextContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "text/xml; charset=utf-8");
      private JSONObject putXmlContentJson(String urlStr, String body)
      throws IOException, JSONException {
      return postAndPutContentJson(urlStr, body, "PUT",
      "application/xml; charset=utf-8");
      private JSONObject postAndPutContentJson(String urlStr, String body,
      String method, String contentType) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod(method);
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type", contentType);
      conn.setDoInput(true);
      conn.setDoOutput(true);
      int len = body.length();
      conn.setRequestProperty("Content-Length", Integer.toString(len));
      conn.connect();
      OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
      out.write(body, 0, len);
      out.flush();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      conn.disconnect();
      JSONObject json = new JSONObject(jsontxt);
      return json;
      private JSONObject getContentJson(String urlStr) throws IOException,
      JSONException {
      System.out.println(urlStr);
      URL url = new URL(urlStr);
      HttpURLConnection conn = (HttpURLConnection) url.openConnection();
      conn.setRequestMethod("GET");
      if (this.isLogon) {
      conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
      + "\"");
      conn.setRequestProperty("Accept", "application/json");
      conn.setRequestProperty("Content-Type",
      "application/xml; charset=utf-8");
      conn.setDoOutput(true);
      conn.setDoInput(true);
      conn.connect();
      if (conn.getResponseCode() != 200) {
      throw new RuntimeException("Failed : HTTP error code : "
      + conn.getResponseCode());
      BufferedReader br = new BufferedReader(new InputStreamReader((conn
      .getInputStream())));
      String jsontxt = br.readLine();
      br.close();
      JSONObject json = new JSONObject(jsontxt);
      conn.disconnect();
      return json;
    Welcome your advice

    Hi Kevin,
    I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
    Best regards,
    Anthony

  • How To Add Additional Fields When Creating New Contact From w/in Mac Mail?

    Hi there. When in Mac Mail and clicking on contact information provided within an email, we are able to either (1) CREATE NEW CONTACT or (2) ADD TO EXISTING CONTACT (by clicking on the arrow next to a phone number, address, etc.). If I choose "Create New Contact," how can I add additional fields BEFORE clicking on "Add to Address Book" button in lower right corner? Let's say, for example, I know this new contacts URL or company. (Currently, I am creating the new contact from within Mac Mail and then going to Address Book and finding the contact, then editing, the adding the additional fields, then saving, and then going back to Mac Mail. This all takes time.)
    Note: When creating a new iCal event from within Mac Mail, we can click on Option/Alt key when selecting drop-down arrow...and this will allow us to add additional information. The same feature isn't available for address book???

    I have the exact same question and problem. If there was a way to automatically open the AB entry after "creating new contact" this would solve it.
    Thanks for any suggestion

  • How to have a field automatically fill in another field when checked

    Does anyone know if there is a way to have a field automatically fill in another field with a specific dollar amount when a field is checked.
    I am doing a registration sheet for a charity event where we have to pay for each person that attends. I would like it set up so that when someone checks in the person at the registration table would just click the check box (E2) and then have it fill in the field next to it a dollar amount of $15.00 (F2) which would be owed to the place hosting the event.
    Attached is a picture of the spreadsheet: example: persons checks off E2 and the amount $15.00 would automatically fill in field F2. I would then do this for each line and have the F column total the amount owed to the place.
    I am VERY new to numbers and writing formulas so if you can be specfic with how to do the code would be greatly appreciated. THANK YOU!

    please remember to post the actual solution (equation in this case) so others that are searching for similar items see the solution, not just
    Got it, replaced 0 with '''.
    Thanks
    Jason

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi,
    I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
    I  created a custom task in Sharepoint Designer 2007 using
    Collect Data from User
    Action.
    I created a field in the task form which is of choice type and
    unchecked allow blank values
    because i  wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
    without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly  tell me how to set the choice field as mandatory.

    Hi,
    You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
    This is by design that
    Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
    This thread has the JavaScript code can help you:
    http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
    Xue-Mei Chang

  • How to see structure under schema when Create External Definition

    Hi ...we have scenario like RFC<>XI<>SOAP
    The request payload(SOAPIN) for SOAP is:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <AddressValidator xmlns="http://tempuri.org/geostan3/AddressValidator">
          <LicenseFile>string</LicenseFile>
           <Z9Path>string</Z9Path>
          <House>string</House>
          <Street>string</Street>
            </soap:Body>
    </soap:Envelope>
    and we are expecting response message from SOAP:
    diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <AddressCheck xmlns="">
    - <Address diffgr:id="Address1" msdata:rowOrder="0" diffgr:hasChanges="inserted">
      <Addline1>220 W MAIN ST</Addline1>
      <Addline2 />
      <URB />
      <Lastline>LOUISVILLE, KY 40202-1395</Lastline>
      <Location>-85754010, 38256144</Location>
      <OutBlock>211110049001067</OutBlock>
      <OutCBSA>31140</OutCBSA>
      <MatchCode>SE0</MatchCode>
      <LocationCode>AS0</LocationCode>
      <DPVConfirm />
      <FootNote1 />
      <FootNote2 />
      <FootNote3 />
      <Msg>OK</Msg>
      </Address>
      </AddressCheck>
    so when we created external definition  using  wsdl file into XI, it showing only schema as SOAPOUT  (I couldn't see those fields in XI/under schema).
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <AddressValidatorResponse xmlns="http://tempuri.org/geostan3/AddressValidator">
          <AddressValidatorResult>
            <xsd:schema>schema</xsd:schema>xml</AddressValidatorResult>
        </AddressValidatorResponse>
      </soap:Body>
    </soap:Envelope>
    SXMB_MONI showing(Response):
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:AddressValidatorResponse xmlns:ns0="http://tempuri.org/geostan3/AddressValidator">
    - <ns0:AddressValidatorResult>
      <ns1:schema xmlns:ns1="http://www.w3.org/2001/XMLSchema" />
      </ns0:AddressValidatorResult>
      </ns0:AddressValidatorResponse>
    So my question is how do I map response fields to RFC response? Auctully this schema is like table structure which is having all response fields.
    I could see all response structure with data in sxmb_moni-->Response Msg ID > inbound message>payloads(main document). Is there any way to send this response to RFC ?
    or can you suggest me any other way to send this response to RFC.
    Thanks,
    Edited by: PILearn on Jun 2, 2008 10:21 PM

    Here you go..
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/geostan3/AddressValidator" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/geostan3/AddressValidator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/geostan3/AddressValidator">
          <s:import namespace="http://www.w3.org/2001/XMLSchema" />
          <s:element name="AddressValidator">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="LicenseFile" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="LicensePassword" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="SearchPath" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="Z9Path" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="House" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="Street" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="AddLine2" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="AddLastLine" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="URB" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="Matchmode" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="Datum" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="AddressValidatorResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="AddressValidatorResult">
                  <s:complexType>
                    <s:sequence>
                      <s:element ref="s:schema" />
                      <s:any />
                    </s:sequence>
                  </s:complexType>
                </s:element>
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="DataSet" nillable="true">
            <s:complexType>
              <s:sequence>
                <s:element ref="s:schema" />
                <s:any />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:schema>
      </wsdl:types>
      <wsdl:message name="AddressValidatorSoapIn">
        <wsdl:part name="parameters" element="tns:AddressValidator" />
      </wsdl:message>
      <wsdl:message name="AddressValidatorSoapOut">
        <wsdl:part name="parameters" element="tns:AddressValidatorResponse" />
      </wsdl:message>
      <wsdl:message name="AddressValidatorHttpGetIn">
        <wsdl:part name="LicenseFile" type="s:string" />
        <wsdl:part name="LicensePassword" type="s:string" />
        <wsdl:part name="SearchPath" type="s:string" />
        <wsdl:part name="Z9Path" type="s:string" />
        <wsdl:part name="House" type="s:string" />
        <wsdl:part name="Street" type="s:string" />
        <wsdl:part name="AddLine2" type="s:string" />
        <wsdl:part name="AddLastLine" type="s:string" />
        <wsdl:part name="URB" type="s:string" />
        <wsdl:part name="Matchmode" type="s:string" />
        <wsdl:part name="Datum" type="s:string" />
      </wsdl:message>
      <wsdl:message name="AddressValidatorHttpGetOut">
        <wsdl:part name="Body" element="tns:DataSet" />
      </wsdl:message>
      <wsdl:message name="AddressValidatorHttpPostIn">
        <wsdl:part name="LicenseFile" type="s:string" />
        <wsdl:part name="LicensePassword" type="s:string" />
        <wsdl:part name="SearchPath" type="s:string" />
        <wsdl:part name="Z9Path" type="s:string" />
        <wsdl:part name="House" type="s:string" />
        <wsdl:part name="Street" type="s:string" />
        <wsdl:part name="AddLine2" type="s:string" />
        <wsdl:part name="AddLastLine" type="s:string" />
        <wsdl:part name="URB" type="s:string" />
        <wsdl:part name="Matchmode" type="s:string" />
        <wsdl:part name="Datum" type="s:string" />
      </wsdl:message>
      <wsdl:message name="AddressValidatorHttpPostOut">
        <wsdl:part name="Body" element="tns:DataSet" />
      </wsdl:message>
      <wsdl:portType name="AddressCheckSoap">
        <wsdl:operation name="AddressValidator">
          <wsdl:input message="tns:AddressValidatorSoapIn" />
          <wsdl:output message="tns:AddressValidatorSoapOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="AddressCheckHttpGet">
        <wsdl:operation name="AddressValidator">
          <wsdl:input message="tns:AddressValidatorHttpGetIn" />
          <wsdl:output message="tns:AddressValidatorHttpGetOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:portType name="AddressCheckHttpPost">
        <wsdl:operation name="AddressValidator">
          <wsdl:input message="tns:AddressValidatorHttpPostIn" />
          <wsdl:output message="tns:AddressValidatorHttpPostOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="AddressCheckSoap" type="tns:AddressCheckSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
        <wsdl:operation name="AddressValidator">
          <soap:operation soapAction="http://tempuri.org/geostan3/AddressValidator/AddressValidator" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="AddressCheckHttpGet" type="tns:AddressCheckHttpGet">
        <http:binding verb="GET" />
        <wsdl:operation name="AddressValidator">
          <http:operation location="/AddressValidator" />
          <wsdl:input>
            <http:urlEncoded />
          </wsdl:input>
          <wsdl:output>
            <mime:mimeXml part="Body" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="AddressCheckHttpPost" type="tns:AddressCheckHttpPost">
        <http:binding verb="POST" />
        <wsdl:operation name="AddressValidator">
          <http:operation location="/AddressValidator" />
          <wsdl:input>
            <mime:content type="application/x-www-form-urlencoded" />
          </wsdl:input>
          <wsdl:output>
            <mime:mimeXml part="Body" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="AddressCheck">
        <wsdl:port name="AddressCheckSoap" binding="tns:AddressCheckSoap">
          <soap:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />
        </wsdl:port>
        <wsdl:port name="AddressCheckHttpGet" binding="tns:AddressCheckHttpGet">
          <http:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />
        </wsdl:port>
        <wsdl:port name="AddressCheckHttpPost" binding="tns:AddressCheckHttpPost">
          <http:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>

  • How can i add multiple fields when multiple fields match?

    Ok, I am really new to JavaScript and need as much help as I can get.
    Ok, here's what I have: I have 10 drop boxes labeled HAZ1-HAZ10. In each drop box the user can choose 1.1 - 1.6. I also have 10 numeric fields labeled NEW1T - NEW10T. These numeric fields multiply the sum of two other fields. I also have a "from" and "to" text fields labeled FROM1 - FROM10 and TO1 - TO10. In these text fields the user can input a building number.
    I need to add the NEW fields if the HAZ fields = 1.1 into a "grandTotal 1.1" field and I also need it to tell me if it's going "to" or "from" a particularly building number.
    I also need to do the same for 1.2-1.6. Can any one help?

    When creating a new email, open the Photos app.
    Select the Album.
    Tap Select.
    Select the items desired.
    Tap the Sharing icon and select Mail.
    Create the email.
    When replying to an email, it is not possible.

  • How to display all authentication providers when creating a new user?

    I have configured active Directory with weblogic 10.3.1. Users and groups display correctly under the users and groups tab. When creating a new user only the defaultauthenticator provider is displayed in the drop-down selection. How do I get my active directory authenticator to display here also for selection?

    I'm confident that the Active Directory provider is read-only. You could write your own Authentication Provider for AD that supports create/update/delete functionality, but it is not included in the out of the box AD Authentication Provider to my knowledge.
    I know both the Default Authenticator and the database authenticator are read/write.

  • How to provide RDP cert file when create virtual machine deployment?

    hi,
    the Azure REST API here http://msdn.microsoft.com/en-us/library/azure/jj157194.aspx#bk_certificates did not say how to provide a cert for the VM when create it.
    the StoredCertificateSettings let you install the uploaded cert onto the vm, but this does not allow you to replace
    the RDP cert which created by Azure when the VM is created.
    see below:
    the highlighted cert is automatically created by Azure for the virtual machine to secure the RDP connection.
    so when you try to remote to the VM, you will see this error, because the cert used for the RDP on the VM is not installed into the "Trused Root Certification Authorities" on local machine.
    i want to replace the cert that azure automatically created :
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);
    i want to use my own self-signed the cert as the RDP cert to be used by Azure when create the vm, but the above request does not replace the cert.
    how can i do that?
    Thanks
    the request i used as below:
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);
    the request i used as below:
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);

    Hi,
    In Azure, this feature is called
    custom data. Currently, you can inject custom data into an Azure VM by using the
    Windows Azure command-line tools (--custom-data). 
    I assume that it is not supported in Python API. You can use “custom_data=xxx”
    within “create_virtual_machine_deployment” to check if it works.
    If it is not yet available, please submit your requirement in Azure feedback below:
    http://feedback.azure.com/forums/34192--general-feedback
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Unable to save data in CATS timesheets

    Hi Gurus,        Can anyone help me on this issue? I am trying to enter timesheet data using Tcode CAT2 for last week. I am able to enter the data but while clicking on save, it's throwing an error message- "not enough quota 10 for attendance/absense

  • Print exception in a file

    We have finished a project in java. However, my God need the exception written in a file.I need the re-orientation method .for example java xmost.xcweb.startup.Run > log.txt. the standard output messages were printed in the log.txt file.but the excep

  • Apple: please reconsider EOL the flagship 17" MacBook Pro

    Feedback I just left: Please count my vote to restore the 17" MacBook Pro line to "current." It is a huge mistake to discontinue the flagship 17", even if sales are poor compared to other laptops. It makes Apple look like a lesser Dell not to carry t

  • Http-xml not visible in property editor in workshop

    The documentation for workshop 8.1, says that you can set the protocol and message format to be http-xml. This is not available in my workshop. I have http-soap, form-post, form-get, http-soap12 ans so on, but no http-xml that i need. What can I do t

  • TS1702 I'm having trouble making in app purchases

    Trying to make an in app purchase and it saying that my debit card info doesn't match my account I have no idea what that means. I've never bought anything through the App Store.