cancel
Showing results for 
Search instead for 
Did you mean: 

Hide VPRS

Former Member
0 Kudos

I have VPRS in my pricing procedure so that the value flows in to COPA but VPRS should be hidden in the sales order and billing so that the end users dont see the price. What is the best way to do this?

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

Since this question has already been answered and you have closed with "Answered" in the other forum, please close this thread also.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Thank you all

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

we have to restrict it through some userexit i used it earlier earlier for same requirement like u.

i give it to u in the afternoon today by reply to this, meanwhile go through the following notes

SAP Note No. 105621 - Authorization check

hope this will be helpful

regards,

sadanandam kasarla

Lakshmipathi
Active Contributor
0 Kudos

Please dont post the same question in multiple forums. You have response in the other forum. Check this link and still need any assistance, please get back to us.

[Hide VPRS |;

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi SB,

Create one more Pricing procedure by coping existing one and remove VPRS condition type from the Pricing procedure for the scenerio which you are looking forward.

Include the below coding into the program LV69AFZZ and in userexit_field_modification you can write the code i give you below :

CASE screen-name.

WHEN 'KOMV-KSCHL'.

PERFORM zz_check.

WHEN 'T685T-VTEXT'.

PERFORM zz_check.

WHEN 'KOMV-KBETR'.

PERFORM zz_check.

WHEN 'RV61A-KOEIN'.

PERFORM zz_check.

WHEN 'KOMV-KPEIN'.

PERFORM zz_check.

WHEN 'KOMV-KMEIN'.

PERFORM zz_check.

WHEN 'KOMV-KWERT'.

PERFORM zz_check.

ENDCASE

FORM zz_check.

IF komv-kschl = 'VPRS'.

screen-active = 0.

ELSE.

screen-active = 1.

ENDIF.

ENDFORM.

This solution would solve your problem.

Thanks,

Swamy H P