Application Development and Automation 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: 
Read only

pop up is not appearing in user decion of workflow

Former Member
0 Kudos
499

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
Read only

pokrakam
Active Contributor
0 Kudos
384

What does this have to do with Web Dynpro?

Read only

Jelena_Perfiljeva
Active Contributor
0 Kudos
384

What's the question?

Read only

Sandra_Rossi
Active Contributor
0 Kudos
384

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).