Application Development and Automation 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: 
Read only

USER EXIT FOR VA02

Former Member
0 Likes
1,282

Hi all,

Here is my issue.

Whenever user tries to delete a SALES ORDER or ITEM , they should not get deleted and the reason for rejection for the existing item should change and a new line item should be added for the line items which are subjected to deletion , if sales order is subjected for deletion the all the items associated to that sales order should refect the same as i mentioned above(reason for rejection should change , and a sales order should be added)

Help me please its urgent.

Hi all,

Here is my issue.

Whenever user tries to delete a SALES ORDER or ITEM , they should not get deleted and the reason for rejection for the existing item should change and a new line item should be added for the line items which are subjected to deletion , if sales order is subjected for deletion the all the items associated to that sales order should refect the same as i mentioned above(reason for rejection should change , and a sales order should be added)

Help me please its urgent.

11 REPLIES 11
Read only

Former Member
0 Likes
1,218

Program: MV45AFZZ

Based on your requirement you can write code in any of the following form routines, to handle your scenario.

Also refer OSS Notes # 178328 on how to manipulate XVBAP and YVBAP entries.

FORM userexit_move_field_to_vbap.

FORM userexit_save_document_prepare.

FORM userexit_save_document.

Read only

Former Member
0 Likes
1,218

How can i find that notes

Read only

0 Likes
1,218

Hi Sowjanya,

Go to http://service.sap.com/ and go to search notes link.

If you do not have an account create an account in the same link.

Regards,

Ravi

Read only

0 Likes
1,218

I am unable to register in that link

Read only

Former Member
0 Likes
1,218

Hi,

you can try with the Include <b>MV45AFZZ</b>, here you can find so many user_exit routines.

i think you can try with <b>USEREXIT_SAVE_DOCUMENT_PREPARE </b>

Regards

vijay

Read only

0 Likes
1,218

Thank you

Read only

0 Likes
1,218

hi Bendapudi,

i have few docs on tht. let me know your email address and I will post the docs.

chandra

Read only

0 Likes
1,218

Hi Chandra,

My email address [email protected]

please send the docs to this id.

Thanxs.

Read only

former_member404244
Active Contributor
0 Likes
1,218

Hi sowjanya,

please try onceagain..go to that link and in the right hand side corner click on new user register.. a new screen comes give ur IDES installation number ,first name ,last name, email address,department..

try this and let me know any further queries..

Read only

0 Likes
1,218

Hi nagaraj,

I have given all the details the message comes "the given information is not sufficient to generate an user id".

I am not sure what to do.

Read only

Former Member
0 Likes
1,218

Hai Sowjanya

Go through the following User Exits

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product selection

V45A0002 Predefine sold-to party in sales document

V45A0003 Collector for customer function modulpool MV45A

V45A0004 Copy packing proposal

V45E0001 Update the purchase order from the sales order

V45E0002 Data transfer in procurement elements (PRreq., assembly

V45L0001 SD component supplier processing (customer enhancements

V45P0001 SD customer function for cross-company code sales

V45S0001 Update sales document from configuration

V45S0003 MRP-relevance for incomplete configuration

V45S0004 Effectivity type in sales order

V45W0001 SD Service Management: Forward Contract Data to Item

V46H0001 SD Customer functions for resource-related billing

V60F0001 SD Billing plan (customer enhancement) diff. to billing

Thanks & regards

Sreenivasulu P