on 06-17-2004 4:04 PM
I am building a function group that constructs an employee's paystub. As such, I need to retireve the payee's address. This should be the company the employee is under. As of now, I am pulling most all address info for the company from T880. However, this table lists everything except the state/province of the company (seems odd that that would be left out). Is there a better place (table) to retrieve this info? Any help?
Thanks in advance!
One caveat I found....if the company addresses are not being maintainted via central address admin., you will get nothing back in the address table (makes sense eh? haha). I had to put in some additional code to check if the returned address structure was initial and if so, to go look in the "t" table used in the IMG when setting up various companies to pull address info. Oddly enough, the table includes all fields EXCEPT "regio" (state/province). Anyways, glad I could help...that's what this place is all about!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Chris, just so happens I have to do almost the same thing and was thinking of going through the Org Structure.
This BAPI Works perfect!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just going to use:
BAPI_COMPANYCODE_GETDETAIL
and viola! All of it is there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
err...I meant "payor". haha
...and "retireve" = retrieve ....fat-fingered that one.
😃
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.