Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Partner Function for Vendor through IDOC

Former Member
0 Kudos

Hi All,

I have a requirement in which I need to create the vendor master through IDOC. I am using CREMAS basic type for that. In its functionality, I need to assign different partner functons to it. I identified the segment as E1WYT3M in it at hierarchy level 3. I passed the partner function like OA or PI in the PARVW field of it and provided the vendor number which I want to assign as partner function in the LIFN2 field.

Vendor is getting created but Partnering details are not getting updated when I am seeing in the XK03 Txn. Am I missing something.

Please help me on this.

Thanks

Natasha

4 REPLIES 4

Former Member
0 Kudos

Are you passing '005' as value to segment field E1WYT3M-MSGFN. See the souce code in LKD02F01 line no. 787. Seems like the partner function will be updated only if MSGFN is eqaul to '005'.

0 Kudos

Hey thanx...

Along with function, we need to provide the Purachasing Org value also in the EKORG field of the segment. My Partner functions are being assigned now.

Former Member
0 Kudos

Hi All,

Moving further, I got another issue in changing the partner details of a vendor. Changing includes assigning another partner function to an existing vendor or deleting any already assigned partner function. I am doing this through IDOC. I am getting an error message 'Deletion of mandatory partner function 'VN' is not possible.'

I tried changing the msgfn also.

How should I proceed here.

Thanks

Natasha Garg

0 Kudos

Hi Natasha Garg

I have exactly the same issue while posting inbound idoc for message type CREMAS.

Can you please help how did you resolve the issue.