MODULE F4HELP_REG_ACCT INPUT.
SELECT BUKRS
SAKNR
INTO TABLE T_REG_ACCT
FROM SKB1
WHERE SAKNR = V_REGACCT
AND BUKRS = V_BUKRS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'F515BN'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'V_REGACCT'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_REG_ACCT[].
ENDMODULE. " F4HELP_RE