cancel
Showing results for 
Search instead for 
Did you mean: 

Key "BOM" cannot be empty string

former_member202208
Active Participant
0 Kudos

Hi all,

What is Key "BOM" in SAP ME ProductionOrderCreateRequest call.

I am getting the following error when during ProductionOrderCreateRequest webservice call.

where and what value should be set for this.

  • [ERROR] Uncaught exception from Make_webservice_call, Key "BOM" cannot be empty string

any help would be highly appreciated.

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

tim_drury
Active Participant
0 Kudos

Does your <ProductionOrderIn> element have a <BOM> element?  Does that <BOM> element have a child <Bom> element?  That child <Bom> element is the name of the BOM and a key field for the BOM object in ME.  It's required.

former_member202208
Active Participant
0 Kudos

Hi Tim,

I see <BOM> element. Path: /ProductionOrderCreateRequest_sync/ProductionOrder/BOM/Bom.

Even though i have set/mapped the values, i see that the values are not getting set to the <ProductionOrderCreateRequest_sync> call, thats the reason why i get back "bom is missing" message.

The source xml from where i am setting the values are in <soapenv:Envelope.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:meint="http://sap.com/xi/ME" xmlns:sch="http://sap.com/xi/ME">

          <soapenv:Body>

                    <meint:ProductionOrderCreateRequest_sync>

                              <meint:ProductionOrder>

                                        <sch:SiteRef>

                                                  <sch:Site>1060</sch:Site>

                                        </sch:SiteRef>

                                        <sch:ShopOrder>........

Is it fine to have source xml in SOAP format or it should be a standard xml without any namespace?

Please advice..

Thanks,

tim_drury
Active Participant
0 Kudos

The namespaces are required.