Ding-Log
  • Ding Blog
  • Life
    • My Tool Box
  • Golang
    • Basic
      • Go语言学习笔记
        • Go语言 Channel
        • Go语言 goroutine
        • Go语言 如何写Godoc
        • Go语言panic, recover
        • Go语言的Defer函数
        • Go语言的闭包
        • Go语言接口(Golang - Interface)
        • Go语言的面向对象
      • Go语言爬虫
        • Go语言爬虫 - 广度优先算法
      • Map
    • Web
      • Example to handle GET and POST request in Golang
    • Exercism
      • Isogram
      • ETL
      • Accumulate
      • Scrabble Score
  • SAP
    • SAPUI5&Fiori
      • How to prepare C_FIORDEV_20 SAP Certified Development Associate — SAP Fiori Application Developer
      • SAPUI5 sap.ui.define and sap.ui.require
      • SAPUI5 Models and Binding
      • SAPUI5 MVC Walkthrough
    • ABAP
      • Working with Internal Tables
      • 关于使用内部表的时候的一些注意事项
      • Error Handling
  • Log
Powered by GitBook
On this page

Was this helpful?

  1. SAP
  2. ABAP

关于使用内部表的时候的一些注意事项

去重的时候一定不要搞错了

 SORT LT_FM_ZSV430_EBELP BY EBELN EBELP.
    DELETE ADJACENT DUPLICATES FROM LT_FM_ZSV430_EBELP COMPARING EBELN EBELP.

如果有一个Loop后要跟一个append,同时这个Loop要执行多次,那记得要清空内部表。

 LOOP AT LT_FM_ZSV430_EBELN INTO LS_FM_ZSV430_EBELN.
        CLEAR LS_T_ZSV430_EBELN.
PreviousWorking with Internal TablesNextError Handling

Last updated 5 years ago

Was this helpful?