Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

pop up is not appearing in user decion of workflow

Former Member
0 Kudos

hi

i have to use a popup to get user input after approve option of workflow decion.

however , i have made a BOR with this code.

BEGIN_METHOD POPUP CHANGING CONTAINER.
data : text type CATSXT_LONGTEXT_ITAB ,
title type SYTITLE ,
l_text(72) .
data : v_text(1000) .
title = 'Reason for Rejection' .
CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
EXPORTING
IM_TITLE = title
IM_START_COLUMN = 20
IM_START_ROW = 20
CHANGING
CH_TEXT = text .
SWC_SET_TABLE CONTAINER 'reason_text' text.
END_METHOD.

moreover , when i use required or optional method standard dialog has appeared but i need to show different text instaed " REASON FOR APPROVE"

REGARDS

3 REPLIES 3

pokrakam
Active Contributor
0 Kudos

What does this have to do with Web Dynpro?

Jelena
Active Contributor
0 Kudos

What's the question?

Sandra_Rossi
Active Contributor
0 Kudos

If the dialog doesn't appear then, in SWO1, tick the following checkboxes of your method : "synchronous" and "dialog".

We can't answer your question about how to decide between reject and approve, because you didn't explain which standard business object type it is about. And if it's a custom one, it's even worse, as you didn't explain anything. But maybe you don't know how to read some elements of the container -> you have to use the macro SWC_GET_ELEMENT (cf SAP Library: Macro Instructions for Processing a Container).