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

Regarding RFC Functionmodule

Former Member
0 Likes
460

How can i know in which client RFC FUnction module is defined?

In one transaction , Becoz of RFC Functionmodule , the program is doing parrelal processing,

How can i make it serial processing?

Can i copy the RFC function into required to client?

Regards

Ramakrishna L

3 REPLIES 3
Read only

former_member778253
Active Participant
0 Likes
420

You can check in SM59 - Maintain RFC Destination tcode and there you can find the source and destination client ids.

Read only

Former Member
0 Likes
420

Hi rama

use this


  DATA:  lt_siteselect TYPE TABLE OF siteselect INITIAL SIZE 0,
         ls_siteselect TYPE siteselect,
         ev_dest TYPE rfcdest.
          CALL FUNCTION 'SMOF0_READ_SITESELECT'
    TABLES
      to_siteselect = lt_siteselect.

  READ TABLE lt_siteselect INTO ls_siteselect
           WITH KEY sitetypeid = cl_smw1_siteprovider=>c_sitetype_r3oltp.

  ev_dest = ls_siteselect-rfcdest.

or this


 r3rfcdest TYPE rfcdest.
 r3rfcdest = cl_crm_erp_il=>get_rfc_destination( ).

regards

Marco

Read only

0 Likes
420

thank u

regards

Ramakrishna