![]() ![]() ![]() While this communication was handled behind the scenes with BOR objects and workflow, a little bit of coding on your part is now needed. The BI_PERSITENT~LPOR method will convert the ABAP instance into the workflow instance. The methods BI_PERSISTENT~FIND_BY_LPOR will convert the current object reference used by workflow into instance of the ABAP Class. This transformation is handled in the two interfaces included with IF_WORKFLOW BI_PERSISTENT and BI_OBJECT. The important part of this interface is called the Local Persistent Object Reference, which is used to convert the workflow object reference into the specific instance of the ABAP Class, as well as the reciprocal. In order for workflow to be able to use this class you need to add the interface IF_WORKFLOW. Using SE24 I created a class ZCLZZ_WF_DEMO_CLASS which I will use in this example to represent a vendor. This blog does not go into great detail about ABAP OO programming so learning some basics via other blogs or books is helpful.Ĭreating a class that can be used by workflow is a little more time consuming than creating a copy of a standard SAP Business Object and delegating your new object, but once you have done it a few times, it is rather simple and allows you to utilize ABAP OO. In this part I will go into more detail about creating an ABAP OO class and using it within a workflow. In the first part of this blog regarding the use of ABAP OO with SAP Workflow, I explained some of the benefits of using ABAP OO with your custom workflows. You can reach him at Using ABAP Object Oriented Coding in your Custom Workflow Prior to programming, Bill ran an upholstery shop in Denver, where he managed the workforce, payroll, sales, scheduling and delivery. He made his way into programming as a COBOL programmer, switching to SAP when the company he worked for migrated from mainframe programming to SAP. His areas of expertise include SAP Business Workflow and ABAP development. Bill has over 10 years of experience with SAP ECC systems and integration with SRM. Here is a little bit about Bill….īill Craig is the president of ASAP Consulting Inc., located in Centennial, Colorado. How to call workflow from abap program sap how to#In this post, Bill will show us how to use ABAP Classes to streamline our code for an easier and elegant solution. Lets continue our exploration of ABAP OO and using it in SAP workflow. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |