on 02-15-2012 8:15 AM
Hi friends,
In the smartform, for the delivery, the output should not be generated unless the header and main window fields have data populated. It should have a log showing which are the fields with missing data when the output could not be generated. How can we do this in smartform. If anyone have idea please help me, as am new to abap.
Hi,
1. Take a note of all the fields which are displayed in Header and Main Windows.
2. In the driver program of the smartform, before calling the FM to display smartform, check whether data is available in all the fields (which should be printed in header and main window).
3. Update an intenal table with all the fields which needs to be filled (The internal table can have a single field with STRING type).
4. Now if there is any value in the error internal table, then call the FM - "POPUP_WITH_TABLE" by passing the internal table into it. Else call the FM to display the smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.