on 2005 Jul 20 2:31 AM
I am attempting to create a new relationship as a part of a data conversion task. I have used function modules:
BAPI_BUPR_RELATIONSHIP_CREATE
and
BUPR_RELATIONSHIP_CREATE
In both instances I specify the following:
Partner 1 = existing Sold-to BP
Partner 2 = existing employee (BP role employee)
Relationship = BUR011 (Responsible Employee)
Dates default and when using BUPR_RELATIONSHIP_CREATE
GUI is left blank
When I run the function modules there are no errors and the messages:
Warning: Not time constraints: Date specifications will be ignored
Success: Relationship was transferred.
However, when I view the Sold to BP or the Employee BP record in transaction BP (Relationships button), there are no new relationships and BUT050 has no additional entries.
I am not sure if something else needs to be done or if I have the wrong function module all together!
Can anyone assist?
Thanks
Hi Katrina,
You can use BAPI_BUPR_RELATIONSHIP_CREATE and just pass 3 values:
partner1
partner2
relationship category
However if successful you then need to call
BAPI_TRANSACTION_COMMIT
or it won't be saved to the database.
That is why your tests are not working.
Cheers
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please let me know how this was resolved ? I am also facing the same issue.
Thanks,
Dhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
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.