Skip to Content
0
Former Member
Feb 16, 2011 at 08:53 AM

Require coding logic

31 Views

Hi,

I need a logic for the below requirement,

Internal table 1 will have around 13 fields ex: a, b, c, d,.. m

Interanal table 2 has a field called FIELD which will have the field name ex a,b,c,d.. (field name is nothin but the fields in the internal table 1 i.e a,b,c,d.. m)

if the internal table 2 entries are d,e,g,h,k then i need to sort the internal table 1 by fields d,e,g,h and k

if the internal table 2 entries are b,d,f,k.a the i need to sort the internal table 1 by fields b,d,f,k,a

So could some one please suggest me some logic for this, It would be good if I could get a sample code for the same

Thnx,

Nalina

Moderator Message: Asking for coding without any effort fron you is NOT allowed.

Edited by: kishan P on Feb 16, 2011 4:34 PM