cancel
Showing results for 
Search instead for 
Did you mean: 

Infotype Mandatory Fields

Former Member
0 Kudos

Hello,

I am trying to retrieve the mandatory fields for specific infotypes.

I looked at the table T588m, but don't fully understand how it works.

For instance a pass the table to the RFC_READ_TABLE and get data returned like below;

800 ,MP000600 ,2000 ,224 ,2022, + -+ +- - ,0000,null

And from what I can see the values mean:

. = optional field

+ = required

  • = display

- = hide

But how do you know which fields in the infotype it is referring to if it just returns a string

+ -+ +- - ,?

thanks in advance

Stephen

Accepted Solutions (1)

Accepted Solutions (1)

suresh_datti
Active Contributor
0 Kudos

Did you try the function call HR_READ_T588M?

~Suresh

Former Member
0 Kudos

Thanks for the reply. I will have a look at it.

Is there any other way to get the mandatory fields of an infotype besides getting the

mandatory fields of a specific screen for an infotype?

thanks

Stephen

Former Member
0 Kudos

Thanks Suresh

I tried that function call, can you tell me exactly how that function works? What I am trying to achieve is, for a given infotype, when you are looking at the sap gui, any field that is mandatory has a tick box in it.

Is there any way to retrieve this information from sap?

I need to know the mandatory fields for a given infotype for any employee?

Thanks

Stephen

Message was edited by:

Stephen Mc Nena

Former Member
0 Kudos

Hi Suresh,

To add to Stephens requirement, mandatory fields differ from country to country for the same infotype. i've been looking at feature IVWID and V_T582V, but cldnt get any insight on mandatory fields.

The FM u suggested HR_READ_T588M does not provide info on fields those values corresponds to. Is there a way to find out?

Pls advice.

suresh_datti
Active Contributor
0 Kudos

You will have to mimc SAP' code that reads the T588M config in PA30..Take a look at the following code in the program FP50MF20 & dig through the perform re588M subrotine..

form modify_subscreen using mss_repid type sy-repid
                            mss_dynnr type sy-dynnr.
* ^============================== XRGUNI ==============================^
  local:  pspar, t588m, psyst.
  data:   mss_dbild like psyst-dbild.
*
  move mss_repid to pspar-repna.
  perform re588m using mss_dynnr cprel-subty.
  if sy-subrc = 0.                     "Eintrag gefunden!?
    move t588m-dbild to mss_dbild.
  endif.
  perform screen_modification using mss_dbild.
endform.

~Suresh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Stephen,

I'm facing the same problem.can u help me with ur code..???

Merlin