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

Common_part Replacement

Former Member
0 Likes
527

COMMON_PART obsolete command and i want to know how to replace as a Template.

Thank you

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
506
3 REPLIES 3
Read only

Former Member
0 Likes
507
Read only

0 Likes
506

I am not able to see the replacement.. could you suggest where it is...

It is not allowed in ABAP Objects to create common data areas using the addition COMMON PART of the statement DATA is not allowed in ABAP Objects.

Error message in ABAP Objects if the following syntax is used:

DATA BEGIN OF COMMON PART c,

...

DATA END OF COMMON PART.

Reason:

Common interface work areas for data transfer between programs and procedures are not supported in ABAP Objects. In classes only the components visible to a user are used as interfaces, i.e., visible attributes and the interface parameters of methods and events.

I want to know the replacement syntax Could any body can help me on this.

..

Read only

0 Likes
506

Hi ,

Using ABAP Internal Memory Import and Export we can achieve the functionality of COMMON PART.

Thank you