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

FM Problem

Former Member
0 Likes
401

Please use a meaningful subject in future

Hello All,

Iam using a FM named ARCHIV_REQUEST in my code , RFC target system is BWE_010 and the Import parameters given are

LOGICAL_SYSTEM = BWE_010

CALL_MESSAGESTRING = 0100220950000000007827 CM 0100220950000000007827.PDF

by executing the above

and for Eporting parameters is

RETURN_MESSAGESTRING = 0100220950000000007827 721 0100220950000000007827.PDF

But value of Sy-subrc = 2. ????

by getting the same sy-subrc value and iam facing error msg as per my code.

Why the sy-subrc is 2.?????

Please suggest , how can i goahead.

Regrads

Venkat

Edited by: Matt on Jul 4, 2009 6:22 AM

2 REPLIES 2
Read only

Former Member
0 Likes
360

Hi,

It's the general problem. whenever sy-subrc = 2 it means value found and field content is different then whatever you are mapping. so again check the field content and hope it will work fine.

If agian it shows problem pls.let me know.

Regds,

Rakesh

Read only

matt
Active Contributor
0 Likes
360

Please use a meaningful subject in future