cancel
Showing results for 
Search instead for 
Did you mean: 

"user name" updation thru IDOC - CRMXIF_PARTNER_SAVE for EMPLOYEE

Former Member
0 Kudos

Hello Folks,

Need your advice.

I have a requirement to assign the "user name"(SAP user ID) to the BP(Employee) during creation of the BP using IDOC. assume that the user ID is already existing in the system.

1. Is there a direct field in any segment to which i can pass the field for the standard function modules to automatically assign?

2. If i need to do it manually, What would be the best solution? BADIS? edit process code? etc...?

Please help me with the Function modules too...

Thanks,

Zid.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182421
Active Contributor
0 Kudos

Hello Zid,

We already had this discussion as the author didn't give us any feedback I hope you do will it

Cheers!

Luis

Former Member
0 Kudos

First off, Thank you verymuch for the quick response, and ya, here is the feedback .

I read throught it and i have an idea, hope it makes sense .

How about, writing our piece of code to create person number and assignning USERNAME to it after the EMPLOYEE(BP) has been created? Say, in an event or BADI?

Please advice.

Zid.

former_member182421
Active Contributor
0 Kudos

Before that, can you explain a little better your scenario? I mean the IDocs are send from the system X or I'm using a custom program to upload a file, etc.

Former Member
0 Kudos

IDOCs are being sent from system X to CRM.

The user ID is populated in E1010328105726- SEARCHTERM1

i should check if the user ID exists. If it does, I need to assign it to the BP which gets created.

A latest update is, i don't need to create a CENTRAPERSON.

Just assign the USER-ID to BP. Could this be done?

former_member182421
Active Contributor
0 Kudos

Sure, everything can be done, the cost is what matters

The problem I see if is a interface related behaviour if you do it via BADI like Faisal did   or using a BDT event (you can check if there's a BDT which suits you I give some hints on that in my blog ) you will be need to ensure logic is not executed in online mode, for example.

Did you check the note  556155 - No central person is assigned to the business partner ?

Answers (1)

Answers (1)

Former Member
0 Kudos

This message was moderated.