Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Func module to get number range

Former Member
0 Kudos

Hi all,

if i have no other way other than a direct update, how do i do a update of an address in VBPA and ADRC.

( generating a new ADRNR)

1 ACCEPTED SOLUTION

Former Member
0 Kudos

NUMBER_GET_NEXT function module gives you the next number available for any number range. You will find out what the number range object for address is and then within that, if there are any sub-intervals for external vs internal number ranges.

Hope you closed out all other posts.

Srinivas

4 REPLIES 4

Former Member
0 Kudos

NUMBER_GET_NEXT function module gives you the next number available for any number range. You will find out what the number range object for address is and then within that, if there are any sub-intervals for external vs internal number ranges.

Hope you closed out all other posts.

Srinivas

Former Member
0 Kudos

lets say you have the address in a work area wa and then you want to update yourVBPA and ADRC tables, follow the following -

modify <dbtab> from <wa>

or

modify <dbtab> from table <itab>.

Hope this is what you wanted to know as it was not very clear since the subject of the message was something else and the message was something else.If i got the message wrong, then let me know so that i can help you out.

If your query is resolved then kindly award the poinst and close the thread.

Regards.

Naveen

Former Member
0 Kudos

Hi

Try the fm ADDR_NUMBER_GET

Max

0 Kudos

Hi all,

I am trying to use FMs ADDR_PERSON_NUMBER_GET and ADDR_NUMBER_GET but keep getting errors "Person handle invalid" and "Address handle invalid".

Does anyone know the correct way to populate the PERSON_HANDLE and ADDRESS_HANDLE parameters for passing to the function modules? I tried to copy some code from program SAPMF02D (transaction VAP1) but it doesn't seem to work.

Thanks in advance.

Regards,

Tammie

Oops! Just realised that this thread has been solved. Will post my question in a new thread.

Message was edited by: Tammie Louie