Hi
I have a schema as follows,
<Item>
<GetDiscount_Request>
<Item_Qty>
<Item_Cost>
<Price>
<DiscountAllowed>
</GetDiscount_Request>
<GetDiscount_Response>
<Item_Qty>
<Item_Cost>
<Price>
<DiscountAllowed>
</GetDiscount_Response>
</Item>
I am assigning Price value from the input received & passing only <GetDiscount_Request> to SAP function module, my request message would be
<GetDiscount_Request>
<Item_Qty>100</Item_Qty>
<Item_Cost>20<Item_Cost>
<Price>2000</Price>
<DiscountAllowed>
Not sure I am getting the response message as
<GetDiscount_Response>
<Item_Qty>100</Item_Qty>
<Item_Cost>20<Item_Cost>
</DiscountAllowed>
I have newly added the <Price> element in both req and resp messages. I am able to send the request with newly added element satisfying certain conditions in a map, not sure why I am not able to see the same value in output, at the same time I am not getting <DiscountAllowed> in the output.
Note- The SAP function module is returning 4 values.
Please advice……