Skip to Content
0
Former Member
Feb 27, 2008 at 11:47 AM

Dynamic Table Selection function module

140 Views

Dear Friends,

We have got critical requirement on Custom BAPI function module :

we have to pass one field name of table and table name : Eg (Matnr and MARC).

we have to get table contents w.r.t field name of table and table : Has to display MARC based on Matnr.

(It is something like we display table contents in SE11 and SE16, Our requirement is to get the data by giving random field name of table and table name ).

My View : Imports Tab of F.M of is static

Tables Tab of F.M could be dynamic....if so how to achieve or any other approach?

Note : Eg1 : Matnr and MARA (Input to F.M) -


> Get MARA contents (Table from F.M)

Eg2 : Matnr and MARC (Input to F.M) -


> Get MARC contents (Table from F.M)

Eg3 : Lifnr and LFA1 (Input to F.M) -


> Get LFA1 contents (Table from F.M)

Eg1 : Ebeln and EKKO (Input to F.M) -


> Get EKKO contents (Table from F.M)

Awaiting for positive and quick views.

Regards

Sekhar