Skip to Content
0
Sep 03, 2020 at 01:41 PM

IF_RSPLS_CR_METHODS~CREATE behaviour with new lines (before and after local filter)

345 Views

Hello!

I have an input form with new lines (prompts for each characteristic). Input schedule uses ADSO with characteristic relationships (Exit type). When I change the local filter (prompt) - the form calls method IF_RSPLS_CR_METHODS~CREATE with filter parameter i_tsx_seldr (which I convert to table lt_range). But when I click OK button of promt I see another call of IF_RSPLS_CR_METHODS~CREATE method. Аnd with the choice of each subsequent characteristic of new line, the number of calls CREATE method after OK button of promt increases. So I see the next behaviour:

1. Before OK button of promt - 1 call of CREATE - with local filter of my new line

Account I selected in new line in lt_range filter:

2. After OK button of prompt - 1, 3, 5, 7... calls of CREATE (for 1, 2, 3, 4 characteristics in relationships) - with global filter of my BEx query

All accounts from global filter of my BEx query in lt_range:

3. After data changing in the form - 7 callls of CREATE (for 4 characteristics in relationships) - with global filter of my BEx query

Could anyone explain behaviour of 2 and 3 point above? Is it possible to switch off this steps (I need only first step - 1 call of CREATE before prompt window appears, 2 and 3 points negativly affects on performance)

Attachments

zxesg.png (65.1 kB)
dvywq.png (71.1 kB)