SYREPID和SYCPROG的区别 1. sy-repid is the name of the current program. sy-cprog is the name of the calling program. 比如在一个Function里面设置断点,sy-repid的这个FM所在FunctionPool的名字,sy-cprog是调用这个FM的Report的程序名。 2. sy-repid 不可以人为更改,sy-cprog可以