RFC to load alternative BOMs

Hi there,

I have imported standard FM: BAPI_MATERIAL_BOM_GROUP_CREATE and have filled it in using the instructions here:

http://wiki.sdn.sap.com/wiki/display/ABAP/To+Create+a+Material+BOM+along+with+the+Alternate+No+using+BAPI_MATERIAL_BOM_GROUP_CREATE+!

However, when I run the job in DS, I inspect the return message, and I get: Basic data for (BOM) groups missing
No data was transfered to the import

I’ve debugged my NRDM input (by unnesting and outputting into a flat table), and I have the row data available just before it goes into the RFC, however, when I select the BOMGROUP table input as an output parameter, it comes out as all NULLs. Now, I’m not sure if this is because BOMGROUP isn’t available as an output (although it’s available to choose in the wizard), or somehow the data is being lost between my nested schema and the RFC.

Any ideas?

Thanks,

Charles


cshlin (BOB member since 2006-08-08)

And if you do it in SAP, is the data correctly saved? This check is to exclude if the config in SAP or the setup of the material is incorrect.


Johannes Vink :netherlands: (BOB member since 2012-03-20)

Hello,

Yes, it loads in SAP correctly. I ended up using LSMW with the BAPI option, and 5 files generated from Data Services. Would’ve been nice to figure out how to do it with a one-click RFC instead of the extra steps, but it’s not so bad this way either.

Charles


cshlin (BOB member since 2006-08-08)