Wfetch Test (B1if)

Hi all,
I try to test a webservice with Wfetch (it is the B1if Training scenario).
When I run the SOAP message I get in response:
'500-Internal error, Internal reason error on execution of an 'on_authcheck' Bizflow....'
Parameters are: Verb = POST, Port 8443, Authentication = Anonymous (I also tried with Basic: User B1iadmin), Connect: https, cipher= default, client cert=none)
Thanks in advance,
Vangelis

Hi Vangelis,
I'm in the same situation. Have you found a solution?
Thank you very much,
Antonio Ramos

Similar Messages

  • B1if B1DI Test Connection

    Hi,
    I am not able to connect successfully B1DI Test connection for SAP B1 SLD.
    Its give me below error.
    "com.sap.smb.sbo.wrapper.com.ComFailException: Can't map name to dispid: Connected"
    I already uninstall & install again B1if Framework.
    Thanks,
    Tushar

    Hi Radek,
    I have faced this issue only for B1DI Connection for all B1 System.
    Yes I tried with delete temp folder but i will try with reinstall of DI API & let you know.
    Thanks,
    Tushar

  • Consuming Webservice(SAP B1if) by PHP SOAP

    Hi all,
    im newbie in B1if, is this possible consuming Webservice by PHP SOAP.  i didnt find any Document or Example for consuming Webservice by PHP. just from Yatsea Li "Consuming B1if Web Services by DotNet". i created webservice just like Yatsea Li did.   I am really just trying to find out how to consuming a webservice by php. Can any one point me in the direction of some usable documentation or example  for it?
    Kind regards,
    Christoph

    Hi Christoph,
    let me summarize:
    You don't want to consume an external Webservice with B1if as I assumed first.
    Your plan is to consume a Webservice - provided by B1if -  with an external PHP based program (such a scenario is described in this youtube video).
    So as prerequisite you followed the guidance by Yatsea and did the following:
    You created a scenario in B1if using Web Service Inbound, and defined an output in atom0.
    You created a test inbound file and tested the scenario in the integration flow
    (existing testfile and successful test run is prerequisite to genrate XSD).
    You activated the scenario in the setup.
    You created a XSD and a WSDL via the B1if Scenario setup.
    You used the self-created WSDL for your test with the external program
    The Webservices provided by B1if are per default in SOAP format, so you need to handover the following structure:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Body>
       <root>
      </root>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The service method is identified by the root tag of SOAP Request.
    Did you already try to consume the B1if Web Service via WFetch or SOAP UI successfully or do you have the same problems as with your PHP application?
    Do you have your generated WSDL available?
    Best regards
    Bastian

  • B1 users in B1if

    Hi experts!!!
    Do you know if the users of SAP Business One
    can authenticate in B1if to create objects, realize
    HTTP Calls, etc.?
    Thanks for the support.
    Regards.
    Enrique.

    Hi Enrique,
    you can use the Authentication value "B1 Authentication" in Scenarios -> Package Design to define a B1 user authentication for your Scenario package.
    Web Service and HTTP calls will do an implicit login in case there is no session set up (yet). The authentication will give back a session id which can be used for further calls. These calls will then skip the authentication.
    The basic authentication in the http header must follow the following format in the correct order:
    User: language\username\company or language/username/company
    Password:password
    language:
    Language abbreviation. This parameter is mandatory. Leading and trailing spaces will be removed. In case the parameter does not fit to the enumeration, the default “en-US” will be taken.
    Enumeration: cs-CZ, da-DK, de-DE, el-GR, en-CY, en-GB, en-US, en-SG, es-AR, es-CO, es-ES, es-PA, fi-FI, fr-FR,he-IL, hu-HU, it-IT, ja-JP, ko-KR, nl-NL, no-NO, pl-PL, pt-BR, pt-PT, ru-RU,sk-SK, sr-YU, sv-SE, xx-XX, zh-CN, zh-TW.
    username:
    Name of an existing B1 user with the appropriate license (“B1i”) to access remotely via B1i to SAP Business One. Leading and trailing spaces will be removed.
    company:
    Name of an existing B1 company database. This company db must be defined in the B1i SLD. This SAP Business One company database is used to verify the authentication for the requesting user. This parameter is case-insensitive. Leading and trailing spaces will be removed.
    password:
    Password of the user to login.
    Response: In case of failed authorization, an http error will occur. In case of successful authorization an http 200 response with the response payload of the particular service, you called.
    The following error messages are covered:
    b1i user wrong username or password
    wrong username or password
    not able to assign the associated B1 server
    name of B1 company db is empty
    user is empty
    password is empty
    not able to find the assigned user id in SAP Business One
    not able to find the system identifier of the associated B1 company db
    error in credentials
    error in B1 authentication check (DI call) - DI message: …
    unknown error in authentication
    Below are two examples using Microsoft Tool WFetch for testing:
    Sample for HTTP Inbound
    Sample for Web Service Inbound
    Sample for HTTP:
    Create SLD entry for “H.AnySystem” – “HTTest”.
    Enter SAP Business One server name (or MS SQL server instance) in “associatedSrvIP” input field (must be aligned with SAP Business one SLD entry that should be used to authenticate).
    Create package “AuthTest” (unless created before)
    Choose “Authentication” “B1 Authentication” for connection via HTTP (“B1 Secure Authentication” for HTTPS).
    Create step “HTTest” and assign to package “AuthTest”.
    Define “HTTP Call” as Inbound channel and specify “Identification Method” “URL Parameter”; e.g. define “urlpar(action)” as “Identification Parameter and “HTtesting” as “Identifier”.
    Open “Processing” and close again to have B1if creating the required definitions.
    Define “Void” as Outbound channel.
    Change “atom0.xsl” to make sure you get a response that isn’t empty and valid xml.
    Choose “Setup” to choose the step (for subsequent activation) and “HTTest” as a sender system; activate the package.
    Test HTTP call using e.g. Microsoft’s WFetch tool.
    Details:
    SAP Business One company database = “SBODemoDE”
    SAP Business One user = “manager”
    SysID of “HTTest” = “0010000107”
    Parameters:
    Verb = GET
    Host = <machine name> or <IP> - e.g. 127.0.0.1
    Port = 8080 – 8443 for “...Secure…”
    Path =
    /B1iXcellerator/exec/ipo/vP.0010000107.in_HCSX/com.sap.b1i.vplatform.runtime/INB_HT_CALL_SYNC_XPT/INB_HT_CALL_SYNC_XPT.ipo/proc?action=HTtesting
    Auth = Basic
    User = en-US/manager/SBODemoDE
    Password = <password of user manager>
    Connect = http
    Cipher = default
    Client cert = none
    Trace Raw = Off
    Socket Reuse = Off
    Advanced Request = Disabled
    Expected result:
    Response includes “200 OK”
    Sample for Web Service:
    Create SLD entry for “W.AnySystem” – “WSTest”.
    Enter SAP Business One server name (or MS SQL server instance) in “associatedSrvIP” input field (must be aligned with SAP Business one SLD entry that should be used to authenticate).
    Create package “AuthTest” (unless created before)
    Choose “Authentication” “B1 Authentication” for connection via HTTP (“B1 Secure Authentication” for HTTPS).
    Create step “WSTest” and assign to package “AuthTest”.
    Define “Web Service Call” as Inbound channel and specify “Identification Method” “Root Tag”; e.g. define “WStesting” as “Identifier” (i.e. “Root Tag”)
    Open “Processing” and close again to have B1if creating the required definitions.
    Define “Void” as Outbound channel.
    Change “atom0.xsl” to make sure you get a response that isn’t empty and valid xml.
    Choose “Setup” to choose the step (for subsequent activation) and “WSTest” as a sender system; activate the package.
    Test Web Service call using e.g. Microsoft’s WFetch tool.
    Details:
      SAP Business One company database = “SBODemoDE”
      SAP Business One user = “manager”
      SysID of “WSTest” = “0010000106”
    Parameters:
    Verb = POST 
    Host = <machine name> or <IP> - e.g. 127.0.0.1
    Port = 8080 – 8443 for “...Secure…”
    Path =
    /B1iXcellerator/exec/soap/vP.0010000006.in_WCSX/com.sap.b1i.vplatform.runtime/INB_WS_CALL_SYNC_XPT/INB_WS_CALL_SYNC_XPT.ipo/proc
    Auth = Basic
    User = en-US/manager/SBODemoDE
    Password = <password of user manager>
    Connect = http
    Cipher = default
    Client cert = none
    Trace Raw = Off
    Socket Reuse = Off
    Advanced Request = Add Body
    Body (example):
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" >
      <SOAP-ENV:Body>
           <WStesting xmlns="">
                           <TestData1>Test1</TestData1>
                           <TestData2>Test2</TestData2>
           </WStesting>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Expected result:
    Response includes “200 OK”
    Best regards
    Bastian

  • B1 Item to B1 Item scenario on B1if 8.8

    Hi there. I'm trying to develop a very simple task with b1if. My target is to get a B1 to B1 consolidation of Items. Any time a item is created or changed, it will be reflected in others sbo companies. So far, I've got a simple scenario with just one final atom transformation. If my final atom is like that:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force="">
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:param name="atom"/>
         <xsl:param name="sessionid"/>
         <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"/>
         <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"/>
         <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"/>
         <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"/>
         <xsl:template match="/">
              <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
                   <xsl:copy-of select="/vpf:Msg/@*"/>
                   <xsl:copy-of select="/vpf:Msg/vpf:Header"/>
                   <Body>
                        <xsl:copy-of select="/vpf:Msg/vpf:Body/*"/>
                        <Payload Role="R" id="{$atom}">
                             <xsl:call-template name="transform"/>
                        </Payload>
                   </Body>
              </Msg>
         </xsl:template>
         <xsl:template name="transform">
              <xsl:attribute name="pltype">xml</xsl:attribute>
              <BOM>
                   <BO>
                        <AdmInfo>
                             <Object>4</Object>
                        </AdmInfo>
                        <OITM>
                             <row>
                                  <ItemCode>1551</ItemCode>
                                  <ItemName>TEST</ItemName>
                                  <ItmsGrpCod>113</ItmsGrpCod>
                                  <VatGourpSa>R16</VatGourpSa>
                             </row>
                        </OITM>
                   </BO>
              </BOM>
         </xsl:template>
    </xsl:stylesheet>
    With this atom, item test 1151 it is created properly. Problems come to me when I try to get data from the inbound process. Changing my xls file to the next way system gives an error ." Item no. is missing".
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force="">
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:param name="atom"/>
         <xsl:param name="sessionid"/>
         <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"/>
         <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"/>
         <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"/>
         <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"/>
         <xsl:template match="/">
              <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
                   <xsl:copy-of select="/vpf:Msg/@*"/>
                   <xsl:copy-of select="/vpf:Msg/vpf:Header"/>
                   <Body>
                        <xsl:copy-of select="/vpf:Msg/vpf:Body/*"/>
                        <Payload Role="R" id="{$atom}">
                             <xsl:call-template name="transform"/>
                        </Payload>
                   </Body>
              </Msg>
         </xsl:template>
         <xsl:template name="transform">
              <xsl:attribute name="pltype">xml</xsl:attribute>
              <BOM>
                   <BO>
                        <AdmInfo>
                             <Object>4</Object>
                        </AdmInfo>
                        <OITM>
                             <row>
                                  <ItemCode><xsl:value-of select = "$msg/BOM/BO/OITM/row/ItemCode"/></ItemCode>
                                  <ItemName><xsl:value-of select = "$msg/BOM/BO/OITM/row/ItemName"/></ItemName>
                                  <ItmsGrpCod><xsl:value-of select = "$msg/BOM/BO/OITM/row/ItmsGrpCod"/></ItmsGrpCod>
                                  <VatGourpSa><xsl:value-of select = "$msg/BOM/BO/OITM/row/VatGourpSa"/></VatGourpSa>
                                  </row>
                        </OITM>
                   </BO>
              </BOM>
         </xsl:template>
    </xsl:stylesheet>
    Does anyone knows how to get this code working? I don't know what is wrong. This is a simple task and I'm tracked!
    Thanks so much.

    Hello Jose,
    This is not quite correct. I correct it for you.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force="">
         <xsl:output method="xml" encoding="UTF-8" indent="yes"/>
         <xsl:param name="atom"/>
         <xsl:param name="sessionid"/>
         <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"/>
         <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"/>
         <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"/>
         <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"/>
         <xsl:template match="/">
              <Msg xmlns="urn:com.sap.b1i.vplatform:entity">
                   <xsl:copy-of select="/vpf:Msg/@*"/>
                   <xsl:copy-of select="/vpf:Msg/vpf:Header"/>
                   <Body>
                        <xsl:copy-of select="/vpf:Msg/vpf:Body/*"/>
                        <Payload Role="R" id="{$atom}">
                             <xsl:call-template name="transform"/>
                        </Payload>
                   </Body>
              </Msg>
         </xsl:template>
         <xsl:template name="transform">
              <xsl:attribute name="pltype">xml</xsl:attribute>
              <BOM xmlns="">
                   <BO>
                        <AdmInfo>
                             <Object>4</Object>
                             <Version>2</Version>
                        </AdmInfo>
                        <QueryParams>
                             <ItemCode>
                                  <xsl:value-of select="$msg/BOM/BO/Items/row/ItemCode"/>
                             </ItemCode>
                        </QueryParams>
                        <Items>
                             <row>
                                  <ItemCode>
                                       <xsl:value-of select="$msg/BOM/BO/Items/row/ItemCode"/>
                                  </ItemCode>
                                  <ItemName>
                                       <xsl:value-of select="$msg/BOM/BO/Items/row/ItemName"/>
                                  </ItemName>
                                  <ItemsGroupCode>
                                       <xsl:value-of select="$msg/BOM/BO/Items/row/ItemsGroupCode"/>
                                  </ItemsGroupCode>
                             </row>
                        </Items>
                   </BO>
              </BOM>
         </xsl:template>
    </xsl:stylesheet>
    So it must be work.
    Best regards,
    Selina
    Edited by: Rosenberger Selina on Nov 24, 2011 11:36 AM

  • How to add multiple test conditions in 'test' attribute expression of xsl:if tag

    Hi all,
    How to add multiple test conditions in 'test' attribute expression of <xsl:if> tag ?
    I have 2 parameters and I want To skip the massage if this 2 conditions happened I tried to write it :
            <xsl:when test="($TransferToCompany = 0 and $ObjectInclide=1 )">
            <b1im_skip xmlns="" info=" Obect Will Not Transfer To company">
            </b1im_skip>
          </xsl:when>
    But I get an error while I am trying to transfer The object (Account) true B1if
    I am working with SBO 9 PL 13
    thank you
    shachar

    Hi saado
    Check this link:
    http://stackoverflow.com/questions/318875/can-you-put-two-conditions-in-an-xslt-test-attribute
    Kind regards,
    Radek

  • Using User Defined Object in B1if

    Hello Expert,
    I am trying to configure the B1if scenario for User Defined Object, But when i check the consistency of the scenario there are three issues
    1. 0142 vBIU warning - inbound - channel: defined object identifier is not listed in the repository 
    2. 0259 vBIU inconsistency - outbound - details: 'Service Method Identifier' is not correct
    3. 0262 vBIU inconsistency - outbound - details: 'Get Method Identifier' is not correct
    I have prepared the Test as a UDO in SAP B1.
    *CONFIGURATION*
    Scenario Step Definition INBOUND - CHANNEL
    Channel : INB_B1_EVNT_ASYN_EVT
    Type : SAP Business One
    Mode : Asynchronous
    Trigger : B1Event
    Object : Test
    Identification Parameter : n.a.
    Namespace Definition :  n.a.
    Retrieval
    Method  : Retrieval
    Adapter :  DI API
    Type : Service
    Rule Document  :
    id : GeneralService
    type : get
    method : getByParams
    tag : TestParams
    keys :  Code(Code)
    Outbound Phase
    Channel : OUT_B1
    Type : SAP Business One
    Format : DI Service
    Regards
    Vijay Barapatre

    Hi All,
    I have a UDO with one Table and Code and Name as fields, when I add data in SAP with the default screen I want to trigger it in B1IF, I have tried identifier 152, 153 and many more.
    But my trigger keeps returning blank so it doesn't go through to my processes.
    <?xml version="1.0" encoding="utf-8" ?>
    - <Msg xmlns="urn:com.sap.b1i.vplatform:entity" xmlns:b1il="urn:com.sap.b1i.sim:b1ilog" xmlns:b1im="urn:com.sap.b1i.sim:b1imessage" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" MessageId="13102816541180273503C0A80079CC46" BeginTimeStamp="20131028165411" recording="true" logmsg="0009" msglogexcl="false" MessageLog="true"> 
    - <Header> 
    <msglog step="Default message log" always="false" b1ifactive="true" />  
    - <Resumption> 
    <starter ipo="/vP.0010000119.in_BEAE/com.sap.b1i.vplatform.runtime/INB_B1_EVNT_ASYN_EVT/INB_B1_EVNT_ASYN_EVT.ipo/proc" />  
    </Resumption>
    <IPO Id="INB_B1_EVNT_ASYN_EVT" tid="13102815571480273490C0A8007961AC" />  
    <Sender Id="0010000119" />  
    </Header>
    - <Body> 
    - <Payload Role="T" Type="B1Event" add=""> 
    - <Event xmlns="" B1EventFilter="false"> 
    - <b1e:b1events xmlns:b1e="urn:com.sap.b1i.sim:b1event"> 
    - <b1e:b1event> 
    <b1e:eventsource>MobiPay</b1e:eventsource>  
    <b1e:objecttype>FC_PODO</b1e:objecttype>  
    <b1e:transactiontype>A</b1e:transactiontype>  
    <b1e:usercode>manager</b1e:usercode>  
    <b1e:userid>manager</b1e:userid>  
    - <b1e:keys count="1"> 
    - <b1e:key> 
    <b1e:name>Code</b1e:name>  
    <b1e:value>test 2</b1e:value>  
    </b1e:key>
    </b1e:keys>
    <b1e:sourcesite>BDRAPER</b1e:sourcesite>  
    <b1e:sourceport>1433</b1e:sourceport>  
    <b1e:sourcetype>6</b1e:sourcetype>  
    <b1e:sld value="BDRAPER!!MobiPay" />  
    </b1e:b1event>
    </b1e:b1events>
    - <b1ie:B1IEvent xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" SysId="0010000119" SysTypeId="B1.9.0" Task="I" LocalObjectType="FC_PODO"> 
    - <b1ie:PrimaryKeyList> 
    <b1ie:PrimaryKey Key="Code" Value="test 2" />  
    </b1ie:PrimaryKeyList>
    </b1ie:B1IEvent>
    </Event>
    </Payload>
    <Payload Role="S" />  
    </Body>
    </Msg>
    Please help,
    Regards,
    Brenden Draper.

  • B1if Error: Parsing an empty source. Root element expected!

    Dear experts,
    i have created a scenario from SAP PI to SAP B1if.
    Under On package i have created multiple scenarios and all were working succesfully.
    But i added another scenario now and tested its giving the below error.
    infact now , when i am testing the scenarios (which were working succesfully before), all of them are giving the same error as below:
    SAP B1iP detected an error:
    Emitted HTTP-Code
    500 - Internal Server Error
    Internal Reason
    Parsing an empty source. Root element expected!
    Full Internal Error Message
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: javax.xml.transform.TransformerConfigurationException: Could not load stylesheet. java.io.IOException: Parsing an empty source. Root element expected!
    i am givng the correct input message with root nodes etc but still i am getting the error.
    Please help!!
    Thanks.

    hi,
    you want to convert yor receivee structure or sender??
    see these links about FCC to see how they do it.
    File Receiver with Content Conversion
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    Type of separatos
    http://help.sap.com/saphelp_nw04/helpdata/en/05/7fdf3d0eb8af5ee10000000a114084/frameset.htm
    Troubleshooting the File Adapter
    /people/shabarish.vijayakumar/blog/2007/07/26/troubleshooting-the-file-adapter-last-updated-on-02-july10
    Converting File Content in a Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    Converting File Content in the Receiver Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Thanks
    Rodrigo
    PD: Reward points if useful
    Edited by: Rodrigo Pertierra on May 14, 2008 12:11 PM

  • B1if access via webdav fails

    Hi,
    when I try to access B1if-webdav with the internet explorer (http://127.0.0.1:8080/B1iXcellerator/exec/webdav) I get the following error:
    SAP B1iP detected an error:
    Emitted HTTP-Code
    500 - Internal Server Error
    Internal Reason
    while trying to invoke the method com.sap.b1i.bizprocessor.BizStoreURI.isUniqueURI() of an object loaded from local variable 'buri'
    Recommendation
    Check for the correctness of your activity or environment or ask your system-administrator for further help.
    Full Internal Error Message
    com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: java.lang.NullPointerException: .......
    Last week it works and I don´t remember any changes. I already deinstalled the whole framework but the error remains the same.
    Any idea?
    Thanks
    Gregor

    Gregor,
    Please check two issue fllowing:
    1. Make sure the test connection to B1DI and JDBC is successful. Make sure there is no special char in the password
         -  Restart SAP Business One Integration Service from windows services and log in again to SAP Business One.
    2.The address in the B1iServer name is incorrect
        -  Use the correct server address and ensure you replace <server_name> with the name or IP of your server  not use localhost
    you must edit file xcellerator.cfg set xcl.webdav=full. and then you use XMLSpy connect to "http://localhost:8080/B1iXcellerator/exec/dummy/" by B1iadmin user.
    and check the note in address..
    1619422  - B1ic_Troubleshooting Guide for B1ic Dashboard/Cockpit
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136313934323226
    Regards,
    Marcelo Silva Santos

  • Marketing Documents through B1if

    We are implemented a integration between Business One and other sys and need send Marketing Documents to B1.
    To DI API and DI Server, the XML Schema these objects its kind:
    <BOM>
      <BO>
         <AdmInfo>
           <Object>13</Object>
           <Version>2</Version>
          </AdmInfo>
          <Document
    In B1if we have problems to conclude tests. The XML Schema to Mark. Documents are the same?
    I receive a error message {"ResultCode":"-1", "ErrorMsg":""}
    Some one can help?

    Hi Gordon,
    Thanks for the answer.
    Sorry for delay in reply, I was out of the office.
    This is my Sale Invoice XML. But the error persist. I'm in B1 8.81 PL10.
    The general schema is ok? My doubt is only it.
    Because this is the exactly same xml that I use in my add-on aplication to import external invoices from the POS system.
    <BOM>
         <BO>
              <AdmInfo>
                   <Object>13</Object>
                   <Version>2</Version>
              </AdmInfo>
              <Documents>
                   <row>
                        <DocNum/>
                        <DocType>dDocument_Items</DocType>
                        <HandWritten>tNO</HandWritten>
                        <DocDate>20120113</DocDate>
                        <DocDueDate>20120113</DocDueDate>
                        <CardCode>C999</CardCode>
                        <DocCurrency>R$</DocCurrency>
                        <DocTotal>3.66</DocTotal>
                        <Reference1/>
                        <Comments/>
                        <JournalMemo>Cupom fiscal PDV - B1if - C999 - 484</JournalMemo>
                        <PaymentGroupCode>-1</PaymentGroupCode>
                        <DocTime>0903</DocTime>
                        <ContactPersonCode/>
                        <Series/>
                        <TaxDate>20120113</TaxDate>
                        <DocObjectCode>13</DocObjectCode>
                        <Indicator/>
                        <SequenceCode>-2</SequenceCode>
                        <SubSeriesString/>
                        <SequenceSerial>485</SequenceSerial>
                        <SequenceModel>24</SequenceModel>
                        <DiscountPercent>0</DiscountPercent>
                        <POSCashierNumber>1</POSCashierNumber>
                        <POSEquipmentNumber>EPSON TM T81 FBII</POSEquipmentNumber>
                        <POSManufacturerSerialNumber>EP081010000000003717</POSManufacturerSerialNumber>
                   </row>
              </Documents>
              <Document_Lines>
                   <row>
                        <LineNum>1</LineNum>
                        <ItemCode>A005</ItemCode>
                        <Quantity>1</Quantity>
                        <ShipDate/>
                        <LineTotal>1.76</LineTotal>
                        <Currency>R$</Currency>
                        <Usage>5</Usage>
                   </row>
              </Document_Lines>
         </BO>
    </BOM>

  • For-each loop atom not executing in B1if processing step

    Dear All,
    I have designed scenario in B1if in which Inbound is SAP ERP(ECC) IDOC and Outbound is UDO object. In this scenario I have loop placed in it, on the basis of IDOC fields I am executing query but it's not going inside the loop, I have entered correct path in loop. Please see attached image of processing, for loop path and inbound message.
    for-each path : /vpf:Msg/vpf:Body/vpf:Payload[./@Role='S']/ZSD_IDOC_B1_JW_ASN/IDOC/ZSD_SEG_B1_ASN_SO
    Inbound Message :
    - <Payload Role="S" mode="0">
    - <ZSD_IDOC_B1_JW_ASN xmlns="">
      <?msgid 150402232456625499260A1301F349C4?>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <MANDT>120</MANDT>
      <DOCNUM>0000000000425819</DOCNUM>
      <DOCREL>731</DOCREL>
      <STATUS>30</STATUS>
      <DIRECT>1</DIRECT>
      <OUTMOD>2</OUTMOD>
      <EXPRSS />
      <TEST />
      <IDOCTYP>ZSD_IDOC_B1_JW_ASN</IDOCTYP>
      <CIMTYP />
      <MESTYP>ZSD_MSG_B1_ASN</MESTYP>
      <MESCOD />
      <MESFCT />
      <STD />
      <STDVRS />
      <STDMES>ZSD_MS</STDMES>
      <SNDPOR>SAPJED</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPFC />
      <SNDPRN>JED120</SNDPRN>
      <SNDSAD />
      <SNDLAD />
      <RCVPOR>B1IFPORT</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPFC />
      <RCVPRN>B1IFSYS</RCVPRN>
      <RCVSAD />
      <RCVLAD />
      <CREDAT>20150402</CREDAT>
      <CRETIM>175415</CRETIM>
      <REFINT />
      <REFGRP />
      <REFMES />
      <ARCKEY />
      <SERIAL>20150221173915</SERIAL>
      </EDI_DC40>
    - <ZSD_SEG_B1_ASN_SO SEGMENT="1">
      <SO_CREATE_DATE>04000205</SO_CREATE_DATE>
      <DELIVERY_DATE>04000205</DELIVERY_DATE>
      <CARD_CODE>04000205</CARD_CODE>
      <CARD_NAME>04000205</CARD_NAME>
      <SO_POSTING_DATE>04000205</SO_POSTING_DATE>
      <CUST_REF_NO>04000205</CUST_REF_NO>
      <PO>04000205</PO>
      <PO_ITEM>04000</PO_ITEM>
      <PO_MATERIAL>0400020504000205</PO_MATERIAL>
      <PO_QUANTITY>040002050400020</PO_QUANTITY>
      <PO_UOM>400</PO_UOM>
      <BOM_COMPONENT1>04000205</BOM_COMPONENT1>
      <BOM_COMPONENT2>04000205</BOM_COMPONENT2>
      <_--357F4>04000205</_--357F4>
      <ITEM_CODE>04000205</ITEM_CODE>
      <ITEM_NAME>04000205</ITEM_NAME>
      <QUANTITY>04000205</QUANTITY>
      <GROSS_WT>04000205</GROSS_WT>
      <NET_WT>04000205</NET_WT>
      <PCSPERPKT>0400020504000205</PCSPERPKT>
      <CUST_REQ_PKTWT>04000205</CUST_REQ_PKTWT>
      <ECC_BATCH>04000205</ECC_BATCH>
      <ECC_BATCH_QUALITY>04000205</ECC_BATCH_QUALITY>
      <SO_NO>04000205</SO_NO>
      <SO_ITEM>040002</SO_ITEM>
    - <ZSD_SEG_B1_ASN_CHARS SEGMENT="1">
      <S_PROD_TYPE>S_CRCACF</S_PROD_TYPE>
      <S_PROD_FORM>S_CRCACF</S_PROD_FORM>
      <S_PLANT>S_CRCACF</S_PLANT>
      <S_SUB_CON_SENDING_MAT>S_CRCACF</S_SUB_CON_SENDING_MAT>
      <S_JSW_GRADE>S_CRCACF</S_JSW_GRADE>
      <S_THICK_MM>S_CRCACF</S_THICK_MM>
      <S_WIDTH_MM>S_CRCACF</S_WIDTH_MM>
      <S_EQ_SPEC>S_CRCACF</S_EQ_SPEC>
      <S_UNITISATION>S_CRCACF</S_UNITISATION>
      <S_EDGE_CON>S_CRCACF</S_EDGE_CON>
      <S_COIL_ID_MM>S_CRCACFS_CRCACF</S_COIL_ID_MM>
      <S_PACKAGING_TYPE>S_CRCACF</S_PACKAGING_TYPE>
      <S_OIL_TYPE>S_CRCACF</S_OIL_TYPE>
      <S_OILING_CODE>S_CRCACF</S_OILING_CODE>
      <S_OIL_REQ>S_CRCACF</S_OIL_REQ>
      <S_END_APPN>S_CRCACF</S_END_APPN>
      <S_INT_EDGE_CON>S_CRCACF</S_INT_EDGE_CON>
      <S_SKINPASS_REQ>S_CRCACF</S_SKINPASS_REQ>
      <S_SURFACE_FINISH>S_CRCACF</S_SURFACE_FINISH>
      <S_ROUGHNESS_CODE>S_CRCACF</S_ROUGHNESS_CODE>
      <S_TOL_TYPE>S_CRCACF</S_TOL_TYPE>
      <S_THICK_TOL_TYPE>S_CRCACF</S_THICK_TOL_TYPE>
      <S_THK_TOL_MM_UPPER>S_CRCACF</S_THK_TOL_MM_UPPER>
      <S_THK_TOL_MM_LOWER>S_CRCACF</S_THK_TOL_MM_LOWER>
      <S_WDTH_TOL_MM_UPPER>S_CRCACF</S_WDTH_TOL_MM_UPPER>
      <S_WDTH_TOL_MM_LOWER>S_CRCACF</S_WDTH_TOL_MM_LOWER>
      <S_LENGTH_TOL_MM_UPPER>S_CRCACF</S_LENGTH_TOL_MM_UPPER>
      <S_LENGTH_TOL_MM_LOWER>S_CRCACF</S_LENGTH_TOL_MM_LOWER>
      </ZSD_SEG_B1_ASN_CHARS>
      </ZSD_SEG_B1_ASN_SO>
    - <ZSD_SEG_B1_ASN_SO SEGMENT="1">
      <SO_CREATE_DATE />
      <DELIVERY_DATE />
      <CARD_CODE />
      <CARD_NAME />
      <SO_POSTING_DATE />
      <CUST_REF_NO />
      <PO />
      <PO_ITEM />
      <PO_MATERIAL />
      <PO_QUANTITY />
      <PO_UOM />
      <BOM_COMPONENT1 />
      <BOM_COMPONENT2 />
      <_--357F4 />
      <ITEM_CODE />
      <ITEM_NAME />
      <QUANTITY />
      <GROSS_WT />
      <NET_WT />
      <PCSPERPKT />
      <CUST_REQ_PKTWT />
      <ECC_BATCH />
      <ECC_BATCH_QUALITY />
      <SO_NO />
      <SO_ITEM />
    - <ZSD_SEG_B1_ASN_CHARS SEGMENT="1">
      <S_PROD_TYPE />
      <S_PROD_FORM />
      <S_PLANT />
      <S_SUB_CON_SENDING_MAT />
      <S_JSW_GRADE />
      <S_THICK_MM />
      <S_WIDTH_MM />
      <S_EQ_SPEC />
      <S_UNITISATION />
      <S_EDGE_CON />
      <S_COIL_ID_MM />
      <S_PACKAGING_TYPE />
      <S_OIL_TYPE />
      <S_OILING_CODE />
      <S_OIL_REQ />
      <S_END_APPN />
      <S_INT_EDGE_CON />
      <S_SKINPASS_REQ />
      <S_SURFACE_FINISH />
      <S_ROUGHNESS_CODE />
      <S_TOL_TYPE />
      <S_THICK_TOL_TYPE />
      <S_THK_TOL_MM_UPPER />
      <S_THK_TOL_MM_LOWER />
      <S_WDTH_TOL_MM_UPPER />
      <S_WDTH_TOL_MM_LOWER />
      <S_LENGTH_TOL_MM_UPPER />
      <S_LENGTH_TOL_MM_LOWER />
      </ZSD_SEG_B1_ASN_CHARS>
      </ZSD_SEG_B1_ASN_SO>
      </IDOC>
      </ZSD_IDOC_B1_JW_ASN>
      </Payload>

    Hi Bastian,
    Thanks for response.
    In Graphical For-Each Loop I have used xpath </vpf:Msg/vpf:Body/vpf:Payload[./@Role='S']/ZSD_IDOC_B1_JW_ASN/IDOC/ZSD_SEG_B1_ASN_SO> and its correct as per the input message which I have shown in discussion, please correct me if I have done wrong inn xpath expression.
    As per my understanding I can not write loop in xslt because on the basis of some fields I am querying from database, if there is another way to achieve this please let me know.
    Thanks

  • How to insert/update ProductTree_Lines per B1if

    Hi everybody,
    I´m using SAP Business One 8.82 and the B1if 1.11.2.
    My Scenario should insert ProductTree und ProductTree_Lines for an item. But I can´t find a object-Id (structure) for ProductTree_Lines. Per DTW (data transfer workbench) I learned, that ProductTree ist the master (object-Id 66 in B1if) and ProductTree_Lines are the details (object-Id ??).
    I tried to learn more by getting an test-item with a test-scenario by B1Object-atom-GetList() for object-Id 66 but I only get the master structure and no details.
    Any suggestions how to insert/update ProductTree_Lines per B1if?
    greetings Benjamin

    Hello Benjamin,
    the Schema look like this:
    <BOM xmlns="">
        <!--DB Table Name: -->
        <BO>
            <!--multiple such elements are allowed-->
            <AdmInfo>
                <Object>long</Object><!--66-->
                <Version>long</Version>
            </AdmInfo>
            <QueryParams>
                <TreeCode>string</TreeCode>
            </QueryParams>
            <ProductTrees>
                <row>
                    <!--multiple such elements are allowed-->
                    <TreeCode>string</TreeCode>
                    <TreeType>string</TreeType>
                    <Quantity>double</Quantity>
                    <DistributionRule>string</DistributionRule>
                    <Project>string</Project>
                    <DistributionRule2>string</DistributionRule2>
                    <DistributionRule3>string</DistributionRule3>
                    <DistributionRule4>string</DistributionRule4>
                    <DistributionRule5>string</DistributionRule5>
                    <PriceList>long</PriceList>
                    <Warehouse>string</Warehouse>
                </row>
            </ProductTrees>
            <ProductTrees_Lines>
                <row>
                    <!--multiple such elements are allowed-->
                    <ItemCode>string</ItemCode>
                    <Quantity>double</Quantity>
                    <Warehouse>string</Warehouse>
                    <Price>double</Price>
                    <Currency>string</Currency>
                    <IssueMethod>string</IssueMethod>
                    <Comment>string</Comment>
                    <ParentItem>string</ParentItem>
                    <PriceList>long</PriceList>
                    <DistributionRule>string</DistributionRule>
                    <Project>string</Project>
                    <DistributionRule2>string</DistributionRule2>
                    <DistributionRule3>string</DistributionRule3>
                    <DistributionRule4>string</DistributionRule4>
                    <DistributionRule5>string</DistributionRule5>
                    <WipAccount>string</WipAccount>
                    <ItemType>long</ItemType>
                    <LineText>string</LineText>
                    <AdditionalQuantity>double</AdditionalQuantity>
                </row>
            </ProductTrees_Lines>
        </BO>
    </BOM>

  • B1if db unexplained growth

    New install of SAP 8.81.
    4 companies installed: SBODemoUS, a renamed copy of SBODemoUS for report building, new company to hold live data with hardly anything in it, copy of same for testing. Only two active users, me in the reports db and client adding setup data to live system.
    B1if grows at over a gig a day.
    What could it be doing?
    TIA

    TRY following procedure
    1)Monitoring->B1 Event Monitor->Switch the log off. Now press delete all button. To clear all the logs.
    It is recommended that the B1 Event Monitor is turned on only when debugging& analyzing specific issues. During normal usage, you should switch the B1 Event Monitor off:
    2)Maintenance->Cfg Msglog->Click on Manual Delete and provide the appropriate input and press Delete.
    3)B1if is handling the message log deletion automatically on the daily bases (B1if -> Maintenance -> Cfg MsgLog -> Daily deletion button). By default it#s set to 23.00. It means the server needs to be up at this time. This value can be set according the customer#s requirement and here you can find more option regarding the message log settings as well. (Kindly check whether Backup buffer(days) is set to 0, if yes check by changing it to 1)
    4)Schedule an immediate Transaction-Log Garbage Collect (B1if #> Control Center #> Maintenance #> Schedule TLog GC #> Submit)
    5)Open Integration Framework->Control Center->Maintenance->tlog delete->Select the Execution status as "Completed"->submit. Wait for the process to complete.
    6)Now restart the Integration service.
    The above steps should keep the database size in check.
    (B1if -> Maintenance -> Cfg MsgLog -> Daily deletion button) can be used to schedule the message log deletion.
    ALSO
    check note:
    1873607 - B1iF_Integration framework database is growing fast
    AND
    Refer to SAP Note 1873559

  • B1if Scnario Package error

    Hi all
    i am getting below error when i am going to create step design.  and also import packages also not showing in scenario step identifier. Please any one help me out of this issue

    Problem solved. I don't know why connection test failed but I uninstall Bi1f, Java and clean register. Install B1if again and everything works fine.
    Regards
    Szymon

  • B1if Email Configuration

    Hi Experts,
    I am trying to send mail through B1if, so i given the GMAIL mail setting parameter but when my package running i am getting following error. Please if any one have idea to configure mail in B1if please share me.
    "com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtZT 534-5.7.14 8-vpesyYvuRf1JI2ZzO0SQZSl1I7Lx6c-FHT1NHWUcWSmw3JdwgPvfay11SpWI3ng-aG2V 534-5.7.14 UA08FCLd9BUdn3Cq_Rf_Dsm-uxejwGgfOK3XoIW8dYLKP1m1CcO7HAZZtKSXgUpFwnMDMR 534-5.7.14 itiPMUgqk0PamCZxCyHiTnWWrYiV4HGfjpqB4u2xIM6yEM6rzBgBkaYHVKDw0o6AomnA89 534-5.7.14 mou02QA> Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 fm4sm30595625pdb.88 - gsmtp"
    Thanks,
    Karthick S

    Hi Radoslaw Kowal,
    Good morning,
    Actually i did the same thing but i am not given my outlook mail configuration, instated of that i given gmail configuration but i can't send mail through that test mail process.
    So i add the email atom there i given the details like which you send the xml format.
    after that i got  below error.
    "com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtZT 534-5.7.14 8-vpesyYvuRf1JI2ZzO0SQZSl1I7Lx6c-FHT1NHWUcWSmw3JdwgPvfay11SpWI3ng-aG2V 534-5.7.14 UA08FCLd9BUdn3Cq_Rf_Dsm-uxejwGgfOK3XoIW8dYLKP1m1CcO7HAZZtKSXgUpFwnMDMR 534-5.7.14 itiPMUgqk0PamCZxCyHiTnWWrYiV4HGfjpqB4u2xIM6yEM6rzBgBkaYHVKDw0o6AomnA89 534-5.7.14 mou02QA> Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754fm4sm30595625pdb.88 - gsmtp"
    Thank
    Karthick S

Maybe you are looking for

  • Deletion of Parked Invoice

    Hi friends, Need your help on the below issue I am trying to delete a Parked invoice for which the PO has been already archived. Hence system is not allowing to delete the parked invoice 1. Is there any way how to delete the parked invoice? 2. Becaus

  • Oracle DataGuard For ERP ECC 6.0 (ABAP)

    Dear For prepare to setup and config Oracle Data Guard in DR site I have a question for this issue as follows : If my system is Central System with Sap Application and Database Oracle in the same server . In the DR site, please guide me what steps wh

  • The returned value of BAPI call

    Hi, experts, I have a question about returned value of BAPI call. when the returned value is mapped as an attribute and this return value itsself is of the type: table of a certain structure. Is there any possibility that the value of this table stil

  • Serial number status problem at cancellation of GR

    Hi, System is giving error message  at the time of cancellation GR---->"SERIAL NUMBER STATUS CAVL IS ACTIVE". I have assigned the same serial number,which i had used at the time of goods receipt. please provide me the solution for this serial number

  • App world wont CONNECT

     Ok so I got a Curve 8520 and for the first few months i could log into app world download updates etc. but then all of a sudden it tells me it is unable to validate email address and password combination. I have tried changing the password as well a