2007 Sep 12 12:31 PM
hi all,
I am using the Logical DB PSJ in my report. As i execute i get the pop-up for the setting of the controlling area and the database profile.
I need to suppress these 2 pop-up's
I tried by using the below codes at selection screen output:
IF screen-name CS 'CN_KOKRS'.
MOVE: c_0 TO screen-required,
c_0 TO screen-input,
c_1 TO screen-invisible.
MODIFY SCREEN.
ENDIF.
IF screen-name CS 'CN_PROFD'.
MOVE: c_0 TO screen-required,
c_0 TO screen-input,
c_1 TO screen-invisible.
MODIFY SCREEN.
ENDIF.
But doesnt work.
How to achieve this?
Pls provide inputs.
Regards,
stock
You have to set the memory id associated (SET) so the LDB wont ask for the two parameters
get/set parameter id 'CAC' for controling area
get/set parameter id 'PDB' for database profile
Take also a look at function module CJDB_CHANGE_DB_PROFILE and K_KOKRS_SET.
Regards
2007 Sep 12 12:49 PM
2007 Sep 12 12:53 PM
I don't have a system in front of me right now, but I think they will only popup if values are not yet set for the corresponding parameter IDs e.g. CAC for controlling area - so try setting these in the "initialization" for your report.
Jonathan
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |