How to handle different Unit of measures in ALV reports? Quantity/Price

Anyone knows how to handle different unit of measures for quantity or price in hierarchy ALV reports?

hi,
use the below fields:
Link to measurement unit
•qfieldname (measurement unit field name)
only relevant for quantity columns with unit link.
Name of the internal output table field containing the measurement unit associated with the quantity field FIELDCAT-FIELDNAME.
The field in FIELDCAT-QFIELDNAME must have its own field catalog entry.
•qtabname (internal measurement unit field output table)
value set: SPACE, output table field name
Name of the internal output table containing the FIELDCAT-QFIELDNAME field.
regards,
madhumitha

Similar Messages

  • IS-Retail:how to maintain different unit of measures for a article

    hi experts,
                    can anyone tell me how we maintain different unit of measures for sales and purchasing for a article.base unit of measure,order unit,var unit.Hope for a good answer.
    Regards

    Hi,
    Go to MM42, select basic data view
    In,Units of measure/ EANs /dimensions sub tab
    there u can see four radio buttons
    B.Un    Unit of measure is base unit (used internally only) 
    O.Un    Unit of measure is the order unit                             - Purchasing
    D/L.Un  Unit of measure is delivery unit/issue unit              - Logistics
    S.Un    Unit of measure is the sales unit                             - Sales
    for eg:
    First line enter EA (each) or PC (piece) in Auom for a material and  enter 1 in Number and select radio button for B.Un
    Second line enter CT (carton) in Auom and  enter 10 in Number and select radio button for O.UN (when you creating a PO it UOB automatically picks as CT)
    Third line enter PALin Auom and enter 50 in Number and select radio button for D/l .UN (when u creating a delivery UOB picks as PAL ie pallets)
    Fourth line enter EA or PC and enter 1 in Number and select radio button for S.UN (when u creating a Sales order UOB picks as EA or PC as u defined)
    Mohan

  • How to maintain different unit of measure in the system

    Hi,
    I am using  a flat file source system in which i am using a 0MATERIAL,0QUANTITY.
    Now i need to load conversion factors into 0MAT_UNIT.
    how to do this for flat files?
    I have to do this to fill master data by right clicking on 0mat_unit and doing maintain master data and when i click on any fiels there like unit of measure and do F4 i am not able to see all the unit of measures like KG,CAN,PC etc...
    plz tell me how to do this?
    Thanks,
    Vijaya

    Hi,
    Thanks but since i am using a flat file source system and if i right click on the source system i dnt get the option "transfer global settings"...
    the solution u have given is for R/3 datasources.
    plz give me more inputs regarding this.
    Thanks,
    Vijaya.

  • How to handle different languages in Illustrator for big clients?

    Hi Guys,
    I need small suggestio for 'How to handle different languages in illustrator for big clients'. For instance; Arabic, this is a language which  needs to be read from right to left instead of left to right. There are  other strange languages as well (Cyrillic, Chinese etc.). It happens  also that when you copy strange languages from a word file it will not  be easy to paste it the correct way in a .ai file. Besides that, it’s  also difficult to do a language check when we are not able to read it!. So,  to make a long story short, I want to figure out how we can deal with multiple language  circles?
    Can you some please give me the solution for this...
    Thanks in advance...
    HARI

    I take it you might come from an arabic background.
    Here is how you can help yourself to some degree.
    Google has a translation feature and service which is at the moment free. It is excellent.
    Secondly if you are working with ME languages you really need the ME version of Illustrator or any other Creative Suites Application in order for it to work properly.
    It, is also best to enable the language and the input for that language for your system on the Mac it is easy you go to the Language and text feature in theSystem Preferences, once enabled you can select the fro the menu bar under the American flag if you are in the US. Thst will appear once you have more than one language selected.
    You select the language input you need and then a font for that language then paste and edit.
    You need fonts on your computer that are of those languages as well.
    How to manage this as a work flow well that is something you will have to work on yourself or hire a consultant who specializes in this area.
    We had a few visit here when they have come across a snafu. So they exists.

  • How to handle currency & unit fields in call transaction?

    Hi,
    Can any one tell me How to handle currency & unit fields in call transaction? & how to dael with error for this fields? whith some sort of coding.
    Thanks In Advance.
    Pravin

    Hi Pravin,
    The same topic has been discussed in the following thread:
    How to handle currency & unit fields in BDC recording method?
    Regards,
    Chandra Sekhar

  • Different unit of measurement

    Hi
    For the material a85.52.02.1121, when I see material document list(MB51),material movement showing different UOM( M & FT).
    For material movement 261 it is showing 2- (qty) FT
    movement 262 it is showing 2(qty) FT,
    But for movement type 561 it is showing 2 (qty) M.
    But we maintained in the material master,UOM & alternative unit of measure as 'M' only.
    my question is
    From where this FT unit of measurement is coming?
    Any tips to solve this problem?
    With Regards,
    Jaheer(abaper + MM consultant)

    Hi,
    Check the Unit of issue at plant data storage location 1 of the MMR, I suppose its with FT,
    Other wise too as both M and FT are standard UOM's,with a standard conversion, you can enter a different unit of measurement apart from the base unit maintained in the MMR during the transaction (261/262), which will get automatically updated in the inventory.
    Trust this clears your query
    Regards
    Merwyn

  • Different unit of measurements work independently

    Hi SAP MM Experts
    Is there any possibility to work with 2 different unit of measurement at a time in sap which need to be independent from each others mean no relation b/w 2 uom.
    My client is a steel manufacturer. When a bar (steel rod) received from vendor, they want to  enter in system with uom as KG  and bundle and same thing will be control in all possible good movement. even in sell, they want to control with 2 unit on measurement. pls guide me. thanks

    You can maintain two uom for material, You can purchase this material with two uom. But material can only stored in warehouse with base unit of measure. You can also sale the material with two unit.
    For using different uom in purchasing have a look into the docu Create Info Record for different Order Unit

  • Conversion of Unit of Measure in ALV Grid

    Hi all,
    I am using function 'REUSE_ALV_GRID_DISPLAY' to display some records in ALV grid. The record displays material, the quantity of the material consumed and the unit of measure (UoM) of the quantity. I am fetching the data from the table AUFM and the field I am using for UoM is ERFME.
    The problem is that when the UoM is displayed in the ALV, it is displayed as KAR but when i print the report or check the print preview, the UoM is displayed as CAR. I want to display CAR also in the ALV.
    I have tried using the function 'CONVERSION_EXIT_CUNIT_OUTPUT' which converts the KAR to CAR in the ALV, but when I print it or check the print preivew ,  it shows asterisks (*) in the UoM field.
    Can anyone tell me why this is happening and how I can solve this problem? Any help will be greatly appreciated.
    Regards,
    Hamza

    Hi Ozkar,
    I tried the function 'CONVERSION_EXIT_CUNIT_OUTPUT', it worked fine when displaying the UoM in the ALV, meaning it displayed CAR instead of KAR, but when I printed the list or chicked the print preview, it displayed stars (***) in the UoM field.
    Anyway, I tried something else and now it is working fine. I am writing below what I did so that if anyone else has this problem, they can also do what I did.
    As I said before, the UoM field was showing KAR instead of CAR in the ALV. So after passing the data to an internal table which would be used to display the data in the ALV, I called the function 'CONVERSION_EXIT_CUNIT_OUTPUT' and converted KAR to CAR. this displayed CAR in the ALV.
    Now, to also get CAR in the print out and print preview,I declared variables gt_event_exit and lt_event_exit.
    DATA: gt_event_exit TYPE  STANDARD TABLE OF slis_event_exit,
               lt_event_exit TYPE slis_event_exit.
    The variable will 'lt_event_exit' will contain the function codes of the Print(&RNT) and Print Preview (&RNT_PREV) buttons on the ALV. In the form where I am calling the function 'REUSE_ALV_GRID_DISPLAY', I pass the function codes to lt_event_exit and append it to the internal table gt_event_exit.
      lt_event_exit-ucomm = '&RNT'.
      lt_event_exit-before = 'X'.
      APPEND lt_event_exit TO gt_event_exit.
      lt_event_exit-ucomm = '&RNT_PREV'.
      lt_event_exit-before = 'X'.
      APPEND lt_event_exit TO gt_event_exit.
    Next I pass this table to the parameter 'IT_EVENT_EXIT' of 'REUSE_ALV_GRID_DISPLAY'. I also create a form USER_COMMAND and pass this form to the parameter 'I_CALLBACK_USER_COMMAND' of 'REUSE_ALV_GRID_DISPLAY' as shown below.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
                 I_CALLBACK_USER_COMMAND = 'USER_COMMAND '
                 IT_EVENT_EXIT                          = gt_event_exit
    What the above does is that, when a user clicks on the print or print preview button, the system instead of printing the list, it passes the control to the form USER_COMMAND. After the form is processed, it prints the list.
    In the form, I placed a loop on the internal table containing the data to be shown and simply converted the CAR back to KAR. The code is given below.
      FORM user_command USING  r_ucomm LIKE sy-ucomm
                              rs_selfield TYPE slis_selfield .
        CASE r_ucomm .
          WHEN '&RNT' OR '&RNT_PREV'.
            LOOP AT i_final .
              CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
                 EXPORTING
                   input = i_final-erfme
                   language = sy-langu
                 IMPORTING
                   output = i_final-erfme
                 EXCEPTIONS
                   unit_not_found = .
              MODIFY i_final.
            ENDLOOP.
       WHEN .
       WHEN OTHERS.
        ENDCASE.
    I hope this is helpful to anyone who has the same problem as I did. Now what I cant figure out is why the system automatically converts KAR to CAR when displaying print preview or when printing the list.
    Well, thanks anyway for the suggestion Ozkar.
    Regards,
    Hamza

  • How to display subtotals in separate column in alv report?

    hi,
    I am displayed the subtotals  for QUantity field BDMNG in Reuse_alv_grid_display  in the same column.
    but I want to display subtotal in separate column.
    How to display subtotals in separate column in alv report?
    thanks&regards.
    samba.k

    Hi
    As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
    Best Regards
    Yossi

  • How can we place a push button in ALV  report

    hi
    could anybody inform me
    how can we place a push button in ALV  report
    thanx
    regards
    kals.

    Hi kals.
    please have a look at demoprogram
    SALV_DEMO_TABLE_FUNCTIONS
    BCALV_GRID_05
    Regards
    Bernd

  • How many lines we can print using Non-alv report list ?

    Hi Experts,
    How many lines we can print using Non-alv report list ?
    regards
    vishnu

    Hi,
    It depends on the page size according to the page size we can set the no. of lines as follows,
    REPORT  program_name   NO STANDARD PAGE HEADING
    LINE-SIZE 290
    LINE-COUNT 65.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • How to refresh after delete the records in ALV report ?

    Hi Friends,
    How to refresh after delete the records in ALV report.
    I am deleting records in ALV report .
    After successful delete the screen should refresh.
    u201C Deleted records should not appear in the screen u201C.
    Please guide me.
    Regards,
    Subash

    Hi subhash,
    FORM user_command USING r_ucomm LIKE sy-ucomm      rs_selfield TYPE slis_selfield.
    WHEN 'BACK'.
    Refresh the internal table from the ALV grid
          PERFORM update_alv_tab.
    ENDFORM.                    "user_command
    FORM update_alv_tab .
      DATA :  e_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = e_grid.
      CALL METHOD e_grid->check_changed_data.
      "update_alv_tab
      CALL METHOD e_grid->refresh_table_display.
    ENDFORM.                    " UPDATE_ALV_TAB
    Then see in Debug mode is it updating or not..
    Please confirm .
    And please paste the code if you can.
    Regards.

  • How to find out the total, subtotal in alv report

    hi dears,
    how to find out the total, subtotal in alv report?
    pls tell me logic ,
    i will be waiting for eply
    regards
    eswar

    Hi,
    <b>ALV Grid List with sub-totals</b>
    REPORT z_demo_alv_sort.
    * This program lists orders (VBAK) with sort and sub-total for        *
    * 'sold-to-party' (KUNNR) and 'Sales organization' (VKORG)            *
    TABLES : vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
    *      Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
    *      Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                is_layout   = ls_layout
                it_fieldcat = lt_fieldcat
                it_sort     = lt_sort
           TABLES
                t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    ***************** END OF PROGRAM Z_DEMO_ALV_SORT **********************
    Regards
    Sudheer

  • How we can use call transaction xd03 in alv report

    hey guys i want now that how we can use call transaction xd03 in alv report by using various tables in report or coding.
    can you tell me about that by the way of coding so that it can be easy for me to understand and help ful to make report by using alv report with many tables. so please send me .
    Moderator message: it seems to be XD03 day today, please search for available information/documentation/previous discussions.
    Edited by: Thomas Zloch on Nov 25, 2011 1:24 PM

    Where?
    Max

  • How to display multi line headings in procedural alv report

    Hi experts,
    How to display multi line heading in alv( procedural alv report) report.
    some columns single line and some columns multi line in the same report.
    ex: 
                  solvent consumed          solvent recovered
                   fresh |   recovery             recovery | spent                            batch no                         storage
    I am using procedural alv .pls give me idea.

    Hi Ram,
    Check the sample report [how to display multi line headings in procedural alv report|http://sample-code-abap.blogspot.com/2008/01/printing-multiple-line-header-and.html]
    Thanks,
    Duy

Maybe you are looking for

  • How to connect fp mic on msi G31M3-L V2 ?

    Hi ,Does anybody knows how to connect front panel mic jack or audio jack, the manual for MSI G31M3-L V2 doesnt says anything about JFP2.  I have already connected the three jacks with 5.1 home theater speaker system, and so i do not have free mic jac

  • How can I remove all video clips from my library?

    I noticed my library is up to 23 gigs! Last I checked, it was around 9. The only thing I can think of is that my new canon camera takes great videos, and all summer I've been using it on vacations and things where I didn't have my video camera. So, I

  • Simple transformation XML to ABAP, runtime error: CX_ST_REF_ACCESS

    Hi, all experts, I got a runtime error CX_ST_REF_ACCESS, while I tried to use Simple Transformation to transfer XML-String to ABAP internal table. Can anybody help me to fix the problem? Thanks very much. It's urgent. The code of transformation like

  • Product Build Cycle Time

    Hi everyone,   I have been asked to investigate our Business Content data for production cycle time information.  They would like me to develop a report that gives them all of the time intervals that make up the product build cycle - things they want

  • Initialize Dashboard With No Results

    Hi All, I have a number of dashboards that if left to run with no parameters will return too much data and look a bit funny overall as the users will basically never run the report with absolutely no filtering/prompts. I remember reading a blogpost s