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: 

infotype 0006

Former Member
0 Kudos

in infotype 6 address there are two phone numbers, one for work and a home phone number field. they are both

q structures, I can get the home phone number because there is a field in the pa0006 table called telnr, but none for work phone, is there anyway in getting this value.

thanks.

1 ACCEPTED SOLUTION

ssimsekler
Active Contributor
0 Kudos

Hi Jamie

As far as I know, q structures are intermediary structures to handle screen data for infotypes.

Firstly, 0006 should have some subtypes like "Home address" and "Work address" (may be different in your system due to your customization). So, home phone is stored for the former subtype and work phone for the latter subtype.

Secondly, the numbers are sometimes stored in the field group (COMTYXX-COMNRXX [or something like that]) of the infotype 0006. COMTYXX holds the type of the communication number (e.g. home phone, work phone, fax, etc.) and COMNRXX stores the number itself. The number types and number for how many of them to be maintained should be customized.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

1 REPLY 1

ssimsekler
Active Contributor
0 Kudos

Hi Jamie

As far as I know, q structures are intermediary structures to handle screen data for infotypes.

Firstly, 0006 should have some subtypes like "Home address" and "Work address" (may be different in your system due to your customization). So, home phone is stored for the former subtype and work phone for the latter subtype.

Secondly, the numbers are sometimes stored in the field group (COMTYXX-COMNRXX [or something like that]) of the infotype 0006. COMTYXX holds the type of the communication number (e.g. home phone, work phone, fax, etc.) and COMNRXX stores the number itself. The number types and number for how many of them to be maintained should be customized.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>