‎2008 Jul 10 9:58 AM
hi,
i have done a rfc call function as
CALL FUNCTION 'Z_RFC_UPDATE_ZSERNUM'
DESTINATION 'WMSDEV010'
importing matnr = sernum-matnr
serno = sernum-serno
delno = sernum-delno
delli = sernum-delli
cusno = sernum-cusno
cuspo = sernum-cuspo
saleo = sernum-saleo
salli = sernum-salli
shipd = sernum-shipd
tables ser_date = ser_date ser_time = ser_time .
in my WMSDEV system , my fm is there, where i have passed
all the importing parameter as
pass by value and in tables parameter the 2 table,but while
debugging, if i am going to press
F5 in the Call statement,instead of taking me to the function module,it is taking me to the
next line of the code,but the value of sy-subrc = 0.
any idea...
‎2008 Jul 10 10:03 AM
Check the user assigned to RFC destination WMSDEV010. If you want to debug the FM in the remote system this destination must have a dialog user assigned (with proper authorization). Normally system users will be assigned to these kind of destinations.
Regards,
John.
‎2008 Jul 10 10:03 AM
Hi priya
first checak whether you have passed the rite values i.e fields in the call function module. there are certain fields which you cannot change, that might be the problem.
Regards
Divya
‎2008 Jul 10 10:03 AM
Check the user assigned to RFC destination WMSDEV010. If you want to debug the FM in the remote system this destination must have a dialog user assigned (with proper authorization). Normally system users will be assigned to these kind of destinations.
Regards,
John.
‎2008 Jul 10 10:09 AM
‎2008 Jul 10 10:22 AM
Hi Priya,
Use transaction SM59 and look for the RFC destination; click tab logon and security. You will find the user there. Then go to the remote system and check if this user is dialog user (transaction SU01).
Regards,
John.
‎2008 Jul 10 10:46 AM
Hi Priya,
In this way u can't debug RFC. It will not go in side the RFC even if u press F5. It is similar to a FM call with UPDATE TASK.
If u call a FM in UPDATE TASK u can't debug unless in
menu=> setting=>Update debugging is selected.
Similarly there is some tool to debug RFC FM. Check that.
Also after calling ur FM r u getting proper values i mean is the functionality of FM is working or not?
Thanks,
Vinod.