Skip to Content
author's profile photo
Former Member

Calling SAPGui depending on BAPI Output and User selection

Hi everybody,

can I somehow call a SAPGui (like in the transaction iView) depending on BAPI Output and the selection of a user?

The problem is the following:

Through an input form, a BAPI function receives an input parameter. I then get several results and want to select one of these results. With this result a predefined transaction <b>with SAPGui</b> should start.

For example transaction MW23 with purchase order number 1234567.

Does anybody know a solution to this?

Thanks, Rebecca

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jan 15, 2005 at 01:47 PM

    Hi,

    To open a certain SAPGui transaction in the iView generated by VC you should probably use an HTML view (that adds any URL based view into your iView) in the following way:

    1. On the result table, create an additional field which will be calculated dynamically.

    2. Use the dynamic expression editor to write a calculation expression to calculate the URL of SAPGui to be opened including the value from the result. For example:

    "http://myserver.company.domain/somthing/sap?trans="+@FieldName

    3. Add the HTML view to the diagram and connect it to the result list

    4. Map the new calculated field you created to be used as the URL for the HTML view (this is done on the properties of the link)

    That should do the work.

    Regards,

    Yaniv.

    Add comment
    10|10000 characters needed characters exceeded