cancel
Showing results for 
Search instead for 
Did you mean: 

Change default value of Partner Function in VA02

Former Member
0 Kudos

Hi all,

Can anyone please help me solve the following issues with Partner Functions in VA02:

1. How do I change the screen property (make it modifiable) of the Partner in the Partners tab for an auto-generated Free goods line item?

2. How can I change the default value (auto-pulled from KNVP) of the Partner Function Ship-To party for a Free Goods line item? Where do I apply the ABAP code?

We tried to modify thru userexit USEREXIT_FIELD_MODIFICATION and USEREXIT_MOVE_FIELD_TO_VBAP in MV45AFZZ but we can't seem to make it work. Also, the table control of the partners tab exists in SAPLV09C and not SAPMV45A.

Where do we apply the changes?

Points will be rewarded.

Thanks for any help in advance!

Kat

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi !! KT,

For your auto generated line of free goods item note down what is the item catergory determined. Next use t.code VOPAN, click on radio button 'Sales Document Item' and click on change tab.

Now from the left hand margin options click on 'Partner determination Procedure Assignment', from 'position' go to the item catergory noted down, now note down the partner determination procedure assigned to it.(entry just next to your item category).

Next, from the left hand margin double click on 'Partner determination procedures'. Select the partner determination procedure just noted down, from the left hand margin now click on 'Partner functions in procedure'. Scroll down exactly to the partner function you want to work upon, here unselect the tick under 'Non modifiable'. This way you can now modify the partner.

For changing the default value after doing the above mentioned exercise you can overwrite default value.

Provide your feedback.

Regards,

PATHIK

baerbel_haenelt
Explorer
0 Kudos

Hi Kat,

please have a look in transation VOPAN - select item category. Please check the settings in the partner procedure you are using. The partner functions might be set to not changeable. Here you can make your settings without using any userexit.

Best regards, Baerbel