Cost Centre is not getting for all line items in FAGLL03 dump.

Hi All,
When we executhe the t.code FAGLL03, at the ledget level (0l&Z1) cost center filed is coming blank, however for one document cost center filed is displayed.
We executed FAGLL03, without ledger(0L&Z1) cost center filed is displayed.
Please let us know is there any setting to display cost center at the ledger wise?
Thanks and Regards,
Ram

Hi Alex,
Thanks for your quick response.
we are using 6.0 version, is there any configuration to get cost center filed in the FAGLL03?
When we selected entry view, the all cost center fileds are displayed, however we selected GL view the cost center filed is coming blank.
I hope some config is there to display cost center filed in 6.0 ECC?
Thanks
Ram

Similar Messages

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • ME21N - new field added and same value posted to it for all line items

    hi all
    i have added new field under item  level in me21n screen.
    data for new filed fetched from tables with values entered in header level material number.
    For one record, it is ok
    but for multiple records, same value is fetched for all line items
    i have written coding in screen exit for 0111
    and function exits EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    how to solve
    pl help
    regards
    senthil

    MODULE STATUS_0111 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      if sy-tcode eq 'ME23N' or sy-tcode eq 'ME23'.
        LOOP at SCREEN.
          if screen-group1 ne 'PCS'.
            screen-input = 0.
            MODIFY SCREEN.
          endif.
        ENDLOOP.
      ENDIF.
      TYPES : BEGIN OF ty_cabn1,
             atnam TYPE cabn-atnam,
           end of ty_cabn1.
      DATA : itab_cabn1 TYPE STANDARD TABLE OF ty_cabn1 INITIAL SIZE 0,
             wa_cabn1 TYPE ty_cabn1.
      TYPES : BEGIN OF ty_cawn1,
        atinn TYPE cawn-atinn,
        atzhl TYPE cawn-atzhl,
        atwrt TYPE cawn-atwrt,
        end of ty_cawn1.
      DATA : itab_cawn1 TYPE STANDARD TABLE OF ty_cawn1 INITIAL SIZE 0,
             wa_cawn1 TYPE ty_cawn1.
      TYPES : BEGIN OF ty_cawnt1,
       pcs TYPE cawnt-atwtb,
        atinn TYPE cawnt-atinn,
        atzhl TYPE cawnt-atzhl,
        atwtb TYPE cawnt-atwtb,
          end of ty_cawnt1.
      DATA : itab_cawnt1 TYPE TABLE OF ty_cawnt1,
             wa_cawnt1 TYPE ty_cawnt1.
      TYPES : BEGIN OF ty_pcs1,
    pcs TYPE cawnt-atwtb,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
        end of ty_pcs1.
      DATA : itab_pcs3 TYPE TABLE OF ty_pcs1,
             itab_pcs4 TYPE TABLE OF ty_pcs1,
             wa_pcs1 TYPE ty_pcs1.
      TYPES : BEGIN OF ty_pcsn,
      matnr TYPE ausp-objek,
      ebelp TYPE dynpread-stepl,
      atwrt TYPE cawn-atwrt,
      atwtb TYPE cawnt-atwtb,
      END OF ty_pcsn.
      DATA : itab_pcsn TYPE TABLE OF ty_pcsn,
             wa_pcsn TYPE ty_pcsn.
      TYPES : BEGIN OF ty_ausp1,
         objek TYPE ausp-objek,
         atinn TYPE ausp-atinn,
         atwrt TYPE ausp-atwrt,
       END OF ty_ausp1.
      DATA : itab_ausp1 TYPE STANDARD TABLE OF ty_ausp1 INITIAL SIZE 0,
             wa_ausp1   TYPE ty_ausp1.
      DATA : param_name1(35) TYPE  c.
      DATA: progname1      TYPE sy-repid,
            dynnum1        TYPE sy-dynnr,
            dynpro_values1 TYPE TABLE OF dynpread,
            dynpro_values2 TYPE TABLE OF dynpread,
            field_value1   LIKE LINE OF dynpro_values1,
            ematn1         TYPE mara-matnr.
      if sy-tcode ne 'ME23N' and sy-tcode ne 'ME23'.  "psk
        clear : itab_cabn1,itab_cawn1,itab_cawnt1,itab_pcs3,itab_pcs4,itab_pcsn,itab_ausp1.
        clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
        if sy-uname eq 'IBM_ABAP'.
          param_name1 = '000000001'.
        else.
          param_name1 = '000000013'.
        endif.
        SELECT atnam
        FROM cabn
        INTO CORRESPONDING FIELDS OF TABLE itab_cabn1
        WHERE atinn  = param_name1.
        select *
        FROM cawn
        into CORRESPONDING FIELDS OF TABLE itab_cawn1
        WHERE atinn = param_name1.
        if itab_cawn1[] is NOT INITIAL.
          SELECT atinn atzhl atwtb
          FROM cawnt
          INTo CORRESPONDING FIELDS OF TABLE itab_cawnt1
          FOR ALL ENTRIES IN itab_cawn1
          WHERE atinn = itab_cawn1-atinn
          AND atzhl = itab_cawn1-atzhl.
        endif.
        if itab_cawnt1[] is NOT INITIAL.
          sort itab_cawnt1 by atinn atzhl.
          loop at itab_cawnt1 INTO wa_cawnt1.
            READ TABLE itab_cawn1 INTO wa_cawn1 with key atinn = wa_cawnt1-atinn
                                                         atzhl = wa_cawnt1-atzhl BINARY SEARCH.
            if sy-subrc eq 0.
           CONCATENATE wa_cawn-atwrt '->' wa_cawnt-atwtb INTO wa_cawnt-pcs.
           MODIFY itab_cawnt FROM wa_cawnt TRANSPORTING pcs.
           wa_pcs-pcs = wa_cawnt-pcs.
              wa_pcs1-atwrt = wa_cawn1-atwrt.
              wa_pcs1-atwtb = wa_cawnt1-atwtb.
              append wa_pcs1 to itab_pcs3.
            ENDIF.
            CLEAR : wa_cawnt1,wa_cawn1, wa_pcs1.
          ENDLOOP.
        ENDIF.
        CLEAR: dynpro_values1, field_value1.
    dynpro_values-FIELDNAME = 'MEPO1211-EMATN'.
    APPEND dynpro_values.
        field_value1-fieldname = 'MEPO1211-ematn'.
        APPEND field_value1 TO dynpro_values1.
        progname1 = 'SAPLMEGUI'.
        dynnum1 = '1211'.
        CALL FUNCTION 'DYNP_VALUES_READ'
          EXPORTING
            DYNAME                               = progname1
            DYNUMB                               = dynnum1
      TRANSLATE_TO_UPPER                   = ' '
         REQUEST                                = 'A'
      PERFORM_CONVERSION_EXITS             = ' '
      PERFORM_INPUT_CONVERSION             = ' '
      DETERMINE_LOOP_INDEX                 = ' '
      START_SEARCH_IN_CURRENT_SCREEN       = ' '
      START_SEARCH_IN_MAIN_SCREEN          = ' '
      START_SEARCH_IN_STACKED_SCREEN       = ' '
      START_SEARCH_ON_SCR_STACKPOS         = ' '
      SEARCH_OWN_SUBSCREENS_FIRST          = ' '
      SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
          TABLES
            DYNPFIELDS                           = dynpro_values1
       EXCEPTIONS
         INVALID_ABAPWORKAREA                 = 1
         INVALID_DYNPROFIELD                  = 2
         INVALID_DYNPRONAME                   = 3
         INVALID_DYNPRONUMMER                 = 4
         INVALID_REQUEST                      = 5
         NO_FIELDDESCRIPTION                  = 6
         INVALID_PARAMETER                    = 7
         UNDEFIND_ERROR                       = 8
         DOUBLE_CONVERSION                    = 9
         STEPL_NOT_FOUND                      = 10
         OTHERS                               = 11
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    READ TABLE dynpro_values1 INTO field_value1 with KEY fieldname = 'MEPO1211-EMATN'.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear ematn1.
          if sy-subrc eq 0.
            ematn1 = field_value1-fieldvalue.
          endif.
          if ematn1 is not INITIAL.
            clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = ematn1
              IMPORTING
                OUTPUT = ematn1.
            select *
            FROM ausp
            INTO CORRESPONDING FIELDS OF TABLE itab_ausp1
            WHERE objek = ematn1
            and atinn = param_name1.
            CLEAR itab_pcs4.
            if itab_ausp1[] is not INITIAL.
              sort itab_ausp1 by atinn atwrt.
              sort itab_cawn1 by atinn.
              READ TABLE itab_ausp1 INTO wa_ausp1 INDEX 1.
              loop at itab_cawn1 INTO wa_cawn1 WHERE atinn = wa_ausp1-atinn AND atwrt = wa_ausp1-atwrt.
                READ TABLE itab_cawnt1 INTO wa_cawnt1 WITH KEY atinn = wa_cawn1-atinn
                                                                atzhl = wa_cawn1-atzhl.
                if sy-subrc eq 0.
                  wa_pcs1-atwrt = wa_cawn1-atwrt.
                  wa_pcs1-atwtb = wa_cawnt1-atwtb.
                  append wa_pcs1 to itab_pcs4.
                  wa_pcsn-matnr = wa_ausp1-objek.
                  wa_pcsn-ebelp = field_value1-stepl.
                  wa_pcsn-atwrt = wa_cawn1-atwrt.
                  wa_pcsn-atwtb = wa_cawnt1-atwtb.
                  APPEND wa_pcsn to itab_pcsn.
                ENDIF.
                clear : wa_ausp1,wa_cawn1,wa_cawnt1.
              ENDLOOP.
            ENDIF.
           clear wa_pcs1.
           read TABLE itab_pcs4 into wa_pcs1 index 1.
           if sy-subrc eq 0.
             EKPO_CI-ZPCS = wa_pcs1-atwrt.
           endif.
          ENDIF.
        ENDLOOP.
        CLEAR: field_value1.
        LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
          clear wa_pcsn.
          if field_value1-fieldvalue is not INITIAL.
            read TABLE itab_pcsn INTO wa_pcsn with key  matnr = field_value1-fieldvalue
                                                        ebelp = field_value1-stepl.
            if sy-subrc eq 0.
              clear  EKPO_CI-ZPCS.
    *EKPO_CI-ZPCS = wa_pcs1-atwrt.
              EKPO_CI-ZPCS = wa_pcsn-atwrt.
            endif.
          endif.
        ENDLOOP.
       CLEAR: field_value1, dynpro_values1.
       progname1 = 'SAPLXM06'.
       dynnum1   = '0111'.
       field_value1-fieldname = 'EKPO_CI-ZPCS'.
       APPEND field_value1 TO dynpro_values1.
       if ematn1 is not INITIAL.
         clear wa_pcs1.
         read TABLE itab_pcs4 into wa_pcs1 index 1.
         if sy-subrc eq 0.
           EKPO_CI-ZPCS = wa_pcs1-atwrt.
         endif.
       ENDIF.
      endif.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    Function exits:
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_016
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U41 .
    DATA XFISTL LIKE EKPO-FISTL.
    TABLES: ADRC, T001W.
    DATA: PLANT LIKE T001W-WERKS.
    SELECT SINGLE * FROM T001W WHERE WERKS = I_EKPO-WERKS.
    SELECT SINGLE * FROM ADRC WHERE ADDRNUMBER = T001W-ADRNR.
    XFISTL = ADRC-SORT2.
    SET PARAMETER ID 'FIS' FIELD XFISTL.
    * Added For PCS 12.11.2010
    DATA : fs_ekpo type EKPO_CI.
    if sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
    *  if tekpo-zpcs is INITIAL.
    *    message e000(zmm) with 'PCS Type should be chosen'.
    *  endif.
      loop at tekpo.
        if ( tekpo-ebeln eq i_ekpo-ebeln and tekpo-ebelp eq i_ekpo-ebelp ).
          ekpo_ci-zpcs = tekpo-zpcs.
        endif.
      ENDLOOP.
    endif.
    ^^^^^^^^^^^^^^^^^
    EXIT_SAPMM06E_018
    ^^^^^^^^^^^^^^^^^
    INCLUDE ZXM06U40 .
    E_CI_EKPO-ZPCS = EKPO_CI-ZPCS.
    E_CI_UPDATE = 'X'.

  • What is Tcode for single delivery for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code :VL31N,
    Regards,
    JS

  • Tcode to create single delivery document for all line items in PO

    Hi all,
    Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
    Thanks
    Anil

    Hi,
    Inbound delivery T.code VL31N.
    Regards,
    JS

  • Add cost centre name field or description in line item reports

    Dear all,
    How can the cost centre name or description be added in a report's lines (i.e. FBL1N). These fields (columns) are not included in the reports and need to add them. I have tried through special fields to include them but the table CSKSZ and fields KTEXT (Cost Centre name) and LTEXT (Cost centre description) are not included.
    Regards,
    George

    Hello,
    You must use business transaction event 1650 for adding special field to FBL*N reports.
    Please refer OSS note below.
    Note 984305 - Line item: Definition of special fields (T021S)
    I hope it helps to you.
    Regards,
    Burak

  • Header data not getting updated in line item level

    Hi,
    We are trying to update Pricing date at header level but it is not gettting copied to item level.
    getting an message "The header business data does not apply to item xxxx"
    i have checked the item category and "business item" field is checked. and for the same sales order previously we were able to change the pricing date at header level and it got applied to item level but this time is is not getting applied.
    kindly suggest.

    If there are multiple line items which are having different data; in your case, Pricing Date, then in that case, when you try to change at header level, system will pop up this message.
    You can also have a look at the following note:-
    Note 336660 - Message V1403 in sales order with article order no
    G. Lakshmipathi

  • Change in one line item should Populate for all line items

    Hi ,
    We have added one custom field Prefereed Vendor at line item level.
    We have requirement that if Prefereed Vendor at one line item level is changed,
    then it should populate for all the line items.
    Can any one tell me how it can be implemented?
    Thanks in Advance.
    Snehal

    Hello,
    I assume you are referring to SC. In standard SRM Preferred Vendor is a partner to an Item. But based on your post, have you added the Preferred vendor as a CUF field?
    Anyway we can achive your requirement in DOC_CHANGE_BADI. This BADI has importing parameter IT_ITEM and exporting as ET_ITEM.
    1. Get the SC from PD buffer using BBP_PD_SC_GETdETAIL into LT_ITEM
    2. Compare the preferred vendor for every item in IT_ITEM with corresponding item in PD buffer
    3. If for some item, the preferred vendor for IT_ITEM is diferrent from that of LT_ITEM --> means we found the item for which preferred vendor was chaged
    4. Now populate ET_ITEM based on IT_ITEM along with copying the preferred vendor from changed item to all items.
    Rgds,
    Prasanna

  • How to calculate QCI when shipment confirmation for all Line Item?

    Dear All,
    I am facing problem as below.
         I created shipment having 4 compartment planning with capacity 5KL each. So I allocate and fill 5KL for each compartment. When I go to loading confirmation(O4G1) I have 4 line items for each compartment. When I calculate QCI for that shipment, I able to calculate only for 1st compartment (1st line Item). I want to calculate QCI for all (Compartments) line items or total quantity of the compartment.
    I waiting for your valuable reply.
    Regards,
    Rahul Hande

    SDN is not your code factory, please research yourself before posting, maybe ask whoever handed you this requirement?
    Thread locked.
    Thomas

  • Business area not defaulted for tax line item

    Hello Friends,
    I am posting Customer invoice, when I simulate the invoice that time Output tax is automatically calculating the tax. My problem is, in the Output tax line item business area is required field which is appearing in display mode.
    T code - OBXM. Here we will configure this and at the month end we will run the following transactions.
    F.5D, F.5E.
    I want to know step by step cinformation for this. If you have any documentation send it to [email protected]
    Rams.N
    Points will be assigned for the right answer

    hi,
    If you are using business area method then you want to create all sales tax GL with business area optional. And You create one GL like Tax clearing account(business area optional)and assign the same in OBXM against all the sales tax GLs.
    Then you want to run F.5d and F.5e on everymonth.
    govind.

  • How to calculate freight equally for all line items

    Hi All
    I have a situation, In a PO i have 4-5 line items and the total freight is 10% on the PO value. I need to distribute the freight value equally to all the line items.
    Your suggestions please
    Regards
    Jagadish

    Hi
    Goto V/06 and make your condition type as header condition and in maintain condition record as 10%
    HEADER condition will not be having ACCESS SEQ
    Regards
    Vishal

  • Pricing procedures, am not getting for all in V/08 t code??

    hi experts,
    Is pricing procedures r assigned/defined based/specific  to/on BUKRS/VKORG?
    Where Can I see the my_company_UK_branch pricing procedures? i mean, company BUKRS wise, proicing procedures?
    thanq.
    Message was edited by:
            Srikhar
    Message was edited by:
            Srikhar

    T683V table.

  • Workflow not working for multiple line items

    Hi gurus,
    we are working on ECN/ECO workflow.
    Once ECN is created in CC01, our workflow triggers.
    we are calling subflow from main WF for enhancing the materials of the Engineering change number(ECN).
    Subflow will take the material to different departments for enhancing the views like,
    Purchasing views by purchasing dept,
    quality views by quality dept,
    sales views by sales dept,
    etc.
    This whole process is working fine, if there is single material number in ECN.
    But, if there are 2 material numbers, the control is not returning back to MAIN WF from Subflow.
    do we need any config/setup to make it work. (we are using block while calling subflow).
    Any help will be of gr8 use.
    rgrds.
    santosh.

    Can you please update on what is the status in the workflow log. You can check this from SWIA tcode.
    If it is in process step please check for ST22 dump if any.
    Thanks
    Arghadip

  • Spool is not generating for deleted line item in PO.

    Hi Experts,
    A PO which was created in SRM pushed into SAP environment and when it was created initially spool was generated and user was able to take the print out. But if he delete a linte item no spool is created and message log was saying there is print relevent changes exists. I could the the change updated linte item change history of that PO.
    I tried replicating the scenario in test environment but I have not come across this situation. Please help if any one worked on similar problem.
    Thanks in advance,

    Hi Experts,
    Any suggestions.
    Regards,

  • Get the Change log for ALV line items

    Hello Experts,
    I am using editable ALV table to display/change data. When user modifies data from ALV line items manually (direct entry), this change is recorded in get_context_change_log method of context node. Also in the screen I have one button, on click of this button I do some calculation for selected line items in action method and update the context node with new values. But with this second approach (button action) though values gets changed this is not recorded in to get_context_change_log of context node. I tried to use method add_context_attribute_change  in button action method to add attribute changes to change log tabel but it's not adding entries to change log. Does method add_context_attribute_change only works with OVS search helps and freely programmed value helps? And is there any other way for capturing changes(done by using action method and not manually) for ALV line items?
    Thanks & Regards
    Jayant

    Here is code:
    METHOD.
    This method is in component controller, which gets called from View Action method (on click * of button).
      FIELD-SYMBOLS:<lfs> TYPE  Data.
    *Data Declaration
      DATA lo_nd_cn_apc_item TYPE REF TO if_wd_context_node.
      DATA lit_apc_item TYPE wd_this->elements_cn_apc_item.
      DATA lo_el_cn_apc_item TYPE REF TO if_wd_context_element.
      data: l_component type ref to if_wd_component,
            l_context type ref to if_wd_context,
            lfd_added type abap_bool.
      CLEAR:lo_nd_cn_apc_item,lo_el_cn_apc_item.
      navigate from <CONTEXT> to <CN_APC_ITEM> via lead selection
      lo_nd_cn_apc_item = wd_context->get_child_node( name = wd_this->wdctx_cn_apc_item ).
      REFRESH:lit_apc_item.
      @TODO handle non existant child
      IF lo_nd_cn_apc_item IS NOT INITIAL.
        lo_nd_cn_apc_item->get_static_attributes_table( IMPORTING table = lit_apc_item ).
    get element via lead selection
        lo_el_cn_apc_item = lo_nd_cn_apc_item->get_element( ).
      ENDIF.
            l_component = wd_this->wd_get_api( ).
            l_context = l_component->get_context( ).
    Calculate Cost
      LOOP AT lit_apc_item ASSIGNING  <lfs>.
            <lfs>-cal_amount = ( <lfs>-cost_percent * <lfs>-sec_amount ) / 100.
            lfd_added = l_context->add_context_attribute_change(
                element              = lo_el_cn_apc_item
                attribute_name       = 'CAL_AMOUNT'
                new_value            = <lfs>-cal_amount
      ENDLOOP.
    Bind Table.
      lo_nd_cn_apc_item->bind_table( new_items = lit_apc_item set_initial_elements = abap_true ).
    ENDMETHOD.

Maybe you are looking for