Skip to Content

Company address info in 4.6c

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!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Jun 17, 2004 at 03:05 PM

    err...I meant "payor". haha

    ...and "retireve" = retrieve ....fat-fingered that one.

    =)

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 17, 2004 at 03:33 PM

    Just going to use:

    BAPI_COMPANYCODE_GETDETAIL

    and viola! All of it is there.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2004 at 10:34 PM

    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!

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 24, 2004 at 12:43 PM

    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!

    Add comment
    10|10000 characters needed characters exceeded