cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to change Profit center with a If condition is Badi Implementation

Rajvardhan_P
Explorer
0 Kudos
141

Hello Experts,

We have a requirement to change the profit center in Create supplier invoice application from 5050 to 1000. We have implemented a Badi 'FIN_ACDOC_ITEM_SUBSTITUTION' where we wrote a if condition for this requirement.  When we try to check after filling all the required data in 'create supplier invoice' app and click on 'CHECK' system changes profit center from 5050 to 1000 as per the requirement, But when we apply IF condition to the assignment in the badi , after 'simulating' the supplier invoice after 'check' is done, system revert from 5050 to 1000 and our requirement fails.

Please suggest us a solution on how to resolve this issue, I have attached a screenshot for the reference.

Rajvardhan_P_1-1741350507679.pngRajvardhan_P_2-1741350626153.png

as you can see, after 'check' profit center is changed to 1000 as intended.

Rajvardhan_P_3-1741350826591.png

as you can see , after simulating profit center is not changing if we apply if condition as mentioned above.

Rajvardhan_P_5-1741351347330.png

Rajvardhan_P_4-1741351328876.png

as mentioned above in image, this is a required result what we required.

folks, please help us resolve the issue.

Thanks,

Rajvardhan Patil.

 

 

View Entire Topic
HenrikeGrötecke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Thanks again very much for your question.

Here's the reply we got from the experts. Unfortunately, this is something that needs to be fixed in the system. 

May I therefore please ask you to create an incident? Thank you very much for your understanding.

Kind regards,

Henrike