To insert a new record via Savable Data page saving only 1 record
Hi,
I have a requirement to insert a new record into a data table via savable data pages.
Here is the steps i followed
1. In DT1 , in Work Class
1.1 I set the Pagelist1 values. Pagelist1 is in work- class and values are mapped from service response
1.2 Call pxexecuteanactivity function in DT1 to call Activity1
2 In Activity1,
2.1 Loop through Pagelist1, set current Page of pagelist value to TempPage
2.2 Save-Datapage method to call D_SavableDatapage
3. D_SavableDatapage
Source- SourceDT
save Type- Database save
4. Source DT
4.1 D_SavableDatapage = TempPage
Issue :
When looping , only first value is getting saved ,the remaining instances are just looping and not saving while tracing.
?
Could anyone see a possbile rootcause here