on 07-26-2007 12:47 PM
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
Did you try the function call HR_READ_T588M?
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
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
Hi Stephen,
I'm facing the same problem.can u help me with ur code..???
Merlin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.