Skip to Content
0
Former Member
Mar 14, 2007 at 08:00 AM

Enhancement framework for Badi

17 Views

Hi all,

I have created a BAdi as an enhancement assignment.

I am calling this Badi from a module pool porgram where iam passing 2 values corresponding to material(matnr) and plant (werks).

In the Badi method i vaildate whether the plant exists for the material given.

I am getting following error while gonig for consistency check on module pool.

Program ZSRI_TRY

The obligatory parameter "I_MATERIAL" had no value assigned to it.

Program ZSRI_TRY

Incorrect nesting: Before the statement "ENDLOOP", the structure

introduced by "TRY" must be concluded by "ENDTRY" . . . . . . . .

Program ZSRI_TRY

No open "TRY" statement.

Program ZSRI_TRY

Incorrect nesting: Before the end of the program, the structure

introduced by "IF" must be concluded by "ENDIF" . . . . . .

Please help