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

SE11 - Copy structure

Former Member
0 Likes
1,020

I just noticed a small issue in SAP when I attempted to copy a structure in SE11.

I had create a custom structure called ZCUSTINVHDR. This structure contained 3 other structures (as appends). These were:

1. Customer address information

2. Customer header information

3. Customer line item information

As you will probably be aware points 1 and 2 are going to be flat (i.e. they are not line items). However I had them as append structures because I like to think and work in OO as much as possible, even if aspects of SAP dont really lend themselves to it. Only point 3 is not flat.

As I had added in point 3 I realised that the name of the structure (ZCUSTINVHDR) was no longer appropriate as now the structure contained both header and line item information. Therefore I copied the structure (ZCUSTINVHDR) from SE11 by click the "Copy" button. The copy process allowed me to re-name the structure and then delete the original.

However, SAP did no copy the original structure. Instead it flattened out points 1 and 2 and only kept the point 3 as an append structure.

Is it just me, or is this not a copy? Why does SAP do that? Shouldn't SAP call the button "funny copy functionality button" or something?


Cheers,

Adam

I just noticed a small issue in SAP when I attempted to copy a structure in SE11.

I had create a custom structure called ZCUSTINVHDR. This structure contained 3 other structures (as appends). These were:

1. Customer address information

2. Customer header information

3. Customer line item information

As you will probably be aware points 1 and 2 are going to be flat (i.e. they are not line items). However I had them as append structures because I like to think and work in OO as much as possible, even if aspects of SAP dont really lend themselves to it. Only point 3 is not flat.

As I had added in point 3 I realised that the name of the structure (ZCUSTINVHDR) was no longer appropriate as now the structure contained both header and line item information. Therefore I copied the structure (ZCUSTINVHDR) from SE11 by click the "Copy" button. The copy process allowed me to re-name the structure and then delete the original.

However, SAP did no copy the original structure. Instead it flattened out points 1 and 2 and only kept the point 3 as an append structure.

Is it just me, or is this not a copy? Why does SAP do that? Shouldn't SAP call the button "funny copy functionality button" or something?


Cheers,

Adam

2 REPLIES 2
Read only

former_member201275
Active Contributor
0 Likes
772

Hi Adam,

In SAP we cannot copy appends within the structure. You are going to have to put then back in manually sadly.

I agree they should reword the button.

Read only

0 Likes
772

Goodness knows how many times I have done this, but I just noticed it now....Got to give credit to the SAP chaps and chapesses with their consistency