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 exits

Former Member
0 Likes
729

Hi Friends,

I want to modify the sales order document date with Requested deliverydate(RV45A-KETDAT). So that correct pricing date should be picked up.

Could anybody suggest which user exit is the better option from the following.

USEREXIT_MOVE_FIELD_TO_VBAK

USEREXIT_MOVE_FIELD_TO_VBAP

USEREXIT_MOVE_FIELD_TO_VBKD

USEREXIT_MOVE_FIELD_TO_VBEP

Quick reply will be highly appreciated.

Thanks & Regards,

Praveen

7 REPLIES 7
Read only

Former Member
0 Likes
680

Hi Praveen,

Perhaps you can use user exits USEREXIT_MOVE_FIELD_TO_VBAK

since this sales order document date is at document/header level.

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
680

Are you sure are guessing?

Read only

Former Member
0 Likes
680

Hi Praveen,

If you always have one material in sales order, you can use USEREXIT_MOVE_FIELD_TO_VBAK.

Otherwise, USEREXIT_MOVE_FIELD_TO_VBAP is the best to use to determine pricing for different material at item level.

I would suggest to use <b>USEREXIT_MOVE_FIELD_TO_VBAP</b> which will work for all cases.

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
680

we are using a popup with contrct lise to collect the Contract, if the contract is futuree contract to get the pricing date as future pricing date we are doing themodification of Document date.

the Contract will be available in the item level?

Please suggest?

Read only

Former Member
0 Likes
680

Hi praveen,

if you are in doubt, i would like to confirm..

Use USEREXIT_MOVE_FIELD_TO_VBAP as it would be used in all cases...

Regards,

Tanveer.

Please mark helpful answers

Read only

Former Member
0 Likes
680

Hi Praveen,

The contract should be available at item level as well as header level.

You can also check table VBFA (Sales Document Flow) based on sales order number (if already created).

Again hope this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
680

Praveen,

When using these user exits in SAPMV45A it is always helpful to set break-points and determine whether they are being called when you need them to be called.

For example, if you are in VA02, if you do not update line items, USEREXIT_MOVE_FIELD_TO_VBAP may not be called.

Chris H.