Hi Experts,
I am making some enhancements to service contract component BT112H_SC. When creating a new service contract I get a service contract GUID in CREATE_BTADMINH method of context class. I can here use CRM_ORDERADM_H_READ_OW to get more header information like PROCESS_TYPE and other interesting information.
In the service contract I have a button which trigger a SAP GUI action via transaction launcher (to a BOR-object). The action should be able to be processed also for new created contracts which is not saved yet.
In order to trigger the action I use some standard function modules in BOR object, which in several places is using FM CRM_ORDERADM_H_READ_OW and CRM_ORDERADM_H_READ_OB. Also the action itself is using FM CRM_ORDER_MAINTAIN. As soon as I get transferred to the BOR-object I can no longer use those function modules if I am in create mode (I get no hit - SY-SUBRC EQ 1). It seems as it lost access to the buffer.
Do anyone have any idea how to solve this?