Given a business object type, how to find out the underlying table name ?

Hi,
Given a business object type (e.g. BUSxxx), is there any Function Module that can be used to get the table name for that object ?
Have been through the SWO* FM's but did not get anything yet.
Pls let me know how this can be done.
Regards,
-Kev.

>
Kelevenwise wrote:
> Thanks Christine for the response..
> Let me add a few more details to clarify my requirement
>
> I need to read the data of business objects (not a specific one, but the application should be able to read data of any business object). Given a table name, I am able to figure out the column information and read that data. But all I have is the business object type, so would need to figure out all the tables (as you helpfully pointed out, there could be more than 1 for a business object) and then read from those tables.
>
> The reason I feel I cannot use the business objects methods directly is because I would not know which method to call to get me the relevant data - this is an external application, not called from within the system.
>
> Is there another way to achieve this requirement ?
>
> Regards,
> - Kev.
So, assuming for the moment we are just dealing with the PO BUS2012 business object, your external application will be passing you a BO type and also (presumably- otherwise you could be sending back an awful lot of data) a BO key,  and you then want to send back all the detail for PO - exactly what the GetDetail method that is present on most objects does - is that right?
Since most BOs have a GetDetail method, can't you just use that? 
Though I really can't see why your external application would be interested in all SAP BOs - most applications are a bit more specific than that.

