ER Validation warning - variable scope mismatch

SULLY1

VIP Member
When I go to validate event rules for P0411 I get a CER WARNING #2007 : Variable scope mismatch in the F0911FSEditLine business function. Does anyone know what this means? Thanks in advance for your help.

Patty
 
Hi Patty,

This occurs generally, when somebody changed the scope (generally Event to Form) an already defined and used variable.

If you want to kick off this message, then identify the form, event and ER line from the message re-open and close the statement or re-map the variable, if it is a UBE/APPL interconnect, table IO, BSFN or system function call.

Yes, it can occur in vanilla untouched standard application too
blush.gif


Regards,

Zoltán
 
Zoltan

Thanks for your response. Below is the actual error message. It doesn't tell what the offending variable is. I open/closed and saved the event, same error When you say re-map to you mean to re-select the mappings within the bsfn?


/* CER WARNING #2007 : Variable scope mismatch */
Function Name: P0411_W0411K_0_1567
Function Description: ER for W0411K_0_1567
Form: W0411K - Enter Voucher - G/L Distribution
Control: 0 - FORM
Event: 1567 - Write Grid Line-After
Seq #: 102
Line #: 100
Line Text: F0911FSEditLine

*************************

/* CER WARNING #2007 : Variable scope mismatch */
Function Name: P0411_W0411K_0_1567
Function Description: ER for W0411K_0_1567
Form: W0411K - Enter Voucher - G/L Distribution
Control: 0 - FORM
Event: 1567 - Write Grid Line-After
Seq #: 102
Line #: 100
Line Text: F0911FSEditLine

Patty
 
Hi Patty,

I see, this line is a Master BSFN Call.

Open the BSFN and step-by-step down go through on the parameters on the right panel.

Check, that:
- anything "???" does not exist in the parameters
- do yo see the same scope (rpt, evt, grd) as prefix in the left and the right panel on each line (left panel item will be automatically selected, going down in the right panel)?
- do you see the same variable (or any other data holder, as FI, PO, FC) name on both side?

If you find any mismatch, then you have to re-map this, except when you find "???", but this is an other story - please, let us know, if this is the scenario.

OK, I know, this is a pretty long parameter list
cool.gif


Please, let us know, what had you found. Thanks.

Read you later,

Zoltán
 
Zoltan

I went through the bsfn in P0411. Nothing looks odd. I read on the Oracle website that this warning can be ignored if running the application on a fat client. We do not use web based product so we should be okay. Thanks again for trying to help.

Patty
 
hi guys i am also getting the same error, its sales update R42800 there is nothing that has not been mapped. please see below.


*************************

EVENT RULE VALIDATION LOG

UBE - R42800 - Sales Update

Created : Thu Jun 30 16:44:03 2011

*************************

/* CER WARNING #2007 : Variable scope mismatch */
Function Name: S8_0_13
Function Description: ER for R42800_+_S8_0_13
Section: S8 - Update Sales/Inventory Files
Event: 13 - Do Section
Seq #: 338
Line #: 314
Line Text: If VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Blank> Or VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Null> Or VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Zero>

*************************

/* CER WARNING #2007 : Variable scope mismatch */
Function Name: S8_0_13
Function Description: ER for R42800_+_S8_0_13
Section: S8 - Update Sales/Inventory Files
Event: 13 - Do Section
Seq #: 368
Line #: 344
Line Text: DeleteSalesHeaderAndDetail

*************************

/* CER WARNING #2007 : Variable scope mismatch */
Function Name: S8_0_13
Function Description: ER for R42800_+_S8_0_13
Section: S8 - Update Sales/Inventory Files
Event: 13 - Do Section
Seq #: 368
Line #: 344
Line Text: DeleteSalesHeaderAndDetail

*************************

/* CER WARNING #2007 : Variable scope mismatch */
Function Name: S8_0_13
Function Description: ER for R42800_+_S8_0_13
Section: S8 - Update Sales/Inventory Files
Event: 13 - Do Section
Seq #: 371
Line #: 347
Line Text: If VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Blank> Or VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Null> Or VA rpt_cF4211UpdateErrorCode_EV01 is equal to <Zero>
 
Back
Top