Skip to Content
0
Sep 12, 2023 at 02:39 PM

COOIS extension with BaDI WORKORDER_INFOSYSTEM Number field with no value to be empty

40 Views

Hi,

I have extended the transaction COOIS in PPIOR000 and PPIOH000 with the corresponding sturctures of CI_IOCONF and CI_IOHEADER and added logic to it.

I have added to fields a number field and a UNIT field and have filled it with my code in a BADI implementation I created that works, the 2 fields hold the same domain and I use the function MD_CONVERT_MATERIAL_UNIT to fill in the data in case the base unit is set as KG the function is not called and the 2 fields are left blank.

In PPIOR000 the field empty and nothing shows up but in PPIOH000 the value 0 shows.

PPOIR000

Bild

PPIOH000

Bild

What I would like is for both of them to show up without anything in the field.

Any ideas on how this would be possible?

Thanks for reading

sincerly

András