Due to a particular requirement if a Basis layer decides to switch to a new table(Example: swu_wlscan2) instead of an old table(Example: swu_wlscan ) and thereby changing the value range of some of its Parameters(Example: Job Suffix), the application layer functionalities that use this table needs to adapt. The challenge here is that in application layer you are not sure that in a particular environment which basis release and support package is applicable and which of the 2 tables is active. In this case, if you have a program(Example/SAPSRM/OFFLINEAPPROVALSEND) in which there is Parameters declared for selection-screen and this Parameters type is that of the changed parameter in the Basis release, then there is problem statement of how to dynamically have this parameter type determined depending on the availability of the old or new table in Basis release. So that the application layer does not have to create a new program altogether to cater to the table changes. You can solve the issue by
Example: PARAMETERS: p_jobsuf LIKE SWU_WLSCAN-CURR_NUMB. Replace above with below statement PARAMETERS: p_jobsuf LIKE (lv_type). 2. Find the type of Dynamic type (Example:lv_type) in Initialization event block by checking the existence of the table. INITIALIZATION. CALL FUNCTION 'DD_EXIST_TABLE' |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 46 | |
| 42 | |
| 38 | |
| 31 | |
| 28 | |
| 28 | |
| 27 | |
| 24 | |
| 23 | |
| 23 |