cancel
Showing results for 
Search instead for 
Did you mean: 

Message L2701 - Default values for warehouse number & are not defined

surendra_bv
Explorer
0 Kudos

Hi Experts,

we are developing a program where the stock category is changed from Blocked stock to unrestricted and then moving to the desired location. we are using the below functional module to achieve it:

L_TO_CREATE_POSTING_CHANGE &

L_TO_CREATE_SINGLE

L_TO_CONFIRM

Program is runnning as per the requirement when we are in debug mode...but when we run it in standard mode we are getting the below error message:

Default values for warehouse number & are not defined (Message L2701)

please assist

Thank you

Suren

Accepted Solutions (1)

Accepted Solutions (1)

pablo_marn
Active Participant
0 Kudos

Hi Suren,

the problem is probably caused by a missing COMMIT WORK.

In addition, I suggest you to test each process separately. For example, remove the functions L_TO_CREATE_SINGLE and L_TO_CONFIRM, and check if it works. If so, try removing only the FM L_TO_CONFIRM, and check if the posting change and the TO creation work.

Regards

surendra_bv
Explorer
0 Kudos

Thanks Pablo... I will try this and will confirm if I can find out the root cause..

Answers (0)