Application Development and Automation 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: 
Read only

Read feature

manubhutani
Active Contributor
0 Likes
1,668

Hi

I wnat to read a structure say TARIF, but using abap ie programatically,

can anyone plzz help me out

regards

manu

5 REPLIES 5
Read only

vinod_vemuru2
Active Contributor
0 Likes
1,047

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.

Read only

0 Likes
1,047

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

Read only

0 Likes
1,047

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

Read only

Former Member
0 Likes
1,047

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

Read only

0 Likes
1,047

PE03 - TARIF