Skip to Content
0
Former Member
Oct 10, 2013 at 09:40 AM

Add damage text to create work notification

144 Views

I have an MII transaction which creates a work order notification and I want to add a text code to indicate the source of the Notification. I can see that under the Item area on SAP (IW22) there is a field which allows text to be entered (Screen shot attached). Through SAP I have successfully input and saved some text (without entering any Cause or Damage information) and I want to do the same thing through my MII transaction. I can see the xml from the notification created through SAP (in attachment), which shows the entered text in the DESCRIPT field of the NOTITEM section, and I am explicitly setting the NOTITEM fields in BAPI_ALM_NOTIF_CREATE, as per the attached:

ITEM_SORT_NO = "0001"

DESCRIPT = "Quality Incident"

I have tried it both with and without setting the ITEM_KEY to "0001" (I was creating DAMAGE information in the same Item section before without setting this).

I can set the CAUSE and DAMAGE information in the same NOTITEM section successfully through the same MII transaction but it does not seem to update the DESCRIPT field.

Please can someone confirm if the BAPI does not update this field or am I doing something wrong?

I am using MII v12.1 and SAP ECC 6.0

Many thanks

Richard Peters