Skip to Content
avatar image
Former Member

data to compare from two different clients

hi

how to display and compare the data from two different clients(i.e. source and target ) with checkboxes in alv grid format.

thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 26, 2008 at 09:38 AM

    Try transaction SCMP

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2008 at 09:43 AM

    Use CLIENT SPECIFIED after FROM clause to fetch data from different client.

    SELECT... FROM <tables> CLIENT SPECIFIED. ..

    Load data into internal table with MANDT field and display the MANDT and corresponding record

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      When you Use CLIENT SPECIFIED make sure you include the MANDT in the where clause.

      example

      select * from vbak
      client specified
      where mandt in so_mandt  " so_mandt is select option for the client )
      and " rest of the selection criteria  
      

      Edited by: Advait Gode on Sep 26, 2008 12:08 PM

  • avatar image
    Former Member
    Sep 26, 2008 at 10:03 AM

    Hi Gajendra,

    Have a look at the below class

    CL_RSRD_PRODUCER_EXCEL

    Cheers,

    KD

    Edited by: Krutiman Das on Sep 26, 2008 11:04 AM

    Add comment
    10|10000 characters needed characters exceeded