2013 Mar 29 3:01 PM
HI ALL,
We are using a custom info structure for storing the last 20 documents. These documents include sales orders, billing documents, sales activities.
This info structure gets updated whenever these documents are created.
The update mode for this info structure was changed from V1 update mode to V2 update mode.
After this sales orders, billing documents are getting updates in this info structure.
But the sales activities are not getting updated.
The modules that update this info structure is are called as update tasks.
Whenever I activate update debugging the info structure gets populated with sales activity number. But if I run it directly without update debugging it is not updating the info structure.
Can anyone tell me whats the reason for this behavior?
The info structure is populated through enhancements to standard programs. I have tried to use explicit commit work and wait up to 90 seconds, but this doesnot change the behavior.
2013 Apr 04 1:51 PM
This problem is now solved. The custom function module which was passing control data to update the info structure, had attribute Update module==> Start immediately.
Since the mode of updation of info structure was changed to V2, the control data was missing at the time of actual table update.
I changed the module attribute to Update module ==> start delayed.
Now both the FM and actual table update were in sync.
2013 Apr 04 1:51 PM
This problem is now solved. The custom function module which was passing control data to update the info structure, had attribute Update module==> Start immediately.
Since the mode of updation of info structure was changed to V2, the control data was missing at the time of actual table update.
I changed the module attribute to Update module ==> start delayed.
Now both the FM and actual table update were in sync.