Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: how to write the code in custom method in BO

$
0
0

Hi Shamsudeen,

I have created a new custom method NOTIFY in my subtype. I have implemented the code in the method. How to modify the code in the method in such a way that i can achieve the given scenario ?

Create a workflow to create / change Purchase Order depending on the input values entered in the custom screen of Service Notification. The workflow is triggered by a custom event. When there is any change in input field values on the custom screen, the event gets created and sends a mail both external and internal to the purchasing group, where Buyer user id and email id is determined through rule based function module.


my code is as follows.

INCLUDE <OBJECT>.

BEGIN_DATA OBJECT. " Do not change.. DATA is generated

* only private members may be inserted into structure private

DATA:

" begin of private,

"   to declare private attributes remove comments and

"   insert private attributes here ...

" end of private,

  BEGIN OF KEY,

      MATERIAL LIKE MARA-MATNR,

  END OF KEY.

END_DATA OBJECT. " Do not change.. DATA is generated

 

 

BEGIN_METHOD NOTIFICATION CHANGING CONTAINER.

END_METHOD.

 

Please reply with changes in the code .

Regards,

Saurav Lahiry


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>