Skip to Content

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

REG: Submit With Free Selection For FAGLB03

Dear GURU'S,

i was struck up with the same T.code FAGLB03

i want to pass the value for cost center which is in the dynamic selection.

please check my program

DATA: TRANGE TYPE RSDS_TRANGE,

TRANGE_LINE

LIKE LINE OF TRANGE,

TRANGE_FRANGE_T_LINE

LIKE LINE OF TRANGE_LINE-FRANGE_T,

TRANGE_FRANGE_T_SELOPT_T_LINE

LIKE LINE OF TRANGE_FRANGE_T_LINE-SELOPT_T,

TEXPR TYPE RSDS_TEXPR.

TRANGE_LINE-TABLENAME = 'FAGLFLEXT'.

TRANGE_FRANGE_T_LINE-FIELDNAME = 'RCNTR'.

TRANGE_FRANGE_T_SELOPT_T_LINE-SIGN = 'I'.

TRANGE_FRANGE_T_SELOPT_T_LINE-OPTION = 'EQ'.

TRANGE_FRANGE_T_SELOPT_T_LINE-LOW = 'AA00'.

APPEND TRANGE_FRANGE_T_SELOPT_T_LINE

TO TRANGE_FRANGE_T_LINE-SELOPT_T.

APPEND TRANGE_FRANGE_T_LINE TO TRANGE_LINE-FRANGE_T.

APPEND TRANGE_LINE TO TRANGE.

CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'

EXPORTING

FIELD_RANGES = TRANGE

IMPORTING

EXPRESSIONS = TEXPR.

SUBMIT FAGL_ACCOUNT_BALANCE VIA SELECTION-SCREEN

WITH FREE SELECTIONS TEXPR.

the dynamic selection tab is not active and receiving the value 'AA00' for cost center field..

please help me

thanks in advance.

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