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

Implement the abap logic into the workflows

Hi Experts,

Can any one help me on these.

@ Note : I need to implement the business logic(like select queries in SAP ABAP workflows.) I am new to this concept.

Please help me and send me any documents with you have or suggest me how to do this.

Thanks and Regards,

Sunitha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2015 at 09:20 AM

    Hi,

    You can use business logic in method use in task or you can attach program exit with the task according to your requirement.

    go through below link :

    http://wiki.scn.sap.com/wiki/display/ABAP/SAP+Business+Workflow#SAPBusinessWorkflow-ExceptioninbindingofTaskandtheMethod?

    program exit :

    Program Exits In Workflow - ABAP Development - SCN Wiki

    Regards,

    Jaydeep

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2015 at 07:44 AM

    Hi Sunitha,

    Its seems like you have just started with SAP workflow. If so, I would advise you to go through the tutorials in the below link. It provides explanation with appropriate screenshots.
    SAP Business Workflow

    Also just answer your query, the programming part is mostly done at Busness Object -> Method(SAPTechnical.COM - Working with Business Objects) level or using Class->Method (SAPTechnical.COM - ABAP Classes in Workflow).

    Regards,
    Unni

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2015 at 05:09 AM

    Hi Sunitha,

    In continuation to Krishna's response, here's a simple technique to understand Business object methods if you are an ABAPer,

    1) Methods are similar function modules wherein you define Import/Export/Table(Multiline) parameter attributes as per your requirement.

    2) You assign values to importing/exporting parameters from Workflow-->workflow tasks-->methods via binding

    3) However,to read these values from method parameter to method program you use std macro 'swc_get_element container <import parameter>' for a single value and 'swc_get_table container <import parameter>' for multiline parameters.

    4) Develop the logic similar to what you would do in Function module, like writing select query etc (there are some exceptions though, not going in detail)

    5) Assign the output to method parameter using std macro 'swc_set_element container <export parameter>' for a single value and 'swc_set_table container <export parameter>' for multiline parameters.

    Regards,

    Dipika

    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.