Skip to Content
0
F O
Dec 20, 2022 at 11:26 AM

pyrfc: Bill of Material

206 Views Last edit Dec 20, 2022 at 11:28 AM 3 rev

Hey there,

I'm struggling with BOM resolution via pyrfc.I tried CS_BOM_EXPL_MAT_V2_RFC

ABAPRuntimeError: RFC_ABAP_MESSAGE (rc=4): key=, message=Incompatible Call Rejected, see note 2295840; Called Incompatible Function :CS_BOM_EXPL_MAT_V2_RFCCPROG:python3DEST:_ [MSG: class=00, type=, number=001, v1-4:=Incompatible Call Rejected, see note 2295840;; Called Incompatible Function :;CS_BOM_EXPL_MAT_V2_RFC;CPROG:]<br>

as well as CSEP_MAT_BOM_READ with various input parameters in different combinations and paddings

ABAPRuntimeError: RFC_ABAP_MESSAGE (rc=4): key=, message=Incompatible Call Rejected, see note 2295840; Called Incompatible Function :CSEP_MAT_BOM_READCPROG:python3DEST:_ [MSG: class=00, type=, number=001, v1-4:=Incompatible Call Rejected, see note 2295840;; Called Incompatible Function :;CSEP_MAT_BOM_READ;CPROG:]<br>

All non-optional parameters are supplied. I'm working on SAP S/4 Hana. Did anyone manage to get a BOM using pyrfc in a Hana system? Could anyone share a working python example?

Thank you!