cancel
Showing results for 
Search instead for 
Did you mean: 

Which is the Better Approach in Smartforms???

former_member215563
Active Participant
0 Kudos

Hi All,

In Smartforms we generally follow 2 approach.

1. To just pass the parameter from the driver prog (say VBRK-VBELN) to the smartform and then writing the code (select stmns) , fetching line items etc

     in the smartform  itself.

OR

2. Fetch the header data , line items etc. all in the driver program and then when the final internal table for header and line items are ready , then simply pass that  to the smartform.

Just wanted to know ur opinions on which approach is better....

Thanks & Regards,

Faiz

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Better to do it in driver program then pass it to smartforms. Debug the data will be easy from driver program then in smartforms. Smartforms are basically used for formating the text and printing it.

Rushikesh_Yeole
Contributor
0 Kudos

second one.

You should pass all the data from databse table to smartform at initial level.

Then in smartform you can restrict data priniting