Sunday, October 30, 2016

Loop over fields in a structure

  1.  
  2. DO.
  3.  
  4. ADD 1 TO lv_comp_count.
    1. ASSIGN COMPONENT lv_comp_count OF STRUCTURE is_data TO <fs_comp>.
  5. IF sy-subrc NE 0.
  6. EXIT.
  7. ENDIF.
  8.  
  9. ENDDO.
  10.  

No comments:

Post a Comment

Post Ads (Documentation Required)

Phani Kumar

I am a SAP Technology enthusiast.
I am working on SAP technologies and various integrations.
SAP Fiori
SAP Gateway OData Development
SAP UI5
SAP Hana Cloud Platform
Internet of Things
Augmented Reality and Virtual Reality