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

Connection CLosed Error due to submit statement.

Former Member
0 Likes
341

Hi friends,

I have a Method which calls this function

CALL FUNCTION 'Z_SLOT_TRIGGER_PRODUCTS'
          EXPORTING
            iv_rspar   = lt_rspar
            iv_variant = lv_variant.

The Function module Z_slot_trigger_prouducts has a form in which there is a submit statement

Submit the slotting transaction to background & process the transaction immediatly

 
 SUBMIT z_slot_products
   USING SELECTION-SET gv_variant
    WITH SELECTION-TABLE p_lt_rspar_tmp
     AND RETURN.

During the debuging i see that when it reaches this submit statement it is giving an error as below in the inbound queue:

ThISend: bad tm type / connection closed (no data)

Can anyone please help me with this error. Thanks in advance.

1 REPLY 1
Read only

former_member156446
Active Contributor
0 Likes
299

Check the documentation of the submit statement:

When the SUBMIT statement is executed, the system runs an authorization check for the authorization group specified in the program attributes.