cancel
Showing results for 
Search instead for 
Did you mean: 

Work Flow Alert Email Functionality for Billing Block Removal in Order

karthik_kumar98
Explorer
0 Kudos
210

Dear Experts ,

My requirement is that , the billing block need to be removed in the contract sales document on the due date .

Business needs an automatic workflow based E-mail alert on the due date. , so as to remove the block.

The table FPLA/FPLT has the billing plan numbers and the due dates contained.

Any date alert email ideas , can anybody advise ?

Thanks in Advance

Karthik

former_member602690
Active Participant
0 Kudos

Hi Karthik,

1. Test or copy SAP workflow Change Master Contract templates

WS20000048 or WS20000049

tasks TS20000140 TS20000141 TS20000409 TS20000233

2. utlize SAP workflow templates/tasks related to SAP business objects

BUS2095 Master Contract or

BUS2034 Customer lower level contract

3. In SAP: setup notifications for this/these workflow templates/tasks to be automatically emailed to agents

4. Refer to Pages 20-33 of Reference below

5. If you want a change, copy, then change your copy. Do not change SAP standard workflow templates/tasks, business objects.

References

https://www.consolut.com/fileadmin/user_upload/SAP_PrintDoku/en/BCBMTWFMSD/BCBMTWFMSD.PDF

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member602690
Active Participant
0 Kudos

Hi Karthik,

Send email, calling one of multiple SAP standard function modules or BAPIs, including

SO_NEW_DOCUMENT_ATT_SEND_API1

CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'

EXPORTING

document_data = gd_doc_data

put_in_outbox = 'X'

commit_work = 'X'

TABLES

packing_list = it_packing_list

contents_txt = it_message

receivers = it_receivers

EXCEPTIONS

too_many_receivers = 1

document_not_sent = 2

document_type_not_exist = 3

operation_no_authorization = 4

parameter_error = 5

x_error = 6

enqueue_error = 7

OTHERS = 8 .

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

References

https://wiki.scn.sap.com/wiki/display/ABAP/Send+Message+to+External+email+id+and+SAP+User+id+via+ABA...

NTeunckens
Active Contributor
0 Kudos

Do you actually need the Workflow for anything other than the Purpose of Sending an E-mail? If not, than you probably don't need a Workflow for this.

There are other options, such as ABAP development through a UserExit / BAdI that could Trigger the E-mail ... Please see this Community Forum or contact your ABAP'ers to check on the Feasability ...