cancel
Showing results for 
Search instead for 
Did you mean: 

Customer should be blocked only one document type ?

former_member209864
Participant
0 Kudos

Dear

how to block some customers only for some sales document types

ex: customers 1000,10005,1006,1007

now i have sales document types .. ZSOR ,ZSOZ, ,ZSOOZ

Now 1006 customer should not be allowed to create ZSOOZ Order but he can create all document types

Any possibility is there in sap

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

If you prefer standard option,  couple of options are there

  • Differentiate the sales area for  ZSOOZ
  • differentiate the customer pricing procedure and don't maintain the required combination in OVKK

Else, you can try with USEREXIT_CHECK_VBAK in program MV45AFZB where you validate the document type

G. Lakshmipathi

Answers (5)

Answers (5)

phanikumar_v3
Active Contributor
0 Kudos

It can be done with standard system itself--Here i don't want disagree with other members.

Have you tried with option called--Define & assign blocking reasons to sales document types.

IMG→SD→Sales→Sales Documents→Define & assign blocking reasons.

1.Create one Blocking reason(X) ,

2.Assign this-X, to all your sales document types(OR)

3.Now you assign this Blocking reason to the customer(A),whom you want to block.

4.When you try with A with OR--system will blocks.

5.For other customers(B,C,D....) will be allowed with OR.

Hope this helps.

Phanikumar

venu_ch8
Active Contributor
0 Kudos

Dear Phanikumar


Now you assign this Blocking reason to the customer(A),whom you want to block.

May i know where we can assign this blocking reason to customer master ?

I Have found this link but i am not able to find blocking section in customer master

https://help.sap.com/saphelp_45b/helpdata/en/06/feeb47b535d1118b3f0060b03ca329/content.htm

phanikumar_v3
Active Contributor
0 Kudos

"""May i know where we can assign this blocking reason to customer master ?

I Have found this link but i am not able to find blocking section in customer master""""

Actually not expected this question from You---Go to XD02→extras→Blocking reasons.

Alternatively you can go with XD05/VD05.

Phanikumar

venu_ch8
Active Contributor
0 Kudos

Dear Phanikumar ...Thanks a lot for your Replay

Let me know one thing  i will try to test on ides but i dont think so it will work

Dear Madhuri , just check this link once and Try with suggestion given by Phanikumar

phanikumar_v3
Active Contributor
0 Kudos

"""""Let me know one thing  i will try to test on ides but i dont think so it will work""""

Dont forget of Updating---i know,it will work.

Phanikumar.

venu_ch8
Active Contributor
0 Kudos

Dear Phanikumar ...

Thank you so much for sharing your ides ..

coming to your point it is not possible

I Have done testing once we assigned sales order blocking reason to document types it will block sales document irrespective of customers it means that document applied to all customers 

former_member209864
Participant
0 Kudos

Dear Venu gopal..

Yes in standard it is not Possible .. By doing enhancement only we have achieved 

Thanks to  

phanikumar_v3
Active Contributor
0 Kudos

coming to your point it is not possible

I Have done testing once we assigned sales order blocking reason to document types it will block sales document irrespective of customers it means that document applied to all customers

Hope you missed something --Where you assigned this Block?? update me...

Follow the steps mentioned earlier...

I Know it will work---i am 200% right.

Phanikumar

venu_ch8
Active Contributor
0 Kudos

Dear Phani

1) OVAL--Define sales order blocking reason

2) VOV8-- Assigned this block reason

3) xd05 assigned this

phanikumar_v3
Active Contributor
0 Kudos

1) OVAL--Define sales order blocking reason

2) VOV8-- Assigned this block reason

3) xd05 assigned this

Your second step is wrong--Follow the path i suggested.(not in Half)

It will work.

Note: The purpose of blocking at VOV8 level--is different & depends on various requirements..

As suggested --- open new thread on this--there by i can help.

Phanikumar

0 Kudos

Yes it work as suggested by Phanikumar V .Apart form this if want to give our own Blocking reason than we go for the OVAS .

Steps are OVAS

OVAL

XD05

We do this in standard System.

venu_ch8
Active Contributor
0 Kudos

Dear Madhuri

as Lakshmipathi G Sir said if you differentiate Sales area for that particuler document

now you can block in XD05 --Give selected sales area also by this way also you can block the customer for that document  

former_member186385
Active Contributor
0 Kudos

Hi Madhuri,

There is no standard approach for this

you have to use some enhancements for this , check with your developer he could able to help you

thanks

santosh

Former Member
0 Kudos

Hi,

you can try to do it throught userexit MV45AFZZ.

B R

venu_ch8
Active Contributor
0 Kudos

Dear ,

I Think we cant control this in sap standard.