Application Development 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: 

WORKORDER_INFOSYSTEM( BADI) Adding additional Field to COOIS Tcode

Former Member
0 Kudos

Dear all,

Using the BADI 'WORKORDER_INFOSYSTEM' How to add additional field to COOIS Tcode?

Could any body please provide with an example.

Thanks for your all time support.

Regards

Kumar.

Edited by: kumar on Jan 16, 2009 8:30 AM

1 ACCEPTED SOLUTION

former_member585060
Active Contributor
0 Kudos

Hi,

First go to SE11 and give the structure name IOHEADER, this the structure used in COOIS Tcode,

Scroll down to last field, you will find an Include with component CI_IOHEADER, this the Include which can be used to add our customer fields, which are to be used in the Tcode COOIS.

Double click the CI_IOHEADER ,

It ask to create a structure, click yes and add the fields and its Data elements.

Save and Activate.

Now go to SE18, give the WORKORDER_INFOSYSTEM name, Display

Menu Implementation> Create,

Give a name and create.

Click on interfaces> 'PLANNED_ORDER_TABLES_MODIFY'

Double click, put a break point, save and activate,

Go back and Activate the BADI which you created,

Run the Tcode COOIS and see wether a custom screen is created or not.

Read the documentation of the each interface, and also activate the Customer Include of the Master tables which stores the related data.

Regards

Bala Krishna

4 REPLIES 4

ananthula_sumanth
Participant
0 Kudos

This message was moderated.

former_member705122
Active Contributor
0 Kudos

@kumar : Refer BADI 'WORKORDER_INFOSYSTEM' documentation, you will get an idea.

former_member585060
Active Contributor
0 Kudos

Hi,

First go to SE11 and give the structure name IOHEADER, this the structure used in COOIS Tcode,

Scroll down to last field, you will find an Include with component CI_IOHEADER, this the Include which can be used to add our customer fields, which are to be used in the Tcode COOIS.

Double click the CI_IOHEADER ,

It ask to create a structure, click yes and add the fields and its Data elements.

Save and Activate.

Now go to SE18, give the WORKORDER_INFOSYSTEM name, Display

Menu Implementation> Create,

Give a name and create.

Click on interfaces> 'PLANNED_ORDER_TABLES_MODIFY'

Double click, put a break point, save and activate,

Go back and Activate the BADI which you created,

Run the Tcode COOIS and see wether a custom screen is created or not.

Read the documentation of the each interface, and also activate the Customer Include of the Master tables which stores the related data.

Regards

Bala Krishna

0 Kudos

Dear Bala,

Thanks for your reply.

I double clicked the CI_IOHEADER and it contains 3 ZZ fields that are copied from the material master,is this correct?

The field Im trying to add to COOIS is being taken from CO02/03 and not from the material master and it is called, the Process Duration Field (DABEA)...

What do you think?

PAPJ1.

Edited by: PAPJ1 on Jun 1, 2011 11:29 AM