Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SWC_SET_ELEMENT CONTAINER

Former Member
0 Likes
4,569

Hello,

I have got a requirement to change a method of any object type, i am new to BOR i find these statements in the methods:

swc_set_table container 'Sequential_Approvers' sequential_approvers.

swc_set_element method_container 'Status' status.

Could anyone please let me know what do tehy stand for.

It would be really helpful if some one could let me know relevant links which would give me some information on this.

Thanks,

Simmi

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
2,165

Basically, SWC_SET_ELEMENT and SWC_SET_TABLE are the macros.

You can get more help on macros from ABAP help.

Regards,

Naimesh Patel

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
2,166

Basically, SWC_SET_ELEMENT and SWC_SET_TABLE are the macros.

You can get more help on macros from ABAP help.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
2,165

Yes, i could find that theya re macros. They call call fm SWC_ELEMENT_SET and SWC_TABLE_SET. Any idea what these FMs do? I guess this is realted to the workflow but more information would help

Read only

0 Likes
2,165

Yes it is used in workflow.

I don't have much idea on that. I have tried to search for the documentation and got proper directions.

http://www.sap-basis-abap.com/wf/workflow-creation-and-customization.htm

Regards,

Naimesh Patel

Read only

0 Likes
2,165

Hi Simmi,

These are used in BOR methods.

SWC_ELEMENT_SET and SWC_TABLE_SET are for output parameters. when you pass values to any BOR method then that method will receive those values using SWC_ELEMENT_GET and when that method return you any value then it i spossible by SWC_ELEMENT_SET.

mostly these BOR are used in workflows because it triggers automatically on any transaction and because of which workflow linked to that BOR will start automatically.

feel free to revert back for any query.

Thanks,

Rahul