cancel
Showing results for 
Search instead for 
Did you mean: 

How to Update BP Address ?

former_member209771
Active Participant
0 Kudos

Hi all,

I have a BP with billto(0) & shipto(1) address in SAP . Now i want to update this BP with new billto & shipto address.when i assing set currentline value 2 and 3 using BP object then its show exception 'Invalid Row'

plz help me how to add new address in BP ?

thanks in advance

surajit

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You do not use set current row, setcurrentrow is only for existing addresses

If you want to add a new address, you use

oBusinessPartner.BPAddresses.Add() - 'this creates a new empty row, and sets the object to this row
'here set all the details
'street, block, country etc

'now add another
oBusinessPartner.BPAddresses.Add()
'set the details for the second one

Former Member
0 Kudos

I think to add new you just need to leave the line number blank