Application Development 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: 

Repetition of blocked LUWs in the TA SM58

0 Kudos
226

Hello,

i have written a FB that change some fields in a salesorder. In my FB Z_SD_CHANGE_COMPLETE_DELIVERY i use the FB BAPI_SALESORDER_CHANGE.

I start my FB in this form:

CALL FUNCTION 'Z_SD_CHANGE_COMPLETE_DELIVERY' in BACKGROUND TASK AS SEPARATE UNIT
          EXPORTING
            vbeln = wa_tab-vbeln.

It works very well, but sometimes the salesorder that i want to change is blocked from another user. Then my FB throws an exception. In this case i can see this LUW in the TA SM58. Unfortunately, my entry in SM58 has always a 0 in the field 'repeats'. So my blocked LUWs will not booked automaticly from time to time.

How can I change the number of repetitions?

In the RFC Destination 'NONE' i have maintained under the point 'Connection attempts up to task' : 30 times (But this has no effect )

What can I do?

Thank you for your attention

Andreas

1 REPLY 1

Former Member
0 Kudos
91

Hi!

In SM58, you can find a menu, called "Execute LUWs". Choosing this menu, will start the program RSARFCEX. This program will execute the LUWs again.

You can set this program to run automatically in every hours maybe. Define a variant and schedule it to a job. It worked fine for me.

Thans all.

Regards

Tamá