cancel
Showing results for 
Search instead for 
Did you mean: 

Add row / delete row in PDF Form

Former Member
0 Kudos

Hi,

I am creating a form which has a dynamic interactive sub form. if a user adds or removes an instance (row), I need the index number in my BADI Implementation of QISR1. i have to delete selected row from my internal Table in BADI.

I have the following code in form :

data.Teilformular8.Tabelle1.Zeile1.Teilformular9.ReferenceButton[1]::click - (JavaScript, client)

var abc = this.parent.parent.index;

xfa.record.GENERAL_DATA.PROCESSOR.CITY = abc;

this.parent.parent.instanceManager.removeInstance( this.parent.parent.index );

xfa.form.recalculate(this.parent.parent.index);

CITY has no value in the Badi.

following code works.

var abc = "CONSTANT";

xfa.record.GENERAL_DATA.PROCESSOR.CITY = abc;

this.parent.parent.instanceManager.removeInstance( this.parent.parent.index );

xfa.form.recalculate(this.parent.parent.index);

CITY has Value "CONSTANT"

what I'm doing wrong ?

Edited by: Heidi Heinzberger on Nov 17, 2010 12:58 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gurus, Can you please help me by giving some idea

Former Member
0 Kudos

Does anybody have an idea?

Former Member
0 Kudos

how can i identify value of index (selected row) in Implementation (SCENARIO_PROCESS_USER_COMMAND) of BADI QISR1 .,

i have to delete this (selected row) from my internal Table(SPECIAL_DATA) in BADI. Otherwise deleted row appears again after

CLICK event.

is it possible ?

best regards

heidi