Skip to Content
0

Default of Business Partner ID on Requestor step

Jan 10 at 05:21 AM

79

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Varun Jain Jan 12 at 06:02 AM
0

BP is key field thats why getting this error

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

Hi,

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

Kind regards

Michael

1
Former Member

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

Thanks

Ragav

0
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.

1
Former Member

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?

0