on 09-21-2018 12:38 PM
Hello, colleagues! There is a problem during creation a vendor for a business partner. I can do this with BP transaction, but not by my own program. There is already an existing business partner with basic roles, I need to create for him a vendor in the role of FLVN01. The vendor's number differs from the BP number.
What I do:
1) I add a role using FM BAPI_BUPA_ROLE_ADD_2
2) I create a vendor with the method vmd_ei_api => maintain_bapi
3) I make the commit.
But at the commit there is a dump (CX_FSBP_PARTNER_INCONSISTENT), due to the fact that the vendor's number is not related to the existing BP.
(Error: 'E CVIV_UI 006 Required entry field external vendor number is empty')
The question is how do I configure this assign ??? And anyway, are I on the right way???
P.S. When debugging the standard, I found using CVI_STRATEGY_BP_VENDOR-> IF_MDS_CTRL_STRATEGY_IMPL ~ PROCESS, in which this link is held, but how exactly, it is not clear.
Thank you and best regards.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.