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: 

call subscreen problem.

Former Member

Hi,

I try to use CALL subscreen sel including sy-repid ‘400’. but I´ve got a syntax erro below:

"." or "ID ... FIELD ..."  expected after "SUBSCREEN".

Can anyone clarify this problem for me ???

perhaps is this  a SAP version problem??

BR

1 ACCEPTED SOLUTION

Former Member
0 Kudos

'sel' is the name of the subscreen in the module pool.

did you name it 'sel'   ??

6 REPLIES 6

Former Member
0 Kudos

i found the answer..

thank you.

Former Member
0 Kudos

'sel' is the name of the subscreen in the module pool.

did you name it 'sel'   ??

0 Kudos

yes. I created subscreen name SEL.

The answer is:

i have to put the CALL subscreen sel including sy-repid ‘400’. inside PROCESS BEFORE OUTPUT.

like this:

process before output.

  module status_0100.

  call subscreen sel including sy-repid '400'.

*

process after input.

  module user_command_0100.

0 Kudos

Also add the call (without including dynpro option) in PAI, to trigger PAI modules of the subscreen.

Regards,

Raymond

pashattec
Explorer
0 Kudos
Please tell me when this issue will arise. I am also getting the same problem. I am writing very simple problem to call subscreen. it is throwing the same error.

anne-petteroe
Community Manager
Community Manager
0 Kudos

Hello, While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an answer in an old thread.

I've converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.If you're looking for help, you should ask a new question: https://answers.sap.com/questions/ask.html.