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 VA01

Former Member
0 Likes
874

Hi All,

I have a requirement for displaying the PO Number (In the Header ) when Creating Sales Order using Copying by reference on Executing VA01. I have been searching for User Exits which dont require access key for changing.

Please help me in finding the user exit.

Thanks in Advance,

Bhavika

Hi All,

I have a requirement for displaying the PO Number (In the Header ) when Creating Sales Order using Copying by reference on Executing VA01. I have been searching for User Exits which dont require access key for changing.

Please help me in finding the user exit.

Thanks in Advance,

Bhavika

5 REPLIES 5
Read only

Former Member
0 Likes
773

>

> I have been searching for User Exits which dont require access key for changing.

> Please help me in finding the user exit.

>

Hi Bhavika,

Every user exit will require an access key , because it is nothing but a standard object provided by SAP for handling special requirements. That is the normal procedure and not treated as modification, in case you are concerned about that.

You could use the user exit userexit_move_field_to_vbak of program MV45AFZZ for your requirement.

Kind regards,

Advait

Read only

0 Likes
773

Hi Advait,

I was referencing to the User Exits -

Exit Name Description

SDTRM001 Reschedule schedule lines without a new ATP check

V45A0001 Determine alternative materials for product select

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., ass

V45L0001 SD component supplier processing (customer enhance

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 It

V46H0001 SD Customer functions for resource-related billing

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

SDAPO001 Activating Sourcing Subitem Quantity Propagation

Please help me in finding the user exits from above in which i can make the required additions.

Thanks & Regards,

Bhavika

Read only

0 Likes
773

Hi,

These are function exits. But I guess none of the metnioned would be of any help for your requirement. Perhaps you can consider using the BAdi BADI BADI_SD_SALES_BASIC for your requirement. This is called just before the subroutine userexit_move_field_to_vbak and you wont need a acess key either.

Forgot to mention that you can implement the method HEADER_CHANGE of this BAdi.

regards,

Advait

Edited by: Advait Gode on Jun 10, 2009 10:51 AM

Read only

0 Likes
773

Hi bhavika kumar,

In Include MV45AFZZ -> USEREXIT_MOVE_FIELD_TO_VBKD.

Code like this:

IF SY-UCOMM = 'UEBR'.
  VBKD-BSTKD = CVBKD-BSTKD.
ENDIF.

Regards,

Suneel G

Read only

0 Likes
773

That exit can also be used, rather that is the correct one for PO number. But if you want to avoid getting an access key, The BAdi BADI_SD_SALES_ITEM and method ITEM_CHANGE_BUSINESS_DATA would be usefull.

However, note that the PO number on the header will be stored in VBKD-BSTKD where POSNR '000000'.

regards,

Advait