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

what does this mean?

Former Member
0 Likes
654

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

3 REPLIES 3
Read only

former_member195270
Active Participant
0 Likes
619

If criteria is BEDAT then

display_text_for_subtotal will be changed to 'Average Landed Rate' after executing the routine.

Read only

Former Member
0 Likes
619

* 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

Read only

Former Member
0 Likes
619

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.