Friday, September 16, 2016

Loop, Template, Table

Loop
Loop node is used to process output repeatedly.
You use the loop node to read data from an internal table line by line. As far as the child nodes are concerned, it is still open how you will continue to process this data.
Example: You pass an internal table containing customer data and an internal table containing customer orders to the form interface. You use a loop to read the customer data and display it. Within the loop, you create a table and use the customer number to display the orders of this customer. This allows you to display the orders of all customers on one form.

Procedure



  • Create a node of type Loop in the navigation tree of the Form Builder.
  • Enter a unique name for the node and a description (for example, loop on customer table).
  • Read the data from an internal table into a work area.
  • Create inferior nodes in which you display the fields of the read table lines.

  • Template

    Template can be  used when you know the exact size of the output or the output is in a fixed format.
    E.g. Tax form/ cheques /airline form/railway ticket: all these use templates.

    The big  between table and template is that in a Table the height changes dynamically. We call a row a 'line' in template.

    No comments:

    Post a Comment

    SAP giới thiệu mã hỗ trợ AI trong ngôn ngữ ABAP riêng của mình

    SAP đã ra mắt một loạt tính năng mã hỗ trợ AI trong môi trường phát triển ứng dụng dựa trên đám mây của mình, đồng thời tham gia vào danh sá...