I have a requirement where i need to have parameters ACCOUNTING FLEX FIELD FROM and ACCOUNTING FLEX FIELD TO, can you please suggest me which value set do i need to use for getting all the related segments in it.
You will need to use GL_SRS_LEDGER_FLEXFIELD value set. Define two parameters (from and to), both with this value set. You will also need a parameter assigned to GL_SRS_COA_ID_BYSOB value set and another one to your set of books id.
You can copy these parameters definition from GL concurrent program “Account Analysis - (132 Char)”.
Hope it helps,