Break up of WIP valuation is not getting.

Dera sap experts,
i have one problem , i am not able to see the break up of WIP valuation.Under the WIP much OVH, mat and labour cost booked un the production order.
my company scenario is product cost by order and when i put the t-code kkax, only able to see total figure of WIP not breakup wise and getting message " WIP explanation only available for valuation at target cost".
But product by order is only at actual cost.
pls let me what is the solution to get the WIP report break up wise.
for exp. WIP = rs10000
which mat    = rs2000
         OVH   = rs5000
         Lab     =Rs3000
Total             =rs10000
awaiting for your reply
Bikash Singha

hi,
the WIP explanation is not available for the APO scenario. You can only view the summarized WIP values via KKAS or KKBC_PKO
regs,
ramesh b

Similar Messages

  • WIP settlement does not get reversed ..

    Dear Experts,
    We have capital projects where we use result analysis and settlement to FI to capitalize costs. We do not use IM and Fixed asset here.
    During the periodic process, we run result analysis which calculate WIP, and then settlement. The FI document would be genereated for incremental balance in WBS. At the end when we capitalize the costs, we set 'TECO' to a WBSE, after we run result analysis and settlement. Costs get settled to a balance sheet account correctly and a PL account and WBS got credited. However, the WIP calculated and FI documents previously generated did not get reversed automatically. We will have to run settlement another time to get this WIP reversed. I believe that this reversal should occur at the same time of the first settlement run(correct me if i am wrong).
    What did i do wrong?? What are necessary steps that i need to take in getting this issue resolved? Your timely help is appreciated.
    Please help!
    Monica.

    Virendra,
    For now, we do not use IM and AA yet, we use WIP to mimick the process if we were to have AuC.
    You're correct.Those postings do not hit WBS. So, at the end at TECO status, we settle to an asset GL account. however, i think once we run the settlement 2 things should happen at the same time - costs are settled to a GL account and credit WBS; the other is FI documents should get reversed. Currently, only the first step occurs. We need to run settlement another time to get the FI documents(which do not hit WBS) reversed.
    Do you know why it is so??
    Monica.

  • WIP FI entry not reversed for refurbishment order

    Hi Experts,
    I have run the WIP and settled the order in July month for one refurb order and the accounting entry is generated, the order status was REL at that time, now in the month of august the GR is done done for the order and the  status is DLV, TECO.
    In august month when i try to settled the order( not runed KKS2) the WIP entry is not getting reversed.I have done all the WIP settings and in OKGC also the the WIP cancellation if it is DLV and TECO is available for my controlling area.
    Could you please advice me what would be the reason for this.
    Regards
    SB

    Ajay,
    I donu2019t see test run tab in KKA1, when I executed KKA1 by selecting full log I got the analysis screen and saved.
    July u2013 executed KKA1 saved and did settlement Ko88 u2013 WIP FI entry generated
    August- Order TECOed and did the settlement Ko88 u2013 FI entry generated but WIP entry was not reversed. Is this because of not running KKS2 in August?
    I reversed the settlement in August and did variance calculation and did settlement, even though the WIP entry is not reversed.
    Thanks,
    SB

  • Contents of new costing variant, valuation variant and costing sheet not getting transported

    In our development client,I have created a new costing variant, a new valuation variant and a new costing sheet in separate transports.
    When I release the transports to move into the Test client, the contents of the configuration are not getting transported at all.
    I tried to do them again manually using  Table view - Transport , but again, if I view the transports in SE10,they don't show the table contents, etc.
    Any help on this will be highly appreciated.

    Ajay,
    Let me make sure I understand.
    Create a new TR using SE01
    Go to transaction OKKN (costing variant)
    Select the costing variant and then choose Table view - transport
    Provide the transport number
    At what point to I say 'include in request'
    If I try to use the menu option Edit-Transport-Include in request in the beginning itself, the 'Include in request' is greyed out.
    This is where I'm stuck

  • Purchase Requisition Price "valuation Price" is not getting copied into PO

    Hi MM Expert,
    we are facing a problem with PO price not getting copied from PR, our Client dont want to maintain the Info record as material they are using is generic (general, not specific or special),  so is there any way or configuration setting so the PR price get copied into PO
    Please help me to come out from this issue
    Thanks in advance
    Priya

    Hi,
    Yes there is a way to fix this.
    Please follow the steps below.
    1) SPRO --> MM --> Purchasing --> Authorization Management --> Define Function Authorizations for Buyers
    2) Maintain 01 function authorization or copy it to create a new one
    3) Under General Parameters, Check Adopt PO Price.
    4) If you would like PO to have reference objects as mandatory, uncheck W/o Reference Optional
    5) Go to each buyers ID by SU01 --> Parameter. Enter EFB and enter the 2 codes that you defined in Step 2.
    6) Log out then log back in
    Now with that ID, when you create PR, under valuation, you have a new drop down button asking whether you would like to adopt the price in PO.
    Hope this helps.

  • TS4006 I am not getting the notice that my wipe went through 6 hours ago

    I am not getting the notice that my wipe went through 6 hours ago

    That's most likely because it hasn't gone through then. Perhaps the device is no longer powered on, no longer has an internet connection or has been wiped.

  • CCS Details are not getting updated to COPA in Sales Order Settlement(VA88)

    Dear Experts,
    Our scenario is MTO with valuated material.
    1. Production order is tagged to Sales Order.
    2. Production order is settled to Material and variance is getting posted to COPA.
    3. At the time of Delivery, COGS Debit (Cost Object- Sales Order), Credit - Inventory.
    4. At the time of Billing, Accounting Document is getting generated, COPA document is not getting generated.
    5. We  are not executing WIP. (as per Business process)
    6. Settlement is done thru transaction code VA88. COPA Document is getting generated.
    I am facing the following issues in the above MTO process.
    1. At time of sales order settlement thru VA88, In COPA, only COGS is getting as updated with one value field i.e. Material Cost.  Cost Component data (Material Depreciation, Labor etc..) is not getting updated to COPA.
    2. When I settle the Sales Order thru VA88, Billing Quantity is not getting updated to COPA though Quantity field mapping is done properly.
    Please help me how to resolve the above issues.
    Note: Same Cost Component Structure, we are using for Make to Stock scenario. Cost Component Data is getting updated Properly to COPA  (at the time of Billing)
    Regards,
    vgl
    Edited by: vglokam on Aug 31, 2010 10:52 AM
    Edited by: vglokam on Aug 31, 2010 10:54 AM

    Hi
    1. CCS (Cost Comp Split) wont be updated to COPA if you settle via sale order.. In sale order, COGS cost element is posted.. the same will get settled to COPA as one single value...
    In MTS, the CCS gets updated to COPA upon billing because of the "valuation" strategy customization... Billing posts to COPA in that case, COPA gets Sales Qty and it is valuated with CCS to give you the break up.. But, in your case, Billing is not posting to COPA, but to sales order.. hence, there is no qty flow into COPA upon billing.. thats why you dont get CCS for MTO
    2. The sales qty should be updated to COPA upon VA88.. For this, make the following settings in your PA transfer structure which is used during VA88
    1. Go to KEI1, Select your PA transfer structure...
    2. Add an assignment line in it... Check on "Qty Billed/Delivered" in the assignment line
    3. In the Tab "Value Field" below "source", assign Qty Field
    Now when you settle, it should update qty as well
    regards
    Ajay M

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Changes  not getting captured in MM06E005 of ME22N

    Hi,
    My requirement is to add an additional tab at Item Level  and a field in that tab. I used the MM06E005 and implemented it. I can see the tab and the field in it at Item level.But when iam making changes in ME22N,the change is not getting Saved.
    i created a field   ZZVEND type char in CI_EKPODB .
    Created the check box with same field name in Screen Exit  0111  of  MM06E005.
    Then i kept the coding in following exits
    EXIT_SAPMM06E_016
    break-point.
    EXIT_SAPMM06E_017
    break-point.
    EXIT_SAPMM06E_018
    break-point.
    IF I_UCOMM = 'MESAVE' .
    E_CI_UPDATE  = 'X'.
    E_CI_EKPO-ZZVEND = EKPO_CI-ZZVEND.
    ENDIF.
    While running ME22N,its first going into EXIT_SAPMM06E_016 and after checking the ZZVEND i in ME22N ts going to EXIT_SAPMM06E_017.
    But i dont see
    I_EKPO-ZZVEND  = 'X'  in Importing Parameters or TEKPO-ZZVEND  = 'X' in Tables  of EXIT_SAPMM06E_017.
    After this its entering into
    EXIT_SAPMM06E_018.
    Finally the data is not getting Saved but the message is showing 'Purchase Order changed'.
    Please suggest where I am going wrong.
    Regards
    K Srinivas

    Thankyou for the replies. I kept the following coding in the Exits. The problem is that i kept the break-point in the three exits and after running ME22N,its entering first into Exit 16 and after checking the field(Check Box) in Customer Data Tab ,its entering  into Exit 17. But the zfield in I_EKPO is empty,the value 'X' is not reflecting here. Please suggest where i am doing wrong. I went through many SDN threads and i am unable to solve the issue.
    INCLUDE ZXM06TOP.
    data: gl_aktyp type c,
          gl_no_screen type c,
          gl_ekpo_ci like ekpo_ci,
          gl_ekpo like ekpo,
          gl_ucomm like sy-ucomm.
    data:  gt_ref_ekpo_tab type table of ekpo_tab.
    EXIT_SAPMM06E_016
    gl_aktyp = i_aktyp.
    gl_no_screen = i_no_screen.
    ekpo_ci  = i_ci_ekpo.
    gl_ekpo = i_ekpo.
    EXIT_SAPMM06E_017
    move-corresponding i_ekpo to gl_ekpo_ci.
    gl_ekpo = i_ekpo.
    EXIT_SAPMM06E_018
    e_ci_ekpo        = gl_ekpo_ci.
    if gl_ekpo_ci-zz_vend ne ekpo_ci-zz_vend.
      e_ci_ekpo-zz_vend = ekpo_ci-zz_vend.
      if gl_aktyp ne 'A'.
        e_ci_update = 'X'.
      endif.
    endif.
    Regards
    K Srinivas

  • 544 Movement ,Qty & value is not getting updated in MC.9

    Dear friends,
    MC.9 & MB5b report is showing difference in Qty & Value.In my analysis i came to know that 544 movement is not getting updated in MC.9. I also Checked the Statistically relev. key as 2 and Consumption posting   G  in OMJJ.
    I require the info about MC.9 configuration or any info related to this.

    Hi,
    Please refer SAP note 581240 for this.
    For these stocks you have three valuation types for selection:
    ' ' = no inventory valuation
    'A' valuation = without reference to sales document ('make-to-stock
    inventory')
    'M' = separate valuation with reference to the sales and distribution
    document/project
    ONLY stock/stock movements with special stock valuation 'A'
    (make-to-stock inventory) are updated in Inventory Controlling.
    Thus, if you find a document which is not updated in the info structures
    of Inventory Controlling (S031-S039) and you require this, check the
    corresponding documents in the materials management tables. You can find
    the special stock indicator and indicator of the valuation of the
    special stock, for example, in document segment table MSEG in the
    following fields:
    MSEG-SOBKZ = Special Stock Indicator
    MSEG-KZBWS = Indicator: Special Stock Valuation
    Only A type (make to stock ) are updated in the info structures.
    Hoping this helps.
    Regards,
    Rajesh.

  • Text overflown is not getting printed in the next page in ADOBE

    Hi Experts,
    I have a text field, where the users can enter the comments. In this text field if the user enters more than a page, a scroll bar appears in the print preview where the users can view the complete text what they have entered, but while printing the text which exceeds more than a page is not getting printed in the next page.
    I have set the subform properties as "Flowed" and the check box "Allow Page Break within content" is also been enabled, but still the extra contents is not getting printed in the next page.
    Please help me regarding this.
    Thanks & Regards,
    Karthik MD

    Hi Lohitha,
    Even "Expand to fit" is been enabled.
    Thanks & Regards,
    Karthik MD

  • Off cycle payment is not getting updated in RT

    Hi Folks,
    we have an issue with off cycle payment, when we run LTA Payment to the employee, we are creating LTA wage type and amount in IT0267. As we run off cycle payroll, off cycle payrol is run with out the amount. It is not picking the amount and not showing the amount in  the RT. Moreover when create LTA in IT0267 it is showing "I" IN DIRECT VALUATION. amount is not at all getting picked in RT. Please share ur inputs on this. It is happening for few empployees under one payroll area.
    Thanks and regards,
    Samba.

    Hi All,
    Problem has been resolved, it seems, P0267 does not read if an amount is being populated through Indirect valuation. For LTA there was indirect valuation, in table t539j. Now when we go to IT0267 to create LTA the amount is being populated automatically.
    Now to rectify the issue, we have entered the same amount manually in the IT0267and saved the record. then LTA is not getting saved with Indirect valuation symbol. that is how the issue has been resolved. Now the RT is reading the amount.
    Thanks and regards,
    Samba.

  • Text overflown in the first page is not getting printed in the next page

    Hi Experts,
    I have a text field, where the users can enter the comments. In this text field if the user enters more than a page, a scroll bar appears in the print preview where the users can view the complete text what they have entered, but while printing the text which exceeds more than a page is not getting printed in the next page.
    I have set the subform properties as "Flowed" and the check box "Allow Page Break within content" is also been enabled, but still the extra contents is not getting printed in the next page.
    Please help me regarding this.
    Thanks & Regards,
    Karthik MD

    Hi,
    This issue is in ADOBE, I think there is no concept of Window in ADOBE,
    The text box is placed inside a Subform.

  • OVS value not getting populated in field

    Hi Experts,
    Kindly suggest me a solution for the below given issue.
    I have added three custom fileds to an already existing WD Coponent.
    And also added OVS help as an input help method to these fields.
    If I right click on the WD application and TEST, the application opens in browser and I am able to select the value from OVS list.
    If I run the application by copying the URL and paste it in the browser, or clicking on Portal link, if we select the value from OVS list that value is not getting populated in the field.
    Below is the logic I have written.
    method ON_OVS_PAYMENT .
    TYPES:   BEGIN OF ty_payment,
                 payment TYPE char4,
                 desc    TYPE char30,
               END OF ty_payment.
    * declare data structures for the fields to be displayed and
    * for the table columns of the selection list, if necessary
      types:
        begin of lty_stru_input,
    *   add fields for the display of your search input here
          payment type char4,
    *      desc    type string,
        end of lty_stru_input.
      types:
        begin of lty_stru_list,
    *   add fields for the selection list here
          payment type char4,
          desc    type char30,
        end of lty_stru_list.
      data: ls_search_input  type lty_stru_input,
            lt_select_list   type standard table of lty_stru_list,
            ls_text          type wdr_name_value,
            lt_label_texts   type wdr_name_value_list,
            lt_column_texts  type wdr_name_value_list,
            lv_window_title  type string,
            lv_group_header  type string,
            lv_payment       type string,
            lt_payment       TYPE TABLE OF ty_payment,
            ls_payment       TYPE ty_payment,
            lv_short         TYPE string,
            lv_table_header  type string.
      field-symbols: <ls_query_params> type lty_stru_input,
                     <ls_selection>    type lty_stru_list.
      case ovs_callback_object->phase_indicator.
        when if_wd_ovs=>co_phase_0.  "configuration phase, may be omitted
    *   in this phase you have the possibility to define the texts,
    *   if you do not want to use the defaults (DDIC-texts)
          ls_text-name = `PAYMENT`.  "must match a field name of search
          ls_text-value = `Terms of payment`. "wd_assist->get_text( `001` ).
          insert ls_text into table lt_label_texts.
          ls_text-name = `PAYMENT`.  "must match a field in list structure
          ls_text-value = `Terms of Payment`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ls_text-name = `DESC`.  "must match a field in list structure
          ls_text-value = `Description`. "wd_assist->get_text( `002` ).
          insert ls_text into table lt_column_texts.
          ovs_callback_object->set_configuration(
                    label_texts  = lt_label_texts
                    column_texts = lt_column_texts
                    group_header = lv_group_header
                    window_title = lv_window_title
                    table_header = lv_table_header
                    col_count    = 2
                    row_count    = 20 ).
        when if_wd_ovs=>co_phase_1.
          ovs_callback_object->context_element->get_static_attributes(
              importing static_attributes = ls_search_input ).
    *     pass the values to the OVS component
          ovs_callback_object->set_input_structure(
              input = ls_search_input ).
        when if_wd_ovs=>co_phase_2.
          if ovs_callback_object->query_parameters is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->query_parameters->*
                                  to <ls_query_params>.
          if not <ls_query_params> is assigned.
    ******** TODO exception handling
          endif.
    *     call business logic for a table of possible values
    *     lt_select_list = ???
          lv_short = <ls_query_params>-payment.
          CALL FUNCTION 'ZSIILESD001' DESTINATION 'LOGICALE22'
          EXPORTING
          i_payment             = lv_short
          TABLES
          ET_PAYMENT            = lt_payment.
        lt_select_list[] = lt_payment[].
          ovs_callback_object->set_output_table( output = lt_select_list ).
        when if_wd_ovs=>co_phase_3.
    *   apply result
          if ovs_callback_object->selection is not bound.
    ******** TODO exception handling
          endif.
          assign ovs_callback_object->selection->* to <ls_selection>.
          if <ls_selection> is assigned.
            ovs_callback_object->context_element->set_attribute(
                                   name  = `PAYMENT`
                                   value = <ls_selection>-payment ).
          endif.
      endcase.
    endmethod.

    Hi Pradeep,
    I don't think it really make any difference to the application run if we run from SE80 or run via application url.
    Try to set the external break point in OVS PHASE3 for your user. Check if the break point is reached and data is set after selection from OVS.
    Regards,
    Rama

  • IT_FIELDCATALOG IS NOT GETTING FILLED

    HI friends
      I have returned a program for workflow tracking. Am getting the output has led light alone no data's are displayed. I found that my IT_FIELDCATALOG = GT_FCAT is not getting filled. How to fill that. Am pasting my programming here. Kinldy help me out.
    TYPE-POOLS: ABAP.
    TABLES : PTREQ_ATTABSDATA,PTREQ_HEADER,PTREQ_ITEMS.
    TYPES: BEGIN OF TY_S_OUTTAB,
            EXCEPTION   TYPE LVC_EXLED,
            PERNR TYPE P0001-PERNR,
            BEGDA TYPE PTREQ_ATTABSDATA-BEGDA,
            ENDDA TYPE PTREQ_ATTABSDATA-ENDDA,
            SUBTY TYPE SUBTY,
            STATUS TYPE PTREQ_HEADER-STATUS,
            END OF TY_S_OUTTAB.
    TYPES: TY_T_OUTTAB TYPE STANDARD TABLE OF TY_S_OUTTAB
                       WITH DEFAULT KEY.
    DATA : REQUEST_ID TYPE PTREQ_HEADER-REQUEST_ID.
    DATA:
      GD_REPID         TYPE SYREPID,
      GD_OKCODE        TYPE UI_FUNC,
      GT_FCAT          TYPE LVC_T_FCAT,
      GS_LAYOUT        TYPE LVC_S_LAYO,
      GS_VARIANT       TYPE DISVARIANT,
      GO_DOCKING       TYPE REF TO CL_GUI_DOCKING_CONTAINER,
      GO_GRID          TYPE REF TO CL_GUI_ALV_GRID.
    DATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    DATA: GT_OUTTAB        TYPE TY_T_OUTTAB.
    PARAMETERS:
    PERNR         TYPE PA0001-PERNR,
    REQ_ID        TYPE PTREQ_HEADER-REQUEST_ID,
    LEA_TY        TYPE PA0001-SUBTY,
    BEGDA         TYPE PA0001-BEGDA,
    ENDDA         TYPE PA0001-ENDDA.
    REQ_ID = '52A08D487A9B5807E10000000A170133'.
    START-OF-SELECTION.
      BREAK-POINT.
    *  SELECT * FROM  PTREQ_ATTABSDATA INTO CORRESPONDING FIELDS OF TABLE gt_outtab
    *         WHERE  PERNR  = PERNR AND SUBTY = LEA_TY.
      SELECT C~PERNR C~BEGDA C~ENDDA C~SUBTY A~STATUS INTO CORRESPONDING FIELDS OF TABLE GT_OUTTAB
        FROM  ( ( PTREQ_HEADER AS A INNER JOIN
        PTREQ_ITEMS AS B ON A~ITEM_LIST_ID = B~ITEM_LIST_ID ) INNER JOIN
        PTREQ_ATTABSDATA AS C ON B~ITEM_INS = C~ITEM_ID )
        WHERE REQUEST_ID = REQ_ID AND REQUEST_TYPE = 'ABSREQ'
        AND VERSION_NO = ( SELECT MAX( VERSION_NO ) FROM PTREQ_HEADER
        WHERE  REQUEST_ID = REQ_ID ) AND
        ITEM_LIST_NO = ( SELECT MAX( ITEM_LIST_NO )
        FROM PTREQ_ITEMS WHERE ITEM_LIST_ID = A~ITEM_LIST_ID ) .
      PERFORM INIT_CONTROLS.
      PERFORM CHECK_CONDITION.
    * Display data
      CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT       = GS_LAYOUT
          IS_VARIANT      = GS_VARIANT
          I_SAVE          = 'A'
        CHANGING
          IT_OUTTAB       = GT_OUTTAB
          IT_FIELDCATALOG = GT_FCAT
        EXCEPTIONS
          OTHERS          = 4.
      IF SY-SUBRC = 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *    MESSAGE ID mid TYPE mtype NUMBER num.
      ENDIF.
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.
    *  SET TITLEBAR 'xxx'.
    **      CALL METHOD go_grid1->refresh_table_display
    ***        EXPORTING
    ***          IS_STABLE      =
    ***          I_SOFT_REFRESH =
    **        EXCEPTIONS
    **          FINISHED       = 1
    **          others         = 2
    **      IF sy-subrc  0.
    ***       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    ***                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    **      ENDIF.
    *OK-CODE->GD_OKCODE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE GD_OKCODE.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN OTHERS.
          CALL METHOD GO_GRID->REFRESH_TABLE_DISPLAY
            EXCEPTIONS
              FINISHED = 1
              OTHERS   = 2.
          IF SY-SUBRC = 0.
    *       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      ENDCASE.
      CLEAR: GD_OKCODE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  INIT_CONTROLS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM INIT_CONTROLS .
    * Create ALV grid
      CREATE OBJECT GO_GRID
        EXPORTING
          I_PARENT = GO_DOCKING
        EXCEPTIONS
          OTHERS   = 5.
      IF SY-SUBRC = 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM BUILD_FIELDCATALOG.
      PERFORM SET_LAYOUT_AND_VARIANT.
    ENDFORM.                    " INIT_CONTROLS
    *&      Form  BUILD_FIELDCATALOG
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM BUILD_FIELDCATALOG.
    *fieldcatalog-fieldname  = 'EXPECTION'.
    *  fieldcatalog-seltext_m  = 'LIGHT'.
    *  fieldcatalog-col_pos    = 1.
    *  fieldcatalog-outputlen  = 3.
    **  fieldcatalog-emphasize  = 'X'.
    *  APPEND fieldcatalog TO fieldcatalog.
    *  CLEAR  fieldcatalog.
      FIELDCATALOG-FIELDNAME  = 'PERNR'.
      FIELDCATALOG-SELTEXT_M  = 'EMPLOYEE NO'.
      FIELDCATALOG-COL_POS    = 1.
      FIELDCATALOG-OUTPUTLEN  = 8.
      FIELDCATALOG-EMPHASIZE  = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'REQ_ID'.
      FIELDCATALOG-SELTEXT_M  = 'REQUEST_ID'.
      FIELDCATALOG-COL_POS    = 2.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'LEA_TY'.
      FIELDCATALOG-SELTEXT_M  = 'LEAVE_TYPE'.
      FIELDCATALOG-COL_POS    = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'BEGDA'.
      FIELDCATALOG-SELTEXT_M  = 'BEGIN_DATE'.
      FIELDCATALOG-COL_POS    = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'ENDDA'.
      FIELDCATALOG-SELTEXT_M  = 'END_DATE'.
      FIELDCATALOG-COL_POS    = 5.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'STATUS'.
      FIELDCATALOG-SELTEXT_M  = 'STATUS'.
      FIELDCATALOG-COL_POS    = 6.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
    * define local data
      DATA:
        LS_FCAT        TYPE LVC_S_FCAT.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    *    EXPORTING
    *     I_BUFFER_ACTIVE              =
    *      I_STRUCTURE_NAME             = 'TY_S_OUTTAB'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          CT_FIELDCAT                  = GT_FCAT
        EXCEPTIONS
          INCONSISTENT_INTERFACE       = 1
          PROGRAM_ERROR                = 2
          OTHERS                       = 3.
      IF SY-SUBRC = 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " BUILD_FIELDCATALOG_KNB1
    *&      Form  SET_LAYOUT_AND_VARIANT
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM SET_LAYOUT_AND_VARIANT .
      CLEAR: GS_LAYOUT,
             GS_VARIANT.
    *  GS_LAYOUT-CWIDTH_OPT = ABAP_TRUE.
      GS_LAYOUT-ZEBRA      = ABAP_TRUE.
      GS_LAYOUT-EXCP_FNAME = 'EXCEPTION'.  " define column for LED
      GS_LAYOUT-EXCP_LED   = ABAP_TRUE.
      GS_VARIANT-REPORT = SYST-REPID.
      GS_VARIANT-HANDLE = 'GRID'.
    ENDFORM.                    " SET_LAYOUT_AND_VARIANT
    *&      Form  CHECK_CONDITION
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM CHECK_CONDITION .
    * define local data
      DATA: LS_OUTTAB   TYPE TY_S_OUTTAB.
      LOOP AT GT_OUTTAB INTO LS_OUTTAB.
        IF ( LS_OUTTAB-STATUS = 'APPROVED' ).
          LS_OUTTAB-EXCEPTION = '3'.  " GREEN LED/traffic light
        ELSE.
          LS_OUTTAB-EXCEPTION = '1'.  " RED LED / traffic light
        ENDIF.
        MODIFY GT_OUTTAB FROM LS_OUTTAB INDEX SYST-TABIX.
      ENDLOOP.
    ENDFORM.                    " CHECK_CONDITION
    Here in the function module 'LVC_FIELDCATALOG_MERGE'
    GT_FACT is not getting filled. How to do that.
    Regards
    vijay

    some thing you are missing, but any you can also do this..
    change the definiton of the fieldcatalog.
    DATA: FIELDCATALOG TYPE lvc_t_fcat WITH HEADER LINE.
    population change
    FIELDCATALOG-FIELDNAME  = 'PERNR'.
      FIELDCATALOG-COLTEXT  = 'EMPLOYEE NO'.
      FIELDCATALOG-COL_POS    = 1.
      FIELDCATALOG-OUTPUTLEN  = 8.
      FIELDCATALOG-EMPHASIZE  = 'X'.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'REQ_ID'.
      FIELDCATALOG-COLTEXT  = 'REQUEST_ID'.
      FIELDCATALOG-COL_POS    = 2.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'LEA_TY'.
      FIELDCATALOG-COLTEXT  = 'LEAVE_TYPE'.
      FIELDCATALOG-COL_POS    = 3.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'BEGDA'.
      FIELDCATALOG-COLTEXT  = 'BEGIN_DATE'.
      FIELDCATALOG-COL_POS    = 4.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'ENDDA'.
      FIELDCATALOG-COLTEXT  = 'END_DATE'.
      FIELDCATALOG-COL_POS    = 5.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
      FIELDCATALOG-FIELDNAME  = 'STATUS'.
      FIELDCATALOG-COLTEXT = 'STATUS'.
      FIELDCATALOG-COL_POS    = 6.
      APPEND FIELDCATALOG TO FIELDCATALOG.
      CLEAR  FIELDCATALOG.
    method call display change..
    * Display data
      CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IS_LAYOUT       = GS_LAYOUT
          IS_VARIANT      = GS_VARIANT
          I_SAVE          = 'A'
        CHANGING
          IT_OUTTAB       = GT_OUTTAB
          IT_FIELDCATALOG = FIELDCATALOG[]
        EXCEPTIONS
          OTHERS          = 4.
      IF SY-SUBRC EQ  0.
      ENDIF.
    apply all the changes and see...

Maybe you are looking for

  • Update set of books in implementation options ??

    we are doing project setup[ in one of the test instance , How ever while doing thta in implementation options set of books is saved incorrectly and now it is freezed (not able to change the set of books field) ..Navigation setup -->system-->implement

  • User-exits for PO and MIGO

    Hello Experts i am having a requirement where in i will have to perform certain validations before posting PO and material document (MIGO). If these validations fail, PO or Material document should not be posted. i managed to find certain BADI and us

  • How to create a scrollpane?

    hi to all flash fanatic, I need help regarding on how to create a flash scrollpane in a full flash site. is anybody can give me d exact link of scrollpane sample tutorilas or if it's okey can u give me a simple scrollpane sample of yours. i need it b

  • Choice of bitrate when deinterlacing 1080i50 to 1080p25?

    I (mainly) use a Canon Legria HF R16 for my footage, and my clips (original) have the following characteristics: 1 video stream: AVC 1 audio stream: AC-3 Maximum bitrate: 18Mbps Video: 15Mbps 1920 * 1080 (16:9), 25fps (interlaced, 50fields/second) AV

  • I have OSX 10.6.7 and Firefox 4 and I can't print from a web page to an HP Photosmart C5200

    on a Macbook Pro