SAP Knowledge Base Article - Preview

2124866 - Custom function not updating global variable properly - Data Services

Symptom

  • Custom function that increments a global variable seems to increment it twice per record instead of once per record.
  • When using a local variable to increment instead of global variable, it works correctly.
  • Global variable is not correctly changed by custom function.
  • When incrementing or adding one (1) to a global variable in a custom function based on a condition per row, it seems to be doubled instead of only happening once.


Read more...

Environment

SAP Data Services

Product

SAP Data Services all versions

Keywords

KBA , EIM-DS-EXE , Job Execution , EIM-DS , Data Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.