on 02-03-2015 5:28 AM
Hello Experts,
We have a requirement to develop a BADI Macro, which gets triggered for only the selected columns in the interactive planning book. We have develeoped the macro and logic and everything but we are unable to capture the selected columns by the user. In the macro we have functions like , Column marked, Marked columns , etc. So we tried using the corresponding FM , /sapapo/ADVF_Marked_Columns, etc but these FM are not returning the selected column dates. Have anyone tried this / implemeted this ? Any suggestions will be very much useful.
Thanks again,
Regards,
Venkat
Hi,
I think you should check whether a column is market outside your BADI macro. e.g., you use COLUM_MARKED() function to check if a column is marked, if yes, put 1 to a KF and if not, put 0 to the KF, then in your BADI macro, you check the value of the KF, and calculate for only those columns where KF =1.
Another option would be create a user function, from macro book's menu -> edit -> edit user function ... e.g. I created a user function Z_ADA_TEST and put it in below macro:
Of course in this case you have to create the Z- function module by yourself.
Best Regards,
Ada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
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.