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: 

Standard text

david_fryda2
Participant
0 Kudos

Hi everyone,

I created a standard text using SO10.

I want to perform a call to a form from a program but it is not doing it.

Is it possible to do it like in SE71 ?

Thanks.

regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

It is not possible to call a FORM from a Standard texts,

but you can use a program, in that program use the READ_TEXT to read this text then you can have a option to call the form

Regards

Sudheer

8 REPLIES 8

Former Member
0 Kudos

hi try to use read_text fm to read the text .

0 Kudos

Hi,

Here is what I wrote in SO10 :

/: DEFINE &D_KEY&

/: PERFORM GET_LONG_TEXT IN PROGRAM /TTT/ZSU_DOCS_ARCHIVE

/: USING &D_KEY&

/: CHANGING &D_STRING1&

/: ENDPERFORM

The form is never called.

Thanks,

0 Kudos

Hi..

Normally subroutine must be called even if it is inside a Standard Text.

Have you called this Text in SE71 using INCLUDE command.

Open the Text elements of the window.

Menupath: INSERT->TEXT->STANDARD

Enter the Standard Text Name.

Even then if it is not called Try Debugging the Form.

SE71 Menu path: Utilities->activate Debugger.

And Lastly have you defined this Subroutine in the program mentioned in PERFORM.

<b>Reward if Helpful</b>

0 Kudos

Hi,

I am not using SE71 but SO10.

The purpose of my application is to create a WORD file using standard text.

It works good.

Now I need to call a form from that Standard Text.

Thanks

Former Member
0 Kudos

Hi,

It is not possible to call a FORM from a Standard texts,

but you can use a program, in that program use the READ_TEXT to read this text then you can have a option to call the form

Regards

Sudheer

0 Kudos

Hi,

I think that maybe I wasn't clear enough about my issue.

The form I want to call is a form from a program (not a form from SE71).

For example :

<code>

FORM get_long_text TABLES inttab STRUCTURE itcsy

outtab STRUCTURE itcsy.

DATA: lv_key(30).

READ TABLE inttab WITH KEY name = 'D_KEY'.

MOVE inttab-value TO lv_key.

MOVE 'hello ' TO outtab-value.

MODIFY outtab TRANSPORTING value WHERE name = 'D_STRING1'.

ENDFORM. " get_long_text

</code>

I need to call that form from SO10 .

Thanks.

Regards.

Message was edited by:

David Fryda

Former Member
0 Kudos

David,

Take a look at the function modules in function group STXE - these give functionality to expand includes, parse symbols, replace symbols.

You could probably use these to achieve the result you want, but with the ABAP program controlling the flow rather than the perform being in the text.

Andrew

0 Kudos

Thanks guys.