Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8501

Re: I am using SAP standard function module CRM_ORDER_MAINTAIN to create an opportunity, the fm is generating the GUID but when I passed this GUID to fm CRM_ORDER_SAVE, it is not generating the Object Id and has not gave even an exception.

$
0
0

Hi,

 

I'm a bit rusty on this, but a few comments on your code:

- there is no need to generate a guid  just leave it blank CRM_ORDER_MAINT will do it

- there is no need to generate a handle, just use an arbitrary value (like 1)

- doesn't CRM_ORDER_MAINTAIN return the object id in one of those structures

- I do not think you need to commit work before CRM_ORDER_SAVE. Do it after.

- have you tried debugging CRM_ORDER_SAVE to see where the problem is?

 

cheers

Paul


Viewing all articles
Browse latest Browse all 8501

Latest Images

Trending Articles



Latest Images

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