2016 Aug 02 9:20 PM
Hello experts,
I have a program which shows an ALV using FM REUSE_ALV_GRID_DISPLAY. It has a button to save layouts and it works fine. However, I would like to check the layout name just before saving definetely. I mean, pushing save layout and once I write its name and accept, I want to check the layout with my own code. Is this possible? Is there any user exit available in this process or should I implement my code for the whole layout process?
Thanks in advance.
PD: I did research of this issue in SCN.
2016 Aug 24 5:17 PM
Hello Jorge,
Please check the below function modules.
LT_DBDATA_WRITE_TO_LTDX
LT_DB_UPDATE_LTDXD
Thanks,
Kishore.
Hello experts,
I have a program which shows an ALV using FM REUSE_ALV_GRID_DISPLAY. It has a button to save layouts and it works fine. However, I would like to check the layout name just before saving definetely. I mean, pushing save layout and once I write its name and accept, I want to check the layout with my own code. Is this possible? Is there any user exit available in this process or should I implement my code for the whole layout process?
Thanks in advance.
PD: I did research of this issue in SCN.
2016 Aug 10 9:10 AM
Any idea? I want to check the ALV layout just after saving it.
2016 Aug 10 11:49 AM
Probably not, but not sure. Can't you just find a place where to implement an implicit enhancement option? (enhancement framework)
2016 Aug 12 3:32 PM
Thanks for your answer,
I did not find anything in the function responsible for saving the layout. I believe that it is not possible.
Regards.
2016 Aug 12 3:43 PM
Add a breakpoint at function module LVC_VARIANT_SAVE_LOAD, execute, and debug "backward" (manually), you'll probably find easily a place to add your code.
2016 Aug 24 12:19 PM
I have not found a place for my code so far following your advice. Anyway, I keep trying. I will let you know in case I find something.
2016 Aug 30 8:56 AM
Why do you say LVC_VARIANT_SAVE_LOAD has no spot to place a control?
i see a wonderful
form f25_initialization
where to place your checks within an implicit enhancement.
It also provides a flag to stop the execution of the FM!
2016 Aug 24 5:17 PM
Hello Jorge,
Please check the below function modules.
LT_DBDATA_WRITE_TO_LTDX
LT_DB_UPDATE_LTDXD
Thanks,
Kishore.
2016 Aug 30 8:47 AM
Hello Kishore,
Thank you for your answer. LT_DBDATA_WRITE_TO_LTDX and LT_DB_UPDATE_LTDXD are the functions which I need. Just after saving my layout, these functions are executed. Unfortunately I did not find any enhancement spot.
Regards.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |