How to select a Radio Button using Macro in SAP Business One Function?
Hi everyone,
I am trying to select a Radio Button using a Macro in a SAP Business One Function, but I am not able to get it working.
My requirement is to select the Inactive/Deactive radio button when there is a change in the bank details.
I have tried using the Click method, as I found this approach in some SAP/Boyum documentation and other discussions, but it does not seem to work for this radio button.
Has anyone worked with radio buttons using Boyum B1UP Macros? Could you please share an example or advise which Macro command/method should be used to select a radio button?
For example, I am looking for something similar to: Click / Select Radio Button → Inactive
I would prefer to update the radio button through the SAP B1/B1UP UI rather than directly updating the database using SQL.
Any help or example would be greatly appreciated.
Thanks in advance!
Comments
4 comments
Hi Rakesh,
Could you explain more on what you have so far. I just did a basic test on Business Partner Master data with a Marco that only says Click($[$10002045.0.0]); and it sets the radio button of inactive
Kind regards
Joris Sibenius Trip
Edit: Focus($[$10002045.0.0]); also works
Hi Joris Sibenius Trip ,
Thanks for your reply, and sorry for my late response.
I did the same thing and added the code Click($[$10002045.0.0]); for the Update button click in Business Partner Master Data, but it is still not working.
Is there anything else I need to check or configure?
Thanks & Regards,
Rakesh Gohil
Hi Rakesh,
I then assume the issue is with the validation, not with the macro. Can you test the macro by just linking it to a function button? If that works, pleas share your validation
Kind regards
Hi Joris Sibenius Trip ,
I changed the database, and I can see that it is working now. I think there may be an issue with the branch, so I will look into it.
Thank you so much for your help.
Regards,
Rakesh Gohil
Please sign in to leave a comment.