Quantcast
Channel: SCN: Message List - SAP Global Trade Services (GTS)
Viewing all articles
Browse latest Browse all 1854

Re: How to debug RFC Function in GTS?

$
0
0

HI Assen,

 

I think it's the same way. You must find the rfc function module that create the document on the GTS side and look which is the rfc mode field. It is the way you call the rfc function module.

 

E.g. the call of /SAPSLL/API_6800_EMC_CREATE

 

  data: lv_rfc_mode type c,

           lv_dark         type c value 'N'.

 

  lv_rfc_mode = lv_dark.

 

Lv_rfc_mode = 'N'                  <-----------IN THIS CASE YOU DON'T REACH THE GTS

call function '/SAPSLL/API_6800_EMC_CREATE'

       in background task     

       destination p_rfc_dest 

      as separate unit

 

lv_rfc_mode = 'S'                    <----------IN THIS CASE YOU REACH THE GTS 

     call function '/SAPSLL/API_6800_EMC_CREATE'   

    destination p_rfc_dest

 

You see the difference?

 

The Problem is to find the place where the fm is called.

 

Hope that helps

 

Regards,

 

Thomas  


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>