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: 

User Exit

Former Member
0 Kudos

Hello ,

Could any one reply me with User Exit for VL01,i.e., for outboud delivery ,while saving and updating

I got an Program to find user Exit for a given transaction.But it didnt helped me in finding.

But from my friend ..he told MV50AFZ1 is the user Exit...How to find this using the above mentioned report to find User exit.

and even in some documentation in SDN they metioned user Exit for this is "USEREXIT_SAVE_DOCUMENT"

How to find this....

And in between MV50AFZ1 and "USEREXIT_SAVE_DOCUMENT" which one is user exit .How to find this.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Satya,

I beleive your requirement is to access the delivery information before Save.

Now you can access all the global data of the delivery. Also now you are in creation of the delivery, the document number of the delivery is now also known.

Best Way would be ....Put a Break-point in this Include and run your Delivery creation process. At the break point, you will get to see all the internal tables and inforamtions in it. Then you can decide and code your logic accordingly.

Hope this helps.

Vinodh Balakrishnan

13 REPLIES 13

Former Member
0 Kudos

Satya,

MV50AFZ1 is an include and not a project. So, change it in SE38 and not in CMOD or SMOD.

You must have the access key to modify the user exit. This is available from SSCR on SAPNet or OSS. Someone on your project site must go into SAPNet or OSS, and register the the program for you, and give you the access key.

-


FORM USEREXIT_SAVE_DOCUMENT *

-


This userexit can be used to save data in additional tables *

when a document is saved. *

If field T180-TRTYP contents 'H', the document will be *

created, else it will be changed. *

This form is called at from form BELEG_SICHERN, before COMMIT *

-


-


FORM USEREXIT_SAVE_DOCUMENT_PREPARE *

-


This userexit can be used for changes or checks, before a *

document is saved. *

If field T180-TRTYP contents 'H', the document will be *

created, else it will be changed. *

This form is called at the beginning of form BELEG_SICHERN *

-


Hope this helps.

Vinodh Balakrishnan

0 Kudos

Hello Vinodh,

Thank you very much.

But here I am having doubt about how you came to know that

USEREXIT_SAVE_DOCUMENT is the User Exit for the Outbound Delivery for save or update delivery.

How to find this...

one more I got an report which takes Transaction code but gives back User Exits.In the list I didnt find this

USEREXIT_SAVE_DOCUMENT .

Please give your valable inputs for this...

0 Kudos

Satya,

If you could not find any Exits in SMOD, you can dig further from the standard program and see if there are any Exits available.

Also you can check in the [SAP Service Market Place|https://websmp101.sap-ag.de/~SAPIDP/002006825000000234912001E] and see if there are notes talking about this kind of Exits.

In your Case, you can go to SAP Service Market place and search for "User Exits in VL01".

You will find lots of Links talking about that.

I found one link [Note 415716 - User exits in delivery processing|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=415716&nlang=EN&smpsrv=https%3a%2f%2fwebsmp101%2esap-ag%2ede]

Hope this helps.

Vinodh Balakrishnan

0 Kudos

How to access SAP Service Market place.I am not having User and password.

Could you pls provide then to me or just pass the document

0 Kudos

Send me you mail ID, i'll forward the document to you

0 Kudos

Thank you...

satya_kumar_sap@yahoo.com

Former Member
0 Kudos

Infact i have provided the link to he document in my earlier post......

Just click on to that. Le'me know if you have any touble.

Vinodh Balakrishnan

0 Kudos

I am not having access to the SAP Market place

0 Kudos

Hello Vinod ,

I understood the functionality of the EXIT .But how we can trace this for our particular need in these somany includes

and I would like to discuss few other things to you ..Could you pls accept my invitation

Edited by: satya kumar on Jan 13, 2008 5:56 AM

Former Member
0 Kudos

I have forwarded the note to your mail ID.

Vinodh Balakrishnan

Former Member
0 Kudos

Satya,

I beleive your requirement is to access the delivery information before Save.

Now you can access all the global data of the delivery. Also now you are in creation of the delivery, the document number of the delivery is now also known.

Best Way would be ....Put a Break-point in this Include and run your Delivery creation process. At the break point, you will get to see all the internal tables and inforamtions in it. Then you can decide and code your logic accordingly.

Hope this helps.

Vinodh Balakrishnan

0 Kudos

Hello

I understood two ways of finding User Exits for a tranaction

1. GO to Transaction and then goto menu Sytem---> Status and find the program click on it search for includes in this program includes.

2.USing a program which takes transactions and gives us list of User Exits ...

Transaction Code - VL01 Create Delivery

Exit Name Description

V02V0001 Sales area determination for stock transport order

V02V0002 User exit for storage location determination

V02V0003 User exit for gate + matl staging area determination (headr)

V02V0004 User Exit for Staging Area Determination (Item)

V50PSTAT Delivery: Item Status Calculation

V50Q0001 Delivery Monitor: User Exits for Filling Display Fields

V50R0001 Collective processing for delivery creation

V50R0002 Collective processing for delivery creation

V50R0004 Calculation of Stock for POs for Shipping Due Date List

V50S0001 User Exits for Delivery Processing

V53C0001 Rough workload calculation in time per item

V53C0002 W&S: RWE enhancement - shipping material type/time slot

V53W0001 User exits for creating picking waves

VMDE0001 Shipping Interface: Error Handling - Inbound IDoc

VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)

VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)

VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)

No of Exits: 17

For example I am looking for user exit while doing outbound Delivery is saved or updated ...

I found USEREXIT_SAVE_DOCUMENT_PREPARE iss the required user exit ...But it was not displayed in list got from the point 2 i.e., thru the program to get user exits

0 Kudos

One more How to call a proxy thru the User Exit