LinkedButton (arrow) in a SAP screen
Elmar Weinekötter
Hello,First of all, I am quite new to Customize and I am not a C# or VB programmer.
I am testing a month with Customize and I do not know how to make an orange arrow in a SAP screen.
For example:
In an purchase order I have made a new map Transport. In this map, some UDFs are transferred to the map. I would like an arrow next to a transferred UDF. (See the attachment for the example.)
Please help
Thanks,
Elmar
Attachment
[url=http://www.coresystems.ch/wp-content/../wp-content/forum-file-uploads/elmarw/Customize.pdf]Customize.pdf[/url]
Anders Olsson
Hello Elmar,You need to create a LinkedButton object and link it to the TextEdit containing the BP code:
LinkedButton lnkBtn = LinkedButton.CreateNew(UniqueStringGenerator.Next());
lnkBtn.LinkedObject = LinkedButton.ObjectType.BusinessPartner;
lnkBtn.LinkTo = "NI_00001";
form.AddItem(lnkBtn);
I hope this helps.
Kind regards,
Anders Olsson
Elmar Weinekötter
Hello Anders,Thanks for the answer but unfortunately I have not enough knowledge to work with it.
In witch module should I use this? Do I have to make a new item in this module or just add it to an existing item?
Kind regards,
Elmar
Anders Olsson
Hello Elmar,I'm not sure how you have created the folder and textboxes, perhaps Item Placement?
To add the code I provided, you should create a new rule in Optimizer that is triggered on the form's Load event.
Since you're not comfortable with programming, I suggest that you contact our support (see my signature) and we can help you with your requirements.
Kind regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments