Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

can anyone explain

Former Member
0 Kudos

Please use meaningful subjects for your posts in future.

Hi guys,

can anyone explain this code in detail....


    SELECT mara~matnr meins AS meinh mara~bbtyp filia AS werks
    INTO CORRESPONDING FIELDS OF TABLE p_t_mat_asort_site
    FROM mara INNER JOIN wlk1 ON
      mara~matnr = wlk1~artnr
      INNER JOIN maw1 ON
        maw1~matnr = wlk1~artnr
    FOR ALL entries IN wa_site_tmp
    WHERE
      wlk1~filia = wa_site_tmp-kunnr
      AND maw1~bbtyp IN so_bbtyp
      AND wlk1~quell IN ('C','L','1','2','3')
      AND wlk1~datab LE g_datum
      AND wlk1~datbi GE g_datum
      AND wlk1~strli NE 'X'
      AND maw1~bbtyp IN so_bbtyp
      AND mtart NE 'ZPAI'.

Thanks in advance.

Edited by: Matt on Mar 24, 2009 2:05 PM

Edited by: Matt on Mar 24, 2009 2:06 PM

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos

You should not be so ignorant about the "use proper subject line" warnings.

2 REPLIES 2

ThomasZloch
Active Contributor
0 Kudos

You should not be so ignorant about the "use proper subject line" warnings.

matt
Active Contributor
0 Kudos

What Thomas says is true: Please use meaningful subjects for your posts in future. Take the time to read the [Rules of Engagement |;for this forums.

Now: what precisely don't you understand? The SQL? If so - go read the ABAP HELP on the various keywords.

Or what the value C,L,1,2,3 of wlk1~quell signify?

Please be more explicit in your questions.

Topic locked.

Edited by: Matt on Mar 24, 2009 2:09 PM