cancel
Showing results for 
Search instead for 
Did you mean: 

Warning message is coming at the status bar in the sales order instead of error message

Former Member
0 Kudos

Hi All,

We have a scenario here where we need to block 2 customers for 2 sales document types so that these customers cannot use in the sales order.

When we raise a SO with these customers,system should show error message as " Customer xxxx assigned order block".

But we are getting the warning message as " Customer xxxxx has delivery block: Overall Block".

Help me to get the Error message as " Customer xxxx assigned order block".

Thanks,

Pavan.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Pawan

1.If you have Credit managment activated , Please block the customer from FD32 (Indicator: Blocked by credit management-KNKK-CRBLB). Check how your credit control area is getting determined and block the customer accordingly.

or

2. You can mark your customer for deletion and  add message number in below path .

Regards

Santosh

VeselinaPeykova
Active Contributor
0 Kudos

Have you checked whether the order block, which is set for the customer is actually assigned to the sales order type that you use for test purposes: maintenance view V_TVASP?

If yes, then is the order block set for the same sales area, for which you create the sales order?

If yes, then you might have some additional development which bypases the sales order block (very unlikely, but still can be considered).

If you are not creating the sales order in ERP, you might check the replication as well.

In case you have both order and delivery block set for a specific customer and the corresponding sales area, first the order block is checked (error message), then the delivery block is checked (warning message).

former_member200027
Active Participant
0 Kudos

Hello Pavan,

Firstly, please assign a blocking reason to the 2 specific sales document types in following path:

IMG

->Sales and Distribution

-> Sales

   -> Sales Documents

      -> Define And Assign Reason For Blocking

Secondly, please assign the same blocking reason to the 2 customers in transaction XD05.

After above steps, when using the 2 customers in the 2 specific document types, you will get error message V1423 - "Customer XXX has been assigned order block: XXXX" so that the document

cannot be saved.

Please let me know if this is helpful or not.

Best regards,

Crystal Lin

Former Member
0 Kudos

Hi Lin,

Thanks for your reply. I have done all the required configuration as suggested by you but still we are getting the  warning message as " Customer xxxxx has delivery block: Overall Block".

We need to get the Error message as " Customer xxxx assigned order block".

Hope you understand the scenario.

Thanks,

Pavan.

former_member200027
Active Participant
0 Kudos

Hello Pavan,

This is the settings that I have done in my system:

1. assign blocking reason 01 to sales order type OR:

2. assign blocking reason 01 to customer 1000, under company code 1000 and all the sales areas:


Then, when creating sales order with order type OR in sales area 1000/10/00, following error is issued:

Please check whether your system behaves the same as mine when using exactly the same settings as above. Please do not assign any delivery block to the customer or the order type when

testing.

Best regards,

Crystal Lin

Former Member
0 Kudos

Hello Pavan

Can you please let us know the ECC version your client has?

Regards

Santosh

VeselinaPeykova
Active Contributor
0 Kudos

If you have already done the configuration described by Lin and assigned the order reason to the sold-to party, have you checked if there is some custom development that bypasses the order block?

You can place a breakpoint in MV45AF0T_TVASP_SELECT on select single * from tvasp where aufsp = us_aufsp and
                                    auart = us_auart.

and check from there on if you branch to an enhancement that clears it.

Former Member
0 Kudos

Hello Pawan

Do the Below Steps,

  1. Please follow the steps Crystal Lin sujjested you .
  2. Please go to below path and assign your Sales Document type to Error code .
  3. After assignment is done, try creating Order , It will block. I have tested It works fine.

Regards,

Santosh Verma

Former Member
0 Kudos

Hi Pavan,

For restricting 2 document types to two customers why con't you meet this requirement through listing and exclusion process.

Thanks,

Dwaraka

Lakshmipathi
Active Contributor
0 Kudos

I believe for the said warning message, the message number starts with "V1" in which case, you cannot modify.  It is an inbuilt program by SAP and it is not recommended to change such messages.

G. Lakshmipathi

Former Member
0 Kudos

Change message type to "E" instead of "W"

regards

Gopala

Former Member
0 Kudos

Hi Gopala,

Where can I change this message type??

Pls help.

Thanks,

Pavan.

ravi_kumar100
Active Contributor
0 Kudos

Hi,

Check in OVAH with the message number . If available change it to E.

Regards,

SRK