cancel
Showing results for 
Search instead for 
Did you mean: 

Default of Business Partner ID on Requestor step

0 Kudos
787

I have tried via BRFPLUS derivation for entity BP_HEADER where I am facing an error as

USMD7 014 - Key was modified during derivation of entity type.

I have tried the cross entity derivation where while writing the key entity, I am facing a error as USMD1A 061

&1 &2 currently not in process and an exception cx_usmd_write_error occurred

&1 is Business Partner ID.

Is there any other way to achieve this.

Accepted Solutions (0)

Answers (1)

Answers (1)

varun_jain3
Active Participant
0 Kudos

BP is key field thats why getting this error

0 Kudos

Hi Varun,

Thank you for your answer, Is there any structure to write the field BP_ID in cross entity derivation so the exception does not occur and it the ID gets populated for specific step?

Thanks

michael_theis
Product and Topic Expert
Product and Topic Expert

Hi,

no, you cannot derive key fields as part of the cross entity derivation.

Kind regards

Michael

0 Kudos

Thank you Michael for clarifying it, So it can be achieved only through run time and was achieved through feeder class methods.

Thanks

Ragav

Former Member

Hello Ragav,

Defaulting using Feeder class is not advisable becuase, the value entered through the Feeder class is not captured at the MDG Framework level and will get erased during the Handler / Access class processing. Could you please explain the complete functionality of why you want to default the BP ID.

Regards

Senthil.

0 Kudos

Thank you Senthil for your answer, While achieving it through feeder class, The value was not captured in the MDG Framework level, Hence we have set the value using BOL class cl_crm_bol_entity method set property.

We are trying to default the business partner ID in requestor step and we are calling json service in the second step of the workflow and we are getting the Business Partner ID from there and then Change Request gets activated.

The Business Partner ID which is received from JSON service has to be used and created in active area and needs to be appeared in BUT000.

How can this be achieved?