Skip to Content
author's profile photo Former Member
Former Member

Workflow

Hi,

I was in SAP 4.6c..I was given an object in workflow which they want to automatically checking the PO and sending mails issues..

I was new to workflow.Cananyone give me screen shot oriented help or any documented help with stpe by step procedure

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2008 at 09:28 AM

    Hi,

    Have a look on the following link, you can get step by step screen shots.

    http://www.saptechnical.com/Tutorials/Workflow/Workflow.htm

    Regards,

    Chandu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2008 at 09:40 AM

    Hi Magesh,

    Can u be more clear with u question.If ur requirement is to send a notification mail when ever a PO is created in that case it's very simple.

    Go to SWDD open standard work flow WS20000075 and in that add a Step type Send mail in that send mail step type give ur user name.

    http://www.saptechnical.com/Tutorials/Workflow/POReleaseStrategy/page1.htm

    If u r very new to work flow plz go through.

    Work flow for dummies part 1 & part 2 By Swapna Modi.

    This u will get in blog.

    Or better ask ur company to hier a workflow consultant

    Regards,

    Dheepak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2008 at 11:34 AM

    Hi Mahesh ,

    <content removed by moderator as it was just a copy and paste without giving a source>

    The following r excellent websites which will solve u'r problem:

    Practical Workflow for SAP

    http://www.sap-press.com/downloads/h950_preview.pdf

    An expert guide to new SAP workflow capabilities

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034

    Workflow

    http://iris.tennessee.edu/Blueprint/Workflow/Workflow.doc

    Workflow Scenarios

    http://help.sap.com/saphelp_nw04/helpdata/en/04/926f8546f311d189470000e829fbbd/content.htm

    SAP Business Workflow

    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm

    Home to SAP R3 Webflow - Workflow ->

    http://www.erpgenie.com/workflow/tips.htm

    Why use SAP Workflow?

    http://www.insightcp.com/res_23.htm

    cheers!

    gyanaraj

    <inappropriate content removed by moderator>

    Edited by: Mike Pokraka on Jul 1, 2008 3:25 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2019 at 08:46 AM

    Hello,

    Use this FM BAPI_PO_CHANGE for checking the error in PO. If this FM returns some error then concatenate all these error in internal table. Afterwards that internal table pass in email FM.

    This is a small program which is used for sending mail.

    data : maildata type SODOCCHGI1.

    data : mailtxt type table of SOLISTI1 with header line.

    data : mailrec type table of SOMLRECI1 with header line.

    start-of-selection.

    clear : maildata,

    mailtxt,

    mailrec.

    refresh:mailtxt,

    mailrec.

    maildata-obj_name = 'Test'.

    maildata-obj_descr = 'Test'.

    maildata-obj_langu = sy-langu.

    mailtxt-line = 'This is a test mail'.

    append mailtxt.

    mailrec-receiver = 'mailid@gmail.com'.

    mailrec-rec_type = 'U'. (This "U" means email received at external system)

    append mailrec.

    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'

    EXPORTING

    document_data = maildata

    DOCUMENT_TYPE = 'RAW'

    PUT_IN_OUTBOX = ' '

    COMMIT_WORK = 'X'

    • IMPORTING
    • SENT_TO_ALL =
    • NEW_OBJECT_ID =

    tables

    OBJECT_HEADER = mailtxt

    OBJECT_CONTENT = mailtxt

    • CONTENTS_HEX =
    • OBJECT_PARA =
    • OBJECT_PARB =

    receivers = mailrec

    • 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.

    I hope you get my point.

    Thanks & Regards.

    Shaheryar Hashmi (Pakistani).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.