08-30-2007 10:03 AM
HI EXPERTS,
cud u plz tell me how to fill the short criteria group box in data tab of the smartforms especially event on sort end,actaully i want to print material wise quantity summation for this i m using this group box with clicking <b>event on sort end</b> after executing it is giving this error,,,also cud u plz tell me how to create text in <b>event on sort</b> ,,
error:
Syntax error in program "/1BCDWB/SAPLSF00000211 ".
at happened?
Error in ABAP application program.
The current ABAP program "ZRAW_PRODUCTION_REPORT_SFM" had to be terminated
because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "/1BCDWB/SAPLSF00000211 ", the following syntax error occurred
in the Include "/1BCDWB/LSF00000211TOP " in line 81:
"Field "ITAB_FINAL_SFM" is unknown. It is neither in one of the specifi"
"ed tables nor defined by a "DATA" statement. "DATA" statement."
" "
" "
Author and last person to change the Include are:
Author "VISA_ABAP "
Last changed by "VISA_ABAP "
ror analysis
In program "/1BCDWB/SAPLSF00000211 ", the following syntax error occurred:
"Field "ITAB_FINAL_SFM" is unknown. It is neither in one of the specifi"
"ed tables nor defined by a "DATA" statement. "DATA" statement."
" "
" "
plz help me use this group box....
especially :event on sort begin.
:event on sort end....
08-30-2007 10:26 AM
Smart Forms knows two events for control breaks: at the beginning of a sort term i.e AT NEW and at the end of a sort term i.eAT END.
If you mark a sort term, the system dynamically creates an event node in the tree structure of the form and deletes it if you unmark the term. You can add subnodes to the event nodes, for example, text nodes to display headings or subtotals at a control break.
If internal table is already sorted by application then select check box Alread Sorted above sort criteria table and specify the sort field in sort criteria.
Remember that you shu have ticked check box before internal table on data tab and shu also have provided internal table name.
In sort criteria, you specify the fields of the internal table directly.. without itab name.
and regarding the error you mention... can you chekc if ITAB_FINAL_SFM is defined in Form Interface of Global setting and the workarea for the same is also
declared in global definition..
Hope this helps you...
Enjoy SAP.
Pankaj Singh.
08-30-2007 10:32 AM
i have already defined the internale table,and u know if i uncheck the radio button for event on sort end my all data is coming rt,,,,,,,,