Skip to Content
avatar image
Former Member

Business completion(CLSD) shoud not allow

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Dec 26, 2014 at 08:31 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2014 at 08:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2014 at 08:09 AM

    Thanks Jogeswara and Rahul for your kind support.

    Requirement has been done through Authorization role.

    Add comment
    10|10000 characters needed characters exceeded