Skip to Content
0
Former Member
Jan 18, 2011 at 10:39 AM

automatic setting in Opportunity

27 Views

Dear experts,

I have a requirement that in the WEB-UI- Opportunity,when user push Enter button,specific items can be set automatically.

I redefined ZL_BT111H_O_OPPORTUNITYO0_IMPL~DO_PREPARE_OUTPUT in the component BT111H_OPPT/OpportunityOVViewSet,and used "'CRM_OPPORT_H_CHANGE_OW ' as follow,but can not work good.

CALL FUNCTION 'CRM_OPPORT_H_CHANGE_OW'

EXPORTING

IS_OPPORT_H_COM = LDS_OPPORT_H_COM

CHANGING

CT_INPUT_FIELD_NAMES = LDT_INPUT_FIELD_NAMES

EXCEPTIONS

FILL_ERROR = 1

PUT_ERROR = 2

PUBLISH_ERROR = 3

OTHERS = 4.

ME->TYPED_CONTEXT->BTADMINH->COLLECTION_WRAPPER->PUBLISH_CURRENT( ).

when push Save button, it iis working,

but if push Enter button, item entry can not reflected immediately .

kindly help me to reslove the issue.

Thanks.

regards.

Li.etsuhin