on 08-21-2015 3:16 AM
Dear experts:
I would like to debug a function moduel in GTS which is called by RFC in ECC. I am wondering how I can input the importing parameter for this function testing as there are too many parameters to manually maintain them in GTS. May I know if there is any better way to input these parameters for testing this function in GTS?
Thanks
Hello hl wan,
on ECC side go to function module /SAPSLL/CD_SD0C_R3 and search for api6800_csd_synchronize. Here you have the field lv_rfc_mode = gc_rfc_mode-asynchronously, Switch the value of the field lv_rfc_code to 'S'. Make sure that the used CPIC User on the GTS side has User Type DIALOG.
When you process your invoice the System will stop at
data : lv_rfc_mode type c.
lv_rfc_mode = gc_rfc_mode-asynchronously. <---- HERE IS YOUR BREAK POINT
Further with F5 and you are in the GTS System.
Hope that helps
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
This is more of an ABAP question, surely. Probably best if you delete it here and post again on the relevant forum.
Good luck, anyway,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.