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

call subscreen problem.

Former Member
1,826

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

Former Member
0 Likes
1,375

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

did you name it 'sel'   ??

6 REPLIES 6
Read only

Former Member
0 Likes
1,375

i found the answer..

thank you.

Read only

Former Member
0 Likes
1,376

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

did you name it 'sel'   ??

Read only

0 Likes
1,375

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.

Read only

0 Likes
1,375

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

Regards,

Raymond

Read only

pashattec
Explorer
0 Likes
1,375
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.
Read only

AnnePetteroe
Community Manager
Community Manager
0 Likes
1,375

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.