on 2019 Jan 21 6:45 AM
Dear Experts,
We are using BAPI_BUPA_FS_CREATE_FROM_DATA2 to create business partner and it is generating vendor number if it is internal number range. incase of external number range where i can pass vendor number to mentioned FM.
Please help. Thanks in advance.
Thanks & Regards,
Veera.
Did you fill fields BUSINESSPARTNEREXTERN and/or CENTRALDATA-PARTNEREXTERNAL during your tests?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can the use CL_MD_BP_MAINTAIN => MAINTAIN method. Map the desired fields inside of I_DATA parameter. In this case, you need to fill up centraldata fields.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this code (little trick) 🙂
data: gt_messages type bapirettab.
parameters: p_parnr type bu_partner.
start-of-selection.
call function 'BUPA_ROLE_ADD_2'
exporting
iv_partner = p_parnr
iv_partnerrolecategory = 'FLVN00'
* IV_X_ALL_PARTNERROLES = ' '
iv_partnerrole = 'FLVN00'
* IV_DIFFTYPEVALUE =
* IV_VALIDFROM =
* IV_VALIDTO = '99991231'
iv_x_save = 'X'
* IV_CREATE_CP =
tables
et_return = gt_messages.
if /tcca/cl_msg=>messages_processing( message_list = gt_messages ) is initial. "My SW component, only shows and check errors
data(lcl_bp_vend) = cvi_bp_vendor=>get_instance( i_partner = p_parnr ).
lcl_bp_vend->set_vendor( p_parnr ). " I have the BP number equal to vendor, but You could use Your own number.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
else.
call function 'BAPI_TRANSACTION_ROLLBACK'.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Prashant,
Business partner is internal number range only but vendor account group in external number range.i am unable to find how to link external vendor number to Business partner.
Regards,
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.