Application Development 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: 

Automatic creation Settlement rules in IW31

former_member203305
Active Contributor
0 Kudos
613

Hello Guys.

My requirement is that at the moment of saving in IW31, the settlement rule (with default) should be created automatic. I didnt find any badi or user-exit that works for this. Also the customizing doesnt apply to generated automatic settlement rule for orders.

Please, any ideas if it is possible to do it and how?

I'm running out of ideas.

I found a bapi IBAPI_ALM_ORDERSRULE_CREATE, but i couldnt make it works as well.

P.D: There is a same requirement for this here http://scn.sap.com/thread/1894532

Also without a solution.

Regards

Miguel

3 REPLIES 3

former_member203305
Active Contributor
0 Kudos
218

hello.

Any ideas...

0 Kudos
218

Hello, I know that this might be an old post. But have you managed to find the workaround for this requirement? The reason I asked this because I also need to work on this specific requirement.

Thanks.

raymond_giuseppi
Active Contributor
0 Kudos
218

You could try to create a RFC FM to wrap IBAPI_ALM_ORDERSRULE_CREATE and find an adequate BAdI (*) to call this FM IN BACKGROUND TASK during save of new orders, so it will execute just after the end of the update tasks ?

Regards,

Raymond

(*) Like WORKORDER_UPDATE->IF_EX_WORKORDER_UPDATE~AT_SAVE ?