check table TVKO (the company code is linked to the sales organisation, which means one sales organisation can have only one company code, but one company code can have several sales organisations)
1 2 3 4 5 6 |
USE TVKO table.. select vkorg bukrs from tvko into table lt_tvko where vkorg in s_vkorg and bukrs eq p_bukrs. |
1 2 3 4 5 6 7 8 |
CALL FUNCTION 'CBRC_LIB_BUKRS_VKORG_GET' " EXPORTING i_vkorg = " tvko-vkorg Company Code IMPORTING e_bukrs = " t001k-bukrs Plant e_error_tab = " ccrctt_msg Table Type Application Log e_flg_error = " eseboole Truth Value . " CBRC_LIB_BUKRS_VKORG_GET |
本文作者: GavinDong
版权属于: GavinDong博客
文章链接: https://gavindong.com/1592.html
如果使用过程中遇到问题,可 **点击此处** 交流沟通。
版权所有,转载时必须以链接形式注明作者和原始出处及本声明。