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

Difference between Direct Running and Using in Program(CK_F_MATERIAL_CALC)

ibrahim_u
Active Participant
0 Likes
904

Hi,

I have a problem about function module CK_F_MATERIAL_CALC.

When i try to create material costs using this function module in my program (in a loop), sometimes it giving errors for some materials. But when try to run function module in SE37 with errored material, it is working.

I dont understand, whats the reason of error.

Now i wrote WAIT UP TO 3 SECONDS syntax after the FM, and errors decreased. But i have toı clear. Can anyone help me ?

Hi,

I have a problem about function module CK_F_MATERIAL_CALC.

When i try to create material costs using this function module in my program (in a loop), sometimes it giving errors for some materials. But when try to run function module in SE37 with errored material, it is working.

I dont understand, whats the reason of error.

Now i wrote WAIT UP TO 3 SECONDS syntax after the FM, and errors decreased. But i have toı clear. Can anyone help me ?

1 REPLY 1
Read only

Former Member
0 Likes
676

I have the same problem! was solved? How?