Issue in development og z report in abap

Hi all,
i am facing an issue while developing a report.
i am using a table QAMV (LOGIC  stated below)
pass inspection lot no. pick MIC , MIC Description
issue is that against single inspection lot no. multiple MIC are assigned. How i can pick all MIC , MIC Description by entering inspection lot no.
ABAPer is asking for another primary key to fetch all MIC. According to abper he is unable to fetch all MIC on the basis of single inspection lot no.
format of report and table (qamV) screen shot attached below.

Ask you Technical Consultant to:
SELECT VERWMERKM KURZTEXT
INTO CORRESPONDING FIELD OF IT_TWO
FROM QAMV
WHERE PRUEFLOS = IT_ONE-PRUEFLOS.
DELETE ADJACENT DUPLICATES FROM IT_TWO COMPARING ALL FIELDS.
(If you are selecting with reference to some other table.)
Or else you just need to
SELECT * FROM QAMV
MOVE:
PRUEFLOS TO IT-PRUEFLOS,
VERWMERKM TO IT-VERWMERKM,
KURZTEXT TO IT-KURZTEXT.
APPEND IT.
ENDSELECT.
Hope this will help.

Similar Messages

  • Issue in development oF Customised report in abap

    Hi all,
    i am facing an issue while developing a report.
    i am using a table QAMV (LOGIC  stated below)
    pass inspection lot no. pick MIC , MIC Description
    issue is that against single inspection lot no. multiple MIC are assigned. How i can pick all MIC , MIC Description by entering inspection lot no.
    ABAPer is asking for another primary key to fetch all MIC. According to abper he is unable to fetch all MIC on the basis of single inspection lot no.
    format of report and table (qamV) screen shot attached below.

    Ansh,
    Could you be more specific about your requirement.
    I understand you need to fetch MIC data with reference to Inspection Lot Number. But what I don't understand is; from where do you want that. Could you please share the steps to view MIC information on SAP Screen for better understanding. It will help me and your ABAPer (Technical Consultant is better ; ) in building the logic.
    Gaurav.

  • Issue in developing cross tab report with wizard in 10.1.3.2.1

    Hi Gurus,
    We are trying to develope group above cross tab report with wizard in BI Publisher 10.1.3.2.1 .
    i am unable to achieve multiple level columns dynamically.Using cross tab wizard i can achieve single level measure column ,but not the second level column.
    Output should look like this:
    Country1
    Region1 Region2 Region3 --(level1 column)
    d1 d2 d3 d1 d2 d3 d1 d2 d3 -- (level2 column)
    Row1 10 20 30 70 80 90 40 70 90 --data
    Row2 21 24 54 65 23 64 64 76 87 --data
    Here Regions and d1 d2 d3 may vary based on xml data.Also we have page break on country.
    Haven't get any solution till now.
    Also unable to achieve under line and overline on data for total row.
    Need help urgently in this issue.
    Thanks,
    Mahesh
    Edited by: user13450806 on Jan 7, 2011 12:43 AM

    Hi Gurus,
    I am still waiting for some one to help me in this issue.
    It is very urgent for me to solve this. Did not get any help yet.
    --Mahesh                                                                                                                                                                                                                                                                                                       

  • Development of Reports using ABAP Query

    Hi
    can anyone please tell me about 'Development of Reports using ABAP Query' and how to use it in real time
    Thanks
    jay

    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    A.

  • Need to develop a calibration report

    Hi experts,
    i need to develop a report for calibration
    input screen parameters are
    equipment no.
    date
    output screen
    Equipment no.
    equipment description
    Functional location
    order no.
    inspection lot no.
    inspection reading before calibration
    inspection reading after calibration
    Usage Descion
    I am new to PaM module kindly help me so that i can give proper details of tables to abaper.put
    and kindly tell me from which table i can pass equipment no. and get inspect lot no. and other details as per output screen.

    Hi all,
    i am facing an issue while developing a report.
    i am using a table QAMV (LOGIC  stated below)
    pass inspection lot no. pick MIC , MIC Description
    issue is that against single inspection lot no. multiple MIC are assigned. How i can pick all MIC , MIC Description by entering inspection lot no.
    ABAPer is asking for another primary key to fetch all MIC. According to abper he is unable to fetch all MIC on the basis of single inspection lot no.
    format of report and table (qamr) screen shot attached below.

  • How to activate a report in abap

    hi experts,
            how to activate a report in abap?
    gerald

    First you need a Developer Key to create or activate ABAP Reports. If you dont have any, Please ask your BASIS team. They can generate one for you.
    When you done with the report hit 'Activate button' ( A Candle icon on top).
    Cheers
    Praveen

  • New report in ABAP

    We got requirement to convert Bex report into ABAP report..Conside like Income statement standard report it needs to be convert(develope) in ABAP.
    This has lot of restriction on it and in which tables will get the data.
    I checked the master data object and find the tables like (BIW_T001) from that datasource(RSO2) which are being used in the report.
    This would be correct or not or can I pull the data directly from the transparent table (R3) .Since from above i saw lot of table are start with (BIW_T001) .
    Thanks in advance
    Taj

    The Income statement report is built on 0FIGL10(General legher cube) I found the table of this source (FLAGTEXT) but master data object is also used in the report .
    EG Profitcenter hierarchy,Profit attributes,Profit Center Text, Currency Type text, Costelement etc
    Can we get all these tables in R/3
    Thanks in advance
    Taj

  • Create a new report in ABAP

    We got requirement to convert Bex report into ABAP report..Conside like Income statement standard report it needs to be convert(develope) in ABAP.
    This has lot of restriction on it and in which tables will get the data.
    I checked the master data object and find the tables like (BIW_T001) from that datasource(RSO2) which are being used in the report.
    This would be correct or not or can I pull the data directly from the transparent table (R3) .Since from above i saw lot of table are start with (BIW_T001) .
    Thanks in advance
    Taj

    I want to create report in R/3 system which is similar in BW query (Standard Income statement) report which has lot of restriction on it .I am going to use data from the R/3 ystem side .could you please give me detail .
    Thanks in advance
    Taj

  • Reporting in Abap

    Hi,
    Is there any format available or developed at your end for giving a requirement to abapers for creating a functional related report in ABAP?

    Hi
    Every company has its own templates and I can give some generic information titles..
    1 Purpose of the report
    2 Data Selection screen
    3 Report output format
    4 Fucntional logic (to get all the required fields)
    5 Authorisation
    6 Testing
    You can add more according to the requirement
    Karthik

  • Custom BI Reports Vs. ABAP for Payroll

    Hi,
    Can anyone tell the pros and cons of developing Custom Payroll Reports using BI or Custom ABAP.  There are 51K employees.
    Thanks,
    Mohan

    Hi,
    The present thinking is not to preclude one set of reports and choose the other.  Operational reporting should come from R/3 or ECC and strategic or analytic reports should come from BI. 
    That is where Portal can play an important role.  The portal can be a single point of access for both operational and analytic reports, without the user knowing where the output is coming from.
    BR/
    Mathew.

  • Create and open Crystal Reports from ABAP program

    Hello,
    Let me explain the scenario with a simple example.
    In my ABAP program, I have the entries of table MARA in an internal table. I want to now create a crystal report through ABAP, and display the result in a .rpt file programatically.
    Could you please provide some pointers?
    Regards,
    Suraj

    Hi,
    I think this can done through the BW development or we can use the XI.
    Pls refer to this link
    Crystal reports
    Thanks & Regards,
    Chandralekha.

  • While developing a ALV report

    hi.
    i am developing  a ALV report.i need to add one extra button. can any one suggest me how

    Try this way:
    I am showing in OO ABAP area:
    Declare in TOP
          CLASS lcl_event_handler DEFINITION
          Class event handler
    CLASS lcl_event_handler DEFINITION .
      PUBLIC SECTION .
        METHODS:
    *To add new functional buttons to the ALV toolbar
        handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
        IMPORTING e_object,
    *To implement user commands
        handle_user_command
        FOR EVENT user_command OF cl_gui_alv_grid
        IMPORTING e_ucomm.
      PRIVATE SECTION.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    DATA: gr_event_handler1 TYPE REF TO lcl_event_handler,
          gr_event_handler2 TYPE REF TO lcl_event_handler,
          flag_alv          TYPE c.
    Implement the above defined methods in the forms(F01) or main pgm
          CLASS lcl_event_handler IMPLEMENTATION
          Implementing the method definitions
    CLASS lcl_event_handler IMPLEMENTATION .
    *Handle Toolbar
      METHOD handle_toolbar.
        PERFORM handle_toolbar USING e_object.
      ENDMETHOD .                    "handle_toolbar
    *Handle User Command
      METHOD handle_user_command .
        PERFORM handle_user_command USING e_ucomm.
      ENDMETHOD .                    "handle_user_command
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    *Create an object(instance) for the event handler in F01
    Creating an instance for the event handler
        CREATE OBJECT gr_event_handler1.
    Registering handler methods to handle ALV Grid events
        SET HANDLER gr_event_handler1->handle_user_command FOR g_alv_grid1.
        SET HANDLER gr_event_handler1->handle_toolbar FOR g_alv_grid1.
    *&      Form  handle_toolbar
          Create buttons on ALV Toolbar
          No parameters need to be passed to this form
    *FORM handle_toolbar USING
                       i_object TYPE REF TO cl_alv_event_toolbar_set .
    DATA: ls_toolbar TYPE stb_button.
    CLEAR ls_toolbar.
    MOVE 3 TO ls_toolbar-butn_type.
    APPEND ls_toolbar TO i_object->mt_toolbar.
    CLEAR ls_toolbar.
    IF flag_alv = '1'.
    Header Details
       MOVE   'FIND1'               TO ls_toolbar-function.
       MOVE   icon_select_detail    TO ls_toolbar-icon.
       MOVE   'Header Details'(t03) TO ls_toolbar-text.
       CLEAR  ls_toolbar-disabled.
       APPEND ls_toolbar            TO i_object->mt_toolbar.
       CLEAR  ls_toolbar.
    Item Details
       MOVE   'DETAIL1'             TO ls_toolbar-function.
       MOVE   icon_select_detail    TO ls_toolbar-icon.
       MOVE   'Item Details'(t04)   TO ls_toolbar-text.
       CLEAR  ls_toolbar-disabled.
       APPEND ls_toolbar            TO i_object->mt_toolbar.
    ENDIF.
    IF flag_alv = '2'.
    Header Details
       MOVE   'FIND2'               TO ls_toolbar-function.
       MOVE   icon_select_detail    TO ls_toolbar-icon.
       MOVE   'Header Details'(t03) TO ls_toolbar-text.
       CLEAR  ls_toolbar-disabled.
       APPEND ls_toolbar            TO i_object->mt_toolbar.
       CLEAR  ls_toolbar.
    Item Details
       MOVE   'DETAIL2'             TO ls_toolbar-function.
       MOVE   icon_select_detail    TO ls_toolbar-icon.
       MOVE   'Item Details'(t04)   TO ls_toolbar-text.
       CLEAR  ls_toolbar-disabled.
       APPEND ls_toolbar            TO i_object->mt_toolbar.
    *&      Form  handle_user_command
          User Command for ALV Toolbar Buttons
         -->P_E_UCOMM  UCOMM
    FORM handle_user_command  USING    p_e_ucomm TYPE any.
      CASE p_e_ucomm .
        WHEN 'FIND1'.
    For Header detail display
          PERFORM get_selected_rows USING g_alv_grid1.
          IF i_rowid IS INITIAL.
            MESSAGE i000(zv_gts) WITH 'Select atleast one row'(e11).
            EXIT.
          ENDIF.
          PERFORM read_detail TABLES i_zvfx_gts008_head_l .
          CALL SCREEN 9020.
        WHEN 'DETAIL1'.
    For Item Summary display
          PERFORM get_selected_rows USING g_alv_grid1.
          IF i_rowid IS INITIAL.
            MESSAGE i000(zv_gts) WITH 'Select atleast one row'(e11).
            EXIT.
          ENDIF.
          PERFORM read_detail TABLES i_zvfx_gts008_head_l.
          CALL SCREEN 9030.
        WHEN 'FIND2' .
    For Header detail display
          PERFORM get_selected_rows USING g_alv_grid2.
          IF i_rowid IS INITIAL.
            MESSAGE i000(zv_gts) WITH 'Select atleast one row'(e11).
            EXIT.
          ENDIF.
          PERFORM read_detail TABLES i_zvfx_gts008_head.
          CALL SCREEN 9020.
        WHEN 'DETAIL2'.
    For Item Summary display
          PERFORM get_selected_rows USING g_alv_grid2.
          IF i_rowid IS INITIAL.
            MESSAGE i000(zv_gts) WITH 'Select atleast one row'(e11).
            EXIT.
          ENDIF.
          PERFORM read_detail TABLES i_zvfx_gts008_head.
          CALL SCREEN 9030.
        WHEN OTHERS.
      ENDCASE .
    ENDFORM.                    " handle_user_command
    ENDIF.
    *ENDFORM.                    "handle_toolbar

  • Issue in Due date analysis report S_ALR_87012168

    Hi Friends,
    We have a strange issue regarding due date analysis report (S_ALR_87012168)...
    When i execute this report it displays different amounts in "Not Due" column under 0-30 bucket. In 0-30 bucket, under not due column it shows 10,000 and under total open items column it shows 15,000. How it is possible?
    Thanks to everyone
    Anifi

    Hi,
    This has been closed due to Local and Document currency prob...
    Thanks

  • Interactive reports in abap objects

    Hi,
           plz send me the code of  interactive report using ABAP Objects .
    Thanks,
    T.Sreekanth.

    Hi,
    It will be similar to what you do in normal report.
    Here you may create an object instance and then call some method on the object.
    AT LINE-SELECTION.
    create object obj.
    CALL METHOD obj->method1
    IMPORTING
      text = im_text.
    write: im_text.
    Regards,
    Sesh

  • Margin Issue(pdf) in migrating 6i report to 10g

    Hi,
    After I migrated the report from 6i to 10g, I found the report printing issue comes out. Every report printing is not same as 6i, move the data to left and top about half cm. I searched this forum, I got clue was i can add reports_add_hwmargin into registry, then I can add printer margin into the report. I found it works when i run the reprot from 10g builder. But when I generated it into pdf format through IDS then print out, the problem is still there. How can add printer margin into report with pdf format?
    My environment is
    app server 10g
    report 10g,
    windows xp
    Thanks in advance.
    appcat

    Try a Compile All ( Ctrl - K ), then Ctrl - T.
    Not sure about XP, but in Vista, the 10g Builder and batch compiler will crash if a PLL Library is not available when the form is compiled.
    Make sure the PLL Library is available, and all its objects compile in the 10g setup.
    If that does not help, then try a semicolon-to-semicolon replace all, then save the fmb. Then restart the Forms Builder, and open the fmb again, and try compiling.
    Here is an old link describing the issue:
        Re: FMB size shrinks dramatically

