Skip to Content
avatar image
Former Member

How to Read Agentry values in OpenUI.?

Hello Experts

Reshma Pithade,

Mohit Tyagi,

Bill Froelich

I am new at open UI and I want to read some agentry values from Agentry work manager 6.0 and use this values in open UI.I am having upload document screen and from that screen I want to read file name and file path from agentry and use it in OpenUI.For that I added two Agentry values in the fields.But I am little bit confused that how can I use this values in adapter class, If any one having some steps related to this it will help me alot to go forward.

Regards

Prajakta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 13, 2015 at 05:40 AM

    Hi Prajakta,

    What version of SMP are you using? 2.3 or 3.0?


    Assuming you're using SMP 3.0 (Don't believe SMP 2.3 supports OpenUI), the SMP SDK contains sample OpenUI projects for each platform.


    Refer to the below folder path where you've installed Mobile SDK


    <Installation Drive>\SAP\MobileSDK3\AgentryToolkit\OpenUISDK\


    Also refer to the SAP Help Documentation -


    http://help.sap.com/saphelp_smp308sdk/helpdata/en/7c/0591b97006101489caceb9dee3539e/content.htm


    Regards,

    Stephen

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 13, 2015 at 06:02 AM

    Hi Prajakta,

    To read agentry values in OpenUI you need to use SMP 3.0 as Stephen mentioned.

    First you have to create one editType say string editType in agentry.

    Then set some value to that editType.

    Now in android code you need to include following line:

    String val = _model.getAgentryString(_keyText.getText().toString());

    here, _keyText is the name of edittype which you specify on agentry side.

    Hope this will help you.

    Regards,

    Reshma

    Add comment
    10|10000 characters needed characters exceeded