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: 

Qnnnn structure?

Former Member
0 Kudos

Hi All,

Can anybody explain me the prominence of the sturucture "Qnnnn" in SAP-HR.

1 ACCEPTED SOLUTION

former_member184569
Active Contributor
0 Kudos

Hi Vijay,

Screen fields from Qnnnn structures (Q fields):

These fields are used like the infotype single screens when the external format is different

from the internal format.

Each Q field must have an invisible P field on the screen which contains the field contents in

the internal format, since only the contents of P fields can be passed on to the infotypes.

Field Q0002-ANREX (‘Mr’, ‘Ms’) has invisible field P0002-ANRED (‘1’, ‘2’) with the

value ‘001’ in modif group 1.

Q fields are not assigned a value in modif group 1.

When defining screen fields in the ABAP Screen Painter, do not specify structural data (such as

the data type and length) directly when maintaining the screen. It is better to specify such data

indirectly so that it is taken from the definition of objects in the Data Dictionary.

Individual fields are contained in various structures, depending on their meaning:

_ Fields that are displayed for all infotypes are stored in structure RP50M.

Such fields include, for example, the headers for single screens.

_ Fields that are infotype-specific are stored in structure PSnnnn.

You might want a screen to include screen fields that are not yet included in a structure. If this is

the case, you must create structure Znnnn in addition to structure PSnnnn. You can then use

structure Znnnn to store all of the fields that must be displayed on the screen but are not yet

included in a Data Dictionary structure. The name of the corresponding structure for infotypes in

the standard system is Qnnnn.

Data Dictionary structures with the name Qnnnn are always stored within the SAP

name range.

You may encounter problems assigning values to fields having the form QNNNN-FIELDNAME. These are fields that are visible on the infotype screen Examples are Q0082-datwc and Q0112-PZIN3. There lies a chance that these fields are overwritten by values computed during the PBO and PAI modules of the infotype screen. For this reason, assigning values to these fields in W statements may or may not have any practical effect. However, you can use them in your P statements.

Refer this link for more details.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

Thanks,

Susmitha

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

These structures correspond to the screen fields of the infotype nnnn.

These screen fields appear on different infotype transactions.

Regards,

Ravi

former_member184569
Active Contributor
0 Kudos

Hi Vijay,

Screen fields from Qnnnn structures (Q fields):

These fields are used like the infotype single screens when the external format is different

from the internal format.

Each Q field must have an invisible P field on the screen which contains the field contents in

the internal format, since only the contents of P fields can be passed on to the infotypes.

Field Q0002-ANREX (‘Mr’, ‘Ms’) has invisible field P0002-ANRED (‘1’, ‘2’) with the

value ‘001’ in modif group 1.

Q fields are not assigned a value in modif group 1.

When defining screen fields in the ABAP Screen Painter, do not specify structural data (such as

the data type and length) directly when maintaining the screen. It is better to specify such data

indirectly so that it is taken from the definition of objects in the Data Dictionary.

Individual fields are contained in various structures, depending on their meaning:

_ Fields that are displayed for all infotypes are stored in structure RP50M.

Such fields include, for example, the headers for single screens.

_ Fields that are infotype-specific are stored in structure PSnnnn.

You might want a screen to include screen fields that are not yet included in a structure. If this is

the case, you must create structure Znnnn in addition to structure PSnnnn. You can then use

structure Znnnn to store all of the fields that must be displayed on the screen but are not yet

included in a Data Dictionary structure. The name of the corresponding structure for infotypes in

the standard system is Qnnnn.

Data Dictionary structures with the name Qnnnn are always stored within the SAP

name range.

You may encounter problems assigning values to fields having the form QNNNN-FIELDNAME. These are fields that are visible on the infotype screen Examples are Q0082-datwc and Q0112-PZIN3. There lies a chance that these fields are overwritten by values computed during the PBO and PAI modules of the infotype screen. For this reason, assigning values to these fields in W statements may or may not have any practical effect. However, you can use them in your P statements.

Refer this link for more details.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

Thanks,

Susmitha