03-22-2022 7:14 AM
I am creating a dunning smartform and i have used this bapi_user_get_detail in the driver program.
now i want to use the values in the smartform.
Thanks.
03-23-2022 7:53 AM
Hi,
so if you already read the user data using this BAPI-function module in the driver program, you need to pass this information as well to the (generated) function module of the Smartforms.
First you need to create corresponding IMPORTING-parameters in the Smartforms itself to be able to use this additional data in the form.
Another option would be to use the coding inside of Smartforms to get the user details using this BAPI. With this approach you do not need to change the driver program and no adaption of the IMPORTING-parameters are needed. The read data is stored in global variables of the Smartforms in this case.
I hope I answered your question. In case of further questions, please let me know.
Kind regards
Jens
03-22-2022 7:33 AM
Maybe you forget to ask a question
It seems to be a very low level smartforms question, didn't you find a blog on this subject ?
03-23-2022 7:53 AM
Hi,
so if you already read the user data using this BAPI-function module in the driver program, you need to pass this information as well to the (generated) function module of the Smartforms.
First you need to create corresponding IMPORTING-parameters in the Smartforms itself to be able to use this additional data in the form.
Another option would be to use the coding inside of Smartforms to get the user details using this BAPI. With this approach you do not need to change the driver program and no adaption of the IMPORTING-parameters are needed. The read data is stored in global variables of the Smartforms in this case.
I hope I answered your question. In case of further questions, please let me know.
Kind regards
Jens