on 01-09-2014 2:17 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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?
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 ?
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.