Skip to Content
author's profile photo Former Member
Former Member

How to get a link between BUS Object Name and Type

Hi experts,

I need your help on a point.

I have some object type as "BUS0010", "BUS2007", "EQUI"... defined in SWO1.

I want to get for each of them their prefix type (OBART).

Example :

- for BUS0010, the object prefix is "IF"

- for EQUI, prefix is "IE"..

All those prefix can be found in table TBO00.

The problem is I can't found how to link them.

Please help !

Regards,

Sebastien

BUS.JPG (42.3 kB)
OBART.JPG (25.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 16, 2015 at 11:59 AM

    G'Day Sebastien,

    There is no relation. BOR Object Types and Status Management Object Types are different things. The confusing part is the same terminology used for both.

    SAP uses FM BSVW_OBTYP_BOROT_COMPATIBILITY, this establishes a relationship based on key field compatibility - with a few hardcoded exceptions thrown in.

    Regards,

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sebastien,

      As I understand, the two object concepts were developed independently and there is no formal link. The object type in OBJNR is usually hardcoded into the application, and similar with the BOR type.

      Have a look at CL_ERP_SE_BUS0010 and do a search for BUS0010 in CL_FUNCLOCATION_EXTRACT to see what I mean.

      It's the same in PS: in tables PROJ and PRPS, the objtype is prefixed with PD and PR. Also hardcoded, along with corresponding BOR objects BUS2001 and BUS2054.

      Regards,

      Mike

      (Note: An obscure link may exist somewhere, but given the amount of hardcoding I wouldn't rely on it anyway).

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2015 at 05:29 PM

    Hi,

    Not complete solution but what I found out. May help you

    Go to table SWOTDV give OBJTYPE = <BUSINESS OBJECT> and VERBTYPE = 'K' and get REFSTRUCT and REFFIELD.

    Now map

    TBO00-TABNAME = SWOTDV-REFSTRUCT

    and TBO00-KEY01 = SWOTDV-REFFIELD

    and get TBO00-OBART ( Object Type )

    This works for EQUI.

    Now for BUS0010 TBO00-TABNAME is IFLOT(Main table) whereas SWOTDV-REFSTRUCT = IFLO ( database View for IFLOT ).

    Maybe you can analyze some more Object type and can get some logic.

    R

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I actually didn't find a program where we could have a relation between them.

      I searched a lot in all SWOx tcode, with no result.

      It seems very strange... I don't know where and how SAP do this relation.

      I continue searching, but for the moment the only place I found is into the tables in first post

      Sebastien

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.