‎2008 Jul 24 5:08 PM
Hi,
could you please tell me if it is possible to set default value for parameter, which was defined in logical DB with help folowing statment "SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE YYY".
i have a program(ZZZ), which bases on LDB(XXX), this logical DB(XXX) has defined dynamic selection for some tables/nodes(YYY). I would like to set default value for one of the fields(YYY-field) from these tables/nodes(YYY) in my program(ZZZ).
if there is something in above description, which needs to be explained more detailed, please let me know.
thank you
J
‎2008 Jul 24 5:37 PM
hi check this...
i am understanding from ur the question..that we need to initialize the values in ldb .
here i am using ldb PNP..
report .
tables:pernr .
get pernr .
pnppernr = '1000'.
pnpbegda = sy-datum .
pnpendda = sy-datum - 30
‎2008 Jul 24 5:43 PM
That would be true, if i were asking for initializing NORMAL parameters. But it doesn't work for parameters defined as SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE YYY.
These are dynamic parameters, not normal ones.
Does anybody know if there is a way to do it?
Thank you.
J
‎2008 Jul 24 6:18 PM
Did you try with fm LDB_PROCESS. (Instead of adding in the attributes)
(please check the function module documentation)
a®
‎2008 Jul 24 7:18 PM
Hello,
yes, i have tried this FM, in generel its one of the best possiblities to use LDB, but in my case it's not enough-> i need to have selection screen from LDB with the option to lanunch dynamic selections....
But anyway, thank you