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

A question about generated table in BOPF

Former Member
0 Likes
892

Hi,

In BOPF, the table generated includes a field MANDT, which means client-specific. Do we have some way to avoid this field when generating.

If there is no way to avoid this field, can I delete the field directly after the generation?

Thanks in advance

Best Regards, Johnney.

1 ACCEPTED SOLUTION
Read only

gaursri
Active Contributor
0 Likes
769

Hi Jhonney,

To make changes directly in SAP table needs permission from SAP.The field MANDT is always the primary key in general.I suggest try to copy the table by choosing copy table.From the second table you can change or modify for your choice of fields.Hoping your query resolves.

Have a great day ahead.

Hi Jhonney,

To make changes directly in SAP table needs permission from SAP.The field MANDT is always the primary key in general.I suggest try to copy the table by choosing copy table.From the second table you can change or modify for your choice of fields.Hoping your query resolves.

Have a great day ahead.

4 REPLIES 4
Read only

gaursri
Active Contributor
0 Likes
770

Hi Jhonney,

To make changes directly in SAP table needs permission from SAP.The field MANDT is always the primary key in general.I suggest try to copy the table by choosing copy table.From the second table you can change or modify for your choice of fields.Hoping your query resolves.

Have a great day ahead.

Read only

Former Member
0 Likes
769

Hello Johnney,

If you are trying to make changes to a standard table, copy the table into a zxxxxx table and follow the below steps.

Go to SE11 and edit the table fields.

Change the Field Type Column of the field "madt", from "mandt" to some other name; Also chenge the Data Type from "CLNT" into another suitable name.

Or else, you can simply remove the mandt field itself.

This makes the table client independent. The main factor which makes a table client dependent is the data type (CLNT with length 3) . The table will be client-independent if any of these attributes is changed.

You may have to adjust the table once this change is done.

If you get such an error, go to SE14 and Adjust the table.

Hope this helps you.

Regards,

Shiny

Read only

0 Likes
769

Hi,

Thanks for your help.

My requirement is as following:

When I implement a BO with BOPF. The BOPF will generate the tables automatically. for everyone table, it will have the field MANDT, which means client-dependent.

I hope the table is client-independent. How to achieve it?

Thanks

Best Regards, Johnney.

Read only

Former Member
0 Likes
769

Get Solution from internal colleague