3.3.1 BDC Recording with looping & Excel file drop

  

Step-by-step guide

Looping functionality is used during mass upload of a master or transactional data, which is usually performed during cut-over or batch processing. In the 1.1.1.3 BDC Recording process insert these steps to convert your form to an table that could display multiple records.

  1. Click  in BDC Data section to allow changes.

          


      2. Select the BDC Data section that you like to loop. This is normally all the screen and field values in the recording for master data recording. In some cases you only need to loop in certain screens especially for recordings relating to transactional inputs. 

          


      3. Click , then 'Mark as LOOP' to set loop. 'Remove Loop' is also available in the selection to remove a loop in the future. 

          

          

           Specifying where to loop is important as some transactions and programs have a different setup. Loop at the points where your table starts and ends. 

           


      4. Specify the LOOPTable property of the BDCData to the required TableType node name (eg myData) before using ‘AutoForm’. This should be set on the first element in the loop.

          


      5. Specify the BDC Data Loop Counter Substitution as 1 (first record) and specify the BDC Condition according to your implementation logic. 

          


      6. Click  'Save BDC fields' to finish editing the BDC.


      7. Click  to generate the form with looping and allows for multiple records to be populated. 

          Before Auto-Form                                                                                                                                             After Auto-Form

               

          As it is, you can already make use of this form by manually clicking  and inputting the information manually. 

          


      8. To add value to the solution, we could also incorporate an Excel drop or Upload Collection functionality so users could populate their file in Excel and just upload it in the form. To add, go to the workbench and add a new form. 

           In the context menu of the Form Element → Add Other → Add Excel Drop. 

           

            Alternatively, you can also add an upload collector, which selects the Excel file from a location folder. This is particularly useful if the file is uploaded via a mobile device. 

            


        9. Link the Excess Drop form element to the table

                 


        10. Browser view - Excel Drop

            


        11. Browser view - Upload Collector