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_GET_ELEMENT Incompatibility

Former Member
0 Likes
826

Hi,

I am working on upgarde project of ECC6.0.

I got an error in on the programs with Structure swlc_workitem.

This structure has a field type CONTAINER in R/3 4.6c, But when we consider the upgrade with ECC 6.0, this structure does not have field CONTAINER,

instead of that it contains CONTAINER_HANDLE which is of

type ref to if_swf_cnt_container.

I am getting a syntax error in ECC 6.0 for below statement as the CONTAINER

does not exit for that structure.

<b>swc_get_element swlc_workitem-container p_element l_objid</b>

Kindly suggest me a solution to overcome this syntax error.

Thanks & Regards,

Gopinath Addepalli.

Hi,

I am working on upgarde project of ECC6.0.

I got an error in on the programs with Structure swlc_workitem.

This structure has a field type CONTAINER in R/3 4.6c, But when we consider the upgrade with ECC 6.0, this structure does not have field CONTAINER,

instead of that it contains CONTAINER_HANDLE which is of

type ref to if_swf_cnt_container.

I am getting a syntax error in ECC 6.0 for below statement as the CONTAINER

does not exit for that structure.

<b>swc_get_element swlc_workitem-container p_element l_objid</b>

Kindly suggest me a solution to overcome this syntax error.

Thanks & Regards,

Gopinath Addepalli.

6 REPLIES 6
Read only

Former Member
0 Likes
782

Hi,

U need to use CONTAINER_HANDLE.

Read only

0 Likes
782

Hi Nagendra,

Could you please let me know what can i put in that swc_get_container syntax?

It helps me alot and thanks for your support.

Regards,

Gopinath Addepalli.

Read only

0 Likes
782

Hi,

Change CONTAINER to CONTAINER_HANDLE and check if it works. Otherwise send me the program name.

Read only

0 Likes
782

Hi Nagendra,

It was throwing an error as CONTAINER_HANDLE is not an internal table.

I am facing this problem with syntax for 4 programs.

If this syntax was cleared i will be happy..

Regards,

Gopi.

Read only

0 Likes
782

can u give the pgrm name

Read only

Former Member
0 Likes
782

Hi

Can you tell me what object and which workflow task (if standard) are you using?

Regard

Chandrasekar