cancel
Showing results for 
Search instead for 
Did you mean: 

BOR reference in ABAP Class

Former Member
0 Kudos

Hello,

I am writing method in ABAP class which I will link to the Workflow Step. I want to access values of one of the Workflow Element which is Multiline and refering to BOR Object Type. My queries are as below:

1. How should I define Importing Parameter of Method which will import values from the Workflow Element which is Multiline and refering to BOR object type.

2. If I change value of that Workflow Element (Multipline refering to BOR object type) in ABAP class method, will it be automatically reflected in Workflow Container due to binding?

Edited by: Ashwin Sonkusare on Apr 1, 2011 3:35 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1. How should I define Importing Parameter of Method which will import values from the Workflow Element which is Multiline and refering to BOR object type.

Please create a table type same as workflow multiline element type. ( You can also use standard table if present ).

Then use this table type as the type of the import parameter of the class.

Then u can pass the multiline element of workflow to abab calss

2. If I change value of that Workflow Element (Multipline refering to BOR object type) in ABAP class method, will it be automatically reflected in Workflow Container due to binding?

If u change the Workflow Element (Multipline refering to BOR object type) in ABAP class method, then u need to update the values of the workflow multiline element through reverse binging ( binding abap class to WF ).

Thanks and regards,

SNJY

suresh_subramanian2
Active Contributor
0 Kudos

Hello Ashwin !

You can access business object in ABAP class.To do so, just create the business object as an attribute in ABAP class.

Regards,

S.Suresh