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

Extract statement - Run time error

Former Member
0 Likes
510

Hello All,

I have used EXTRACT statement for a field group, after the INSERT statement in a Pre-FM in SXDA. During the first run of SXDA processing, everything works fine. But, if i execute the SXDA for one more run ( without executing the transaction once again or refreshing the SXDA transaction), the run results in Run time errors.

The two types of errors are basic errors for EXTRACT statement:

INSERT_INTO_LOCKED_FIELD_GROUP and

EXTRACT_AFTER_SORT/LOOP

I have tried refreshing the field group at the start of function module. But, it still gives the same errors, during the second run.

Is it mandatory to refresh the SXDA transaction for every run if we use EXTRACT statement or is there any other procedure to skip these errors.

Any help in this regard would be helpful.

Thanks and Regards,

Pavan

3 REPLIES 3
Read only

venkata_ramisetti
Active Contributor
0 Likes
457

Hi,

can you paste your code here?

Thanks,

Ramakrishna

Read only

Former Member
0 Likes
457

SXDA needs to be refreshed all the time.

Read only

0 Likes
457

Hi Pavan, How did you fresh the sxda tcode? I am facing the same problem, but I am still finding ways to refresh the field groups, but still not successful. Can you share some ideas? Thanks in advance.