cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Web Client - custom fields prefilling based on previous document

shaun_kitching
Active Contributor
0 Kudos

Hi


I have created a couple of custom fields in CRM Web Client (that I'm using for ChaRM).

I have added this field to ZMCR and ZMHF.

Users will fill in the field in ZMCR...once approved a ZMHF will be created and I want the custom field in ZMHF to contain the same data that was input into the ZMCR.

ChaRM does this for the majority of fields...description, category, priority etc.

How can I also get this working for my own custom fields?

Thanks

Shaun

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

the copy control ist done by BADI CRM_COPY_BADI.

SAP provides the implementation AI_CRM_COPY_BADI. In there is the method CUSTOMER_H. It is empty, but you could enhance it with a code enhancement implementation and do your copy control there.

The better (and more complicated) way would be to create your own implementation as copy of the standard and implement your changes there. Then you would have to assign this implementaiton to your copy from ZMCR to ZMHF (done in SPRO at "Define Copying Control for Transaction Types", filter value in field "copying routine").

Hope this helps,

Christoph

Answers (0)