Entering content frame

Procedure documentation OnInputProcessing Locate the document in its SAP Library structure

When the user chooses one of the two buttons on the page, OnInputProcessing runs.

It contains the following code:

data: line_item type sb_input,

      action type string.

 

loop at basket_input into line_item.

  action = 'update'.

  if line_item-del = 'X'. action = 'delete'.

endif.

 

  application->do_maintain_basket( catid = line_item-catid

                action = action

                units = line_item-qty

                runtime = runtime ).

endloop.

 

CASE event_id.

  WHEN 'order'.

    navigation->goto_page( 'order.htm' ).

  WHEN others.

ENDCASE.

This code tells the application to read in the user input (to which it has access via the Page Attribute basket_input) line by line. The method application->do_maintain_basket is called for every entry in the shopping basket (using the corresponding catalog ID) that the user has marked for deletion. The shopping basket is then updated accordingly. This code also serializes the content and stores it in a cookie on the client side.

This method is described in detail in the section Application Class.

This graphic is explained in the accompanying textOrder Page

 

 

Leaving content frame