How to find domain name for the host

I have found the hostname but I am not able to find the domain name , how can I do that?? From the forums I was able to understand why the BSP Application was not displaying but unable to execute the same as I was unaware of the domain name.
Thanks in advance.
Regards,
Narayani

Hi Narayani,
What about doing something like this?
data: urls type tihttpurls2,wa type IHTTPURLS2, host type string.
call method cl_http_server=>get_extension_info
EXPORTING
extension_class = 'cl_http_ext_bsp'
IMPORTING
urls = urls.
concatenate sy-sysid '.' into host.
translate host to lower case.
loop at urls into wa.
replace host in wa-host with ''.
endloop.
The idea is that you get all the possible URLs and then delete the host part of it. Then you get the domain.
Eddy

Similar Messages

  • How to find table name for the fields from Standard Extractor in CRM system

    How to find table name of fields from the standard extractor in CRM system ?
    e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
    Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.

    Hi ,
    Please find the link below for understanding BW CRM analysis.
    http://help.sap.com/bp_biv135/html/bw.htm
    activate the CRM DSs by scenario:
    1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
    SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
    2) Activate the Business Content DataSources (tcode RSA5).
    Select/enter the application component and choose Execute (F8).
    To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
    To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
    3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
    As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
    You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
    The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
    All BW-Adapter metadata is considered when versions are compared:
    Header information (Table SMOXHEAD)
    Mapping information (Table SMOXRELP)
    Global selection conditions (Table SMOXGSEL)
    Attribute key fields (Table SMOXAFLD)
    Hope this helps.
    Regards,
    csm reddy

  • How to get domain name for the userId?

    There is a generic way to get userID
    System.getProperty( "user.name" ).
    In case of windows it's a name you login in.
    Is any way in Java to figure out domain name of that particular user by Java code?
    Igor

    You can dojava.net.InetAddress.getLocalHost().getHostName()to get the name of the computer. But this will not give you the "domain name of the user". In Windows, for example, when I sign on to my computer, that user name only means something to my computer. There's no "domain", in the Internet sense, involved.

  • How to find workarea ID for the work area name.

    Hi Experts..
    How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
    Points would be rewarded for helpful answers..
    Thanks
    Kunal Halarnakar

    U want to fetch the workarea description ?
    we can fetch it from CCIHT_WALD table with the RECN value.
    The informations are stored in AUSP table with the characterstic(ATINN) value.

  • Unable to find domain controller for the specified domain. Please explicitly specify the domain controller.

    Im getting error "Unable to find domain controller for the specified domain. Please explicitly specify the domain controller."   when I try to create an AD connection for my User Profile Service.  The entire sharepoint environment is installed
    on one server.  That server has everyting on it, AD, SQL, Sharepoint, and its the domain controller. I cant figure out why this will not identify?Trevor Fielder

    Hi,
    Did you get this error when clicking on the Populate Containers button?
    If yes, please make sure that you have provide the domain credentials in the account name and password
    boxes below when entering the domain information. The account must be granted the replicating directory changes permission on the domain.
    You can refer to this blog:
    http://www.harbar.net/articles/sp2010ups.aspx
    Xue-Mei Chang

  • How to find Object name for a object?

    Hi Experts,
    How to find Object name for a particular Object? Is there a Tcode for it?
    __Like Object name for__
    Material number -  materialnr
    Goods receipts / return - matbeleg
    Accounting documents -  rf_beleg
    How to find Object name for other Objects? Is there a particular way?
    Thanks & Regards
    Chandan

    Hi,
    You can find objects in SNRO transaction.
    In SNRO search by giving long text...
    for eg., Service .. for service entry sheet. keep the first letter in capital letter only.
    Thanks & Regards,
    Anand.

  • How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0?

    Hi,
    How to find Table names for PO & Invoices in SRM Standalnoe system SRM 7.0? Please let me know.
    Thanks,
    Monica

    Hi,
    In SRM for all objects like SC ( BUS21210),BID,PO(BUS22010),Confirmation (BUS2203),invoice etc all the data stored
    in BBP_PDHGP and BBP_PDBEI  tables only, These is no separate tables..
    for your reference below are the few SRM tables
    BBP_PDACC  Account Assignment 
    BBP_PDATT  Document Attachment 
    BBP_PDBEH  Backend Specific Header Data 
    BBP_PDBEI  Backend Specific Item Data 
    BBP_PDBGP  Partner Extension Gen. Purchasing Data 
    BBP_PDBINREL  Transaction Object Linkage (EBP) 
    BBP_PDHCF  Set for Tabular Customer and Solution Fields on Hdr 
    BBP_PDHGP  Business Transaction Purchasing Information 
    BBP_PDHSB  Bid Invitation 
    BBP_PDHSC  Header Extension for Customer Fields 
    BBP_PDHSS  Hdr Extension for SAP Internal Enhancements (IBUs and so on)
    BBP_PDICF  Set for Tabluar Customer and Solution Fields on Itm 
    BBP_PDIGP  Business Transaction Item-Purchasing Information 
    BBP_PDISB  Bid Invitation/Bid-Specific Item Data 
    BBP_PDISC  Item Extension for Customer Fields 
    BBP_PDISS  Item Ext. for SAP Internal Enhancements (IBUs and so on) 
    BBP_PDLIM  Value Limit 
    BBP_PDORG  Purchasing Organizational Unit 
    BBP_PDPSET  Further Procurement Information 
    BBP_PDTAX  Tax 
    CDCLS  Cluster structure for change documents 
    CDHDR  Change document header 
    CDPOS_STR  Additional Change Document - Table for STRINGs 
    CDPOS_UID  Additional Table for Inclusion of TABKEY>70 Characters 
    CRM_JCDO  Change Documents for Status Object (Table JSTO) 
    CRM_JCDS  Change Documents for System/User Statuses (Table JEST) 
    CRM_JEST  Individual Object Status 
    CRM_JSTO  Status Object Information 
    CRMD_LINK  Transaction - Set - Link 
    CRMD_ORDERADM_H Business Transaction 
    CRMD_ORDERADM_I Business Transaction Item 
    CRMD_PARTNER  Partners 
    SROBLROLB  Persistent Roles of BOR Objects 
    SROBLROLC  Persistent Roles of Business Classes 
    SRRELROLES  Object Relationship Service: Roles 
    Thanks & Regards,
    Prasad S

  • How to find Related Tables for the Tcode given.

    How to find Related Tables for the Tcode given. (master data)
    Thanks in advance.

    Hi Sridhar,
    Welcome to SDN.
    The tables for a given transaction can be seen in the transaction SE80.
    First goto SE93.
    Give ur Tcode and find the program name.
    Now goto SE80. select program in the first dropdown and give the program name in the second box. U can find the list of tables used.
    One more way is : use ST05.
    and One more is using FM 'get_tables'
    Thanks,
    Shailaja
    Edited by: Shailaja on Jul 11, 2008 12:33 PM

  • How to specify file names for the generated code in wscompile

    Hi,
    We want to follow a certain file naming conventions for the artifacts generated by wscompile.
    How is it possible to set the name for the service interface file, service implementation file etc....
    This is possible in AXIS ant task Wsdl2Java. How do we do it for wscompile.
    thanx

    Thanks Chris and c. Under Description I'm presented with three Names for the profile: ASCII, UniCode and Mac Script. ASCII and Mac Script are the same name for the profile, with nothing being in the UniCode Name box. Which do I change -- both?
    Am I going to screw things up in Photoshop if I change these names to something I can comprehend? Looks like I may just have to make a sticky-note list of the cryptic profile names with my own descriptive name as a reference. Thanks.

  • How to find ContentDb Name for any of the service application (e.g. User profile , Managed metadata , etc) programmatically in a farm ?

    Hi,
    I have a application where i need to display Name for all the service application. Specifically i need to get the size of user profile service application and Managed metadata service application name.
    Please guide me. :)
    Thanks and Regards:
    Sanjay

    You can use 
    http://blogs.technet.com/b/tothesharepoint/archive/2011/12/19/find-active-databases-used-by-sharepoint-server-2010.aspx
    Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name”
    http://webcache.googleusercontent.com/search?q=cache:kMHQXNGmjcwJ:sharepointstruggle.blogspot.com/2011/08/programmatically-enumerating-databases.html+&cd=1&hl=en&ct=clnk&gl=in
    using(SPSitesite
    = newSPSite(url))
    using(SPWebweb
    = site.OpenWeb())
    SPFarmf
    = site.WebApplication.Farm;
    foreach(SPDatabaseServices
    inf.Services.OfType<SPDatabaseService>())
    Console.WriteLine(string.Format("Found
    Database service {0} of type {1}",
    s.Name, s.GetType().Name));
    foreach(SPDatabaseServiceInstancespdsi
    ins.Instances)
    Console.WriteLine(string.Format("|-Found
    Database Service Instance {0} ({1})",
    spdsi.DisplayName, spdsi.Name));
    foreach(SPDatabasespdb
    inspdsi.Databases)
    Console.WriteLine(
    string.Format("  |-DB: {0}\r\n    |-TYPE: {1}\r\n   
    |-HOST: {2} ",
    spdb.Name.Length
    > 70? spdb.Name.Substring(0,
    65)
    + "...": spdb.Name,
    spdb.GetType().Name, spdb.Server.Name)
    http://social.msdn.microsoft.com/Forums/en-US/61e4e56e-e373-4167-ba97-e0f411feefe9/how-can-we-programmatically-find-the-names-of-sharepoint-databases

  • How to find out tcode for the zprogram.

    Hi All,
    How to find out the Tcode of a Zprogram.
    I will appritiate your help.
    Thanks,
    Veni.

    Couple of ways to do this,  one is to go to SE93 and do F4 on the transaction code field, click information system,  click the all selections icon, then put the name of the z program in the field, and hit enter,  this will give you the tcode.
    Regards,
    RIch Heilman
    Message was edited by:
            Rich Heilman

  • How to find compensation data for the year

    Dear All,
    Scenario:
    A company wants to know the comepnsation data for financial year 2009-2010.
    Problem: I couldnot find a single report which can provide the compensation of an employee for the year.
    We are trying to build a report however needs input if anyone has done that:
    Table which stores this data is PS_COMPENSATION.
    Problem is : it stores data in effective date.
    How to then convert it into a year -April 2010 to March 2011
    For example: cases
    a. existing employee: whose effective comp data will be less than April 2010
    - Plus, there are pay rate changes between April 2010 to march 2011. (Pay rate change can happen on any date of the month)
    - How can I add them to find the Compensation as per comp page from 1st April to 31st march 2011

    I'm afraid what you're looking for is not likely to be a trivial task. If you have all of the modules required for the "Report Total Compensation" product, then you should take a look at the associated PeopleBook. I think you will have to be on HRMS 9.0 at a minimum, and using Payroll for North America and Benefits Administration.
    To create a custom solution, you may have to consider a variety of other factors such job status--leave, terminated, terminated with pay, etc.--hourly vs. salaried, part time vs. full time, multi-job, variable compensation. It will depend entirely on the specific features that are being used at your site.
    If you provide a very detailed example of the output you are looking for with sample data, someone might be willing to offer a solution.
    Regards,
    Bob

  • How to find field name for BDC

    Hi,
    to find out the field name for BDC ,
    1. press F1 for that field
    2. click technical info
    3. use SCRREN FIELD name given in Field desc for batch input.
    NOw what to do if SCREEN field name in "Field desc for batch input." is not given...Even During BDC recording if we input values in those fields,values are saved in appropritae tables but not inn BDC recording fields

    Hi again,
    1. ABSOLUTELY Sure.
    2. Container (Container Control)
       is nothing but an EMPTY control
       to place controls inside it.
        eg. Its a FRAME
        inside which, there are contros!
    3. Container does not have any INPUT VALUE !
    regards,
    amit m.

  • How to include header name for the fields in application server

    Hiiii Experts,
                          LOOP AT fp_i_wwcmp INTO fp_wa_wwcmp.
          CONCATENATE  fp_wa_wwcmp-pernr
                       fp_wa_wwcmp-etype
                       fp_wa_wwcmp-maxbt
                       fp_wa_wwcmp-epayperiod
                       fp_wa_wwcmp-currencyid
                       INTO l_v_data SEPARATED BY l_v_char_tab.
    i need to insert header names for etype,maxbt,epayperiod,currencyid which are needed to be transfer to  application server.
    regards,
    kasyap
    Edited by: Harish Kasyap on Sep 18, 2009 2:49 PM

    hiiiii clemens thanks a lot for ur reply,
                                                               this is not an alv report,the output is directly transfered into application server AL11.
    and i have used this statement
    CONCATENATE 'ID'
                    'EpayType'
                    'EpayAmount'
                    'EpayPeriod'
                    'CurrencyID'
                       INTO l_v_data SEPARATED BY l_v_char_tab.
    transfer l_V_data.
    is this the rite one
    regards,
    kasyap

  • How to find table name for a structure field

    There is a field in contract display screen (VA43). Item overview tab. The name of the field is Value released (RV45A-AWERT). Can anybody let me know the name of the table and field that has this value. I have to display this value in a custom report.

    Hi Chandra,
    You can the see list of tables used for VA43 through transaction SE80.
    If you want to see the field is used by tables then go to transaction code SE84.
    1) Select ABAP dictionary->Data elements.
    2) Give the field name in the Data element under Standard selections and click on execute.
    3) Check the data element and click on where-used-list(CtrlshiftF3)
    4)Check table fields
    5)It will display list of table fields used by this field.
    Thanks,
    Vinay

