How to know the bukrs of the logon user?

hi experts,
  how to know what bukrs the logon user belongs?
hunger for your advices, thanks a lot.

Hi,
Use dis code to extract it into ur ABAP code
data v_bukrs type bukrs.
get PARAMETER ID 'BUK' field v_bukrs.
write v_bukrs.
Cheers,
jose.

Similar Messages

  • How I know my answer to the security question, How I know my answer to the security question

    How I know my answer to the security question, How I know my answer to the security question

    Click here for information. If you can't reset them through the method described in that article or by sending yourself a rescue email(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section.
    It isn't possible to create a rescue email address without correctly answering two of the questions. Nobody on these boards can reset them for you.
    (94895)

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • How to know about Description from the TransType...?

    Hi All,
    I have used SBO 2005 A PL 43 SP1 and have some queries below:
    SELECT     TOP 100 PERCENT T0.DocDate, T0.TransType, CAST(T0.BASE_REF as char) AS BASE_REF, T0.Warehouse, T0.CardCode, T0.CardName, T0.xInQty, T0.xOutQty, T0.Price, T0.Currency , T1.ItemName, T1.SuppCatNum, CAST(T0.InvntAct as char) AS InvntAct, T2.AcctName, T0.StatusDescr
    FROM         vwOINM_DEL0_02 T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode LEFT OUTER JOIN OACT T2 ON T0.InvntAct = T2.AcctCode
    WHERE (T0.ItemCode = 'RO00 0465') AND (CAST(T0.TransType AS char(3)) + CAST(T0.CardCode AS char) IN ('13 ZZ0 Cash&Carry') OR (T0.TransType <> 13))
    AND (T0.xDocDate BETWEEN CONVERT(DATETIME, '2008-01-01 00:00:00', 102) AND CONVERT(DATETIME, '2008-11-25 00:00:00',102)) ORDER BY T0.DocDate, T0.TransNum
    TransType -
    > is a field name on table "OINM"
    How to know about Description from the TransType and where can we relate to the table?
    example :
    TransType     Description
    ====================
    15          Delivery
    13          AR Invoice
    59          Goods Receipt
    60          Goods Issue
    Please anybody can help me...?
    Regards,
    Agung

    You can use function on sql side which to proper transid returns desciption.
    The function is as
    create FUNCTION [dbo].[trans](@trans integer)
    RETURNS varchar(100)
    AS
    BEGIN
    DECLARE @ret varchar(100)
    select @ret =
    case @trans
    when     1     then     'oChartOfAccounts'
    when     2     then     'oBusinessPartners'
    when     3     then     'oBanks'
    when     4     then     'oItems'
    when     5     then     'oVatGroups'
    when     6     then     'oPriceLists'
    when     7     then     'oSpecialPrices'
    when     8     then     'oItemProperties'
    when     12     then     'oUsers'
    when     13     then     'oInvoices'
    when     14     then     'oCreditNotes'
    when     15     then     'oDeliveryNotes'
    when     16     then     'oReturns'
    when     17     then     'oOrders'
    when     18     then     'oPurchaseInvoices'
    when     19     then     'oPurchaseCreditNotes'
    when     20     then     'oPurchaseDeliveryNotes'
    when     21     then     'oPurchaseReturns'
    when     22     then     'oPurchaseOrders'
    when     23     then     'oQuotations'
    when     24     then     'oIncomingPayments'
    when     28     then     'oJournalVouchers'
    when     30     then     'oJournalEntries'
    when     31     then     'oStockTakings'
    when     33     then     'oContacts'
    when     36     then     'oCreditCards'
    when     37     then     'oCurrencyCodes'
    when     40     then     'oPaymentTermsTypes'
    when     42     then     'oBankPages'
    when     43     then     'oManufacturers'
    when     46     then     'oVendorPayments'
    when     48     then     'oLandedCostsCodes'
    when     49     then     'oShippingTypes'
    when     50     then     'oLengthMeasures'
    when     51     then     'oWeightMeasures'
    when     52     then     'oItemGroups'
    when     53     then     'oSalesPersons'
    when     56     then     'oCustomsGroups'
    when     57     then     'oChecksforPayment'
    when     59     then     'oInventoryGenEntry'
    when     60     then     'oInventoryGenExit'
    when     64     then     'oWarehouses'
    when     65     then     'oCommissionGroups'
    when     66     then     'oProductTrees'
    when     67     then     'oStockTransfer'
    when     68     then     'oWorkOrders'
    when     70     then     'oCreditPaymentMethods'
    when     71     then     'oCreditCardPayments'
    when     73     then     'oAlternateCatNum'
    when     77     then     'oBudget'
    when     78     then     'oBudgetDistribution'
    when     81     then     'oMessages'
    when     91     then     'oBudgetScenarios'
    when     97     then     'oSalesOpportunities'
    when     93     then     'oUserDefaultGroups'
    when     101     then     'oSalesStages'
    when     103     then     'oActivityTypes'
    when     104     then     'oActivityLocations'
    when     112     then     'oDrafts'
    when     116     then     'oDeductionTaxHierarchies'
    when     117     then     'oDeductionTaxGroups'
    when     125     then     'oAdditionalExpenses'
    when     126     then     'oSalesTaxAuthorities'
    when     127     then     'oSalesTaxAuthoritiesTypes'
    when     128     then     'oSalesTaxCodes'
    when     134     then     'oQueryCategories'
    when     138     then     'oFactoringIndicators'
    when     140     then     'oPaymentsDrafts'
    when     142     then     'oAccountSegmentations'
    when     143     then     'oAccountSegmentationCategories'
    when     144     then     'oWarehouseLocations'
    when     145     then     'oForms1099'
    when     146     then     'oInventoryCycles'
    when     147     then     'oWizardPaymentMethods'
    when     150     then     'oBPPriorities'
    when     151     then     'oDunningLetters'
    when     152     then     'oUserFields'
    when     153     then     'oUserTables'
    when     156     then     'oPickLists'
    when     158     then     'oPaymentRunExport'
    when     160     then     'oUserQueries'
    when     162     then     'oMaterialRevaluation'
    when     163     then     'oCorrectionPurchaseInvoice'
    when     164     then     'oCorrectionPurchaseInvoiceReversal'
    when     165     then     'oCorrectionInvoice'
    when     166     then     'oCorrectionInvoiceReversal'
    when     170     then     'oContractTemplates'
    when     171     then     'oEmployeesInfo'
    when     176     then     'oCustomerEquipmentCards'
    when     178     then     'oWithholdingTaxCodes'
    when     182     then     'oBillOfExchangeTransactions'
    when     189     then     'oKnowledgeBaseSolutions'
    when     190     then     'oServiceContracts'
    when     191     then     'oServiceCalls'
    when     193     then     'oUserKeys'
    when     194     then     'oQueue'
    when     198     then     'oSalesForecast'
    when     200     then     'oTerritories'
    when     201     then     'oIndustries'
    when     202     then     'oProductionOrders'
    when     205     then     'oPackagesTypes'
    when     206     then     'oUserObjectsMD'
    when     211     then     'oTeams'
    when     212     then     'oRelationships'
    when     214     then     'oUserPermissionTree'
    when     217     then     'oActivityStatus'
    when     218     then     'oChooseFromList'
    when     219     then     'oFormattedSearches'
    when     221     then     'oAttachments2'
    when     223     then     'oUserLanguages'
    when     224     then     'oMultiLanguageTranslations'
    when     229     then     'oDynamicSystemStrings'
    when     231     then     'oHouseBankAccounts'
    when     247     then     'oBusinessPlaces'
    when     250     then     'oLocalEra'
    when     280     then     'oSalesTaxInvoice'
    when     281     then     'oPurchaseTaxInvoice'
    when     300     then     'BoRecordset'
    when     305     then     'BoBridge'
    when     260     then     'oNotaFiscalUsage'
    when     258     then     'oNotaFiscalCFOP'
    when     259     then     'oNotaFiscalCST'
    when     261     then     'oClosingDateProcedure'
    when     10     then     'oBusinessPartnerGroups'
    when     278     then     'oBPFiscalRegistryID'
    else '?' end
    return @ret
    end
    and call it as
    SELECT TOP 100 PERCENT T0.DocDate, dbo.trans(T0.TransType), CAST(T0 ....

  • How to know login history/events of  Sap user from server

    how to know login history/events of  Sap user from server without operating users computer.
    Am using B1 2007A PL47 Forthshift(FSE version 8.5 SP03PL05)

    Hi,
    Check the thread
    Re: User login history SAP Business One
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • How to create bpartner base on my logon user id?

    hi, I try to create a service contract and get error message that my user id is not a business partner, so how to create bpartner base on my logon user id?
    thanks

    Hi,
    Create Business Partner from Txn : BP and extend same BP to role Employee. In Identification tab there is field user name just assign your User Id here and save.
    Regards,
    Dipesh.

  • How to know what are all the Webservices available in P6V7

    Hi All,
    How to know what are the webservices available for integration in P6V7?
    Thanks,
    RR

    Information on Web Services for P6 are available in the Reference Manual that get installed along with P6 Web Service software. you will find the complete list there.
    Sachin

  • How to know on what tables the standard bw datasource are built in ECC

    Hi Guys,
    How do we know on what tables the BW DataSource are built in ECC.
    Thanks & Regards
    Jagannadha Raju

    Hi Raju,
    check in below link which will give details of the datasources and associated tables.
    http://help.sap.com/saphelp_nw70/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    Hope this helps.
    Regards,
    Reddy

  • How to know Patch number of the Report builder

    How to know the Patch number in Reports6i.
    I clicked on the HELP Menu option and further clicked on About option .Following was the information displayed...
    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    From the given information please suggest how to know the PATCH number...

    Boris,
    this is Patch 2. There's a matrix with releases (here 6.0.8.11.3) matched to patches. Have a look at Note 74145.1: http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=74145.1
    regards
    Rainer

  • How to know through code if the web page is modified on a particular site ?

    Hi all..
    I have an application developed using struts framework. In my application i accept URL from user and
    then connect to that URL. After that i retrieve the contents of that URL and do further processing. I have an action class which does these things. I store these processed contents in database along with the URL.
    The requirement is that if some other user requests with the same URL in my application, that time already processed data from database shall be used.
    As we know web sites keep on modifying its pages from time to time. I want some routine with which i can check if the issued URL ( specific web page ) is actually modified or not. It it is so , i will connect to actual URL and if no then i will use the data already stored in database . Is that possible ?
    What are the possible ways to implement the same ?
    Can any one have solution in this regard ?
    Thanks in advance..
    Prasad

    Use Ajaxical polls to inform the server if there isn't any update. If so, change page accordingly using JS+DOM.
    You can't do that from the server side on. The HTTP protocol fortunately disallows pushing responses.

  • How to know to which page the user is going

    Hi! I want to know to which domain my user is going after leaving a certain page. I want to know this to differentiate if is moving to a page inside my site, if he's leaving or if he's closing the browser.
    Hope u can help me! Regards
    Raul

    If a user clicks a link on the page then you can tell that where is he/she heading,but if they type the address in the location bar,then you are out of luck.
    And this is a JavaScript/html related question( I think...*_*)
    Cheers
    Khalid

  • How to know you've got the latest firmware?

    I know that the firmware (Boot ROM) and SMC versions can be found in System Profiler, but how do you know they are the latest versions available?
    Looking at the possible firmware updates on Support/Downloads they don't seem to include a version, just release date.

    I believe the latest version of the SMC firmware is 1.2f10. If you download an updater and try to apply it, it will only proceed if the firmware image contained in the update is later than the one on your machine.

  • How to know which property match the keyword

    I have some page in publishing site, I typed in a keyword in search center and it return some page results, however I can't figured out why these results are returned, I actually do not expect them to show up, I don't see the keyword appears in any of
    the pages content or page properties, is there a way to tell which property match the keyword? what exactly happened when sharepoint search a keyword.

    Hi,
    For troubleshotting your issue, let's verify the followings:
    What type keyword did you use for search?
    Which content type did you use for these pages?
    Whether someone changed these pages.
    Please try to reset index, and do a full crawl. Then test again, compare the result.
    In SharePoint, when you crawl a content source, it will generate some crawled properties for your items' peoperties. And in Search Center, When you type a keyword and search in search box, it will query the index file (crawled properties) based on the keyword,
    if there are some results, it will return.
    More information, please refer to the link:
    https://ashishbanga.wordpress.com/2013/01/14/how-search-works-in-sharepoint-basic-concept/
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] 
    Wendy Li
    TechNet Community Support

  • How to know precisely when the revision of a content item is released?

    Hi,
    I have written a filter to handle delete event of content item revisions. Whenever a revision of a data file (WCM data file) is deleted my filter gets triggered and and checks for some criteria on our meta data. When the criteria is met it has to compare the contents of the revision that is deleted with the new revision. Since the revision will be deleted when my filter is exited, I copied the contents of the revision that is deleted and invoked a java thread with required document information.
    In that thread I am checking for when the revision is successfully deleted so that I can read the contents of new revision and compare them with old revision.
    For that I calling DOC_INFO_BY_NAME service from my thread and am checking until the following values for below meta data are in effect
    dStatus=RELEASED
    dReleaseState=Y
    Unfortunately this is not working properly. I am still seeing the data file content of deleted revision only. For testing purpose I put a sleep of 10 seconds in my code instead of reading the meta data values which is making the code work as expected. I am to get the contents on new revisions after the sleep time. But I don't want to work this way as this is not a guaranteed mechanism.
    How to know for sure when the revision is released?
    Regards,
    Pratap

    Hope as you mentioned I would be able to use link manager. That would make my work much simpler. But just want to ensure that we both are on the same page relating to my requirements. I still feel there is some gap in what I have tried to explain and what you understood. May be I couldn't put it in simple words.
    I will try my best to explain the requirements again in a simpler manner. This is only to ensure that I wouldn't end up spending lot of time in understanding new stuff but only to relaize at later time it may not work for me. I haven't used Link Manager before. That is why I am speculating a bit. I will start looking into the documentation of the Link Manager and Related Content to checkout if they work for me.
    First thing is that the links are not just present in static lists. They can also be in content generated using WYSIWYG editors and Image elements.
    Second when I talked about HTMLs they are not true content items. We are generating these HTMLs based on the structure of the site studio data file that is checked-in. I think it would be more clear if I add more details here.
    The data files that I have been referring so far are bit complex. Our site studio contibution site allows creation of parent content items like detailed page, news articles etc and child items like RelatedSections, FAQ Items etc. The child items are referenced in the parent content items for organizing the parent content item's structure. All these site studio content items are XML files and each of them can internally contain links to other items. In fact the child items can have references to parents items or other childd items as static list (with link selector elements) and WYSIWYG editors are used while creating these content types (parent and child items).
    Finally we generate the HTML only for parent items and display them on our portal. Child references are used only for defining parent item structure and the generated HTML for the parent item contains the details of child items. Our differentiation of parent and child is in the context. HTMLs that I have been talking so far are these ones only. They are not real content items.
    The HTML will be generated when ever the parent item is updated and approved in the last step in our workflow. Now since parent item's HTML is dependent on child items, whenever a child item is updated and approved in the last step of workflow we should look up for all the parent items that are referring to this child and regenerate the HTML for those parent items using updated contents of this child.
    Similar logic of HTML regeneration should be applied in the delete events.
    Finally the revision related issues that I listed for data files apply for images as well. Since the images are also managed content items with multiple revisions they are maintained in site studio content items with their dDocName instead of its file file path and extension. Lets say an image is being referred in one of the parent content items and the image extension at the time it was initially used in the parent item is gif. The HTML contents for this parent that get generated will have gif extension for this image item. Now after some time if the user checks-in a new revision for this image item and lets say the extension now is png. But the HTML generated for the parent item is still having .gif in the img src attribute. Which means we need to re-generate the HTML in this case by checking where all this image item is referred.
    If link manager can be helpful in meeting the above requirements it would be great. It shouldn't matter if there is bit of customization work involved.
    Regards,
    Pratap

  • How i know my mac is 2012

    Hi I recently buyed my first mac!! Im really lost in this system but every day learning new things!
    I wanted to confirm if my Mac is really 2012? How i know if im runnig the new Lion system?
    Sometimes I open my finder and under shared is a computer name...what does this mean and if there is any way to block it?!
    Thanks for the help

    To determine the version of OS X select About This Mac from the Apple menu,
    Which will result in this dialog:
    To determine what model you actually have open System Information in the Utilities folder. You will see displayed a Model Identifier:
    If your Model Identifier is greater than MacBook Pro 8,3 then you have the newest model. For example, it may show 9,1 or better.
    <Image Edited By Host>

