Skip to Content
0
Former Member
Apr 05, 2006 at 05:35 PM

BADI

93 Views

Hi all,

I am working in CRM. I am trying to analyze some BAPI programs.

Here the definition name of the BAPI impemented is EXEC_METHODCALL_PPF.

Here I am checking that description field must not be empty. To do this as far I know the field must be accessed in the method -endmethod. But in the program I am analyzing simple message is given and the BADI is triggered when the description field is empty.

Here is the following code.

method IF_EX_EXEC_METHODCALL_PPF~EXECUTE .

message W208(00) with 'Enter a value for Description'.

endmethod.

Can anyone explain me how the BADI is triggered ? And also how the fields of the tcode are accessed in the BADI.

Regards,

Varun.

Message was edited by: varun sonu