2012 Dec 29 10:16 AM
FORM subtotal_text CHANGING
p_total TYPE any
p_subtot_text TYPE slis_subtot_text.
IF p_subtot_text-criteria = 'BEDAT'.
p_subtot_text-display_text_for_subtotal = 'Average Landed Rate'.
ENDIF.
ENDFORM.
Thakns,
Hemant Balde
Moderator message: please search for information before posting, read ABAP documentation, use meaningful titles, you were warned many times before.
Message was edited by: Thomas Zloch
FORM subtotal_text CHANGING
p_total TYPE any
p_subtot_text TYPE slis_subtot_text.
IF p_subtot_text-criteria = 'BEDAT'.
p_subtot_text-display_text_for_subtotal = 'Average Landed Rate'.
ENDIF.
ENDFORM.
Thakns,
Hemant Balde
Moderator message: please search for information before posting, read ABAP documentation, use meaningful titles, you were warned many times before.
Message was edited by: Thomas Zloch
2012 Dec 29 10:33 AM
If criteria is BEDAT then
display_text_for_subtotal will be changed to 'Average Landed Rate' after executing the routine.
2012 Dec 29 10:37 AM
* Callback Interface structure for non display subtotals text
types: begin of slis_subtot_text,
criteria type slis_fieldname,
keyword like dd03p-reptext,
criteria_text(255) type c,
max_len like dd03p-outputlen,
display_text_for_subtotal(255) type c,
end of slis_subtot_text.
The subtotal text 'Average Landed Rate' will display if the subtotal is based on Field BEDAT
2012 Dec 29 1:47 PM
This is a basic IF---ENDIF statement I don't know why you are asking this here...
If you are looking for functionality of this subroutine then again simple, based on the field name(BEDAT) you are selecting subtotal text.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |