cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Webdynpro ABAP ...

Former Member
0 Kudos

How to add comments in approval screen of travel request form in webdynpro abap?

Its urgent...

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Shankar,

You have to modify the XML for that Task in UWL Administrator. The following code is just a sample for UserDecisionHandler.

<Actions>

        <Action name="approved" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">

          <Properties>

            <Property name="UserDecisionNote" value="true" />

            <Property name="decisionKey" value="0001" />

            <Property name="UserDecisionTitle" value="Enter a Rejection Reason" />

          </Properties>

          <Descriptions default="Approved" />

        </Action>

        <Action name="rejected" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">

          <Properties>

            <Property name="UserDecisionNote" value="mandatory" />

            <Property name="decisionKey" value="0002" />

          </Properties>

          <Descriptions default="Rejected" />

        </Action>

      </Actions>

You can get the screen like this :

Best Regards,

Suman

Former Member
0 Kudos

Thanks for giving the reply....

But am looking for adding the comments in the template which already entered at the time of travel request creation.....