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

L_TO_CREATE_TR function module returning subrc 3

bala_krishna007
Participant
0 Likes
683

Hello Experts,

I am using function module L_TO_CREATE_TR to create TOs but the function module is returning SUBRC 3 which means TR completed . That means transfer requirement was completed.

Could you please suggest what does this mean and how to correct this , I had already gone through documentation  of the FM.

Thnks,

Balu

1 REPLY 1
Read only

Former Member
0 Likes
528

The documentation in the FM is rubbish!!

The exception is raised when the reference TR ( Transfer Requirement ) is already fully consumed/transferred. So check your code in debug mode to see what TR number you are passing in the FM .

This is not a programming bug but your data. You need to use a new TR number which is open and use that in FM to create the TO.

R