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

Debugging RFC FM from WSDL web services

Former Member
0 Likes
3,076

Hi friends,

I am using WSDL as my web services and calling SAP RFC FM to send some files, I would like to Debug and test the FM....

I have same user ID and pwd for both SAP login and WSDL credentials, activated external debugging to set some break-points..but whenever I run the external WSDL application(already logged into SAP n RFC FM session is ready with external break-points) there is no pop up of a different session with debugging.

I hope the above information helps in understanding my issue, please provide me the appropriate steps/solution to Debug an RFC FM which is called from a non-sap like WSDL application.

Moderator message - Please do not offer points or rewards

Thanks & Regards,

Santosh

Edited by: Rob Burbank on Aug 5, 2010 4:41 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,324

Check the following ling

If you do not have authorizations for this TCODE ask your basis guys to activate the same...

KR

Veeranji Reddy P.

5 REPLIES 5
Read only

Former Member
0 Likes
1,325

Check the following ling

If you do not have authorizations for this TCODE ask your basis guys to activate the same...

KR

Veeranji Reddy P.

Read only

0 Likes
1,324

Hi Veeranji,

Thanks for your quick reply, but while following the steps in the given link I dint understand the point "insert parameter ~GENERATEDYNDPRO=1." (line 3). So, please let me know it in detail to apply the same n proceed further with other steps.

Also, please provide me if there is any other way to solve this issue....

Thanks,

Santosh

Read only

Former Member
0 Likes
1,324

Hi,

I had developed a RFC enabled FM which would be accessed through web services.

To test this FM basically copied the whole code which was written in a FM into a report and created the input text file and

wrote the test data along with the HTML tags and saved the file in text format then uploaded the same text file using GUI_UPLOAD FM then using get reference and call transformation commands to convert the XML values and populated them into the internal table.

Here we can do all the validations or data fetching using this internal table then append the values to the new output internal table and again use get reference and call transformation method to convert the output internal table values into XML format and then use GUI_DOWNLOAD FM to download the file in XML format.

By this way you can test the FM from SAP Front, its just a work around instead of using SOAP tool to test this RFC FM.

Hope this Helps!

Regards,

Raghu.

Read only

0 Likes
1,324

Hi Raghavendra,

Thanks for ur reply, I understand that you are giving me the steps to test for uploading of input text files but this RFC FM is working fine with the files coming from WSDL webservices, the actual issue is with the handling of dynamic files i.e. no. of file attachments may vary from time to time in getting saved in SAP system.

For this we are trying with a work around solution by creating a table type parameter in changing parameters and to get the no. of file attachments sent from WSDL, so to test for this scenario defnetly we need to run the WSDL application and debug our

RFC FM to tess it.....

I hope you have understand my requirement....orelse please post ur query to give more details on the issue so that you can provide me with the better solution....

Thanks,

Santosh

Read only

Former Member
0 Likes
1,324

Moderator message - Welcome to SCN. Please do not cross or duplicate post your questions. And do not offer rewards. Also, Please read and and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again. Rob