Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom Info structure not getting updated

Former Member
0 Likes
785

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
614

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.

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.

1 REPLY 1
Read only

Former Member
0 Likes
615

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.