‎2020 Feb 11 11:32 AM
Hi all,
I just want to know that can we call a smartform from another smartform?? Like how we call a smartform from driver program.
‎2020 Feb 11 12:20 PM
dhanushkanna,
That's not a recommended approach, instead i would propose following options:
1) Design your smart form with Two pages, when Bar Code is scanned print the second Page else print the first page.
2) Design a separate smart form for bar code scanning alone.
Regards!
‎2020 Feb 11 11:34 AM
Can you explain the requirement clearly please? Smartform is just a print media.
‎2020 Feb 11 11:43 AM
The thing is if i scan a QR code created in smartform it should get the final output of another smartform. Is this is possible in smartforms??
‎2020 Feb 11 11:53 AM
Theoretically it's possible.
SmartForm allows you to enter your own ABAP code in the layout definition. So you could implement a call to another SmartForm there. SmartForms generation creates a function module i.e. calling a SmartForms boils down to calling its function module.
However I see this as a very weird requirement.
Dominik Tylczynski
‎2020 Feb 11 12:17 PM
In your question, it's not important to know that the QR code was from a Smart Form.
What is important is to know what software is linked to your scanner: when the QR code is scanned, the QR code is passed to the software, and you want the software to contact the ABAP system to do an action (whatever it is, print smart form or anything else).
What is important (bis) is to know what is between the scanner and the ABAP system.
‎2020 Feb 11 12:20 PM
dhanushkanna,
That's not a recommended approach, instead i would propose following options:
1) Design your smart form with Two pages, when Bar Code is scanned print the second Page else print the first page.
2) Design a separate smart form for bar code scanning alone.
Regards!