Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to determine if FM is triggered from other system?

Hi Experts,

I have a requirement that creates and updates a contract via transaction ME31K and ME32K and triggers ME_CREATE_DOCUMENT and ME_UPDATE_DOCUMENT respectively.

Aside from that, contract should also be created or changed from other system via an RFC FM but I don't know if SY-CPROG is enough. What I did is I filtered my change by SY-TCODE (for ECC process) and SY-CPROG (for via RFC process). Am I correct to use SY-CPROG for RFC process?



Former Member
Not what you were looking for? View more on this topic or Ask a question