cancel
Showing results for 
Search instead for 
Did you mean: 

Create Button on Sales Order Button Group

mischaimbiscuso
Explorer

Hello

I am new to Sap Business ByDesign.

We would like to add a new Button in the Button Group next to Check Credit Limit on the salesorderoifeco.OIF.uicomponent. This button then will create a new purchase order with the items from the sales order.

Now, I wanted to add a custom action to the button group, but I don't know how I can add this custom action to the existing screen.

The other thing I wanted to do, is to create a Custom BO with an OnClick Action. I tried with the help from this video: https://youtu.be/kGxEjTWAEsM

Unfortunately, I always got an empty UUID of the Sales Order.

Many thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

ThiagoSarmento
Product and Topic Expert
Product and Topic Expert

Hello mischaimbiscuso,

In order to add the custom action to the button group, you may select the buttons section of the screen on the UI Designer, to highlight the ToolBar or ButtonGroup anchors and then click on the "Add Custom Action" operation.

Then, you will need to select the parameters such as "custom action", provide a "button text" value (tooltip too if required) and check the "Save After Execution" checkbox.

kostadin_terziev
Participant
0 Kudos

Hello, Thiago!

Your proposal is not relevant for sales order screen because we cannot add custom actions to the sales order business object.

Do you think there is a way to tackle this challenge?

Regards,

Kostadin Terziev

ThiagoSarmento
Product and Topic Expert
Product and Topic Expert

Hello Kostadin!

One alternative is to place an EC on the header/general details of the OIF screen, where it would have a button that triggers an action script from a custom BO.

Best regards,

Thiago

kostadin_terziev
Participant

I will try this out. Thank you!

Answers (1)

Answers (1)

mischaimbiscuso
Explorer

Hi

Perfect, it worked with this solution.

Thank you.

ThiagoSarmento
Product and Topic Expert
Product and Topic Expert
0 Kudos

That's wonderful Mischa!

If you are satisfied with the answer, you may accept it as the correct answer.