‎2010 Jan 13 11:53 AM
Hi
I wnat to read a structure say TARIF, but using abap ie programatically,
can anyone plzz help me out
regards
manu
‎2010 Jan 13 12:06 PM
Hi,
Please be specific about the requirement. Structure doesn't hold the data at database level. Check the relevant database table which is holding the required data and query that table in the program.
Thanks,
Vinod.
‎2010 Jan 13 12:10 PM
Hi Vinod
Thanks for the reply.
Actually feature is used to default values, so i have a requirement which is not much clear
in which we need to read the feature, may the values on the basis of which it defaults values, something like this
regards
manu
‎2010 Jan 13 2:14 PM
HI Manu
Use the FM HR_FEATURE_BACKFIELD to read the feature value in the program. To read this feature value pass the feature name to the parameter "FEATURE". Each feature has a structure associated with it, which you can get from PE03 --> Attributes Radio Botton checked --> Display --> Click on Struct button. Generally this structure wil be filled with values from IT0001.For TARIF feature it has the below fields,
Structure Type : PME01
Fields:
BUKRS Company Code
WERKS Personnel Area
BTRTL Personnel Subarea
PERSG Employee Group
PERSK Employee Subgroup
MOLGA Country Grouping
Fill this structue for any employee and pass it to the parameter "STRUC_CONTENT" of the FM. The "BACK" field will hold the value as per the decission tree.
Hope this helps.
Regards
Ranganath
‎2010 Jan 13 12:08 PM
Hello,
TARIF is not structure it is a data element.
if you want to read the components of a structure goto DD03L table or you can select from that table.
Hope this would serve your purpose.Cheerz
Ram
‎2010 Jan 13 12:09 PM