cancel
Showing results for 
Search instead for 
Did you mean: 

COOIS Enhancement

Former Member
0 Kudos

Hi Guys,

I want to add following new filelds in COOIS planned orders initial & output list screens.

1. Sales Order number & Item number

2. Customer Number & Name

3. WBS Number & WBS Status

Is there any enhancement available in SAP? Also let me know if there is any SAP OSS Note is available.

Thanks.

Sachin

Accepted Solutions (1)

Accepted Solutions (1)

former_member533946
Active Contributor
0 Kudos

Hi dear,

You can create your own Z report by taking the following tables and fields

With Sales Order as input field

1) Table PLAF - Sales Order - KDAUF

Sales Order Line item - KDPOS

2) Table VBAK - Name Of the orderer - BNAMF

Sold to party - KUNNR

3) Table VBAP - WBS element - PS PSP PNR

Take help of ur ABAP er to create Z report with above fields and tables.

Former Member
0 Kudos

Thanks Deepak...

Sachin

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Sachin

the BADI name is WORKORDER_INFOSYSTEM, see note 434123 for further details.

BR Sabine

Former Member
0 Kudos

Thanks Sabine for your answer. ....

Former Member
0 Kudos

Dear,

Use the following BADI ...

COCR_CMX_BI_INFO

COIS_WO_INFO_DELAY1

COIS_WO_INFO_PREDEC1

Help text

BAdI: PP and PI Order Information System

Use

This Business Add-In (BAdI) is called in the application components Information System (PP-SFC-IS), Order Processing (PP-SFC-EXE) and Process Order (PP-PI-POR).

Function group: COBADI

This Business Add-In can be used to fill additional (customer-specific) fields in the order info system for production orders and process orders. You can also react to entries on the selection screen or the output list.

Raj

The BAdI comprises the following methods for the selection screen:

Call in selection screen of the Order Information System

( AT_SELECTION_SCREEN)

This method is only called in the transactions that use the report PPIO_ENTRY: COOIS, COHV, COOISPI, COHVPI, CO04N, CO05N und COMAC.

The BAdI comprises the following methods for representing the new transactions of the Order Info System (COOIS, COHV, COOISPI, COHVPI, CO04N, CO05N, COMAC, CO01, CO02, CO03, COR1, COR2, COR3, CO78, SARA, SARI):

Processing of order and planned order tables

( TABLES_MODIFY_LAY)

Process detail lists

( DETAIL_LIST_LAY)

Process layout-based object overview

OVERVIEW_TREE_LAY

Call in the event of action on output list

AT_OUTPUT_SCREEN_LAY)

The BAdI comprises the following methods for representating the old transactions in the Order Information System (CO26, CO28, COID, COIO):

Processing of order tables

( ORDER_TABLES_MODIFY)

Processing of planned order tables

( PLANNED_ORDER_TABLES_MODIFY)

Call in case of action on output list

( AT_OUTPUT_SCREEN)

Processing of object overview

( OVERVIEW_MODIFY)

Requirements

To use your own fields, you must first define the fields in the customer include for the relevant structure.

Standard settings

The Business Add-In is not active in the standard system. The Business Add-In can be used several times.

Activities

To activate the Business Add-In, you must create an active implementation. Note that the Business Add-In can be used several times and all the active implementations are therefore called and run through.

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.

The system displays the initial screen for creating Business Add-In implementations.

2. On this screen, enter a short description for your implementation in the Implementation Short Text field.

3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.

4. Save your entries and assign the Add-In to a package.

5. To edit a method, double-click its name.

6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.

7. Save and activate your code. Navigate back to the Change Implementation screen.

Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:

8. Choose Activate.

When the application program is executed, the code you created is run through.

RESET N1

Along with the enhancement used to add customer-specific fields, this BAdI can also be used to:

Prevent changes to the layout or selection of specific profiles.

This prevents the display of critical fields, for example (data protection).

Prevent the user jumping to mass processing (variant SAP&HVOM) by choosing a different variant from the info system (transaction COOIS, variant SAP&COOIS).