I am working on service module. I have provided automation to create service call,customer equipment card,service contract,activity,delivery,GRPO etc. I am using DI API objects to create few documents. Everything is working fine but i am getting hang issue only in one condition when i am using more than 20 rows on my custom form.
On a single row my program is manipulating few DI API objects. Those are listed as
1- Creation of Goods Receipt.
2- Updating Serial numbers (OSRI)
3- Creation of Customer Equipment Card.
4- Creation of service Call.
5- Adding Expenses on Service Call
6- Creation of Activity on service Call.
7- Updating of service Call.
8- Creation of Stock Transfer
9- Saving and updating of User Defined Table [@UTable].
10- Updating into Another User Defined Table Table.
11- Using some Recordset to fetch the data
4- step is not happening every time because it happens upon some conditions.
To perform those operations my program using DI API objects. As i suppose to it is so much heavy data which is posted into SAP company into single transaction so i have tried to make the bunches of rows into different-different transactions but this idea was not successfull.
Note : Those listed operations, have been manipulated on a single row. It is working fine till 20 rows. if i selected more than 20 rows then my application goes into hang state.after this, i have only one option that i have to kill my application then i can restart the Add-On.
Waiting for yours suggestions. Please advice me.