Skip to Content
0
Former Member
Mar 28, 2006 at 04:32 PM

Filling KOMK with additional fields (ISA/IPC)

55 Views

Hi,

I need to add an additional header field (BUKRS) into communication structure KOMK to get the relevant pricing procedure running in ISA with IPC. I've tried two different ways (as outlined below), but none of them was successful, I always get the message: "condition record missing". Has anybody an idea what I'm doing wrong?

Cheers Lars

Attempt 1: implementing IPC user exit

IDocumentUserExit

in method

initializeDocument

I've added an static value

documentUserExitAccess.addHeaderAttributeBinding("KOMK-BUKRS","0125");

I've also tried "BUKRS" instead "KOMK-BUKRS"

Attempt 2: extending business object

ServiceR3IPC

using

customerExitBeforeDocumentCreation(IPCDocumentProperties props,HashMap r3Attributes)

by adding the field with static value

r3Attributes.put("BUKRS","0125");
props.setHeaderAttributes(r3Attributes);