Cost centers not triggered

HI Gurus,
When I am trying to assign Organizational Units to Cost centers, I am unable to find any cost centers that are triggered to choose.I request you all to kindly help me in this regard.
Regards
Phani Prasad.

Hi Phani
Just enter manually any cost center created with tx KS01. The cost center field in transaction NCOP has no matchode.
I hope it helps.
With best regards
Matías

Similar Messages

  • Cost Centers not appearing in the GL Display FAGLL03

    Dear Friends,
    In case of a particular GL Account we find tha the Cost Centers are not getting displayed in the GL Account display. However, when we check the documents, we find that the Cost Centers have been maintained in the document entry. The users have selected the field Cost Center thru Change Layout, but the report still does not show the Cost Centers.
    Could you help and advise what needs to be checked.
    Regards,

    FAGLL03 has many "small" items that do not generate correct results.
    You need to look at alll the applicable notes, including the following:
    946998,1063198,1107639,1113114,1163346,1223997,1332265,1361048,1391665. You may think these do not apply, but they probably represent things you just haven't run into yet.
    Good luck!

  • Rel. strategy is not triggered while creation of PR with cost centr

    Hi Gurus,
    While creation of PR release strategy is not getting triggered with cost centre BCWSV870. But release strategy of PR triggered for cost centre BCWSV852 (In PR changed only cost centre as BCWSV852 instead of BCWSV870). Both cost centres are similar and the both cost centres are exist in characteristics value in CL20N for the same release strategy.
    My question is why for one cost centre triggers release strategy triggers and for other cost centre release strategy is not triggered. Can you please tell how come this and rewarded for answer this.
    With regards,
    C. Sundar Rajan

    Hi,
    In regard to problematic PR with cost center BCWSV870, was your PR maintained with only one line item? or multiple line items?.  In additions, when defining cost center as part of the release strategy structure, did you enter all cost centers with leading zeros?  Tak a further look into OSS Note 365604 for your further investigation.
    Cheers,
    HT

  • New GL Profit Centers not updated with Reposting of costs in CO

    Hi,
    There is one concern, which I am not able to address.
    In case one reposts primary costs to different cost centers which in turn has different profit centers, the PCA report gets updated since it is posted in CO.
    However, in case of New GL Profit center reports the values are displayed in the original profit center posted and not in the reposted profit center. I understand that the reposting is done only in CO, but then there would be a mismatch in the PCA reports and the New GL profit center reports.
    Please suggest any solution to this.

    Hi
    check the path and see if Account Determination between CO & FI is active for the variant defined and assigned to your company code:
    IMG>Financial Accounting>Financial Accounting Global Settings>Ledgers>Real time Integration between Controlling & FI>Define variants for Real Time Integration.
    Regards
    Sanil Bhandari

  • BAPI_COSTCENTERGROUP_CREATE not adding Cost centers to group

    Hello,
    I am using BAPI_COSTCENTERGROUP_CREATE to add/delete Cost Centers from a group by passing Controlling Area, Group name and Cost centers in HIERARCHYVALUES table.
    Though the BAPI successfully deletes existing Cost centers from the group, while adding, it gives error message that 'This function is not allowed in the standard hierarchy'
    If anyone has worked with this BAPI before or faced a similar error, kindly revert.
    Thanks in advance.
    Regards,
    Shubha Tripathi.

    Hi Tripathi,
    1) Check the documentation of this bapi 2) Show this message your FI consultant.
    Regards,
    Madhu.

  • Transferred cost centers are not showing up in 0FIAA_C04

    Hello gurus..
    Recently, in a data maintenance, 3 new cost centers (cc) were move from one company to another.  Those cc are not showing up in the infocube 0FIAA_C04; even though I have re-loaded the master data for 0ASSET, 0ASSET_AFAB and 0DEPRAREA and also re-loaded the data that comes from its infosources 0FI_AA_006: Transactions w/ Value Adjustments,  0FI_AA_005: FI-AA: Acquisitions and 0FI_AA_001: Annual Values. 
    Can someone please tell me what I am missing to re-load.
    Thanks a lot!!!

    HI,
    did you check in the in the master data extracter whther the values for 3 new cst centres are getting populated correctly.
    Thanks & Reagrds
    krishna.y

  • Disposal cost cost post directly to materials NOT cost centers.

    Dear experts,
    Currently we are posting the disposal cost to the cost center as a cost object.
    Later the disposal cost posted in cost center will be allocated to material through cost center assessment (KSU5) and material level assessment (CON2).
    However, our client said that they want the disposal cost to be directly posted to the material which is scrapped instead of sharing the cost among the relevant cost centers. 
    Is there any good standard SAP solution?
    *I don't want to develop any add-on programs.
    Thanks!

    Hi Jiro
    If the material being disposed is a saleable material -> Post it directly to COPA at material level
    For this,
    - you need to default the Cost element in OKB9 to "Prof Segment"..
    - Map the cost element to PA Transfer Structure FI in KEI2
    If the material being disposed is not a saleable material, then what you are doing makes sense...
    You can also follow the above process for Saleable material in this case for non-saleable material, if you wish
    Br. Ajay M

  • Open PO report with GL's and Cost Centers

    Hi Gurus,
    Is there a report that already exists where we can run open purchase
    orders not received for non-inventory items that pulls the quantity,
    price, GL account code, and cost center account code?
    Thanks
    Anusha

    Hi,
    May be the requirement will not be met in a single report.Please check the t code ME2K with selection parameter as we101 which gives you the open POs for that cost center or range of cost centers.
    EKPO gives price details.
    and check the table EKKN for GL account and cost center for that PO.
    If you want open POs check the T code ME80FN.
    Regards,

  • Cost component not splitting at the time of Rune the tine of Cost Estimate

    http//
    Hi,
    We are in developing phase for Product costing for coal mine project ,
    we have raise coal material with Non component BOM , and Routing is only one activity with 400- Raised Coal Qty-MT ,
    We upload the plan with Production cost center -activity type and cost element ( as per cost component -we have 10 cost component  as per below )
    RM - Blasting
    Production Overhead
    Power - Main
    Stores,Spare,Consum
    Repairs & Maint
    Lease & Hire Char-PM
    Power - Auxiliary
    Depreciation
    Over Burden
    Development
    we done the plan for Amount and Qty by KP06,KP26  and update plan price but system not calculate the cost component splitting in cost estimate as per planning while only one item showing for all cost to Production Overhead cost component
    Production Overhead cost component which assign the secondary cost element which is assign to activity type 400
    can any one help me to how we can resolve this issue
    Please find attached document

    Hi,
    Here I am providing the necessity and importance of splitting structure, will share the configuration steps once you go through the following and get the comfort level.
                        Expense Analysis and Splitting in Manufacturing Cost Centers
    Introduction In SAP Cost center work as a cost responsibility center, where all the expenses and cost are stored and analyzed for the purpose of management decision making.
    The cost could be fixed or variable in nature. The difference between variable and fixed costs can be made in various ways in product costing in CO module.
    Fixed costs represent the static costs incurred by the organization, which doesn’t change on the basis on manufacturing activities, which remain constant irrespective of production activities like rent for the premises, salaries of office staff etc.
    On the other hand, variable cost varies based on the level of production activities; if production activities increase then variable cost also increased like electricity consumes raw material charges etc.
    However all the variable cost doesn’t vary in direct proportion by quantity of goods produced.
    In this document will try to define; how the Expenses analysis and splitting of cost done in manufacturing cost centers.
    From controlling prospective, fixed cost remain constant regardless of operating activities, but if these factor changes, variable cost will fluctuate.
    Basically raw material costs represent variable cost, but in this document main focused will be given to distinguish fixed and variable activity cost.
    The segregation between fixed and variable cost is optional and is derived from the configuration and master data configured in cost center accounting and overhead accounting.
    Activity Price:
    There are different methods that could be used in cost center accounting to determine the activity price. The simple way is the manually enter “Fixed” and “Variable” Activity cost (KP26).
    However there are other methods used in Cost center Planning and Budgeting that automatically calculate the fixed and variable activity price.
    Here the focused will be given on Planning and Budgeting activity and automatic calculation of plan activity rate in cost center.
    This method aggregate planned costs by cost element and capacity by plan unit to calculate the activity price.
    Activity independent costs are segregated among different activities based on Splitting Structure, while activity dependent cost directly used for the purpose of variable activity rate calculation.   
    Fixed Activity Cost:
    In product costing all those cost, which doesn’t vary based on the activities in manufacturing cost will represent fixed cost.
    In a manufacturing cost centers there may be two or more activities performed.
    To calculate the activities rate, the fixed costs are distributed to various activities on the basis of Splitting Structure defined for cost center.  
    Variable Activity Cost:
    Variable activity cost, which directly depend upon the activity type and fluctuate based on increase or decrease in manufacturing activities. In SAP variable activity cost are directly linked to the respective activity.
    Activity Prices: Fixed and Variable Split
    In Cost Center Accounting dividing the cost between Fixed and Variable requires appropriate split to be made in the cost entered for the activity. The process is described below:
    i.  Variable cost would be planned at activity level and expenses should be maintained at cost element in the manufacturing cost center by assigning activity and cost element combination.
    In other word, the expenses should be planned on Activity type at the time of primary cost planning (KP06).
    Then the variable activity rates are calculated on Total cost planned at Activity divided by Total number of activity planned at that cost center (i.e. capacity in KP26)
    ii. Fixed cost would be planned at independent of activity type. These costs are maintained in KP06 at cost element level on manufacturing cost center.
    Then the fixed costs are distributed on various activity types on the basis of Splitting structure defined at OKEW.
    In Splitting Structure we define the rules, how the fixed cost will be distributed to Activities. For the purpose of this document, considering split of fixed cost on the basis of Capacity maintained in KP26.
    Regards,
    Pavan kumar Arvapally

  • How can I use a GL for multiple Cost Centers?

    Hello all,
    I would appreciate your comments on the following issue. POINTS AVIALABLE. I have setup several cost centers in my Sandbox. The cost centers represent departments that my client has eg Finance & Accounting, Marketing, Shipping/Warehouse.
    I have created cost elements for the P&L accounts using OKB2, OKB3, SM35. My client sometimes has situations where they use the same GL for several cost centers. For example, the Freight Expense GL acct is used by Shipping/Warehouse cost center. However, someone in the Accounting/Finance cost center could also use that same GL account as well if they were shipping some documents. I can’t use OKB9, since the GL is not used exclusively by the Shipping/Warehouse Cost Center.
    <b>If, for example, we create a Sales order, I want to be able to specify somewhere that the freight for that SO must go to the Shipping/Warehouse Cost center. Is there a field in an SO, Delivery document or billing document where we can tell the system that this freight is being used for Shipping/Warehouse cost center?</b>
    I know if the Accounting Cost center uses the Freight GL, we can specify the Cost Center in FB50, so that is not a big concern.
    Thanks in advance!

    Hello Sunil,
    Thanks for your response. I tried go to VL02N and selected the line item and then went to 'GOTO'-- 'Header' --'Financial Processing'. <b>I don't see a field 'Cost Center'.</b> All I see are the following:
    Billing block
    Billing status
    Totals status
    Paym.guar.proc.
    Financ.doc.no.
    Opening date
    Validity end
    Billing Date
    Billing date
    Depreciation
    PresentDate
    Number of days
    But if I select the item, won't the whole cost of the item be sent to the cost center? I am trying to just get the Freight charged on the item to get posted to the Shipping/Warehouse Cost center.
    <b>Please advise.</b>
    Thanks.
    Message was edited by:
            United 99

  • How to find the list of cost centers reporting to a particular employee

    Hi Experts,
    I have to create one report in Java Web Dynpro. In the report, I have to display all cost centers reporting to a paricular employee. For example suppose Vice President of company has pernr 6481. From pa20, we quickly find out that his cost center is say 1209000. Now the Vice President has several reporting cost centers. For example one cost center will be for Marketing Deptt, other may be of HR deptt.
    Please let me know how I can find out that what all cost centers are reporting to pernr 6481(Vice Preseident)
    Regards,
    Gary

    Hi Pradeep,
    Thanks for email. In my project name has been maintained in CSKS-VERAK. However this name does not matches exactly with the name of pa20 (HR). It looks like SAP has not provided data integrity between HR name and CSKS-VERAK. It seems that while creating cost center, the user enters name in his own way. For example "Al-Fahad Malki" can be written in "Malki Fahad-Al" or "Malki Fahad" or "Al-Malki Fahad". The name of user in pa20 may be "Al-Fahad M". So it is not possible for us to use solution provided by you.
    Hi Pradeep, SDN Users,
    I have used following logic for getting cost centers for given pernr.
    1)     Take pernr as input. Exexute RFC HRWPC_RFC_OADP_GET_NAVOBJECTS. While executing RFC pass following values:
    a.     OBJSEL - MSS_TMV_EE_ORG1
    b.     Begda u2013 Today date
    c.     Ends u2013 Today date
    d.     User u2013 pernr
    e.     Cachemaxage -  -1
    2)     Then program should read the value of OBJID from HRWPC_RFC_OADP_GET_NAVOBJECTS output.
    3)     After this program should read value from HRP1001 for following condition
    PLVAR = 01
    OBJID = OBJID of step 2
    RELAT = u2018011u2019  and
    RSIGN = u2018Au2019 and
    (check todayu2019s date is >= begda and <= endda ) and
    SCLAS = u2018Ku2019 u2026  and
    SOBJID  = first 10 charactersu2026
    The cost center will be first 10 characters of SOBJID.
    4)     Return the Cost Center as derived in step 3. The cost center name and cost center name both should be returned as the output.
    5)     Sort the Cost Centers in ascending order of Cost Center name, if needed.
    Regards,
    Gary

  • Top-of-page event is not triggered

    Hi,
    I have a problem with top-of-page event. I have a report that shows the results in ALV grid display. But I use "REUSE_ALV_GRID_DISPLAY" not OO alv and there is only one screen with number 1000. On the menu toolbar there is a button that prints the data of ALV in a list using "write" statement. While writing , "top of page" event is not triggered. I expect that it is triggered at the first "write" statement but isn't. Is there anyone who knows the cause of this problem?
    The code is below.
    Thanks.
    Tables ...
    TABLES : mara , makt , ekko , ekpo , zzith_yukh , lfa1 , t001w  , lips ,
             eket .
    global variables
    DATA : BEGIN OF list OCCURS 1,
           zztahsk LIKE ekko-zztahsk ,
           zterm LIKE ekko-zterm ,
           txz01 LIKE ekpo-txz01 ,
           name1 LIKE lfa1-name1 ,
           menge LIKE ekpo-menge ,
           meins LIKE ekpo-meins ,
           fyukl LIKE zzith_yukh-zzdel_flag ,
                             " Yüklenmi&#351; miktar var göstergesi ...
           inco1 LIKE ekko-inco1 ,
           netwr LIKE ekpo-netwr ,
           waers LIKE ekko-waers ,
           bedat LIKE ekko-bedat ,
           zzontar LIKE ekko-zzontar ,
           slfdt LIKE eket-slfdt ,
           tname1 LIKE t001w-name1 ,
           banfn LIKE ekpo-banfn ,
           ebeln LIKE ekko-ebeln ,
           ebelp LIKE ekpo-ebelp ,
           lifnr LIKE ekko-lifnr ,
           mtart LIKE mara-mtart ,
           matkl LIKE mara-matkl ,
           ekgrp LIKE ekko-ekgrp ,
           matnr LIKE mara-matnr ,
           eknam  LIKE t024-eknam,
           bukrs  LIKE ekko-bukrs,
           zzbltur LIKE ekko-zzbltur,
           END   OF list         .
    DATA temp  LIKE list OCCURS 1 WITH HEADER LINE .
    DATA total LIKE list OCCURS 1 WITH HEADER LINE .
    ALV fields
    TYPE-POOLS : slis.
    DATA : gt_fields TYPE  slis_fieldcat_alv OCCURS 1 WITH HEADER LINE .
    DATA : gt_events TYPE  slis_t_event.
    DATA : gs_layout TYPE  slis_layout_alv.
    DATA : gv_title  TYPE lvc_title VALUE 'Günlük Depo Say&#305;m Miktarlar&#305;'.
    DATA : gt_top_of_page TYPE slis_t_listheader.
    selection screen
    SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001 .
    *Sat&#305;nalma organizasyonu
    *Sat&#305;nalma grubu
    *Sat&#305;c&#305;
    *Tarih
    *SAS no
    *Dosya no
    SELECT-OPTIONS:
    s_bukrs FOR ekko-bukrs .
    SELECTION-SCREEN SKIP .
    SELECT-OPTIONS:
    s_ekorg FOR  ekko-ekorg OBLIGATORY MEMORY ID eko ,
    s_ekgrp FOR  ekko-ekgrp ,
    s_lifnr FOR  ekko-lifnr ,
    s_ebeln FOR  ekko-ebeln .
    SELECTION-SCREEN END  OF BLOCK a        .
    Define Katalog
    DEFINE fill_catalog .
      gt_fields-fieldname  = &1.
      gt_fields-tabname    = &2.
      gt_fields-seltext_l  = &3.
      gt_fields-seltext_m  = &3.
      gt_fields-seltext_s  = &3.
      gt_fields-checkbox   = &4.
      gt_fields-cfieldname = &5.
      gt_fields-ref_tabname  = &6.
      gt_fields-ref_fieldname  = &7.
      gt_fields-edit       = &8.
      append gt_fields .
      clear gt_fields .
    END-OF-DEFINITION.
    Modify Catalog
    DEFINE modify_catalog .
      gt_fields-seltext_m = &1 .
      modify gt_fields  transporting seltext_m where fieldname = &2 .
    END-OF-DEFINITION     .
    TOP-OF-PAGE.
      write 'top of page'.
      PERFORM top-of-page.
    start-of-selection
    START-OF-SELECTION .
      PERFORM get_data.
      PERFORM listele .
    *&      Form  listele .
    FORM listele .
      PERFORM get_events .
      PERFORM alv_list_header.
      PERFORM get_field_catalog USING 'LIST' .
      PERFORM display_alv    .
    ENDFORM.                    " listele.
    *&      Form  getfield_Catalog
    FORM get_field_catalog  USING p_tabname .
      fill_catalog :
    'EBELN'   'LIST' '' '' '' 'EKPO' 'EBELN'   '' ,
    'ZZTAHSK' 'LIST' '' '' '' 'EKKO' 'ZZTAHSK' '' ,
    'ZZBLTUR' 'LIST' '' '' '' 'EKKO' 'ZZBLTUR' '' ,
    'MATNR'   'LIST' '' '' '' 'MARA' 'MATNR'   '' ,
    'MATKL'   'LIST' '' '' '' 'MARA' 'MATKL'   '' ,
    'TXZ01'   'LIST' '' '' '' 'EKPO' 'TXZ01'   '' ,
    'NAME1'   'LIST' '' '' '' 'LFA1' 'NAME1'   '' ,
    'MENGE'   'LIST' '' '' '' 'EKPO' 'MENGE'   '' ,
    'MEINS'   'LIST' '' '' '' 'EKPO' 'MENGE'   '' ,
    'FYUKL'   'LIST' '' '' '' 'ZZITH_YUKH' 'ZZDEL_FLAG'   '' ,
    'INCO1'   'LIST' '' '' '' 'EKKO' 'INCO1'   '' ,
    'NETWR'   'LIST' '' '' '' 'EKPO' 'NETWR'   '' ,
    'WAERS'   'LIST' '' '' '' 'EKKO' 'WAERS'   '' ,
    'BEDAT'   'LIST' '' '' '' 'EKKO' 'BEDAT'   '' ,
    'ZZONTAR' 'LIST' '' '' '' 'EKKO' 'ZZONTAR' '' ,
    'SLFDT'   'LIST' '' '' '' 'EKET' 'SLFDT'   '' ,
    'TNAME1'  'LIST' '' '' '' 'T001W' 'NAME1'  '' ,
    'BANFN'   'LIST' '' '' '' 'EKPO' 'BANFN'   '' ,
    'EKNAM'   'LIST' '' '' '' 'T024' 'EKNAM'   '' .
      gt_fields-ddictxt = 'M' .
      MODIFY gt_fields  TRANSPORTING ddictxt WHERE fieldname NE space.
      modify_catalog 'Yükleme No'            'VBELN'   .
      modify_catalog 'Malzeme Türü'          'ZZBLTUR' .
      modify_catalog 'Malzeme Tan&#305;m&#305;'        'TXZ01'   .
      modify_catalog 'Sat&#305;c&#305;'                'NAME1'   .
      modify_catalog 'Teslim &#350;ekli'          'INCO1'   .
      modify_catalog 'Döviz Tutar&#305;'          'ZZTOPLAM'.
      modify_catalog 'Döviz Kodu'            'WAERS'   .
      modify_catalog 'Sipari&#351;i Veren'        'TNAME1'  .
      modify_catalog 'Tahmini &#304;thalat Trh.'  'SLFDT'   .
      modify_catalog '&#304;thalata &#304;ntikal Trh.' 'BEDAT'   .
      modify_catalog 'Dosya Onay Tarihi'     'ZZONTAR' .
      modify_catalog 'Talep No'              'BANFN'   .
      modify_catalog 'Dosya Sorumlusu'       'EKNAM'   .
      modify_catalog 'Yük.Göstergesi'        'FYUKL'   .
    ENDFORM.                    " getfield_Catalog
    *&      Form  display_alv
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv .
      DATA lv_repid LIKE sy-repid .
      lv_repid = sy-repid .
      CLEAR gs_layout.
      gs_layout-zebra                 = 'X'.
      gs_layout-colwidth_optimize     = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = lv_repid
          i_callback_pf_status_set = 'SET_PF_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = gt_fields[]
          it_events                = gt_events[]
        TABLES
          t_outtab                 = list[].
    ENDFORM.                    " display_alv
    FORM set_pf_status USING  iv_nodisplay TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD' ."excluding iv_nodisplay.
    ENDFORM.                    " SET_PF_STATUS
    FORM user_command  USING iv_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
      CASE iv_ucomm .
        WHEN 'PRINT'  . PERFORM print_data .
      ENDCASE       .
    ENDFORM.                    "USER_COMMAND
    FORM get_events .
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = gt_events.
      READ TABLE gt_events WITH KEY name = slis_ev_top_of_page
                               INTO ls_event.
      IF sy-subrc = 0.
        MOVE 'ALV_TOP_OF_PAGE' TO ls_event-form.
        APPEND ls_event TO gt_events.
      ENDIF.
    ENDFORM.                    " getevents
    FORM alv_list_header .
      DATA: ls_line TYPE slis_listheader.
      CLEAR ls_line.
      ls_line-typ  = 'S'.
      ls_line-key  = 'Sat&#305;nalma Org.:'.
      CONCATENATE s_ekorg-low s_ekorg-high
      INTO ls_line-info SEPARATED BY '/'.
      APPEND ls_line TO gt_top_of_page.
      ls_line-key  = 'Sat&#305;nalma Grubu.:'.
      CONCATENATE s_ekgrp-low s_ekgrp-high
      INTO ls_line-info SEPARATED BY '/'.
      APPEND ls_line TO gt_top_of_page.
      ls_line-key  = 'Sat&#305;c&#305;.:'.
      CONCATENATE s_lifnr-low s_lifnr-high
      INTO ls_line-info SEPARATED BY '/'.
      APPEND ls_line TO gt_top_of_page.
      ls_line-key  = 'SAS No.:'.
      CONCATENATE s_ebeln-low s_ebeln-high
      INTO ls_line-info SEPARATED BY '/'.
      APPEND ls_line TO gt_top_of_page.
    ENDFORM.                    " alv_list_header
    FORM alv_top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = gt_top_of_page.
    ENDFORM.                    "TOP_OF_PAGE
    FORM get_data .
      DATA : BEGIN OF tr ,
              menge LIKE eket-menge ,
              dabmg LIKE eket-dabmg ,
             END OF tr ,
             zzfiilytar LIKE zzith_yukh-zzfiilytar  .
    *- Get data ...
      SELECT *
        INTO CORRESPONDING FIELDS OF TABLE list
        FROM ekpo AS a
       INNER JOIN ekko AS b ON bebeln = aebeln
      WHERE b~ebeln IN s_ebeln AND
            b~bukrs IN s_bukrs AND
            b~loekz EQ space   AND
            b~lifnr IN s_lifnr AND
            b~ekorg IN s_ekorg AND
            b~ekgrp IN s_ekgrp AND
            a~loekz EQ space   AND
            a~elikz EQ space .
      LOOP AT list .
        CLEAR tr .
        SELECT menge dabmg
          INTO tr
          FROM eket
         WHERE ebeln = list-ebeln AND
               ebelp = list-ebelp.
          tr-menge = tr-menge - tr-dabmg .
        ENDSELECT.
        IF tr-menge LE 0 .
          DELETE list .
        ELSE .
          list-menge = tr-menge .
          IF tr-dabmg GT 0 .
            list-fyukl = '*' .
          ENDIF .
          SELECT SINGLE butxt INTO list-tname1 FROM t001
            WHERE bukrs = list-bukrs .
          SELECT SINGLE slfdt INTO list-slfdt FROM eket
          WHERE ebeln = list-ebeln AND
                ebelp = list-ebelp .
          SELECT SINGLE name1 INTO list-name1 FROM lfa1 WHERE lifnr = list-lifnr.
          SELECT SINGLE mtart matkl INTO (list-mtart,list-matkl)
          FROM mara WHERE matnr = list-matnr .
          SELECT SINGLE eknam INTO list-eknam FROM t024 WHERE ekgrp = list-ekgrp .
          MODIFY list .
        ENDIF .
      ENDLOOP      .
    ENDFORM.                    " get_data
    FORM print_data .
      LEAVE TO LIST-PROCESSING .
      NEW-PAGE NO-HEADING NO-TITLE LINE-SIZE 229 .
      SET PF-STATUS SPACE .
    PERFORM top-of-page .
    malzeme türü 1005 ler yazd&#305;r&#305;l&#305;r
      PERFORM yazdir_1005 .
    malzeme türü 1005 olmayanlar yazd&#305;r&#305;l&#305;r
      PERFORM yazdir_ne_1005 .
    Sat&#305;nalama gruplar&#305; bilgisi yazd&#305;r&#305;l&#305;r
      PERFORM yazdir_ekgrp .
    ENDFORM.                    " print_data
    FORM top-of-page .
      WRITE : 'ÜLKER GRUBU KONSOL&#304;DE' .
      WRITE AT 40 'Sevkiyat Bekleyen Malzemeler' COLOR COL_HEADING .
      WRITE :  180 sy-uname , sy-datum , sy-uzeit.
      NEW-LINE .
      ULINE 0(229) .
      WRITE :/2 'Rapor Kodu..............:' , (10) sy-tcode .
      WRITE :/2 'Sat&#305;nalma Organizasyonu.:' , (10) s_ekorg-low, '/', (10) s_ekorg-high .
      WRITE :/2 'Sat&#305;nalma Grubu.........:' , (10) s_ekgrp-low, '/', (10) s_ekgrp-high .
      WRITE :/2 'Sat&#305;c&#305;..................:' , (10) s_lifnr-low, '/', (10) s_lifnr-high .
      WRITE :/2 'Sat&#305;nalma Sipari&#351; No....:' , (10) s_ebeln-low, '/', (10) s_ebeln-high .
      NEW-LINE .
      ULINE 0(229) .
    Ba&#351;l&#305;klar yaz&#305;l&#305;r
      FORMAT COLOR COL_HEADING .
      WRITE :
      /(10) 'SAS NO.' CENTERED,
      (6)  'TAHS&#304;S'  CENTERED,
      (5)  'ÖDEME'   CENTERED,
      (5)  'Bel.T'   CENTERED,
      (25) 'MALZEME' CENTERED,
      (25) 'SATICI' CENTERED,
      (12) 'M&#304;KTAR' CENTERED,
      (3)  'BRM' CENTERED,
      (3)  'G' ,
      (7) 'TES.&#350;K.' CENTERED,
      (16) 'DÖV&#304;Z TUTARI' CENTERED,
      (3)  'DB.' CENTERED,
      (13) '&#304;TH.&#304;NTK.TRH.' CENTERED,
      (13) 'DOSYA ON.TRH.' CENTERED,
      (10) 'TAHM&#304;N.&#304;TH.TRH.' CENTERED,
      (20) 'S&#304;PAR&#304;&#350; VEREN' CENTERED,
      (10) 'TALEP NO.' CENTERED,
      (18) 'DOSYA SORUMLUSU' CENTERED.
      ULINE 0(229) .
      FORMAT RESET .
    ENDFORM.                    " top-of-page
    FORM yazdir_1005 .
      DATA ebeln LIKE list-ebeln  .
      SORT list BY zzbltur matnr .
      temp[] = list[] .
      DELETE temp WHERE mtart <> '1005' .
      LOOP AT list WHERE mtart = '1005' .
        CLEAR list-netwr .
        IF ebeln NE list-ebeln OR ebeln EQ space .
          REFRESH total . CLEAR total .
          ebeln = list-ebeln .
          LOOP AT temp WHERE ebeln = list-ebeln .
            list-netwr = list-netwr + temp-netwr  .
            CLEAR total .
            total-txz01 = '*** TKNK.MLZ. TOPLAMI ****' .
            total-meins = temp-meins .
            total-menge = temp-menge .
            COLLECT total .
          ENDLOOP                               .
          PERFORM write_list USING '1'  .
          LOOP AT total .
            PERFORM write_list USING '2'  .
          ENDLOOP .
          AT END OF zzbltur .
            ULINE 0(229) .
          ENDAT .
        ENDIF .
      ENDLOOP .
    ENDFORM.                    " yazdir_1005
    FORM write_list  USING    flag .
    flag 1 1005 için yazd&#305;rma
    flag 2 ise ara toplam
      IF flag = '1' .
       FORMAT COLOR COL_NORMAL .
        WRITE :
        /(10) list-ebeln ,
         (6)  list-zztahsk,
         (5)  list-zterm,
         (5)  list-zzbltur ,
         (25) list-txz01,
         (25) list-name1,
         (12) list-menge,
         (3)  list-meins,
         (3)  list-fyukl,
         (7)  list-inco1,
         (16) list-netwr,
         (3)  list-waers,
         (13) list-bedat,
         (13) list-zzontar,
         (10) list-slfdt ,
         (20) list-tname1,
         (10) list-banfn ,
         (18) list-eknam .
        FORMAT RESET .
      ELSEIF flag = '2'  .
       FORMAT COLOR COL_TOTAL .
        WRITE :
        /(10) '' ,
         (6)  '' ,
         (5)  '' ,
         (5)  '' ,
         (25) total-txz01,
         (25) '' ,
         (12) total-menge,
         (3)  total-meins,
         (3)  '' ,
         (7)  '' ,
         (16) '' ,
         (3)  '' ,
         (13) '' ,
         (13) '' ,
         (10) '' ,
         (20) '' ,
         (10) '' ,
         (18) '' .
        FORMAT RESET .
      ELSEIF flag = '3'  .
       FORMAT COLOR COL_TOTAL .
        WRITE :
       /(10) '' ,
        (6)  '' ,
        (5)  '' ,
        (5)  '' ,
        (25) total-txz01,
        (25) '' ,
        (12) total-menge,
        (3)  '' ,
        (3)  '' ,
        (7)  '' ,
        (16) total-netwr ,
        (3)  '' ,
        (13) '' ,
        (13) '' ,
        (10) '' ,
        (20) '' ,
        (10) '' ,
        (18) '' .
        FORMAT RESET .
      ENDIF .
    ENDFORM.                    " write_list
    FORM yazdir_ne_1005 .
      DATA matnr LIKE list-matnr .
      SORT list BY zzbltur matkl matnr .
      temp[] = list[] .
      DELETE temp WHERE mtart = '1005' .
      LOOP AT list WHERE mtart <> '1005' .
    Her yeni Malzeme için ara toplam yaz&#305;l&#305;r
        IF matnr NE list-matnr AND matnr NE space .
           REFRESH total . CLEAR total .
    Toplamlar al&#305;n&#305;r
          LOOP AT temp WHERE matnr = matnr .
            CLEAR total .
            total-netwr = temp-netwr  .
            total-menge = temp-menge  .
            total-txz01 =  '***     TOPLAM        ****' .
            COLLECT total .
          ENDLOOP                          .
          LOOP AT total .               .
            PERFORM write_list USING '3'  .
          ENDLOOP                       .
          ULINE 0(229) .
        ENDIF                      .
        PERFORM write_list USING '1'  .
        matnr = list-matnr            .
      ENDLOOP                           .
    Toplamlar al&#305;n&#305;r
      LOOP AT temp WHERE matnr = matnr .
        REFRESH total . CLEAR total .
        total-netwr = temp-netwr  .
        total-menge = temp-menge  .
        total-txz01 =  '***     TOPLAM        ****' .
        COLLECT total .
      ENDLOOP .
      LOOP AT total .
        PERFORM write_list USING '3'  .
      ENDLOOP       .
      ULINE 0(229)  .
    ENDFORM.                    " yazdir_ne_1005
    FORM yazdir_ekgrp .
      DATA: BEGIN OF total OCCURS 1 ,
            eknam LIKE list-eknam   ,
            zzbltur LIKE list-zzbltur ,
            sayi TYPE i ,
            END  OF  total          .
      DATA: BEGIN OF gtotal OCCURS 1 ,
            eknam LIKE list-eknam   ,
            zzbltur LIKE list-zzbltur ,
            sayi TYPE i ,
            END  OF  gtotal          .
      DATA: bltur LIKE zzith_bltur OCCURS 1 WITH HEADER LINE .
      DATA: len TYPE i  .
      DATA: wa LIKE total.
      REFRESH temp .
      SELECT * INTO TABLE bltur FROM zzith_bltur .
      CLEAR bltur .
      MOVE : 'ZZZZ'   TO bltur-zzbltur ,  " Sat&#305;r toplam&#305; için ...
             text-002 TO bltur-zztanim .
      APPEND bltur .
      CLEAR list   .
      SORT list BY eknam ebeln .
      DELETE ADJACENT DUPLICATES FROM list COMPARING eknam ebeln .
      LOOP AT list .
        CLEAR : total, gtotal .
        total-eknam = list-eknam .
        total-zzbltur = list-zzbltur .
        total-sayi  = 1 .
        COLLECT total   .
        total-eknam   = list-eknam .
        total-zzbltur = 'ZZZZ' .
        total-sayi  = 1 .
        COLLECT total   .
        gtotal-eknam = text-001 .
        gtotal-zzbltur = list-zzbltur .
        gtotal-sayi  = 1 .
        COLLECT gtotal   .
        gtotal-eknam = text-001 .
        gtotal-zzbltur = 'ZZZZ' .
        gtotal-sayi  = 1 .
        COLLECT gtotal   .
      ENDLOOP      .
      FORMAT COLOR COL_HEADING.
      ULINE AT /1(145).
      WRITE :/
      sy-vline , (15) 'Dosya Sorumlusu' , sy-vline .
      LOOP AT bltur .
        WRITE :(15) bltur-zztanim  , sy-vline .
      ENDLOOP  .
      ULINE AT /1(145).
      FORMAT RESET   .
      total-zzbltur = '0001' .
      MODIFY total TRANSPORTING zzbltur WHERE zzbltur = space .
      gtotal-zzbltur = '0001' .
      MODIFY gtotal TRANSPORTING zzbltur WHERE zzbltur = space .
      SORT total BY eknam .
      LOOP AT total  .
        AT NEW eknam .
          WRITE :/
          sy-vline , (15) total-eknam COLOR COL_HEADING ,
          sy-vline .
          LOOP AT bltur   .
            len = sy-tabix * 18 .
            len = len + 3 .
            CLEAR wa .
            READ TABLE total INTO wa WITH KEY zzbltur = bltur-zzbltur
                                              eknam   = total-eknam .
            WRITE AT len(15) wa-sayi NO-ZERO.
            WRITE sy-vline .
          ENDLOOP    .
        ENDAT      .
      ENDLOOP .
      LOOP AT gtotal  .
        AT NEW eknam .
          FORMAT COLOR COL_TOTAL .
          WRITE :/
          sy-vline , (15) gtotal-eknam ,
          sy-vline .
          LOOP AT bltur   .
            len = sy-tabix * 18 .
            len = len + 3 .
            CLEAR wa .
            READ TABLE gtotal INTO wa WITH KEY zzbltur = bltur-zzbltur
                                               eknam   = text-001    .
            WRITE AT len(15) wa-sayi NO-ZERO.
            WRITE sy-vline .
          ENDLOOP    .
        ENDAT      .
      ENDLOOP .
      ULINE AT /1(145).
      FORMAT RESET .
    ENDFORM.                    " yazdir_ekgrp

    Hi,
    In the function  use the top-of-page event as follows:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
                    I_BYPASSING_BUFFER          =
                    I_BUFFER_ACTIVE             =
                    I_INTERFACE_CHECK           = ' '
                 I_CALLBACK_PROGRAM          = 'ZRPMSLM'
                    I_CALLBACK_PF_STATUS_SET    = ' '
                    I_CALLBACK_USER_COMMAND     = ' '
               <b>  I_CALLBACK_TOP_OF_PAGE      = 'TOP'</b>
    Define whatever to appear in top-of page in a subroutine named TOP.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Multiple cost centers postings in RE-FX.

    Hello everyone!
    We are currently implementing SAP Flexible Real Estate solution to manage the company's properties. We are facing some problems regarding the distribution of rental costs among multiple costs centers. Our scenario is basically this (example):
    1)In our usage view we have one building with three rental spaces connected to it. Each rental space has different area-measurements and represents different segments in our company (with a specific cost-center associated to it).
    2)The company doesn`t own the building, the structure is rented from a person outside the organization. In this case we`ve created a Commercial lease-in type of contract (external contract, where the company is the user of the object).
    3)This contract contains the three rental spaces mentioned above, and we've configured the contract condition to distribute the rental costs among these objects based on the area measurement.
    4)When we perform transaction RERAPP for this contract to pay the vendor we`ve noticed that even though the costs where divided among the objects, the cost-centers were not updated.
    Considering that the contract doesn't have a cost center field in it and also considering that we have to update multiple cost-centers (with a distribution criteria based on measurements), we would like to know if someone have this kind of problem before?
    We are using an older version of the SAP System(4.7) that doesn't offer as many options as more recent versions (such as 6.0)
    Thanks a lot!
    Gizele Bueno

    Hi,
    In this case, instead of Cost centres, Real estate Objects will act as the Cost carriers. No need for Cost centres at all.
    Since the Real Estate Objects master data contain Profit centre field, the values posted to Real estate Objects will be automatically carried to the Profit centres as well.
    During Periodic processing of Real Estate Contracts, the system will automatically post to the Transfer and Posting. During transfer posting values will be posted from Real Estate Contract to the Real estate Object.
    You can track costs and revenues through Real Estate Objects directly, No need for Cost centres at all.
    Thanks
    Siva

  • Issue in updating Cost Centers for Employees

    Hi All,
    1.     Is it necessary that infotype 0000 & 0001 needs to be in synchronization i.e. both the infotypes should contain same no. of records?
    2.     Is it necessary to assign cost center to both the position and the employee in infotype 0027 for Payroll purpose or either of one assignment is sufficient? What is the purpose of assigning cost center to a position & cost center to an employee in infotype 0027
    3.     We have assigned cost centers to positions & all the employees via infotype 0027. Now I have a situation that the company has created new cost centers as per their business line with effect from Jan 2011. How do I update these new cost centers to position as well as all the employees?
    If I assign new cost center to all the positions thru PO13 from 01.01.2011 than system delimits the record in infotype 0001 so now there is 1 record in infotype 0000 & 2 records in infotype 0001. For example an employee is hired on 01.03.2009 with cost center A assigned to his position & in infotype 0027. Now if I assign new cost center B to his position than the system delimits hiring record in infotype 0001. So now there are 2 records in infotype 0001 i.e. 01.03.2009 to 31.12.2010 & second is 01.01.2011 to 31.12.9999. If I do the assignment of new cost centers only in infotype 0027 then system posts the payroll result to old cost center rather than new cost centers. How to resolve this issue?
    Regards,
    VG

    1. Yes. It should be. But in your case this is an exception. It will still work even if the 0000 and 0001 don't have the same number of records.
    2. You should only use it0027 if an employee is charging costs to two or more cost centers. You can define here the cost centers where they are charging and the percentage of division between cost centers
    If you dont have scenarios like this, DO NOT use this infotype.
    For assignment of cost centers to employee (Infotype 1) or to positions (via PO13). You should only use one method. If you are assigning the cost center manually in IT0001 during hiring then you don't need to enter the cost center in the positions.
    If you are entering the cost center in the Positions objects, then configure the system so that everytime you do hiring actions (or maintain infotype 1) the cost center assigned to the position is inherited in the infotype 1's cost center field.
    Don't assign it to both Infotype 1 manually and the position at the same time, using this method, you'll eventually have data inconsistencies.
    For you issue regarding the delimitation of the IT0001, this is ok. This is standard, the infotype 1 is delimited since you have a new cost center assignment for the succeeding period.  You don't have to create an Action record since there was no employee movement, only change in cost center assignment. (which is the purpose of the Action infotype-- to record employee movement)
    It won't mess with your payroll, your infotype 1 just have an extra record.

  • Problems after transfering Cost centers with LSMW

    Hi,
    I have a problem after transfering Cost Centers with LSMW.
    The first Batch input run created all cost centers in one CC Group erroneously - cause they should be placed in different CC groups.
    I changed LSMW settings and made another batch input run - now the Cost centers were created in proper groups. I think that I deleted all CC's created in previous batch input run, but now I am not too sure, because there is a problem...
    Cost centers exist both in their proper groups and in the one group mentioned by me before. So there is such situation that Cost center appears in Standar hierarchy twice at the same time.
    When I delete cost centers - they are removed from their proper groups but the CC entry remains in that one group - all CC are there inactive.
    How can I get rid of them. I tried deleting them - but it's impossible - the system doesn't see them.
    When I run the batch input again - the same cost centers appear in proper groups and at the same time they become active in the one group. The standard hierarchy group is not UNIQE.
    Please advice me how to delete these entries from standard hierachy.
    Best wishes,
    Karol

    Hi,
    Always recommended before loading into live system: upload in test system and check. check again just to make sure all is correct before real load.
    In your case you probably would have been best to do a group change after incorrect upload.
    Do Ambiguity check in stadnard hierarchy to explore all incorrect entries. Depending on your version yo ucan change in that function (ECC6) ore need to run a report. Before running the report check that CC master records have correct entry. The report is RKCORRH1
    Again, try in QA first and run in Test Run
    Good luck
    Hein

Maybe you are looking for

  • RAM issues regarding CPU + Mobo & OC'ing

    edited from different thread Hi there, I've been having problems with my RAM, that is its running at 333mhz/freq = 157 etc.. I'll list my old system as well as my new one which will help explain my confusion....hopefully.... My new system is thus: -M

  • T60 think pad and HP monitor w2338h compatibility issues

    I bought an HP w2338h monitor (23") for use with my T60 laptop, but was unsuccessful in getting it properly set up. My husband had no problem plugging it into his HP laptop (all settings were fine).  The problem when it's hooked up to my IBM laptop i

  • Add Header Line tot he output File

    Hi, Proxy to File Senario. Details records are coming through proxy. I need to add a static header line in the file that is created.. The Header line is something Like this :- "SSN";"UPI";"EFF_DATE";"STATUS";"STATUS_ACTION_CD";"PAY_CONTINUATION";"LAS

  • I have installed the free trial i but the rendering is not working

    when i tried to playback one of my video file i hit play and it simply doesnt work

  • HELP! - Mail 2.0.7 unexpectedly quits on attemt to configure priority field

    PLEASE, ...if someone could point me to actions I haven't already tried, that would be MOST WELCOME. Here's what I already went through: - repaired permissions - maintainance, cron-scripts, cashes and all (Cocktail) - OS update to 10.6.4 (from 10.6.5