cancel
Showing results for 
Search instead for 
Did you mean: 

MV45AFZZ in BAPI_SALESORDER_SIMULATE

former_member418015
Participant
0 Kudos

Hi

I got a question on the bapi BAPI_SALESORDER_SIMULATE. I did some coding in MV45AFZZ userexit but when i run BAPI_SALESORDER_SIMULATE, it does not throw out this error. But when i run BAPI_SALESORDER_CREATEFROMDAT2, the error is displayed.

I put a break point in MV45AFZZ when i run BAPI_SALESORDER_SIMULATE but it does not go into it. My question is userexit triggered when running BAPI_SALESORDER_SIMULATE?

Thanks

Dyl

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I could be wrong but BAPI_SALESORDER_CREATEFROMDAT2 has a test run or simulate button.

Why dont you use that one to simulate the transaction instead on a different BAPI?

Answers (2)

Answers (2)

former_member418015
Participant
0 Kudos

Explained to user that this is standard SAP.. and they accepted it.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

What subroutine are you using?

In the other hand, see SAP Note 550726 - FAQ: BAPIs in sales - restrictions, question 6.

Regards

Eduardo

former_member418015
Participant
0 Kudos

Hi

I am using subroutine FORM userexit_save_document_prepare. I suspect it is due to the fact that I am running BAPI_SALESORDER_SIMULATE so it does not go into this subroutine which is meant for saving the document.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Surely it isn't triggered by this BAPI

Sorry

Eduardo