cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ECS BRF+ Rule Debugging from BAPI_ACC_DOCUMENT_POST

VijayCR
Active Contributor
0 Kudos

Hi Experts,

We have create a BRF+ Rule, showing a soft error in ECS and replacing the suspense trading partner value .When we create the FI document using BAPI_ACC_DOCUMENT_POST by passing the wrong trading partner value it is showing the soft error how ever when we see the posted document the trading partner is replacing with a blank value. Is there any way to debug this issue ?

Thanks,

Vijay

jay_pandit
Participant
0 Kudos

Hi Vijay,

Could you elaborate some detail on how you made the BRF+ rule to create the ECS soft error ?

I am somewhat new to ECS & BRF+. I have a similar situation where I post an FI document using BAPI_ACC_DOCUMENT_POST. The data contains a bad account number. I have a BRF+ rule which changes the account to a good number. The FI document gets posted, but no ECS soft error is written. Curious to know, in your example, what made the ECS soft error get written. Any pointers much appreciated.

Thanks,

Jay.

Accepted Solutions (1)

Accepted Solutions (1)

shwetars
Advisor
Advisor
0 Kudos

CL_FDT_FUNCTION_PROCESS=>PROCESS( ) is called to trigger the generated code behind every BRF+ function. This is called for every rule when triggered from the backend.

If you know the generated class behind the BRF+ rule/function, then you can directly debug the PROCESS method of the same.

Answers (1)

Answers (1)

VijayCR
Active Contributor
0 Kudos

@jay.pandit : Please specify the setting in BRF+ in the ECS transaction as a Soft error then you can achieve this .

Thanks,

Vijay

jay_pandit
Participant
0 Kudos

Hi Vijay,

Thanks for your response. I am not seeing where this setting is, that you mentioned. In the "ECS environment" config defintion, under "Assign Derivations", I see some BRF Function details, but do not see any setting for Soft error :

Could you elaborate a bit on what you meant by " in BRF+ in the ECS transaction " ? Are you referring to something in the BRF+ workbench itself ? Really appreciate your help.

Thanks !

Jay