cancel
Showing results for 
Search instead for 
Did you mean: 

XML Error while triggering message "TransportationOrderRequest_Out" from Freight order

S_Arora
Participant
0 Kudos
1,287

Hello,

in S/4 HANA on premise TM, in a Freight order, when i choose , "send to carrier" from subcontracting TAb, an action is triggered and "TransportationOrderRequest_Out " is sent but there is system error. We are not able to understand it. I am not sure whether we are connected to any middleware

what this error means and any solution ? what is "AnalyzeInboundMessage.groovy line 943 " and where we can see it

<n0:Fault xmlns:n0="http://schemas.xmlsoap.org/soap/envelope/">

<faultcode>n0:Server</faultcode>

<faultstring>javax.script.ScriptException: java.lang.Exception: java.lang.IllegalArgumentException: parameterId is null@ line 943 in AnalyzeInboundMessage.groovy</faultstring>

</n0:Fault>

rgds

sachinsap

Accepted Solutions (0)

Answers (1)

Answers (1)

S_Arora
Participant
0 Kudos

Hello Manfred,

here is the payload. I have deleted some part of payload due to character limitiation on this forum

This XML file does not appear to have any style information associated with it. The document tree is shown below.
"); vertical-align: bottom; height: 10px;"><n0:TransportationOrderRequest xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:XS4:/1SAI/TASF43EE451F8D88D5DC44D:757">"); vertical-align: bottom; height: 10px;"><MessageHeader><CreationDateTime>2023-10-20T07:03:25.217Z</CreationDateTime><SenderBusinessSystemID>XS4_100</SenderBusinessSystemID>"); vertical-align: bottom; height: 10px;"><RecipientParty><InternalID>0000000121</InternalID><StandardID schemeAgencyID="182">RSLS</StandardID><StandardID schemeAgencyID="310">10020001031</StandardID></RecipientParty></MessageHeader>"); vertical-align: bottom; height: 10px;"><TransportationDocument actionCode="01" extendedTransportationOrderProcessingIndicator="false" chargesIncludedIndicator="true" trackingRelevanceIndicator="true"><DangerousGoodsIndicator>false</DangerousGoodsIndicator><ResponseRequiredIndicator>true</ResponseRequiredIndicator><ExecutionReleaseStatusCode>1</ExecutionReleaseStatusCode><SelfBillingAppliedIndicator>false</SelfBillingAppliedIndicator><ExecutionStatusCode>01</ExecutionStatusCode><ShipFromLocationAddressTimeZoneCode>CST</ShipFromLocationAddressTimeZoneCode><ShipToLocationAddressTimeZoneCode>UTC-7</ShipToLocationAddressTimeZoneCode><CargoGrossWeightTotalQuantity unitCode="TNE">20.0</CargoGrossWeightTotalQuantity><TotalDistanceMeasure unitCode="KMT">1420.439</TotalDistanceMeasure><TotalNetDuration>PT0S</TotalNetDuration><StopsTotalNumberValue>2</StopsTotalNumberValue><LoadingLocationsTotalNumberValue>1</LoadingLocationsTotalNumberValue><UnloadingLocationsTotalNumberValue>1</UnloadingLocationsTotalNumberValue><DeliveryTotalAmount currencyCode="USD">0.0</DeliveryTotalAmount><InsuranceDeclaredTotalAmount currencyCode="USD">0.0</InsuranceDeclaredTotalAmount><CustomsDeclaredTotalAmount currencyCode="USD">0.0</CustomsDeclaredTotalAmount>"); vertical-align: bottom; height: 10px;"><RequestedDeliveryDateTimePeriod><StartDateTime>2022-09-23T07:00:00Z</StartDateTime><EndDateTime>2022-09-23T07:00:00Z</EndDateTime></RequestedDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><AcceptableDeliveryDateTimePeriod><EndDateTime>2022-09-24T06:59:59Z</EndDateTime></AcceptableDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><ShipperParty><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName><POBoxIndicator>false</POBoxIndicator></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><Communication><CorrespondenceLanguageCode>en</CorrespondenceLanguageCode></Communication></Address></ShipperParty>"); vertical-align: bottom; height: 10px;"><PreferredCarrierParty><InternalID>0000000121</InternalID><StandardID schemeAgencyID="182">RSLS</StandardID><StandardID schemeID="LBN" schemeAgencyID="310">10020001031</StandardID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Quality Carriers</OrganisationFormattedName><OrganisationFormattedName>J H Rose Logistics LLC</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><RegionCode>TX</RegionCode><RegionName>Texas</RegionName><StreetPostalCode>79902-0003</StreetPostalCode><CityName>El Paso</CityName><POBoxID>920100</POBoxID><POBoxIndicator>false</POBoxIndicator><StreetName> PO Box 920100</StreetName></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><Communication><CorrespondenceLanguageCode>en</CorrespondenceLanguageCode></Communication></Address></PreferredCarrierParty>"); vertical-align: bottom; height: 10px;"><ShipFromLocation><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">38.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-97.0</LongitudeMeasure></GeoCoordinates></Address></ShipFromLocation>"); vertical-align: bottom; height: 10px;"><ShipToLocation><InternalID>SP_3720</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Sierrita</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><RegionCode>AZ</RegionCode><RegionName>Arizona</RegionName><StreetPostalCode>85614</StreetPostalCode><CityName>Green Vally</CityName><StreetName>West Duval Mine Road</StreetName><HouseID>6200</HouseID></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">34.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-112.0</LongitudeMeasure></GeoCoordinates></Address></ShipToLocation>"); vertical-align: bottom; height: 10px;"><TransportationStage><ID>10</ID><OrdinalNumberValue>1</OrdinalNumberValue><TransportModeCode listID="11719">01</TransportModeCode><TransportMeansTypeCode>ZFTL</TransportMeansTypeCode><LoadingLocationAddressTimeZoneCode>CST</LoadingLocationAddressTimeZoneCode><UnloadingLocationAddressTimeZoneCode>UTC-7</UnloadingLocationAddressTimeZoneCode><DistanceMeasure unitCode="KMT">1420.439</DistanceMeasure><NetDuration>PT25H49M34S</NetDuration>"); vertical-align: bottom; height: 10px;"><RequestedUnloadingDateTimePeriod><StartDateTime>2022-09-23T07:00:00Z</StartDateTime><EndDateTime>2022-09-23T07:00:00Z</EndDateTime></RequestedUnloadingDateTimePeriod>"); vertical-align: bottom; height: 10px;"><AcceptableUnloadingDateTimePeriod><EndDateTime>2022-09-24T06:59:59Z</EndDateTime></AcceptableUnloadingDateTimePeriod><ExpectedArrivalDateTime>2022-09-23T07:00:00Z</ExpectedArrivalDateTime>"); vertical-align: bottom; height: 10px;"><LoadingLocation><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">38.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-97.0</LongitudeMeasure></GeoCoordinates></Address></LoadingLocation>"); vertical-align: bottom; height: 10px;"><UnloadingLocation><InternalID>SP_3720</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Sierrita</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><RegionCode>AZ</RegionCode><RegionName>Arizona</RegionName><StreetPostalCode>85614</StreetPostalCode><CityName>Green Vally</CityName><StreetName>West Duval Mine Road</StreetName><HouseID>6200</HouseID></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">34.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-112.0</LongitudeMeasure></GeoCoordinates></Address></UnloadingLocation>"); vertical-align: bottom; height: 10px;"><ItemAssignment><ItemID>10</ItemID></ItemAssignment>"); vertical-align: bottom; height: 10px;"><ItemAssignment><ItemID>1000000</ItemID></ItemAssignment></TransportationStage>"); vertical-align: bottom; height: 10px;"><DeliveryTerms>"); vertical-align: bottom; height: 10px;"><Incoterms><ClassificationCode>EXW</ClassificationCode></Incoterms></DeliveryTerms>"); vertical-align: bottom; height: 10px;"><TransportationTerms><TransportModeCode listID="11719">01</TransportModeCode></TransportationTerms>"); vertical-align: bottom; height: 10px;"><BaseBusinessTransactionDocumentReference><ID>6100001208</ID><TypeCode>1122</TypeCode><Date>2022-08-31</Date></BaseBusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><FreightAgreementReference><BaseFreightAgreementID>NA TRUCK</BaseFreightAgreementID><ItemID>100</ItemID></FreightAgreementReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference><ID>4500000097</ID><TypeCode>001</TypeCode></BusinessTransactionDocumentReference></BusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><Item><ID>1000000</ID><CategoryCode>AVR</CategoryCode><DangerousGoodsIndicator>false</DangerousGoodsIndicator><HighValueCargoIndicator>false</HighValueCargoIndicator><OriginCountryCode>US</OriginCountryCode><DestinationCountryCode>US</DestinationCountryCode><GrossWeightTransportationQuantity unitCode="TNE">20.0</GrossWeightTransportationQuantity><DeliveryNetAmount currencyCode="USD">0.0</DeliveryNetAmount><InsuranceDeclaredAmount currencyCode="USD">0.0</InsuranceDeclaredAmount><CustomsDeclaredAmount currencyCode="USD">0.0</CustomsDeclaredAmount>"); vertical-align: bottom; height: 10px;"><RequestedDeliveryDateTimePeriod><StartDateTime>2022-09-23T07:00:00Z</StartDateTime><EndDateTime>2022-09-23T07:00:00Z</EndDateTime></RequestedDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><AcceptableDeliveryDateTimePeriod><EndDateTime>2022-09-24T06:59:59Z</EndDateTime></AcceptableDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><ShipFromLocation><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">38.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-97.0</LongitudeMeasure></GeoCoordinates></Address></ShipFromLocation>"); vertical-align: bottom; height: 10px;"><ShipToLocation><InternalID>SP_3720</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Sierrita</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><RegionCode>AZ</RegionCode><RegionName>Arizona</RegionName><StreetPostalCode>85614</StreetPostalCode><CityName>Green Vally</CityName><StreetName>West Duval Mine Road</StreetName><HouseID>6200</HouseID></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">34.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-112.0</LongitudeMeasure></GeoCoordinates></Address></ShipToLocation>"); vertical-align: bottom; height: 10px;"><VehicleResource><TransportMeansTypeCode>ZFTL</TransportMeansTypeCode><ShipperOwnedIndicator>false</ShipperOwnedIndicator></VehicleResource>"); vertical-align: bottom; height: 10px;"><TransportationTerms><TransportModeCode listID="11719">01</TransportModeCode><TransportMaterialGroupCode>0002</TransportMaterialGroupCode></TransportationTerms>"); vertical-align: bottom; height: 10px;"><BaseBusinessTransactionDocumentReference><ID>6100001208</ID><TypeCode>1122</TypeCode><ItemID>1000000</ItemID></BaseBusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference><ID>4500000097</ID><TypeCode>001</TypeCode></BusinessTransactionDocumentReference></BusinessTransactionDocumentReference></Item>"); vertical-align: bottom; height: 10px;"><Item><ID>10</ID><CategoryCode>PRD</CategoryCode><Description>Acid - Atlantic Copper</Description><DangerousGoodsIndicator>false</DangerousGoodsIndicator><HighValueCargoIndicator>false</HighValueCargoIndicator><OriginCountryCode>US</OriginCountryCode><DestinationCountryCode>US</DestinationCountryCode><GrossWeightTransportationQuantity unitCode="TNE">20.0</GrossWeightTransportationQuantity><NetWeightTransportationQuantity unitCode="TNE">20.0</NetWeightTransportationQuantity><DeliveryNetAmount currencyCode="USD">0.0</DeliveryNetAmount>"); vertical-align: bottom; height: 10px;"><RequestedDeliveryDateTimePeriod><StartDateTime>2022-09-23T07:00:00Z</StartDateTime><EndDateTime>2022-09-23T07:00:00Z</EndDateTime></RequestedDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><AcceptableDeliveryDateTimePeriod><EndDateTime>2022-09-24T06:59:59Z</EndDateTime></AcceptableDeliveryDateTimePeriod>"); vertical-align: bottom; height: 10px;"><HierarchyRelationship><ParentItemID>1000000</ParentItemID></HierarchyRelationship>"); vertical-align: bottom; height: 10px;"><ShipperParty><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName><POBoxIndicator>false</POBoxIndicator></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><Communication><CorrespondenceLanguageCode>en</CorrespondenceLanguageCode></Communication></Address></ShipperParty>"); vertical-align: bottom; height: 10px;"><ShipFromLocation><InternalID>0000000111</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Newly created business partner</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><StreetPostalCode>85004</StreetPostalCode><CityName>Phoneix</CityName></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">38.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-97.0</LongitudeMeasure></GeoCoordinates></Address></ShipFromLocation>"); vertical-align: bottom; height: 10px;"><ShipToLocation><InternalID>SP_3720</InternalID>"); vertical-align: bottom; height: 10px;"><Address><OrganisationFormattedName>Sierrita</OrganisationFormattedName>"); vertical-align: bottom; height: 10px;"><PhysicalAddress><CountryCode>US</CountryCode><CountryName languageCode="E ">USA</CountryName><RegionCode>AZ</RegionCode><RegionName>Arizona</RegionName><StreetPostalCode>85614</StreetPostalCode><CityName>Green Vally</CityName><StreetName>West Duval Mine Road</StreetName><HouseID>6200</HouseID></PhysicalAddress>"); vertical-align: bottom; height: 10px;"><GeoCoordinates><LatitudeMeasure unitCode="DD">34.0</LatitudeMeasure><LongitudeMeasure unitCode="DD">-112.0</LongitudeMeasure></GeoCoordinates></Address></ShipToLocation>"); vertical-align: bottom; height: 10px;"><Product><InternalID>000000000000300000</InternalID></Product>"); vertical-align: bottom; height: 10px;"><TransportationTerms><TransportModeCode listID="11719">01</TransportModeCode><TransportMaterialGroupCode>0002</TransportMaterialGroupCode></TransportationTerms>"); vertical-align: bottom; height: 10px;"><BaseBusinessTransactionDocumentReference><ID>6100001208</ID><TypeCode>1122</TypeCode><ItemID>10</ItemID></BaseBusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference>"); vertical-align: bottom; height: 10px;"><BusinessTransactionDocumentReference><ID>4500000097</ID><TypeCode>001</TypeCode><ItemID>100002</ItemID></BusinessTransactionDocumentReference></BusinessTransactionDocumentReference></Item>"); vertical-align: bottom; height: 10px;"><TransportationCharge><CalculationLevelCode>1</CalculationLevelCode><CalculationDateTime>2023-10-20T07:03:23Z</CalculationDateTime><TotalAmount currencyCode="USD">2900.0</TotalAmount><NetAmount currencyCode="USD">2900.0</NetAmount><TaxAmount currencyCode="USD">0.0</TaxAmount>"); vertical-align: bottom; height: 10px;"><ChargeItem><ID>000D3AC2C4311EDE9BE2D846D89F9EDD</ID>

Sandra_Rossi
Active Contributor
0 Kudos

Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

To edit your question --> menu Actions > Edit.