Maybe you are looking for

  • Can't find songs in iPod, Works in iTunes, Synchs ok, but still 0 songs

    I am new to my iPod Nano 4thGen 8GB and just downloaded the new iTunes 8 (latest version). I'm running SP2 on Windows and iTunes installed perfectly. It even added all my music directly to the iTunes library. iTunes found my iPod, assigned a name, an

  • Validation in F110 or User exit

    Gurus, Is Validation called in F110 (Automatic Payment Run) Transaction ? If yes then how can i implement the following Validation ? In F110 during Payment Proposal or Payment run time ,We have to allow specific user to process the Payment for the co

  • Drill down reporting through report painter...????

    hi  all ,      I am generating a P & L report  from report painter ..... I wish to have a drilll down option on items in rows  for eg if  i click on income i should be able to see all  the items of income ....   can this be done how...???? otherwise

  • ESS with ERP2005 (without a Portal)

    Hi, in the moment we are using ESS with SAP Enterprise (4.7). Now we are planning the Upgrade to ERP2005. We have several customers who has outsourced their HR Processes to us. We maintain their ESS on our SAP Servers. If we change to ERP2005 the pro

  • C++ Runtime error officeXP

    Hello I have made a projection of a director application, it work but when I access the part of the database connexion (I'm using datagrip), the pop of Microsoft visual C++ Runtime Error appear, I have the folder of all Xtras used, and I know that th