cancel
Showing results for 
Search instead for 
Did you mean: 

Business completion(CLSD) shoud not allow

former_member182535
Active Contributor
0 Kudos

Hi Expert,

                As per my client requirement, Business completion (CLSD) should not allow until complete settlement and Invoice have not done through maintenance order. So, is there any function module/user exit or any standard function that has check to settlement and Invoice balance in order before doing business completion?

Thank you in advance for any help you can provide.


Best Regards,

Akhilesh Singh

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182535
Active Contributor
0 Kudos

Thanks Jogeswara and Rahul for your kind support.

Requirement has been done through Authorization role.

former_member190819
Participant
0 Kudos

Hi Akhilesh,

Considering your requirement the user exit IWO10004 may help you.

This you need to check the Status GMPS along with required quantity and with posted quantity.
From table MSEG and RESB with FM STATUS READ 
Along with I believe that  you should restrict the TECO with respect to confirmation and check the everything at the time of TECO.


Then Settlement believing you have adopted full settlement during month end.

Then you have got no inappropriate situation wrt maintenance order at time of Business close.

Thanks

Rahul

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Akhilesh,

Obviously you need to use the user-exit IWO10009, to prevent the Save event of the Order after setting CLSD status, with your conditions not satisfied. Now that's is a sort of unacquainted area to me. i.e.,  where to check for the rules specified by you (settlement and invoice). So the ABAPer needs to use FI and/or MM Table knowledge to retrieve this information from the respective table/s OR through any easy way out in PM statuses itself. Once this info is known, then it will be easy to code it in the above user-exit. Let's see what other friends have for you.

Regards

KJogeswaraRao