2008 May 01 10:02 AM
Hello!
On which table is FM RP_PNP_ORGSTRUCTURE's output based ?
Which tables are being used here for the output of Organizational Structure in the tree ?
My second question is can I pass to this FM my own Z Table with Org-Datas.
Which table must be substituted in the code to acquire this intention?
Regards
Ertas
2008 May 03 2:29 PM
Hi Ilhan,
To know what are all the tables being used by this Fm to fetch/Update the data just like this.
Open this FM in SE37, Fill in all the details. Now go transaction ST05, switch on the SQL trace. Now come back to ur FM and execute it. Don't do any thing while execution. After execution go to St05 screen , switch off the trace. Press list trace. Now it will show u somany things. Here u can see from what are all tables it got the data(Search by SELECT) and what are all the tables it is updatng(Search by INSERT/UPDATE/MODIFY).
This procedure not only applies for FM, U can use for any thing like reports, User exits, transactions etc.
For ur second question i think u have to copy this and FM and modify as per ur requirement.
Thanks,
Vinod.
hello Ilhan,
if you want to know about this FM and how and where it is being used, u can do a simple thing and smart work.
go to se37 and type your FM and then display, keep cursor on the name of the function module and click on whereused list button which is after execute button, then u will get a popup asking for Programs, tables, structures and so on.....
then enter and u will be finding many program where it has been used see it and copy the logic and used..
simple isnt it.
reward if useful.
thanks,
abdulsamee.
2008 May 01 11:18 AM
hello Ilhan,
if you want to know about this FM and how and where it is being used, u can do a simple thing and smart work.
go to se37 and type your FM and then display, keep cursor on the name of the function module and click on whereused list button which is after execute button, then u will get a popup asking for Programs, tables, structures and so on.....
then enter and u will be finding many program where it has been used see it and copy the logic and used..
simple isnt it.
reward if useful.
thanks,
abdulsamee.
2008 May 03 2:29 PM
Hi Ilhan,
To know what are all the tables being used by this Fm to fetch/Update the data just like this.
Open this FM in SE37, Fill in all the details. Now go transaction ST05, switch on the SQL trace. Now come back to ur FM and execute it. Don't do any thing while execution. After execution go to St05 screen , switch off the trace. Press list trace. Now it will show u somany things. Here u can see from what are all tables it got the data(Search by SELECT) and what are all the tables it is updatng(Search by INSERT/UPDATE/MODIFY).
This procedure not only applies for FM, U can use for any thing like reports, User exits, transactions etc.
For ur second question i think u have to copy this and FM and modify as per ur requirement.
Thanks,
Vinod.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |