Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SMARTFORMS

DKanna
Explorer
0 Likes
998

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.

1 ACCEPTED SOLUTION
Read only

former_member1716
Active Contributor
893

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!

5 REPLIES 5
Read only

Sathya_Gunasekaran
Contributor
893

Can you explain the requirement clearly please? Smartform is just a print media.

Read only

DKanna
Explorer
0 Likes
893

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??

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
893

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

Read only

Sandra_Rossi
Active Contributor
893

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.

Read only

former_member1716
Active Contributor
894

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!