cancel
Showing results for 
Search instead for 
Did you mean: 

Backend Error: Budget exceeded

RicardoRomero_1
Active Contributor
0 Kudos

Hi all,


Do you know where these messages from Backend are being populated?

We want to add an enhancement point somewhere in the standard code in SRM in order to change something in the messages of the budget (message class FMAVC in ECC).

But we cannot find the place where the messages came from ECC.

We thought the place was the FM META_ACC_PUR_ORDER_CHECK_BUF, and works fine for SC, but for PO this FM is not being called ( the call depends on the customizing table bbp_extpo_gl ). Anyway the error message is being displayed for PO, but we don't know how.

We have tried adding a break-point in FM BBP_PD_MSG_ADD, but don't stop there for these messages.

Do you know a way with which I can know how these messages are being populated?

Thanks in advance,
Regards.

Ricardo.

Accepted Solutions (1)

Accepted Solutions (1)

RicardoRomero_1
Active Contributor
0 Kudos

Ok,


I found the place. The message came from the call to FM  BBP_PO_INBOUND within the FM

B46B_DPO_TRANSFER, or before in FM META_DPO_TRANSFER.

Regards.

Answers (2)

Answers (2)

vinita_kasliwal
Active Contributor
0 Kudos

Hi Ricardo

IN the SRM you may use the BADI BBP_BUDGET_CHECK to put your custom logic..

The following drivers/function modules are triggered depending on the above-mentioned settings in each case:

~> Create/change a shopping cart or during its approval:

      ~> B31I_PURCHASE_REQUI_CHECK

      ~> B31I_PURCHASE_ORDER_CHECK

~> Create/change a purchase order or during its approval:

      ~> B31I_PURCHASE_ORDER_CHECK,

Function modules called in the FI/CO back end:

      ~> BBP_PURCHASE_REQUI_CHECK

      ~> BBP_PURCHASE_ORDER_CHECK

Refer these Notes :

499352  SRM Transfer: Redesign, bug fixes

1250606  Budget exceeded errors incorrectly raised

1456714  Budget check error messages are not cleared properly

1074154  Budget Exceeded in Limit Carts with Multiple Currencies

1270317  Budget exceeded error incorrectly raised in a SC with limit

1081758  FAQ: Budget Check/Display

  520717 - Budget check in EBP

Regards

Vinita

RicardoRomero_1
Active Contributor
0 Kudos

Hi Vinita,

Thanks for answer.


We don't want to put our custom logic, we want to use the standard logic but adding something in the message.

I mean, in the message in ECC we can see as part of the message a budget key (I don't know if this the correct translation to english) but in the message in SRM this part is missing. The key looks like this 9H/2016/1025/1167OAE50C/6051091000/60900101.

But we can see by debug that in the message in SRM this key is in the messages table in the field MESSAGE_V3. So we can add this to the message or add a new message with the key. We did the same for SC and CONF and is working fine.

But for PO we can't find the place where the message came from ECC to SRM to know this key and add a new message as we did with SC and CONF.

I can't find the FM you said in my system. I'm going to check the notes.

Thanks.

Former Member
0 Kudos

Hi Ricardo,

here's the call stack for budget check in PO:

FUNCTION        META_ACC_PURCHASE_ORDER_CHECK

FORM                BUDGET_PO_CHECK                                        LBBP_PDF39

FORM                PROCDOC_CROSS_CHECKS                           LBBP_PDF1C

FORM                PROCDOC_DB_CHECK                                     LBBP_PDF10

FORM                PROCDOC_CHECK

Regards,

Zsofia

RicardoRomero_1
Active Contributor
0 Kudos

Hi Zsofia,


Thanks for answer.


I've already check the call to FM META_ACC_PURCHASE_ORDER_CHECK, and the call stack.

The FM  META_ACC_PURCHASE_ORDER_CHECK is not being called because the customizing table I salid in the previous post.

I've debugged the code, seeing the call stack but I couldn't find the place where the budget check is being done.


Thanks.