Maybe you are looking for

  • Please, help with text field on form

    Hello, I am creating a form.  I have a text field where the person will type a number into text field and I need it to also enter in another text field.  For example, the person enters 23 into text field 12, I also need the entry of text field 12 to

  • Lenovo E73z Downgrade option from Windows 8 Professional 64 Bit to Windows 7 Professional 32 Bit

    Hi, I'm planning to buy Lenovo E73z Non-touch i7-4770s All in One desktop, Is there an option to downgrade Windows 8 prof 64 bit to Windows 7 prof 32 bit because our software only runs or compatible in Windows 7 32 bit. As a general option for Micros

  • Fiscal and Calendar Dim

    Hi There, I would like to show both Fiscal Year and Calendar Year hierarchy drilled down by Quarter and Month. Here is my outline design: Account Years (2010, 2011, 2012) FyYears (FY2010, Fy2011, FY2012) YearTot ---CalendarYear --------CalQ1 --------

  • Installing OS on 2nd internal HD

    Hi. I have a second internal hard drive that has data on it. Currently, there is no OS on this drive. I would like to install OS X 10.4 on it so that I can boot to it if needed (repair on 1st hard drive, etc). Is it possible to use my OS X install DV

  • Get Web Template Description

    Hi, does anyone know how to get the Web Template Description using ABAP with only the Web Template ID? Thanks!