‎2011 Feb 16 9:04 AM
Hi Experts,
I have a requirment in that i have 2 exclude certain fields
for example-----
DATA WA_KNA1 LIKE KNA1.it gives me exct structure like kna1 with all fields in header or work area say among 50 fields i want 2 exclude 10 fields how can i do that is any syntax or way without declaring structure.
thnx..
ketan...
‎2011 Feb 16 9:23 AM
NO.
when you declaring that way that means youwant entire structure of kna1.If you dont want certain fields then you gotto declare structure explicitly.
‎2011 Feb 16 9:56 AM
Hi,
- Use the FM DDIF_NAMETAB_GET to get the list of all fields of the required DB table.
- Delete all the fields which needs to be excluded
- Write the logic to build the internal table dynamically with the remaining fields.