Skip to Content
0
Former Member
Sep 12, 2006 at 10:23 AM

Inserting value for Zfield in BP

120 Views

Hi Experts,

I have acreated a Zfield in BP transaction using EWB and now i face the problem in inserting the value into the field.

The fucntion modules accepts the value but it is not committing the value into the zfields.

Iam using the function modules:

BUPA_CENTRAL_CI_GET_DETAIL and

BUPA_CENTRAL_CI_CHANGE

My code looks like this:

data : ls_bus000_eew1 type bus000_eew,

ls_bus000_eew1_x type bus000_eew_x,

lv_customer_guid type but000-partner_guid,

CALL FUNCTION 'BUPA_CENTRAL_CI_GET_DETAIL'

EXPORTING

IV_PARTNER = tab_partner_x-upi

  • IV_PARTNER_GUID =

IMPORTING

ES_BUS000_EEW = ls_BUS000_EEW1

ET_RETURN = lt_return

ls_bus000_eew1-partnr_guid = lv_customer_guid.

ls_bus000_eew1-zzunit = tab_partner_x-unit.

ls_bus000_eew1_x-partnr_guid = lv_customer_guid.

ls_bus000_eew1_x-zzunit = 'X'.

call function 'BUPA_CENTRAL_CI_CHANGE'

exporting

is_bus000_eew = ls_bus000_eew1

is_bus000_eew_x = ls_bus000_eew1_x

iv_xsave = 'X'

importing

et_return = et_return1.

call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = 'X'

importing

return = l_return.

Can some one pls suggest what am missing in the code and what else i need to do.

Thanks in advance

Regards,

Sundar