07-26-2005 7:25 AM
Hello everyone,
i'm currently have a program wich returns me a pdf form after data collection.
My question is:
Is it possible to search all matching forms in the current system wich depends to a specific interface ?
So if this would be possible i could include in my selection screen a dynamicly loaded list of matching forms for my specified interface.
Does anybody know where the relation data between interface and form is stored ?
best regards
fabian
07-26-2005 9:07 AM
Hi Fabian!
You describe a form created by a report, then this form depends on an interface - how do you define this dependency? Then we might help finding the tables, but currently I don't have a glue, which link you might mean.
Regards,
Christian
07-26-2005 9:07 AM
Hi Fabian!
You describe a form created by a report, then this form depends on an interface - how do you define this dependency? Then we might help finding the tables, but currently I don't have a glue, which link you might mean.
Regards,
Christian
07-26-2005 1:42 PM
Hello,
in transaction se80 it is possible to create an interface and also a form. And in the form setting's your are able to define an interface for the form.
So i think this relationship will be saved in a database table. But i dont know in which.
If i would know the table i could get the relationship information out there.
best regards
fabian
07-26-2005 2:32 PM
Hi Fabian!
I'm still confused. Do you talk about smartforms? In SE80 I see class / interface option, I also can create an include with form-routines - but I don't see a connection.
Smartforms interface is defined in transaction smartforms, but SE80/SE24 interface has no connection.
Please explain your objects more in detail (sorry for my problems understanding you).
Regards,
Christian
07-26-2005 3:06 PM
No problem my english is not so good.
So i will try to explain it better:
I created a form in SE80.
Create --> Form object --> Form
Also a Interface.
Create --> Form object --> Interface
After that i defined variables for my interface. In the form settings i typed the name of my interface.
So that is the way i can add an interface to my form.
My question is now, where does the system save the data.
I think the name of the interface wich i have typed in the form settings will be written in one ore more database tabels. But i do not know in which one.
So if you know or are able to get the name of this table(s) which includes this information i would be able to search the table for all corresponding fields which my interface name.
best regards
fabian
07-26-2005 3:25 PM
try se84 - programming - program sub-objects - subroutines
regards Andreas
07-26-2005 4:17 PM
Hi Fabian,
don't worry, your English is fine, my problem is my old SAP version.
Ah, just came an update. Thank you Andreas!
Unfortunately now some meetings and other stuff interrupted my search. Please have a look into <b>TCDIR</b> and tell me, if that's already OK.
Otherwise: look which structure field is used in dynpro, make a where-used-list for the data element and look at tables which start with D* or T* for your link.
Regards,
Christian
07-27-2005 9:30 AM
Hello so i looked into TCID but there i could not see a relationship between formname and interfacename.
I mot shure if you mean the table TCID in my system the description is: CAD-Fieldagreement for download
The other tipp i could not execute because i'm not using a dynpro.
I'm using the PCH database report. It's just a easy selection screen. If u have a system which ADS service running have a look at the programm FP_EXAMPLE_01.
This programm does also create a pdf form out of a data selektion.
In the code you will see, that there is specified the name of the form which the programm calls.
So i think but i'm not quite shure that the system holds the relationship data or just the data which form uses which interface.
And if i would knew where the system stores this type of data it would help me a lot.
kind regards
Fabian
07-28-2005 2:13 PM
Hi Fabian,
when I spoke about dynpro, I meant dynpro of SE84 - where you maintain your link, not in your program.
It looks like some info is searched at runtime (FM WB_TREE_GET_OBJECTS), but there is also a index table D010INC.
You might also try a SQL-trace while you save a link creation of form and interface. In the trace you can search for 'update' and maybe find your table of interest.
By the way: sorry, we don't have ADS.
Regards,
Christian