cancel
Showing results for 
Search instead for 
Did you mean: 

How to update custom field info at item level of contract by using BAPI_CONDITION_CONTRACT_CHANGE ?

former_member653066
Participant
723

Hi folks,

before raising this question here, myself looked after this custom field for bapi_condition_contract_change, but no luck.

my requirement is to update one custom field at item level of contract( wcoco).

steps i followed..

1. added custom field into KOMPAZZ structure to make the new field available in field catalog of item level.

2. derived condition pricing table let say "8ES" based on new field. now field is showing properly at item level successfully.

3. now my requirement is to, update this new field info through BAPI.

after some dig in web, found structure "BAPI_TE_VT_I" is related to contract info.. so added this new field into said structure. and added required logic for "extention_in" and passed to BAPI as well.

still its not working..

any suggestions can be appreciable..

thanks,
Mahesh

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

Check the documentation of the BAPI there is a list of the structures managed  in EXTENSIONIN 

  • BAPI_TE_WCOCOH[X]
  • BAPI_TE_WCOCOI[X]
  • BAPI_TE_KOMG[X]
  • BAPI_TE_BVB
  • BAPI_TE_CAL
  • BAPI_TE_KONP[X]

(AFAIK BAPI_TE_VT_I is obsolete)

 

Prasad_Reddy
Explorer
0 Kudos

Hi @raymond_giuseppi

I've the Custom fields coming from the Condition table(I'm not sure about full configuration as one of the Functional has done it) in the WCOCO tcode under the Conditions tab at the bottom in the alv fields. 

Now when the User clicks on the Save button, I want my custom field to be updated based on one of the header field. Could you please help me with this request?

I've seen couple of BADIs under the ENHS WCB_CC but not able to figure out the right one and right way to implement this, Your input is valuable.

Thanks.