‎2008 Aug 01 3:13 PM
Hi
I have in my selection screen
CONDITION TYPE (T685-kschl) as Select-options (mandatory)
CONDITION TABLE (T682I-Kotabnr) as Select-options (mandatory)
PLTGROUP (Tvk8-kvtr8) as Select-options
BRANDCODE ( Tvm1-mvgr1) as Select-options
My requirement is that for given condition tables say A932,A982,A964,A966, A800, A808
and if PLT Group is given in input only condition tables having Technical field KATR8 are to be selected for further processing.. and so only A982 is only to be selected from the above tables for further processing.
Similarly if Brandcode is given in input only condition tables having Technical field ZZMVGR1 are to be selected for further processing.. and so only A801 is only to be selected from the above tables for further processing.
How do i go about that???
‎2008 Aug 01 3:18 PM
You can check in the table DD03L with the Table name and field name.
Like:
SELECT TABNAME
INTO TABLE T_DD03L
FROM DD03L
WHERE TABNAME IN <Cond_tab>
AND FIELDNAME = 'KATR8'.
Regards,
Naimesh Patel
‎2008 Aug 01 3:18 PM
call function DDIF_FIELDINFO_GET for each selected condition table and see if the fieldname appears in return table DFIES_TAB. If not, remove from further processing.
Thomas
‎2008 Aug 01 3:31 PM
‎2008 Aug 01 3:18 PM
You can check in the table DD03L with the Table name and field name.
Like:
SELECT TABNAME
INTO TABLE T_DD03L
FROM DD03L
WHERE TABNAME IN <Cond_tab>
AND FIELDNAME = 'KATR8'.
Regards,
Naimesh Patel