on 12-04-2023 1:32 PM
Is there an option where we could ignore hard coding in custom app - CUSTOM LOGIC just like TVARVC within S4 HANA CLOUD.
Hi, the possible solution is to avoid hardcode in Custom Logic using custom constant interface. It`s using will be not avaiable in the app initially, so you need to release the interface at first to make it avaiable for using. Follow such steps:
Click on green '+' icon on the Use System-Internally (Contract C1) tab.
Select Use in Key User Apps checkbox and click on Next until the end of a dialogue.
That`s all, now you are able to use the interface in the Custom Logic App.
It will work for custom classes as well, so you also can create some kind of singletone buffer-class to store dynamic values. That`s up to your needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shashank
I am not sure the question is clear -could you provide some clarification?
We are assuming you have a custom logic implemented in Badi extension point via the Custom Logic app.
In that case, why do you have hard coding you want to ignore?
If you have hard coding that is optional, you should add some if/then or order logic to check for the conditions that should ignore it and then exit the badi before the hard coding executes.
OR- check for the conditions that should have the hard coding and the do the hard coding only in that case.
Thank you
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.