I am using BAPI "BAPI_BUPA_ROLE_ADD_2" to add a Role to Business Partner. When i try to do that manually using transaction BP, in change mode i select the role to be added and SAVE. The role gets added to the BP. But when i try the same using BAPI, it does not work. The ...
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2' "财务视图 EXPORTING BUSINESSPARTNER = L_BPARTNER BUSINESSPARTNERROLECATEGORY = 'FLVN00' BUSINESSPARTNERROLE = 'FLVN00' TABLES RETURN = LT_RETURN4. CLEAR L_MSG4. LOOP AT LT_RETURN4 WHERE TYPE = 'E' OR TYPE = 'A'. CONCATENATE LT_RETURN4-MESSAGE ...
创建BP角色:BAPI_BUPA_CREATE_FROM_DATA 单独添加BP角色:BAPI_BUPA_ROLE_ADD_2 创建供应商数据的方法: LO_DATA->CREATE_VENDOR_DATA VMD_EI_API=>MAINTAIN_BAPI S4版本一版接着一版更新 所以,不要深究那么多,因为下一个版本又不一样了
BAPI_BUPA_PCARD_REMOVE: Remove payment card details BAPI_BUPA_PCARD_SETDEFAULT: Setting of the standard payment card details Roles: BAPI_BUPA_ROLES_GET_2: Get all roles BAPI_BUPA_ROLE_ADD_2: Add role BAPI_BUPA_ROLE_CHANGE: Change business partner role BAPI_BUPA_ROLE_EXISTENCE_CHECK: Check...
BAPI_BUPA_ROLE_ADD is obsolete in version 5.0 . Does anybody know which other function can I use? I have tried BAPI_BUPA_ROLE_ADD_2 , but it does not add a new role to an existing BP. I get a message :: The role alreday exists. I have checked BUT100, and there is no link ...
如果您在CVI中做了设置,BP也可以拥有与客户供应商相同的号码。 创建BP角色:BAPI_BUPA_CREATE_FROM_DATA 单独添加BP角色:BAPI_BUPA_ROLE_ADD_2 创建供应商数据的方法: LO_DATA->CREATE_VENDOR_DATA VMD_EI_API=>MAINTAIN_BAPI S4版本一版接着一版更新 所以,不要深究那么多,因为下一个版本又不一样了...
FORM add_role_bp. DATA businesspartnerrolecategory TYPE bapibus1006_bproles-partnerrolecategory. " BP Role Category DATA all_businesspartnerroles TYPE bapibus1006_x-mark. " Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')...
个人更倾向于使用METHOD,因为METHOD方法只需要填充一个嵌套结构就可以实现B/P所有业务视图的填充,而BAPI FUNCTION在创建完客户后,需要调用很多其它的BAPI去扩展业务视图,代码量比较大。现在贴出两种实现方法。 CALL BAPI BAPI_BUPA_CREATE_FROM_DATA DATA:l_partn_cat TYPE bapibus1006_head-partn_cat, ...
BAPI_BUPA_ROLE_CHANGE是一个SAP的BAPI功能模块,用于更改业务伙伴的角色。 以下是使用BAPI_BUPA_ROLE_CHANGE的一般用法步骤: 1. 创建一个输入结构,包含要更改角色的业务伙伴的相关信息。可能包括业务伙伴编号、角色编号、有效期等。 2. 调用BAPI_BUPA_ROLE_CHANGE函数模块,并将输入结构作为参数传递给函数模块。 3....
Hi Sampath, i'm not using any COMMIT WORK statements in my BADI implementation, only the BAPI_BUPA_ROLE_ADD_2 Functionmodule, and i have searched but their are no COMMIT WORK's in the whole module. In BUPA_ROLE_ADD_2: PERFORM role_badi_call ON COMMIT. " {color:red}HERE, IT DUMPS...