Skip to Content
author's profile photo Former Member
Former Member

Can i use B1iSN to update records in sap ?

Hi,

i want to know if i can use B1iSN in order to update an existing item or customer in sap, or is it only suited for insertion of new records?

Thanks, Udi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2011 at 03:04 PM

    Hi,

    are you referring to the update and add new (Item Master Data and BP) from Headquarter to Subsidiary or reverse. it is possible

    thanks

    H2

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 16, 2011 at 05:30 AM

    Hi,

    Yes, you can.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 16, 2011 at 07:11 AM

    Hi,

    i am trying to update an existing Item in SAP using a CSV file.

    in the message log i get an error message that the item already exists.

    what should i do in order to update the existing record?

    Thanks, Udi

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      please change the B1 write policy in your scenario step via B1iSN Tools -> Development Tools -> Graphical Scenario Design, select your integration scenario.

      On the receiver side (B1) maintain the B1 write Policy element and change following:

      • Insert on Exists = fallback2U
      • Update on miss = fallback2I
      • Update Policy = regular

      I attached a screenshot:

      Please make sure that your BIU-Mappingis using the QueryParams segment with the primary object key:

      <BOM xmlns="">

      <BO>

      <AdmInfo>

      <Object>4</Object>

      <Version>2</Version>

      </AdmInfo>

      <QueryParams>

      <ItemCode>

      <xsl:value-of select="BO/Items/row/ItemCode" />

      </ItemCode>

      </QueryParams>

      <Items>

      ...

      In the example above I read the primary key for QueryParams from an Inbound B1 item xml (path needs to be aligned depending on your inbound message) .

      After the changes and the deactivation, modification and reactivation of your Business Process Instance, the new write policy is active.

      B1iSN recognizes that an item master data already exists and is switching to update and vice versa.

      Best regards

      Bastian

      Capture.PNG (131.8 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.