Skip to Content
0
Former Member
Nov 09, 2007 at 11:43 AM

Checking FM table entries against database table entries

24 Views

Hello!

I'm creating a function module with table input parameters IT_OBJECT and output parameters IT_OBJECT_INS.

Also i'm creating ZTABLE with 6 fields. Some of these are the POBJECT and POBJECT_REF which are key fields.

If input parameter IT_OBJECT is populated, the process in the FM would be:

- to check if the data in the input parameter table exists in ZTABLE, that is ZTABLE-POBJECT IN IT_OBJECT

- ZTABLE-POBJECT_REF EQ ' '.

if the above conditions are satisfied I have to retrieve POBJECTS from ZTABLE.

QUESTION: I'm just not sure on how will I do the checking of the entries in IT_OBJECT against the entries in ZTABLE?

Thanks!

Bay