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: 

Mandatory Fields of an Infotype

Former Member
0 Kudos

Hi all,

I am trying to retrieve the mandatory fields for specific infotypes.Can anyone suggest a code for this???

Just Analyze this scenario....

When we hire one employee using PA40,some screens of various infotypes will be active which contains some mandatory fileds...

For this particular screen ,there will be one Module Pool,Screen number and variable key and some mandatory fileds.This will be stored in T588M table.

In T588M table lot of entries are there with same module pool name and screen number.But screen number and variable key combination will be unique.

i want to know these values for all infotypes.

In system->status we get only module pool and screen number..but not variable key.Also its very difficult to see for each infotype like this..

so how to retieve the following fields REPNA(Module Pool),DYNNR(Screen Number) VARKY(Variable Key) from T588M table of a particular infotype....??????

also i need to know how to get the mandatory fields from T588M table which is encoded as '+ + - -'(in DBILD field)

Thanks in Advance

Merlin.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

first to identify VARKEY for table T588M you have to evaluate the feature which is named in field ZYKLS of that row with empty varkey and default screen.

Teh return value of the feature depends on individual empl. values in P0001.

Include RPUMKC00 in your program, define TABLES: PME04 and get the return-value of said feature as follows:

 
move-corresponding p0001 to pme04.
 perform re549d using
              T588M-ZYKLS
              space
              back
              status.

Field back contains varkey for the relevant choice.

Now for field DBILD, there are th following options:

'+' mandatory field

'.' optional field

'-' field invisible

'*' field not editable

' ' screen default for field

The position of each option in field DBILD indicates the value of screen-group1.

All fields with that screen-group1 value will behave similar.

I.E. DBILD ' + ' will assign mandatory to all fields of screen-group1 = '2'

hope that helps.

Regards

JW

1 REPLY 1

Former Member
0 Kudos

Hi,

first to identify VARKEY for table T588M you have to evaluate the feature which is named in field ZYKLS of that row with empty varkey and default screen.

Teh return value of the feature depends on individual empl. values in P0001.

Include RPUMKC00 in your program, define TABLES: PME04 and get the return-value of said feature as follows:

 
move-corresponding p0001 to pme04.
 perform re549d using
              T588M-ZYKLS
              space
              back
              status.

Field back contains varkey for the relevant choice.

Now for field DBILD, there are th following options:

'+' mandatory field

'.' optional field

'-' field invisible

'*' field not editable

' ' screen default for field

The position of each option in field DBILD indicates the value of screen-group1.

All fields with that screen-group1 value will behave similar.

I.E. DBILD ' + ' will assign mandatory to all fields of screen-group1 = '2'

hope that helps.

Regards

JW