BAPI Execution Error
I have a screen for searching the values by either by first name or by last name.I have 2 buttions GO and EXIT.When I input some text in the search criteria in the first name or last name and click GO,its returning the necessary records.EXIT button will close the indow.
I put * as the search criteria and click GO.
Its returning corrct value(20 records).
Without clicking EXIT,when I click GO again,its returning 40 records and the multiple time I click GO,that many number of times the record is displayed in the table.
I am execuion the BAPI onActionGo();
Similarly If I write PITT as search createria and click GO,its returning 1 recorord.Similarly if I click 5 times ,5 PITT record is coming.Now if I put * as search criteria and click GO 6th time its returning 6*20=120 records.Now if I put PITT in the search criteria and click GO 7th time,PITT is coming 7times.
I invalidate the node instance before execution and after execution of the BAPI.Still its getting reflected.
Basically the problem is,as many times as I am Clicking GO,that many times its returning the search criteria value.
PLease suggest.Its a bit issue for me.
Vivekanandhan Srinivasan replied
From the statement you have provided it seems like the problem with the invalidate. Kindly check again whether you have invalidated the node in which you are displaying the output values of the BAPI before creating the elements for that output node.