Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182379
Contributor

Objective: Objective of this document is 'How to use the webrfc which we have created in Part1 on personas screen'.

Create a copy of Basic view

Give the flavor ID which we want to create.

Hide all the screen data which we don’t required, by selecting the’ Hide selected controls’.

To add the background image click on Open color palette.

Click on ‘Add Background picture’.

Select the required image.

Now add a text box and label on the screen through which we will pass the sales order number.

The screen will look like as above.

Now add a HTML viewer on the screen, with the webrfc url which we want to call.

url : http(s)//<host>:port/sap/bc/webrfc?_function=Function Module Name&_parameter={1}.

Now as we want to pass the sales order number from the personas screen for that in url

for parameter ‘_VBELN’ the value should be ={1}, now click on ‘+’ icon.

Just click in the text field.

Press OK.

Now select a script button from the controls.

Enter a label and the click on ‘+’ icon.

Now select the ‘Refresh HtmlViewer’ and then click on arrow icon to point it to the HTML viewer which we have added, so every time when user will click on script button the html viewer will get refresh.

Click in the html viewer.

Click on Enter icon then ‘OK’.

Drag and drop the script button at required position save and exit.

We can see the screen as above, now enter the sales order no. and then click the button ‘Get Order Details’.

We can see the output as above.

Regards,

Zafar