Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CRM_ORDERADM_H_BADI

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

opportunities position.

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.

Tags:
Not what you were looking for? View more on this topic or Ask a question