How to get internal order and activity type other than from BSEG

We want the Internal order and activity type fields. From BSEG, it is taking a long time, and it hangs.
Is there any other table we can get these values from?
Our query is this:
select bukrs "Company code
gjahr "Fiscal year
belnr "Document no.
buzei "Document Item no.
aufnr "Internal order
lstar "Activity type
from bseg
into table gt_add_info
for all entries in gt_gl_detail
where bukrs = gt_gl_detail-rbukrs"Comcode from G/L acct detail
and buzei = gt_gl_detail-buzei "Doc item no. from G/L acct detail
and belnr = gt_gl_detail-belnr "Doc no. G/L acct detail
and gjahr = gt_gl_detail-gjahr."Fiscal yea
Can advise please how to make it faster. My internal table (GT_GL_DETAIL) has over 100000 records. ? thanks.

I did a SQL trace, and saw that tables CSLA, CSSL, COKL and COKA are being hit with the values I entered inthe Activity type in transaction FB50.
Still not clear but where it gets stored. If in any of these tables, how do I get the object key?

Similar Messages

  • CATS billing thru PS | internal Order, WBS, Activity Type

    Hi,
    I am a HCM consultant, therefore I have zero knowledge in PS/SD.
    Currently I am working on a task, where I need to create the bill on the CATS data (Time Sheet Data: HCM). I want to know how the CATS data is transferred to WBS, and how the billing of the same is done in PS the WBS element and Activity Type. I ll be transfering the time data to Internal Order (I dont know how to assign these internal orders to WBS elements) and in Activity type I ll be storing the rates of the activities/tasks. Now on the basis of these Internal type, WBS and Activity type, How can I generate a bill in PS? (We are inactivate in SD module).
    A more clear explanation would be better as said, am new to PS..
    regards
    Tahir

    HI Tahir,
    wbs and internal order is the object where we can book time via time sheet so clear here when you are booking time in CAT2 transaction then time sheet ask it's receiver object that would be either wbs nor I/O. once you have done this activity, then need to transfer it to object area like PS CS CO HR PayRoll
    such transaction path is below in CATS
    CAT2
    Time Sheet: Maintain Times
    CAT2_ISCR
    CATS: Maintain Times (Init. Screen)
    CAT3
    Time Sheet: Display Times
    CAT3_ISCR
    CATS: Display Times (Initial Screen)
    CAT4
    CATS: Approve Data
    CAT5
    Data Transfer CATS -> PS
    CAT6
    Transfer External -> Time Management
    CAT7
    CATS: Transfer Data to CO
    CAT8
    Time Sheet: Document Display
    CAT9
    Data Transfer CATS -> PM/CS
    i m telling you in PS area next take help from SD guys
    Regards,
    Sanjeev

  • How to get the latest and valid BOM item entry from STPO

    hi,
    may i know with what condition we can get the latest and valid BOM item entry from STPO table?
    i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of  valid-from and valid till date.
    can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
    thank you.

    Hi
    You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
    Regards
    Shiva

  • Assign Internal order to activity Type.

    Hello All,
    I have a requirement in which i have to find a way to assign Internal order number when a activity type is created. The current setting in KL01 we can assign cost centre categories. Please let me know how a Internal order can be linked to Activity type.
    Thanks & Regards
    Naveen

    It is not possible.  There is no such functionality even from functional point of view.
    Check at transaction code OKEI
    Srinivas

  • How can i upgrade to OSX Mountain Lion other than from the app store?

    I am trying to upgrade to OSX Mountain Lion from OSX Lion but i get this message:
    "We could not complete your purchase. The product distribution file could not be verified. It may be damaged or was not signed."
    Further I am able to download other programs from the app store (like growl) but it does not work for Mountail Lion ????
    I looked through the forum and one post said that i have to use lion recovery to reinstall osX lion but then it defetes the objective of upgrading.
    Please help me
    Cheers

    If your system's not compatible with 10.8 and has at least a Core 2 Duo(not Core Duo) CPU, phone the online Apple Store and order a download code for 10.7.
    (73799)

  • Default Internal order and cost center

    Hi Experts,
    i am uploading one file into sap and here i am giving GL accounts cost centers and WBS elements.
    once i have done with upload.when i am checking in BSEG its showing one internal order and one default cost center with internal order.
    i can not understand how its finding internal order and default cost cente(which diffetrent from those cost centers i have mentioned in excel).
    please help me to find.
    thanks,
    Vani

    HI,
    Thanks for your reply.
    i have checked OKB9 and KA03 but there is no default assignment.
    checked also OBBH and OKC9 but no subtitution and i can't post manually now.
    is there any option.
    Waiting for your reply.
    Thanks,
    Vani

  • Blocking of Cost centre and activity type

    Dear all,
    Please tell me how to block cost centres and activity types which will no longer be used
    best rgds,
    Manoj

    Hi,
    There are two ways .
    If you wish to use the cost center number for any other cost center , then you need to delete the cost center by KS04 & you need to mention the future period for which the same should deleted, normally, starting would be 1st day of next year to 31.12.9999
    Keep in mind, cost center can only be deleted , if no data (Actual/Plan/reversal) is posted in it. You may do it , before starting next year's budget processing.
    If you wish to just block the same , lock Actual primary/Secondary & Plan primary/Secondary in the control tab.
    Regards,
    Deepak Kolwankar

  • How to get equipment number and type for given PM order

    hello all,
    i know the PM order number and corresponding object number (like OR9100000175),
    now using these how do i get equipment number and equipment type..
    do i need to use any function module...
    thanks in advance...

    From VBAK table with order number AUFNR, get notification no - QMNUM.
    From QMIH table with this notification no QMNUM, get equipment no - EQUNR.
    And then from equipment master EQUI, you can get the equipment categeory EQTYP from EQUNR

  • Invoice get twice to internal order and to accounting

    Hi All,
    The order is invoiced once in CRM but in ECC  internal order and in accounting the same invoice is getting twice.
    Any idea how this is happening and how to resolve such cases.
    Best Regards,
    DP

    Hi,
    is the internal order a real order or a statictical one?
    Regards,
    Greta

  • PM Order Confirmation using Personnel's Cost Center and Activity Type

    Hi All,
    Is it possible to have PM Order confirmation (IW41) using Cost Center and Activity type from Personnel instead of default from Work Center?  If it is, can it be done with some configuration or user exit?  Please advise.  Thank you.
    Dai

    Hi friend,
    Order confirmation will be done for order operations.While doing confirmation we post the actual work done by the repective work center and respective activity type assigned to the same workcenter.
    But these activity types are assigned to cost center for cost calculation.confirming the respective operation in maintenance order through workcenters gives the report of planned work and actual work done by the respective workcenter.
    We cannot confirm the operation using costcenter and activity type directly through transaction IW41.
    If you want to develop new confirmation screen and making confirmation of the respective order operation with only costcenter and activity type fields, you can do it .
    Regards,
    Pardhreddyc
    Edited by: Pardhreddyc on May 17, 2011 12:45 PM

  • Table or Function module to get Internal order planning and Cost element pl

    Dear All,
    Table or Function module to get Internal order planning and Cost element planning.
    Internal order planning from T-code KO13.
    Thanks in advance.
    Regards,
    Ravi
    Edited by: Ravi Chandra on Sep 13, 2011 8:08 AM

    BPEJ, BPEG, BPEP

  • How to get  shipped orders, unshipped orders and orders with open deliverie

    Hi
    how to get  shipped orders, unshipped orders and orders with open deliveries
    can anybody answer this.
    points would be rewrded
    Thanks

    Hi,
    You can check in the VBUK table for the status of an order. If you do a Query on VBUK table to get all the orders whose delivery status is not 'C' or the total goods movement status is not 'C' you get to know the orders not yet shipped.
    Hope this helps. Reqard points if useful.
    David.

  • How to get same order of appearance of photos in Iphoto album and album shown to IOS devices after sharing?

    How to get same order of appearance of photos in Iphoto album and album shown to IOS devices after sharing?

    Hello Leonie!
    I use Iphoto sharing with my family on their ios devises.  And it works. 
    The only problem is that, now, I try to organize the photos in a meaningful way (not chronologically) before Iphoto Sharing (Icloud)
    But on the ios devices the photos is arranged chronologically.
    Is there a solution?
    MBP 2009
    Iphoto 9.5.1
    IPAD 3
    7.1.1
    best regards Joakim

  • INTERNAL ORDER AND SALES

    Hi,
    is there any standard way to link between internal order (spent) and sales generated against budgeted spent.
    My requirement is to track the sales against the spent made under an internal order (by purchase order or FB60).
    1. Can I assign the sales related material codes to, Internal orders assigned in POs or
    2. Can I assign Internal order in Line items of Sales order or
    3. Is there any standard module or functionality for above requirement.
    Please suggest
    Regards
    Prakash

    Thanks Eli,
    Can you explain how and what assumption and precautions to be considerd.
    And if there are two internal order for the same billing, then how to assign.
    And also reply the table related to controlling, where i can get the order and sales order details.
    Regards
    Prakash.
    Edited by: Bhanu Prakash on May 11, 2010 12:14 PM

  • How to get the split period wage type amount in payslip?

    How to get the split period wage type amount in payslip?
    Payroll period for 01.01.09 to 31.01.09.
    1.     Employee is active from 1.1.09 to 10.01.09
    2.     Employee is inactive from 11.01.09 to 20.01.09
    3.     Employee is again active from 21.01.09 to 31.01.09
    In Result Table three split periods are created.
    From 01.01.09 to 10.01.09 u2018Basic Salaryu2019 Wtype  1101 amt is 20.00
    From 11.01.09 to 20.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 00.00
    From 21.01.09 to 31.01.09 u2018Basic Salaryu2019 Wtype 1101 amt is 10.00
    My requirement is to print only the last split period in payslip from 21.01.09 to 31.01.09. May you please help me in this regard.
    Thanks in advance
    Regards,
    Rajesh.

    Hi
    Try to read the below:
    WPBPC : Distribute Lump Sum Wage Elements to WPBP Periods
      Object
        Operation
      Use
        Operation WPBPC distributes the amount of the current wage type to the
        active WPBP periods in the payroll period.
      Input
        The current wage type in the header entry of table OT is used as input
        for this operation.
      Procedure
        Within payroll, wage types are assigned to a fixed WPBP period by
        infotype 0014 Recurring Payments/Deductions, for example. However, you
        may want to distribute this payment to all active WPBP periods, which is
        what would happen if the wage type were entered in basic pay. Therefore,
        various specifications exist for parameter S:
        o   If the specification is 'A', and if several active WPBP periods
            exist, the amount is simultaneously reduced on a calendar-day basis.
        o   If the specification is 'D', the wage type is distributed to all
            existing WPBP periods without the amount being reduced.
        o   If the specification is 'S', and if the validity period starts or
            ends during the period, the entry in table WPBP is split using this
            date. The wage type is stored in table OT for the corresponding WPBP
            period.
            This parameter is only allowed if processing was accessed using
           function P0014.
           In this case, infotype 0014 must be processed before absence
           valuation and function PARTT. Otherwise, rejections occur during
           payroll processing.
       o   Specification 'X' is the combination of 'A' and 'S'.
           This parameter is only allowed if processing was accessed using
           function P0014.
       o   If the specification is 'W', and if the validity period starts or
           ends during the period, the entry in table WPBP is split using this
           date (as with option 'S'). Unlike 'S', the wage type is not stored
           in table OT.
           This parameter is only allowed if processing was accessed using
           function P0014.
       o   If the specification is ' ', the wage type is stored in table OT for
           each WPBP period in which the validity interval fits.
           This parameter is only allowed if processing was accessed using
           functions P0014 or P0015.
       If the WPBP split is set for a wage type, the wage type is stored
       without changes in table OT. If you specify a different wage type name
       in the second parameter, the wage type is stored with this name in table
       OT. Before you execute operation WPBPC, you may therefore need to delete
       the split using operation ELIMI.
       If a country-specific split (C1, C2, or C3 split) is set, the operation
       interprets it as an error. The employee in question is rejected by
       payroll. All other splits are transferred as they are.
      Output
        The processed wage type, or the wage type specified in the operation
        call, is written to table OT (output table) with the appropriate split
        indicator and reduced amount as operation output for each WPBP period.
        Parameter specification 'W' is the only exception.
      Syntax
        OOOOOSVVVV
        OOOOO       WPBPC       Operation name
        S
                    blank       distribute to all WPBP periods
                    S           split and distribute WPBP
                    W           split but do not distribute WPBP
                    A           distribute to active WPBP periods
                                with calendar-day reductions
                    D           distribute to all existing
                                WPBP periods
                    X           combination of 'S' and 'A'
        VVVV                    Results wage type
                    blank       input wage type = results wage type
                    wage        wage type name of input wage type is replaced
                     type       by wage type name of results wage
                     name       type
        Wage type before operation:
      Example
        M100        02          3000
        WPBP split
        01  June 01 - June 20 active
        02  June 21 - June 30 active
        VVVV                    Results wage type
                    blank       input wage type = results wage type
                    wage        wage type name of input wage type is replaced
                     type       by wage type name of results wage
                     name       type
        Wage type before operation:
      Example
        M100        02          3000
        WPBP split
        01  June 01 - June 20 active
        02  June 21 - June 30 active
        Wage type before operation:
        WType       WPBP        Amount
        M100        00          3000.-
        M200        02          2000.-
        Operation:   WPBPCA
        Wage type after operation:
        WType       WPBP        Amount
        M100        01          2000.-
        M100        02          1000.-
        M200        02          2000.-
        Operation:   WPBPC
        Wage type after operation:
        WType       WPBP        Amount
        M100        01          3000.-
        M100        02          3000.-
        M200        02          2000.-
    Regards
    Team Member.

Maybe you are looking for

  • Sonata font does not work in MS word, windows 7

    I purchased and downloaded Sonata Std. from Adobe. I downloaded it and installed it. I want to use it in Microsoft Word (Office 2013) - Windows 7. When I open a Word document, the Sonata Std. font name appears in the font select window, but after I s

  • Why is there extra white space after exporting to JPEG?

    After exporting an *.ai file to jpeg using  150 ppi and 5 for compression, I have extra white space below the artwork. This has happened in two files after exporting.

  • Integrating a New MacBook Pro

    I recently bought a new MacBook Pro. I also have an older iMac (running OS X 10.6.8) which will not support iCloud. And my iMAC (older 32 bit processor) will not support 10.7. I also have an iPhone 4 running 6.1.3, as does my wife, and an original iP

  • Photoshop CC missing Magic Wand Tool

    Hello! I've got the new Adobe Creative Suite for Student and am working with Photoshop CC at the minute but cannot find the Magic Wand Tool anywhere... is it not in this version, or is it hiding somewhere... can't locate it. Please help?

  • SAP not firming-Urgent

    Hi All, In MD04 i see firm scheduled lines but in the Schedule Agreement it is not firmed or fixed.Can anyone help me on this. Regards, Balu