on 09-14-2014 10:13 AM
Hi Experts,
Has anyone written a BADI that can execute a Data Manager package?
We would like to save some coding and are writing logic that determines a result. Based on the result we run a specific DM package.
So for example, if result A then BADI instructs to run DM A if result B then run DM package B.
Anyone written something like this that can share?
Thanks
Eyal Feiler
Hi Eyal,
Depends what DM package you are talking about!
1. If it's script logic package then look on the code of RUNLOGIC_PH BADI... everything is clear!
2. Some other chain - (like standard COPY chain) - look on the program UJD_TEST_PACKAGE.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eyal,
For sure you can modify code of RUNLOGIC_PH to run different scripts based on some condition checked in badi before...
But if you can't do it without badi looks better to do all calculations inside badi... including account calculations.
Anyway, the requirements can be solved using script logic (without RUN PROGRAM CALC_ACCOUNT).
Vadim
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.