Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

USEREXIT_SAVE_DOCUMENT and SAVE_DOCUMENT_PREPARE in SAPMV50A for deliveries

Former Member
0 Kudos
1,457

Hi All,

I can't decide if I'm just missing something stupid or not. I'm making some changes to the processing of outbound deliveries in transaction VL02N by adding logic to the user exit forms in program SAPMV50A (actually in include MV50AFZ1.)

When I came to modify USEREXIT_SAVE_DOCUMENT there was an enhancement point available for the form but now I want to change SAVE_DOCUMENT_PREPARE there isn't an enhancement point (that I can see!) and so I'm stuck waiting for an access key from my basis team.

Was wondering:-

a) Why SAP have only implemented some enhancement points in this situation?

and/or

b) Am I just missing the enhancement point for USEREXIT_SAVE_DOCUMENT_PREPARE and being stupid?!

Thanks,

Gareth.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
237

Sometimes you have to remove the 72 char limit setting, Only then the implicit enhancement points would be shown... did you try this?

There must be an implicit enhancement point.

5 REPLIES 5

Former Member
0 Kudos
237

last year I programmed the same exits for va01 trx.... and i had to wait the access key...

0 Kudos
237

The system I'm working on has enhancement points for both SAVE_DOCUMENT and SAVE_DOCUMENT_PREPARE for SAPMV45A for sales orders - but not for deliveries.

0 Kudos
237

You never have to wait for any access key since you can use implicit code enhancement at start or end of any block, i.e. Form routine

Former Member
0 Kudos
238

Sometimes you have to remove the 72 char limit setting, Only then the implicit enhancement points would be shown... did you try this?

There must be an implicit enhancement point.

0 Kudos
237

>

> Sometimes you have to remove the 72 char limit setting, Only then the implicit enhancement points would be shown... did you try this?

>

> There must be an implicit enhancement point.

I thought that too!!

Turns out it was me being a bit stupid and not paying attention. Basically, I was viewing SAVE_DOCUMENT and chose the menu option "Show Implicit Enhancement Operations" then clicked on the Enhance button - this actually hides the enhancements again so I lost the one in USEREXIT_SAVE_DOCUMENT_PREPARE!

D'oh!

Sorted now - thanks.

Gareth.