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

Problem in enhancing RFC

Former Member
0 Likes
559

Hi All,

I am enhancing RFC HRMSS_CAT_WD_APPROVAL. But the problem is that I cannot see the enhanced code in RFC itself. Also, while debugging, the control does not go to the enhanced code.

If you have any pointers regarding this, please let me know.

Regards,

Ridhima

4 REPLIES 4
Read only

Former Member
0 Likes
516

hi,

I my view make a copy and make the req changes.

Atul

Read only

Former Member
0 Likes
516

Hi.

Is your enhancement implementation active? Check.

Also look at code of function module and how lv_debug variable is used there.

May be depending on value that it contain, system supresses debugger.

Read only

Former Member
0 Likes
516

I mean this code

*********************************************************
* Debugging                                              *
*********************************************************
  SELECT SINGLE parva FROM usr05 INTO lv_parva
     WHERE bname = sy-uname AND parid = 'CATS_FACE_DEBUG'.
  IF lv_parva CA 'X'.
    lv_debug = 'X'.
    WHILE lv_debug CA 'X'.
    ENDWHILE.
    lv_debug ='X'.
  ENDIF.

Read only

Former Member
0 Likes
516

Yes the enhancement implementation is active. It is going in debug mode in RFC but not at enhanced code