Skip to Content
0

Question regarding service entry sheet creation and MIRO posting automation?

May 19, 2017 at 10:58 AM

69

avatar image
Former Member

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.

Regards,

Kaushik Pattanayak.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

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

https://archive.sap.com/discussions/thread/3355900

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.

Share
10 |10000 characters needed characters left characters exceeded