Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Business Address Services

hi everyone

Can anyone tell me how to register new addressgroup in tables TSAD7, TSAD8(for new personel group)and.

Also I have made a sample program for using BAS .

For this I have used FMs ADDR_PERSONAL_COMPLETE_INSERT and

ADDR_PERSON_NUMBER_GET for inserting new values and generating new personal number. But whenever I run the program it gives me error stating Person handle invalid.

I am creating person handle like this.

person_handle+0(10) = 'ZADDR'.

person_handle+10(10) = 'PERNR'.

person_handle+20(120) = '00123500'.

where ZADDR is ztable in which there is a field called PERNR.

In the FM ADDR_PERSON_NUMBER_GET it gives error on this line

READ TABLE pers_appl_to_int WITH KEY l_key_h BINARY SEARCH

on this particular line it gives sy-subrc = 8 and raises error person handle invalid

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question