Similar Messages

  • How to Find out the all  tables in module wise ?

    Dear Friends,
    1.How to Find out the all  tables in module wise ?
       what are the total number of table in SAP ?
    2. how to find out all existing functions in SAP ?
    Thanks and regards,
    Subasha Chandra Sahoo.

    Hi,
    You will get the module wise list from:
    http://www.sourceveda.com/SAPReference.htm
    http://www.sourceveda.com/
    Regards...

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • How to find out the customer exit name

    Hi Friends:
    I've an include ZCAXXI_USEREXIT_F05. How can I find that in which exit this include is present. Is there any table? Also where from I can find the name of the project once I find the exit name.
    Suitable points will be rewarded.
    Regards:
    Gaurav

    Hi,
    Go to se38 and give your include name. Click on where used list (CTrlshiftf3). Then you will get the main program. From the main program you will get the function module exit.
    If you know the exit name then follow the below steps to get the project:
    Go to se11>enetr 'Modsap' table name>give your function module eg EXIT_SAPLCOZF_001 in the member field then you will get the Enhancement i.e COZF0001 For that.
    Then Go to se11-->modact -->here in memeber field enter COZF0001 then you will get the project name(if a project is there for that enhancement)
    Reward points if useful.
    Regards,
    Soumya.
    Edited by: Soumya Jose on May 26, 2008 1:36 PM

  • How to find out the orizinal table for any wiew

    I have a maintaince view (name of the view is V_T001K_ASSIGNV) so i cant make a selection quarry on that view as it is maintaince view. is thare any table in sap for for a particular maintaince view and what is the way to find out that table for that view so i can make a quarry.

    Go to SE11 --->  display the view, there right side you will find tables related to that view, based on your requiremnt take the table,
    Regards,
    Mallik.

  • How to find out default screen variant name

    Hi All,
    For particular sales order creation I want to find out which screen variant has been used.
    I have tried using SHD0, with entering Transaction code as VA01 but in that for Transaction variant field there are 5 different transaction variant names are mentioned.
    Please guide me how to find out the transaction variant name used in va01 for particular sales order.
    Thanks and regards,

    Hi,
    Goto VOV8 T.Code.
    Select your order type.Details.
    Check what is the transaction variant assigned to your order type.
    It is used while creating the order.
    This field is present in transaction flow tab.
    Regards,
    Krishna.

  • How to make use of SE37- Function Module & how to find out the table?

    Hi ,
    1.Could anyone help me what's this SE37-Function module is all about,How to make use of this?
    For Eg,If i want to delete a BOM permanently from the system then I have to use the Function module CM_DB_DEL_FROM_ROOT_BOM.
    But after giving the particular name what should i do?
    Please help me.
    2.How to find out the respective table for a particular field sya for T code-COGI, T code MFBF,where its values are getting populated.,Please help in this issue.
    Thanks in adavnce for spending some time
    Raj.S

    Hi Raj
    Function Modules
    Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.
    Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating  and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications.
    Unlike subroutines, you do not define function modules in the source code of your program. Instead, you use the Function Builder. The actual ABAP interface definition remains hidden from the programmer. You can define the input parameters of a function module as optional. You can also assign default values to them. Function modules also support exception handling. This allows you to catch certain errors while the function module is running. You can test function modules without having to include them in a program using the Function Builder.
    The Function Builder  also has a release process for function modules. This ensures that incompatible changes cannot be made to any function modules that have already been released. This applies particularly to the interface. Programs that use a released function module will not cease to work if the function module is changed.
    Check this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    You can execute function module in SE37ie you can perform the activiites defined in the function module by executing it.
    By deleting BOM you mention the FM name in se37 and execute. In some function module it will ask input parameters as developed in the program , you have to give the input parameters and execute.

  • How to find out the infospoke name for an existing infoobject?

    Hi,
    Could any one pls tell me how to find out the existing infospoke name for an infoobject?
    i've tried with where used list but its not coming....can any one pls suggest
    Thanks,
    Suri

    Hi,
        Check in metadata repository for that infoObject.
    If you are still not able to identify, goto RSBO tx and press F4.
    You will get the list of Infospokes available.
    Go in each and chk from the General Tab, if the infoObject is available in the source system.
    Regards,
    Balaji V

  • How to find out the Number range object for Incident number

    How to find out the Number range object for Incident number ?
    CCIHT_IAL-IALID
    regards,
    lavanya

    HI, an example.
    data: vl_num type i,
          vl_char(6) type c,
          vl_qty type INRI-QUANTITY,
          vl_rc type INRI-RETURNCODE.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '01'
        OBJECT                        = 'ZRG0000001'
       QUANTITY                       = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = vl_num
       QUANTITY                      = vl_qty
       RETURNCODE                    = vl_rc
    EXCEPTIONS
       INTERVAL_NOT_FOUND            = 1
       NUMBER_RANGE_NOT_INTERN       = 2
       OBJECT_NOT_FOUND              = 3
       QUANTITY_IS_0                 = 4
       QUANTITY_IS_NOT_1             = 5
       INTERVAL_OVERFLOW             = 6
       BUFFER_OVERFLOW               = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    vl_char = vl_num.
    write vl_char.
    Regard

  • How to find out the idoc type required for our requirement

    Hi,
         How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
    Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
    Points will be given for the useful answers
    Thanks,
    Prasanna

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

  • How to find out the object is available or not in BC

    Hi dear friends,
    Suppose I want to design/create a Cube / ODS, before going to create that object, how to find out the same type of Object is available or not in BC with the specification which I want
    Thanks in advance

    Hi Paul,
    at least you need to know the application you are talking about. Then you can goto that particular area and evaluate the content (cubes, infoobjects, infosources, datasources). It will surely give you an idea of the fulfilment of your requirements by the content.
    Siggi

  • How to find out the PATTERN, GRADIENT and BRUSHED objects?

    How to find out the PATTERN, GRADIENT and BRUSHED objects information in illustrator active document file. And also how to find the CMYK and RGB color information in illustrator file through javascript. Could you please provide any examples.

    I tried using the below code. But for both "cmyk" and "grayscale" pattern it gives only CMYK. Kindly check and advise.
    Code:
    var docRef = activeDocument;
    for(var i=docRef.inkList.length-1;i>=0;i--){
      var inkRef=docRef.inkList[i];
      var inkRefName=inkRef.name;
      alert(inkRefName);
      alert(inkRef.inkInfo.kind);
    Thanks for looking into this.

  • How to find out the condition type of the tax code in the PO document

    Hi friends,
    My questions is how to find out the condition type of the tax code in the PO document.
    When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
    I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.

    Hi,
    Hope you have asked for select query..
    select single knumh from a003 into wa_knumh
      where mwskz = wa_itpotab-mwskz
      and kappl = 'TX'
      and aland = 'IN'.
    select single kbetr from konp into wa_kbetr
      where knumh = wa_knumh.
    cheers,
    Dep

  • How to find out the description for the given field?

    Hi All,
    How to find out the description for the given field?
    I mean ETTYP  Desription is VTEXT. This we can find in TVEPT  Table. So, How canwe find this?
    Thanks in Advance
    Sri...

    Hi  Avi,
    If i want to disply the  fields like   AUART and 'Description of AUART',
    Suppose based on my query i will take AUART from T184 table. And the description of AUART is available in TVAKT table.
    my question is if i have given T184-AUART  and how do u find out AUART Description ?(How do u know which table is having Description of AUART)?
    Thanks in Advance
    Sri...

Maybe you are looking for

  • What are the best audigy 2 zs drive

    ones that will wok best and sound best with everything, whether they're official or not I bought an audigy 2 zs but all i'm doing is having problems with it, probably all driver problems and i've tried different ones on different setups/computers/for

  • BPM n:1 scenario(file-file). everything is fine.output file  not genarating

    Hi friends, I am doing a BPM N:1 scenario, 1.my ip(integration process) is at status 0 in sxi_cache. 2.No problem with SWF_XI_CUSTOMIZING. 3.after running my 2 commumication channels for 2 input files the flag is correct(black n white) in MONI. But w

  • Sound Problems after installing Win7

    Hi all, Updated to windows 7 two days ago, had to work out a few bugs, nothing major, but anyways some minor annoyance persists. I don't get the popup windows when I adjust volume/treble/bass and the mute button doesn't turn orange like it used to wh

  • Is it possible to block the iphone if its lost

    is it possible to block the iphone if its lost

  • Gui programming Python

    Hi All, I'm looking to improve / learn more on gui programming within python. I'm not sure if i should be writing the code manualy or using the libglade / glade designer to produce results. My main aim with most of my programming is to keep things sl