Hi, i'm new at CRM programing and here is my first problem!!!
When create or modify an opportunity field 'Expected Sales Volume' must be filled from price schema of
I've implemented the badi 'CRM_ORDERADM_H_BADI' and in method 'CRM_ORDERADM_H_MERGE' get opportunity values using BAPI 'BAPI_BUSPROCESSND_GETDETAILMUL'. I get 'Expected Sales Volume' value using 'pricing_item' table and later modify opportunity using 'CRM_INTLAY_PUT_DATA' FM.
It works fine but the problem is that when there is only one item and eliminate it when i call 'BAPI_BUSPROCESSND_GETDETAILMUL' the item hasn't been eliminated, it's eliminated later.
I think it is eliminated in memory buffer or something like that.
Is there any other BAPI or FM to get opportunity modifications from memory?
Thanks in advance.