‎2006 Oct 18 5:03 AM
Hi,
While creating objects to a class,we can see few parameters with the object created.Any idea about where the parameters are coming from and what are the values to be passed for it should be helpful.
For ex:
I am creating a object for CL_DD_DOCUMENT.
CREATE OBJECT e_dyndoc_id
EXPORTING
STYLE =
BACKGROUND_COLOR =
BDS_STYLESHEET =
NO_MARGINS =
.
I am able to see BDS_STYLESHEET in attributes.
But where I can see the other parameters?How to set the values for those parameters?
‎2006 Oct 18 8:31 AM
possibel styles:
'ALV_GRID'.
'ALV_TO_HTML'.
'TREE'.
'STAND_ALONE'.
taken from the local class implemented within CL_DD_DOCUMENT
how to reach this code.
go to the source view of the constructor method of cl_dd_document.
double click on method "initialize_document"
double click on method "get_gui_properties"
in the following statement there.
call method resources->get_gui_properties
now you will see these styles.
Regards
Raja
‎2006 Oct 18 6:18 AM
Hi,
Look at the method CONSTRUCTOR of the class.
Regards,
Rao A
‎2006 Oct 18 6:32 AM
Hi,
Any idea about the values to be given to parameter.I am able to see the type of values given.
For ex:How to find out , we need to ALV_GRID in style parameters.
Creating the document
CREATE OBJECT o_document
EXPORTING
STYLE = 'ALV_GRID'.
Message was edited by: Jayanthi Jayaraman
‎2006 Oct 18 7:30 AM
Hi,
Try the 'Class Documentation' button in the application toolbar in SE24.
Regards,
Rao A
‎2006 Oct 18 7:38 AM
‎2006 Oct 18 7:41 AM
Go to freetranslation dot com, cut and paste the text and choose translation from German to English.
Regards,
Rao A
‎2006 Oct 18 7:49 AM
Hi,
Useful site.When I click on documentation,it is saying that 'Documentation not found in english'.I am not able to see the German docuemtnaion.
I am not able to logon using GE,since that is not in my system.
‎2006 Oct 18 8:31 AM
possibel styles:
'ALV_GRID'.
'ALV_TO_HTML'.
'TREE'.
'STAND_ALONE'.
taken from the local class implemented within CL_DD_DOCUMENT
how to reach this code.
go to the source view of the constructor method of cl_dd_document.
double click on method "initialize_document"
double click on method "get_gui_properties"
in the following statement there.
call method resources->get_gui_properties
now you will see these styles.
Regards
Raja
‎2006 Oct 18 9:27 AM
Hi ,
I am able to find out the values thro' the source code of the method.But is it the only way to find out the possible values for a parameter in a class?I don't think we can see the possible values for all other parameters of all the classes.
‎2006 Oct 24 11:28 AM
Hi
No other way except by seeing the documentation in English.
‎2006 Oct 29 9:37 AM
.<i><b>But is it the only way to find out the possible values for a parameter in a class?</b></i>
No. It only in this particular case. but in general the possible values for class parameter is same like in other cases where its maintained in domain level or at check table.
Regards
Raja