BAPI_ACC_DOCUMENT_POST 贸易伙伴 Trading partner (VBUND

2022-03-11 19:02发布


          点击此处--->   EasySAP.com 群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)

BSEG字段:BSEG-VBUND

BAPI字段:BAPIACGL09-TRADE_ID


如果把 “公司代码” 赋值  给 贸易伙伴, 注意要用 CONVERSION_EXIT_ALPHA_OUTPUT 补前导 0 ,不然报错。

(因为 BSEG-VBUND 是6位的,BUKRS 是4位的)


Former Member

2009年04月21日 18:49    

Posting of Trading partner FB01 via BAPI_ACC_DOCUMENT_POST

790 Views    

Folks,

I have written ABAP code to create accounting document in SAP from excel . My requirement is to give trading partner (VBUND) in the sheet which will be processed by SAP. now i am using BAPI "BAPI_ACC_DOCUMENT_POST " to upload entries in SAP but i can not find table fields in BAPI to map trading partner field . can any one throw light on this. I guess i may have to EXTENSION2 in this BAPI , can any one tell how to use thatg.

Regards.



Former Member

Apr 21, 2009 at 06:59 PM

Hi,

Check this structure 'BAPIACGL09'

fields

PART_ACCT         JV_PART  CHAR 10 Partner account number

TR_PART_BA       PARGB     CHAR 4   Trading partner's business area

TRADE_ID             RASSC     CHAR 6   Company ID of trading partner

Regards


赞赏支持