Skip to Content
avatar image
Former Member

Question regarding service entry sheet creation and MIRO posting automation?

Hi all experts,

I have a requirement like while user doing creation of service entry sheet by using ML81N

at that same time i also want to create miro parking document also through BAPI when user click save button in ml81n transaction. For that i need to do enhancement. So i used that badi MB_DOCUMENT_BADI (IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE) inside that badi i wrote my code to run BAPI. Problem is, everything is looks good but i am getting this error service entry sheet no does not belongs to this purchase order. That at that same time in mseg the respective no has not been updated. For that where i need to write my code with out using access key.

Please help me out. Please suggest me what i need to do follow to achieve this requirement.

Thanks in advance.


Kaushik Pattanayak.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 19, 2017 at 11:52 AM

    This piece can help you..

    Also to create a Invoice parking against the service entry sheet; you are supposed to finish the save of service entry sheet & then proceed to create an invoice parking. So Before Save cannot work.

    You can also try using: MB_DOCUMENT_UPDATE method.

    Add comment
    10|10000 characters needed characters exceeded