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: 

Is it possible to get object type name with help of key field?

Former Member
0 Kudos

can any one tell me is it really possible to get the object type name if i have only key field,

are there any tables which store the object type names & keyfield. or there are any functionmodue which gives object type name by entering keyfield.

3 REPLIES 3

Former Member
0 Kudos

Hello ,

There is a table SWOTDV which gives the relation between the object type and the key fields.

In fact, this table contains all the fields of the object and key fields are identified by the verbtype = K.

Thanks,

Sowmya Arni

0 Kudos

thanks for your replie , i have a scenario where i have only keyfield value . suppose if i say p.o number 400002892 ,

i need to find out object type for this instance , is there any table in sap where it stores all the keyfield values along with objecttype ?

0 Kudos

Hello,

If the PO has workflows associated with it, there is a table SWIWIOBJCT which stores details of the workitem, object key , object type details.

If you input the object key to this table ( For ex: PO number in this case) , it will give you the corresponding object type for the object key for Workitem type F.

Thanks,

Sowmya Arni