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: 

Create your source code in your own include DBIOCC01. How to create include

Former Member
0 Kudos

Please let me know how to create own include DBIOCC01. Please let me know how to create this include.

I am pasting OSS NOTE here

Number 434123

Version 7

Processor

Processing Status New

Implement. Status Can be implemented

Language EN

Short Text Filling and displaying own fields in information system

Component PP-SFC-IS Information System

________________________________________________________________________

Long Text

Symptom

You want the system to display additional fields in the order information system which

are not provided in the standard system.

Other terms

COOIS, COHV, CO26, CO28, CO05N, CO04N, COMAC

Reason and Prerequisites

THIS IS A MODIFICATION.

Note that as of Release 4.70, you can add additional fields without modification using

customer includes and you can fill them in the WORKORDER_INFOSYSTEM BAdI (You can find

examples of this in Notes 615176 und 615206).

For Releases lower than 4.7, you can only carry out the enhancement using a

modification. During an upgrade, it is possible to transfer this modification to

Release 4.7 (or higher).

Solution

This note is a help for adding to the structures of the order information system. It

describes how to display the additional fields and fill them with content.

The addition to these structures is a modification. Therefore, SAP does not accept any

responsibility that this modification will work correctly nor does SAP accept the

responsibility or maintenance for problems caused by this modification.

To add to a structure, you have to carry out the following steps (this is shown for

the example of order headers IOHEADER):

1. Add the desired fields to the corresponding structure in the DDIC (IOHEADER). You

might not be able to use the displayed fields of the structure. However, you have

to take into account that the data type of the field used can be used for this

purpose and that this can result in certain inconsistencies (for example, F1 and

F4 help for this field are incorrect, double-clicking can lead to incorrect

transactions ...). SAP also reserves the right to use fields in the future which

have not been displayed up to now and to display these fields. This will then

result in conflicts with your modification. Refer to step 2 for the fields which

are not displayed in a structure.

2. You have to set the attached fields so that they can be displayed. To do so, use

report RCOTX000 (refer to Note 363327 for instructions). This report controls

which fields can be displayed and what the column headers for these fields should

be. If you want to use a field which has not been displayed up to now, you have to

change the column headers accordingly.

R/3 Note Nr. 434123 22.08.2009 Page 1

________________________________________________________________________

3. You must execute report RCNCT000 for the changed structure. This report controls

the fields according to which grouping and sorting can be done. Using this report,

the system also generates an include that is required for the export from the

information system to Excel. If you have changed a structure in the DDIC, you at

least must regenerate the corresponding include. Refer to the attachment and Note

363327 for information on which include has to be generated for which structure

and how to proceed.

4. In the information system, you must implement source code which ensures that your

fields are filled. For this, you can implement the source code directly in include

DBIOCF01 in the corresponding FORM routine responsible for filling the structure

tables (for structure IOHEADER, table IOHEADER_TAB is filled in FORM

FILL_IOHEADER_TAB). However, include DBIOCF01 is delivered frequently in Support

Packages so that you would frequently have to reconcile corrections.

For this reason, it appears to be more favorable to create include DBIOCC01 and

call this include from include DBIOCF02. To do this, you must modify only one

passage of include DBIOCF02 (insert a PERFORM). Create your source code in your

own include DBIOCC01. Refer to the correction instructions to do this. You can

also use these correction instructions to fill your own fields in planned orders.

You must take the following aspects into account:

o If fields are contained in structures in the standard system but cannot be

displayed, this is generally due to the fact that filling these fields

(correctly) is not ensured. If you set these fields for display, SAP does not

accept any responsibility for the correct filling.

o Changing standard fields (for example AUFNR, MATNR, AUART, ...) can affect the

correct function of the information system.

o Additional accesses to the database (SELECTs) have a negative effect on the

performance of the information system.

o In the case of changes, SAP reserves the right to deliver the includes

generated using RCNCT000 in Support Packages. If you have changed the

corresponding structure for this include, you must regenerate the include after

implementing the corresponding Support Package.

o Tables AUFK (order headers) and AFVU (operations) contain so-called customer

includes (CI_AUFK or CI_AFVU). If you create these includes, their fields

automatically exist in all order header and operation tables and all relevant

structures (CAUFV, CAUFVD, AFVGD ...) and are available in all order processing

transactions. They therefore also exist in the information system. You only

have to display them using step 2 and 3. However, if you only want to display

additional fields in the information system and not introduce these fields in

the entire order processing, SAP does not recommend creating the customer

includes because these fields have to be dragged along in all order

transactions and also require corresponding space in the database.

Attachment

Programm List Structure Include

PPIOD000 Goods Movements IOMAMO RCNMAMO

PPIOE000 Trigger Points IOOPMST RCNMST

PPIOF000 Production Resource/Tool IOOPPRT RCNPRT

PPIOG000 Automatic Goods Movements IOGOMO RCNGOMO

R/3 Note Nr. 434123 22.08.2009 Page 2

________________________________________________________________________

PPIOH000 Order Headers IOHEADER RCNHEAD

PPIOI000 Items IOITEM RCNITEM

PPIOK000 Capacities IOOPCAP RCNCAP

PPIOM000 Components IOOPCOMP RCNCOMP

PPIOO000 Operations IOOPER RCNOPER

PPIOQ000 Purchase Requisitions IOOPPREQ RCNPREQ

PPIOR000 Confirmations IOCONF RCNCONF

PPIOS000 Sequences IOSEQUEN RCNSEQU

PPIOT000 Purchase Orders IOOPPORD RCNPORD

PPIOW000 Goods Movements with Errors IOGMER RCNGMER

________________________________________________________________________

Valid Releases

SAP Application

31H

31I

40A

40B

45A

45B

46A

46B

46C

470

500

________________________________________________________________________

Links to Support Packages

Software Component Release Package Name

________________________________________________________________________

________________________________________________________________________

R/3 Note Nr. 434123 22.08.2009 Page 3

________________________________________________________________________

2 REPLIES 2

Former Member
0 Kudos

When I tried to implement SAP note 434123, the perquisite to it is that, the INCLUDE program DBIOCC01 needs to be created.

Since the INCLUDE program is a SAP standard, please let me know how to create this include.

0 Kudos

this forum is not for basic training. Please look at sap library http://help.sap.com