thespot4sap.com independent sap information
 

get SAP Access - pay monthly

SAP Tutorials    Online SAP Training    SAP CBT's    SAP Forums    SAP Articles    SAP Jobs    SAP Resumes
  SAP Access    SAP Blogs    SAP Books     Links     SAP Vendor Directory     Submit Content    Search
Previous posts in SAP ABAP
Page 5406 of 5660

Dynamic WHERE Clause in ABAP/4

Blogger : howforge.com - Share Know-How
All posts : All posts by howforge.com - Share Know-How
Category : SAP ABAP
Blogged date : 2006 Jan 11

You can apply internal table of create dynamic where clauses.

Example

DATA i_where(100) OCCURS 0 WITH HEADER LINE.
APPEND ’vbeln LIKE ’’%1’’’ to i_where.
APPEND ’matnr LIKE ’’%M’’’ to i_where.

TABLE lips.
DATA i_lips TYPE TABLE OF lips WITH HEADER LINE.
SELECT * FROM lips INTO TABLE i_lips
     WHERE werks = ’1000’
        AND (i_where).

Above Example is look like:

read more


Read comments or post a reply to : Dynamic WHERE Clause in ABAP/4
Page 5406 of 5660

Newest posts
New Page 1

 

 

About Us   Contact Us   Privacy   Disclaimer   Feedback   Email Discussion   Newsletter  

Copyright © - Independent SAP Information
Learn XML, Guesthouses and B&B's