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

Removing Business Partners

I have a client that gave me a customer list to import into B1, which I did using the DTW tool. Now, they want to scrap that list, and have given me a new list which has some BP ID's changed and about 300 fewer entries. Is there a way for me to "wipe out" my first import in order to start with a clean slate?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2008 at 06:14 PM


    Unfortunately if you have any postings linked to the new business partners you have just added there is no way to delete them. If you don't have anything linked to some of the partners that you have put in then you could delete them one by one. This information was found in note 897164 in the Note Search.

    Best Regards,

    Jeff Haldeman

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2008 at 06:33 PM

    As long as there are no transactions to these BP, you absolutely can delete them either manually or electronically. Just like there is an add object that checks all the rules there is a delete object that will delete records and do all the SAP checking of rules.

    Add a comment
    10|10000 characters needed characters exceeded

    • The following is example of VB code we use to delete items. This will read items in an excel spreadsheet and pass logic to SAP to check if there are transactions, etc. If there are no transsactions the item will be deleted.

      You should be able to modify to your liking to delete items.

      Public Function deleteitem()

      Dim tcnt As Integer

      Dim r, c As Integer

      Dim vItem As SAPbobsCOM.Items

      Set vItem = vCmp.GetBusinessObject(oItems)

      rowcnt = numrows()

      colCnt = NumCols()


      ActiveCell.Offset(0, 0).Select

      tcnt = 0

      For r = 3 To rowcnt

      '---Test to see if item already exists

      If vItem.GetByKey(ActiveCell.Offset(0, 0)) = True Then

      lRetCode = vItem.Remove



      MsgBox "Item " & ActiveCell.Offset(0, 0) & " Not found." = 1

      End If

      If lRetCode = 0 Then

      tcnt = tcnt + 1

      End If

      ActiveCell.Offset(1, 0).Activate

      Next r

      MsgBox tcnt & " Records affected."

      End Function

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.