cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create a button for draft documents

Former Member
0 Likes
921

Hi all!

I know the only way to generate a draft document is to go to File -> Save as draft document. But is not very user friendly...

So I want to create a button in sales documents for drafts.

When the user clicks the button the document is added as draft.

Is it possible?

Or is there a better solution?

Thanks in advance for every help!

Kindest regards,

Veronica Vezzali

View Entire Topic
Former Member
0 Likes

Hi,

This is possible with the DI but in your case, like you explain it, it will be the most easy to invoke the menuitem click by code.

The menuUID for save as draft is 5907 (SAP BO 2004A).

SboApplication.ActivateMenuItem("5907")

Hope it helps

Eddy