Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

Fiori Create Sales Order - SRA017

$
0
0

Hi all,

 

I hereby describe a strange problem that came up.

 

I've been implementing SAP Fiori Create Sales Order app and when I try to create a sales order through Fiori an error related with the selected material comes up.

 

While trying to debug the error, I've concluded that inside the class CL_SRA017_SALESORDER_C_DPC_EXTCP there's the method SALES_ORDER_DEPP_ENTITY calling the BAPI_SALESORDER_CREATEFROMDAT2 returning the error.

 

Then, I asked the person responsible to give me an example of how to successfully create a sales order through the BAPI_SALESORDER_CREATEFROMDAT2.

Executing the BAPI_SALESORDER_CREATEFROMDAT2 from se37, I'm able to create a Sales Order successfully but if I modify the input parameters in ABAP debug session (before calling the BAPI) to the same parameters that were provided and tested through se37, the same error shows up in the return structure.

 

Can anyone explain why is this happening?

 

Thank you in advance,

Vicente


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>