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

Adding new entries to the table AUFK

Former Member
0 Likes
3,789

Hi,

Could any body suggest me how to add the new enties to the standard table AUFK. Already some changes have been done to this table some time back by our functional consultant. Now if i try to create entries it shwoing a message 'A maintanance view exist for the table AUFK'.....Coudl any body sugest me what to be done..

Thanks in advance,

Santosh.

18 REPLIES 18
Read only

Former Member
0 Likes
2,657

Any Suggestions for the above questions...

Read only

Former Member
0 Likes
2,657

Hi,

Did you SM30 or through program.

Thanks,

Aditya

Read only

0 Likes
2,657

Hi i tried with both se11 and sm30.

Read only

Former Member
0 Likes
2,657

Hi Santosh,

I have checked properties of the table AUFK. For this table Display/Maintenance is allowed with Restictions.

i.e. we can maintain the records only with a program written for the Table Maintenance Generator(TMG) of that table, i suppose.

If "Display/Maintenance not allowed" is marked, then we won't be able to maintain or even see the table entries.

If "Display/Maintenance allowed" is marked, we can maintain the records through a transaction assigned to the TMG and also through the program written for the TMG of that table.

But if "Display/Maintenance is allowed with Restictions" is marked, we can maintain the entries only through a customized program written for the TMG of that table.

So, u have two options: U try if u can change that option to "Display/Maintenance allowed". If it is not possible, ask the Functional consultant if there is any Customized progam for maintaing the entries for that table.

Don't forget to reward points, if helpful.

Pavan.

Read only

Former Member
0 Likes
2,657

Hi,

Try to update enteries in the table AUFK with a program.

Thanks,

Aditya

Read only

Former Member
0 Likes
2,657

Use UPDATE stmt in SE 38 once u set the option for the AUFK table as Display/maintenance allowed in se11

Cheers

Durai

Read only

Former Member
0 Likes
2,657

AUFK is one of the tables for production orders. To add new entries use transaction CO01 (create production order).

Read only

0 Likes
2,657

try KO01 for create 02 for change and 03 for display.

Read only

Former Member
0 Likes
2,657

Hi,

Try SM30 for the view CAUFV.

Read only

Former Member
0 Likes
2,657

Hi,

'AUFK' is order header table, so first you choose type of the order need to be update, then go to the BAPI transaction there you can find the the suitable bapi for upload ( search in Production Planning tree ).

Then you can use that BAPI to upload the orders, if you want to upload multiple orders types then you might have to use more than one BAPI.

Hope this is useful.

Thanks

Read only

anjan_paul
Active Contributor
0 Likes
2,657

Hi,

There may be inconsistency if you directly enter any entries. Try this FM 'BAPI_ALM_ORDER_MAINTAIN' to maintain order.

Read only

Former Member
0 Likes
2,657

hi santosh,

i just checked the properties of this standard table AUFK under DELIVERY/MAINTENANCE tab, and i think you should change the option TABLE VIEW MAINTENANCE from DISPLAY/MAINTENANCE ALLOWED WITH RESTRICTIONS to just DISPLAY/MAINTENANCE ALLOWED.

This might help you insert a new entry in this table.

THANKS AND REGARDS,

MANSI

Read only

Former Member
0 Likes
2,657

Check if table is having "Display / Maintenance Allowed" for this table, then you can insert through SM30.

Regards,

Shaik

Read only

Former Member
0 Likes
2,657

Hi

You can appen the table AUFK standar please look the note

[ Note 586523 - Customer-defined fields in list editing|https://websmp230.sap-ag.de/sap%28bD1lcyZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=586523]

this appen afect all reports standar.

and can use de badi WORKORDER_UPDATE or IWO1_ORDER_BADI

Best Regards

Andres De la pava

Read only

madhu_vadlamani
Active Contributor
0 Likes
2,657

Hi Santhosh,

1) Why you want to add entries in a standard table 2) Check why they did 3) Do not do any table entries manually if there is any values went wrong check the production order.If you start manual changes that will create lot of issues in future.Post if need more help in this.

Regards,

Madhu.

Read only

Former Member
0 Likes
2,657

Why would you want to insert entries into AUFK directly through table maintenance? Either use a program/BAPI/Standard transaction to create production orders. It's not recommended to modify or update these tables using table maintenance.

- Verma.

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,657

Hi ,

First of all what entries need to be update.

Production Order or Plant Maintenance Orders. If it is PM Order then you can use IW34 or IW31 transactions to create.

If it is Production Order it is already answer in the above post.

THnX

Read only

Former Member
0 Likes
2,657

Hi Santosh,

Try using the standard transaction IW31 for Order creation, IW32 for Order Change and IW33 for Order Display. Hope this will meet your requirement to add new entries to the table AUFK.

Thanks and regards,

Rinzy Deena Mathews.