‎2007 Jul 31 8:21 AM
Hi,
This is my program. and followed by Flow logic, When iam executing that Iam getting Runtime error.
Also Runtime error analysis iam getting in German langauge. How to get in English that one.
PROGRAM ZMP_TAB3.
TABLES:
VBAK,
VBAP.
DATA:
IT_VBAP TYPE VBAP,
c1 TYPE I.
&----
*& Module USER_COMMAND_9001 INPUT
&----
text
----
MODULE USER_COMMAND_9001 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE PROGRAM.
WHEN SPACE.
SELECT * FROM VBAP INTO IT_VBAP WHERE VBELN EQ VBAK-VBELN.
ENDSELECT.
ENDCASE.
ENDMODULE. " USER_COMMAND_9001 INPUT
This is my Flow Logic.
PROCESS BEFORE OUTPUT.
*MODULE STATUS_9001.
LOOP AT IT_VBAP INTO VBAP CURSOR C1.
ENDLOOP.
*
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9001.
LOOP AT IT_VBAP.
ENDLOOP.
‎2007 Jul 31 8:26 AM
Hi
Can i Know what is the error u got??
Plz post here so that it will make us easy to solve ur issue
Regards
Pavan
‎2007 Jul 31 8:26 AM
Hi
Can i Know what is the error u got??
Plz post here so that it will make us easy to solve ur issue
Regards
Pavan
‎2007 Jul 31 8:29 AM
Hi,
when iam enetring the T.code it is giving the error. I am not getting the screen. Run time error analysis iam getting in German Language .how to get Run time error analysis in English Language
‎2007 Jul 31 8:35 AM
Hi
I suppose the error is in your screen flow:
PROCESS BEFORE OUTPUT.
*MODULE STATUS_9001.
<b>LOOP AT IT_VBAP INTO VBAP CURSOR C1.
ENDLOOP.</b>
*
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9001.
<b>LOOP AT IT_VBAP.
ENDLOOP.</b>
It seems there's a table control (or step loop) in your screen but I can't see where you've defined and used it.
Max
‎2007 Jul 31 8:39 AM
Hi,
when ever you connect to SAP .After giving userid and password there is an option for language .
login with language as En (check the language first if it is other EN change to EN
Thanks,
Srinivas
‎2007 Jul 31 8:27 AM
‎2007 Jul 31 8:38 AM
Your program should have these clauses in :
DATA it_vbap TYPE TABLE OF vbap.
CONTROLS: CTL_VBAP TYPE TABLEVIEW USING SCREEN 0100.
SELECT * FROM VBAP INTO TABLE it_vbap WHERE vbeln = vbak-vbeln.And in your dynpro, you should have (at least)
PROCESS BEFORE OUTPUT.
LOOP AT IT_VBAP
INTO VBAP
WITH CONTROL CTL_VBAP
CURSOR CTL_VBAP-CURRENT_LINE.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT IT_VBAP.
ENDLOOP.Regards
‎2007 Jul 31 8:28 AM
Hi
What is this VBAK-VBELN here, you have not declared in program it cant take that directly
declare that with data statement and compare that in select statement
that is only the problem
Regards
sandhya
‎2007 Jul 31 8:33 AM
Hi,
Please check tcode ST22 .It will help you analyse the blue screen.
Regards,
Himanshu