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

Validation for customer material ( VBAP-KDMAT)

Former Member
0 Likes
2,235

Hi Experts,

Customer material does not have any check table. Please advise to validate.

Thanks in advance.

Regards,

Viven

Hi Experts,

Customer material does not have any check table. Please advise to validate.

Thanks in advance.

Regards,

Viven

3 REPLIES 3
Read only

Former Member
0 Likes
1,342

Hi,

You can validate in the user exit USEREXIT_CHECK_VBAP in the include MV45AFZB..

Thanks,

Naren

Read only

Former Member
0 Likes
1,342

you can maintain allowed customer materials against each MATNR- customer combo in table KNMT.

else, you can create a custom table, if you prefer so., with combinations of customer materials.

Then you can use exit USEREXIT_CHECK_VBAP to check the cutomer entered material against entries maintained in table.

Read only

Former Member
0 Likes
1,342

Hi experts,

my requirement is that i have to validate purchase order type field (vbkd-bsark) while creating sales order.i am using userexit_check_vbap.

in code i have written,

if vbkd-bsark = 'ZMAN' (this is the value already entered in va01)

in both tables vbkd and vbak bsark field contains 'ZMAN'.

based on this some functionality has to happen,but its not happening.

i checked vbak table,it also contains bsark field,i coded like..

if vbak-bsark = 'ZMAN'

but the same result.

please help me out in this.

thanks in advance.

useful points must be rewarded.

Regards,

Vishal.