Maybe you are looking for

  • Need help in Payroll Tax Balance Issue - Urgent

    Hi, Please help me with the following Tax and Balance issue. The system is on 12.0.3, South African Legislation. Issue : Salary has been restructured from Basic Salary to Total package structure in Dec 2008. Retro Pay was used to pay the difference a

  • Ipod touch 1st generation not showing wifi

    I have a 8GB 1st generation itouch with iOS 3.1.3 and in settings, wifi isnt grayed out but is unclickable. i looked inside and i thing that little piece of metal on the back cover is making contact with the wifi antenna itself. what can i do?

  • Expanding root partition in Solaris 10 VirtualBox virtual machine

    I am running a Solaris 10 u8 x86 64-bit guest as a VirtualBox VM on a WinXP x64 host. I was running out of space in the guest VM, so I used CloneVDI (http://forums.virtualbox.org/viewtopic.php?f=6&t=22422) to clone and expand the VM from 20GB to 30GB

  • Profit Center Accounting active but no profit center specified

    Dear All, I have created two accounting groups, but when i try to create the cost center it will pops up the warning, the cost center is failed to be created. Would you please help if there is anything i should set up to solve this warning like deact

  • Basic doubt regarding Java

    Hi Friends, I started to learn Using Java in Oracle. My Oracle Version is 9i and i have installed java packages to my database server. Now i want to steady about writing Java code for Select,Insert,Delete and Update Statements to my database tables.