Skip to Content
0
Former Member
Feb 18, 2009 at 03:16 PM

Send contact person foe vendor

114 Views

Hello,

We are sending vendors master via CREMAS05 IDoc type. My question is how to send contact person details for a vendor?

I read that I should use ADR3MAS Idoc type. I added BAPi AddressContPart.SaveReplica to my distribution model. Now my question is what should be done next? Should I call function MASTERIDOC_CREATE_REQ_ADR3MAS in the user exit in MASTERIDOC_CREATE_REQ_CREMAS?

Also, please give me examples for the input parameters of this MASTERIDOC_CREATE_REQ_ADR3MAS. I tried to test the FM with the following:

OBJ_TYPE_P BUS1006

OBJ_ID_P 1491149

OBJ_TYPE_C LFA1

OBJ_ID_C 1200000029

OBJ_ID_EXT

CONTEXT 0005

but it gives error :

Exception PARAMETER_ERROR

Message ID: AM Message number: 295

Message:

Address number cannot be determined - error in function module BUP_GET_ADDR3_KEY

Thanks in advance for you help,

Desislava