cancel
Showing results for 
Search instead for 
Did you mean: 

COOIS BADI Workorder_infosystem

Former Member
0 Kudos

Hello SAP Experts, I´m struggling with the following problem. I want to add material NR and material text to Coois operations report.

I have tried to implement according to 615176 but the field is not field. I have implemented workorder_infosystem badi method TABLES_MODIFY_LAY and even if i use oss example its not working.

When I import from Memory, lt_oper remains empty ? Do you have any advise ?

   IMPORT iooper_tab to lt_oper FROM MEMORY ID 'IOC11'.

  CHECK NOT lt_oper[] IS INITIAL.

Accepted Solutions (0)

Answers (2)

Answers (2)

ArturoSenosain
Advisor
Advisor
0 Kudos

Hi Mathias.

Set a breakpoint in method TABLES_MODIFY_LAY.

Check table CT_IOOPER. You don need to run any import from memory, all the operation data in in this table.

Check all the  Parameters available in the Badi.

CT_IOHEADER

CT_IOITEM

CT_IODOCL

CT_IOOPDOCL

CT_IOMAMO

CT_IOCONF

CT_IOOPCONF

CT_IOSOCONF

CT_IOGOMO

CT_IOOPGOMO

CT_IOSOGOMO

CT_IOGMER

CT_IOOPGMER

CT_IOSOGMER

CT_IOSEQUEN

CT_IOOPER

CT_IOSOPER

CT_IOOPCOMP

CT_IOOPPREQ

CT_IOSOPREQ

CT_IOOPPORD

CT_IOSOPORD

CT_IOOPMST

CT_IOOPPRT

CT_IOOPCAP

CT_IOOPSCAP

CT_IOSOCAP

CT_IOSOSCAP

CT_IOOPSCCF

Arturo.

Former Member
0 Kudos

Hello Aturo, as I said need material number and material text which are not included in ct_ioheader

ArturoSenosain
Advisor
Advisor
0 Kudos

Hi Matthias.

Im afraid, Letme explain.

Copy standard report report  "OBJECT OVERVIEW / 00000000001X", this is a good example. tcode COISN

This report include structures

+ Header

+ Pos

+ Operations

+ Components

Tick "Hide" in order to dont show what you dont need, but the idea is the Header structure is active.

Set a breakpoint in method TABLES_MODIFY_LAY.


Run COOIS with this report, in structure CT_IOHEADER-MATXT  is the text asociated with the Material of the Order.

You only need to append this field in structure CT_IOOPER and with a read table assign the field.

Wish this clarify.

Arturo!

Former Member
0 Kudos

hi,

please make use of bapi BAPI_PRODORD_GET_DETAIL (or BAPI_PROCORD_GET_DETAIL in case of process orders) to get all details pertaining to production orders.

You will also get order components and their assignments to various operations along with operation details which you can make use of to modify the report in COOIS.

please check and let me know if you got your requirements satisfied with this bapi.

Reg,

Pavan