on 05-29-2007 12:23 PM
Hi Guru's,
I'm new to this environment.
Please help me with advice and sample code for the following.
I need to check if shopping cart is open for more than 20 days then change status to reject, daily background job.
Then need to inform user of new status via email.
Which is the correct FM, s to use.
Many thanks
Daniel
Hi
<b>Here are the steps -></b>
1. Create a Customer Implementation of BBP_DOC_CHANGE_BADI for Object (filter) type - BUS2121 using SE18 Transaction.
In the coding, you can set you condition ( >= 20 days then change status to reject)
2. Using either of the standard Function modules, you can create a Z program to send emails.
<b>Use the following Standard SAP Function modules -></b>
SO_OBJECT_PREPARE_FOR_SEND
SO_OBJECT_SEND
SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_ATT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
<u>Other related links -></u>
Hope this will help.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can goto SE18 and enter the BADI name.Then goto Implementation in the MENU and say create.There you can create your Z implemntation for the BADI.
In the Method BBP_SC_CHANGE,you can write your piece of code.Also there is a std FM to change the Status of docuemnts(i.e. SC,PO)..Currently I am away from system so cant tell you the exact name...
You can search in SE37 with the criteria ."BBPSTATUS...
HTH
BR,
Disha.
Pls reward full points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.