Help pausing screen output....
My teacher has instructed us to write a program that calculates loan payments on a 200,000 loan at 5.75% interest for 30 years. I have completed this just fine. The second part of the exercise is to have it output to screen the amount of each payment that is made and the amount of interest paid with each payment. I have this working as well. The part I am stuck on though is making my screen output pause by hitting anykay after say 20 lines are written to the screen. Right now it shows all the payments as one huge scrolling page.
I have looked for several hours now for a way to do this and I am completly stuck.
Could someone show me what I would do to get this to work?
I will post the code below:
Date: October 23, 2006
Programmer: Shawn McBride
Class: POS/406
Facilitator: Dr. Wayman Johnson
Program: mort_calc2
Purpose: Calculate and display the monthly payment amount to fully amoritize a
$200,000.00 loan at 5.75% for 30 years.
import java.text.NumberFormat;
import java.util.Locale;
import java.util.Scanner;
import java.io.*;
public class mort_calc2
public static void main(String[] args)
// declare all variables
double TotalLoanAmount = 200000.00;
double Term = 30;
double InterestRate = 5.75;
double MonthRate = 0;
double MonthlyPayment = 0;
double NumPayment = 0;
double LoanBalance = TotalLoanAmount;
double InterestPaid = MonthRate * LoanBalance;
double PrinciplePaid = MonthlyPayment - InterestPaid;
double CurrentBalance = TotalLoanAmount;
int PaymentNum = 0;
int Counter = 1;
// calculate number of payments and monthly interest rate
MonthRate = (InterestRate / 100 / 12);
NumPayment = (Term * 12);
//currency formatter
NumberFormat myCurrencyFormatter;
myCurrencyFormatter = NumberFormat.getCurrencyInstance(Locale.US);
// calculate monthly payment
MonthlyPayment = (TotalLoanAmount * Math.pow((1 + MonthRate),NumPayment) * MonthRate)/
(Math.pow((1 + MonthRate),NumPayment) - 1);
// Calculate and display the Payment amoun, loan balance, and interest paid for each payment
for (PaymentNum = 1;PaymentNum <= NumPayment -1;PaymentNum++)
InterestPaid = MonthRate * LoanBalance;
PrinciplePaid = MonthlyPayment - InterestPaid;
LoanBalance = LoanBalance - PrinciplePaid;
System.out.println("\nYour Monthly Payment is: " + myCurrencyFormatter.format(MonthlyPayment) + "\nAfter Payment#: " + PaymentNum + " Your Current Balance is: " + myCurrencyFormatter.format(LoanBalance));
if(InterestPaid > 0)
System.out.println("The Amount of interest you have paid is " + myCurrencyFormatter.format(InterestPaid));
//Below is thhe part I am trying to get to work based on my research so far. But the problem is I get errors
// it. It keeps saying "cannot find symbol Symbol: variable stdin.
/* if (Counter == 20)
stdin.nextLine();
Counter = 1;
Counter++;
System.out.println("\nYour Last Monthly Payment is: " + myCurrencyFormatter.format(LoanBalance));
System.out.println("The Amount of interest you pay for your last payment is " + myCurrencyFormatter.format(InterestPaid - MonthRate * LoanBalance));
} // end main
} // end mort_calc2.java
couple of ways
class Testing
public Testing()
for(int x = 0; x < 100; x++)
System.out.println(x);
if(x > 0 && x % 25 == 0)
System.out.print("Press [ENTER] to continue...");
try
System.in.read();
System.in.skip(System.in.available());
catch(Exception e){e.printStackTrace();}
public static void main(String[] args){new Testing();}
}or, if you are running the program via the command line, use the more switch
c:\>java Testing|more
Similar Messages
-
Help Needed in At selection screen output
Hi Experts,
I need your help in AT SELECTION SCREEN OUTPUT event. My issue is i have 4 radio button and with each radio button couple of parameters that need to be filled in selection screen of report. My requirement is that sometimes user enters details in second radio button parameters but forgot to change the radio button to second one so kindly suggest a solution so that radio button gets selected as per user input in parameter like if user clicks on certain parameter to enter value then automatically corresponding radio button gets selected.
Thanks in advance for all your help.example from a checkbox in one of my progs..but you can do same approach with radio butts
parameters p_test as checkbox default abap_on user-command test.
at selection-screen.
if sy-ucomm = 'TEST'.
perform birth_mnth_chck.
endif. -
Getting error "Screen output area too small"! Please help!
I am getting an error "Screen output area too small" when looping through some huge internal table and sending to spool "on change of some value" in my internal table. Could someone please help me in correcting this? Rewards assured.
Thanks.
MithunCheck the simple program and have tested ,it works great( IN ECC 6 Version)
REPORT ztestspool.
DATA : arc_params TYPE arc_params,
v_print_parms TYPE pri_params,
w_valid TYPE char1,
w_valid_spool TYPE char1.
CONSTANTS : lc_paart LIKE sy-paart VALUE 'X_65_132', " Paper Format
lc_locl TYPE sypdest VALUE 'LOCL', " Destination
c_x TYPE char1 VALUE 'X'.
Setup the Print Parmaters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
authority = space
immediately = space
new_list_id = c_x
no_dialog = c_x
user = sy-uname
IMPORTING
out_parameters = v_print_parms
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
CLEAR : v_print_parms.
ENDIF.
The printer destination has to be set up
IF v_print_parms-pdest = space.
v_print_parms-pdest = lc_locl.
ENDIF.
Explicitly set line width, and output format so that
the PDF conversion comes out OK
*v_print_parms-linsz = c_linsz.
v_print_parms-paart = lc_paart.
NEW-PAGE PRINT ON PARAMETERS v_print_parms NO DIALOG.
*PERFORM display_output.
write :/ 'This is test for spool generation'.
NEW-PAGE PRINT OFF.
Thanks
Seshu -
At selection screen output plz help
hi all ,
i written below code . my req is if users select radio button r_com all elements in block b2 should be invisable.
this code is not working becuase r_com is populated with 'X' VALUE at rumtime in the event .
tables : coep ,SSCRFIELDS.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_GJAHR FOR COEP-GJAHR NO INTERVALS NO-EXTENSION
OBLIGATORY ,
S_PERIO FOR COEP-PERIO NO INTERVALS NO-EXTENSION
OBLIGATORY.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) TEXT-002.
PARAMETERS : r_Com RADIOBUTTON GROUP mai user-command rusr .
SELECTION-SCREEN COMMENT 25(15) TEXT-003.
PARAMETERS : r_group RADIOBUTTON GROUP mai .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : END OF BLOCK B1 .
SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) TEXT-003 MODIF ID B21.
parameters : p_0001 like AFRU-ISMNW OBLIGATORY MODIF ID B21.
SELECTION-SCREEN COMMENT 45(40) TEXT-004 MODIF ID B21.
parameters : p_0002 like AFRU-ISMNW OBLIGATORY MODIF ID B21 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) TEXT-005 MODIF ID B21.
parameters : p_0003 like AFRU-ISMNW OBLIGATORY MODIF ID B21.
SELECTION-SCREEN COMMENT 45(40) TEXT-006 MODIF ID B21.
parameters : p_0004 like AFRU-ISMNW OBLIGATORY MODIF ID B21 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : END OF BLOCK B2 .
at selection-screen OUTPUT.
IF R_COM EQ 'X' .
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'B21'.
SCREEN-ACTIVE = 0 .
MODIFY SCREEN.
ENDIF.
ENDLOOP.
thanks ,
sridharAMIT ,
IT IS WORKING , thanks but when i use another block like below and using this code it is not working .
SELECTION-SCREEN : BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-002..
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) TEXT-003 MODIF ID B22.
parameters : p_0005 like AFRU-ISMNW OBLIGATORY MODIF ID B22.
SELECTION-SCREEN COMMENT 45(40) TEXT-004 MODIF ID B22.
parameters : p_0006 like AFRU-ISMNW OBLIGATORY MODIF ID B22 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) TEXT-005 MODIF ID B21.
parameters : p_0007 like AFRU-ISMNW OBLIGATORY MODIF ID B22.
SELECTION-SCREEN COMMENT 45(40) TEXT-006 MODIF ID B22.
parameters : p_0008 like AFRU-ISMNW OBLIGATORY MODIF ID B22 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN : END OF BLOCK B3 .
at selection-screen OUTPUT.
IF R_COM EQ 'X' .
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'B21'.
SCREEN-ACTIVE = 0 .
MODIFY SCREEN.
ENDIF.
ENDLOOP.
elseif r_group eq 'X'.
LOOP AT SCREEN .
IF SCREEN-GROUP1 = 'B22'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
my question is , whne i select one radio button how to diable block .
thanks,
sridhar -
Adding new field to MB51 screen output
Hi All,
I need to add a new field TCODE2 from MKPF table on the screen output of MB51. I have added my new field thro SPRO following the below steps:-
Go to SPRO -- MM -- Inventory Management and Physical Inventory -- Reporting -- Define Field Selection for Material Document List
Here I have give
RM07DOCS MKPF TCODE2 Transaction code -- output box checked
and saved.
Now I tried to re-execute the transaction MB51 but not able to see the Tcode2 on the output screen .
Can any one help me out, if I am missing out something or is there any thing else i need to check on the ALV output to see the field TCODE2 on the screen og MB51?
Regards
Shilpa.Hi,
Check these notes:
Note 357187 - MB51: Fields in field catalog / selection screen
Note 828104 - Enhancing MB51 for AFS
I hope this helps you
Regards
Eduardo -
AT SELECTION-SCREEN OUTPUT.
Hi All,
I have a selection screen which i need to influence before it is shown in the screen after the transaction is executed.
I want the user to influence one of the fields in selection screen by an user exit.So if in the user exit the parameter is set by the user ,then only that particular field should be enabled or else it should be disabled.
I know i can use AT SELECTION-SCREEN OUTPUT.
but i am not sure that i can influence it with an user exit.
Could anybody let me know the logic or code to write this.
It would be very much help full.
Regards,
Priya.Hi Priya,
you can make properly for loop at screen. with modify screen..
it applied for enabled or disabled screen proceed.
thx,
s.suresh -
Screen output without connection to user and other portal trouble
I created filter. Saved it. If I tried edit it - it was allow. But after some time and after I used it in a query I trying edit the filter and can't do it! My rsplan portal page write to me:
Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE.
ST22:
Dynamic error: DYNPRO_SEND_IN_BACKGROUND
Short text:
Screen output without connection to user.
What happend?
Error in the ABAP Application Program
The current ABAP program "SAPLSTRD" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
user, transaction...
Client.............. 100
User................ "PI_JCO_RFC"
Language Key........ "E"
Transaction......... " "
Program............. "SAPLSTRD"
Screen.............. "SAPLSTRD 0302"
Screen Line......... 0
Information on caller of Remote Function Call (RFC):
System.............. "########"
Database Release.... 645
Kernel Release...... 645
Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
Call Type........... "synchron and non-transactional (emode 0, imode 0)"
Inbound TID.........." "
Inbound Queue Name..." "
Outbound TID........." "
Outbound Queue Name.." "
What happend? What I need to do? I try delete filter from query but it isn't make it editable.
Another bug: I can delete this filter and can copy them into new filter. But when I delete it and try copy another filter to deleted technical name then system said that "element with same name already exist". How to delete the filter correctly?
One more bug:
I work with russian language. And on personalisation page of portal options I selected "Russian (Russia)" (There are variant simply "Russian" in list of langs but I tried it too with the same result) BUT I have only interface with russian lang and TEXTS of objects got for eng lang anymore (and in damp we can see that lang key = "E"). Where it must be corrected?
And for last in this message: I can create an object or edit it but can see that object was last edited by PI_JCO_RFC. Is it right? So, how I will can see who change the object at last time?
Help me please!>
Deepti Maru wrote:
> What object text you are talking about for which language is english but you want russian?
I try describe it again.
If I logon via SAPlogon with russian language in RSA1 I can see descriptions of objects for russian lang (and new objects which I will create will be with russian description if I enter it). In portal (rsplan) in personality I set russian language ang get the russian interface BUT it get descriptions for ENG and in this way I can't see any descriptions - only technical name because all objects was created with russian lang. So, what I need to do for get russian descriptions of objects in portal?
And another trouble - when I create object (for example - aggregation level) in portal then I can't see descriptions of it in RSA1.
And from this I have another question too. How I can (if it possible) use english interface and russian descriptions of objects in both portal and SAPLogon? -
Reg:Screen output without connection to user.
Hi All
I am having an issue when I open Form 16 application in ess role under benefits and payments subfolder .
But I am getting an Critical error as shown below .
Screen output without connection to user. error key: RFC_ERROR_SYSTEM_Failure.
Can any please guide me how to resolve this error.
As its very urgent requirement ..
Thanks & Regards
Deepika
Edited by: deepika_indian on Feb 9, 2012 7:49 AMHi,
Please check out in the Infotype 105 Sub Type 0001, Is there any user maintained there, As it is
required.
I could see a possible problem, in the past we've
encountered issues like this, but relevant to environments using Central User Administration(CUA). Please refer to SAP Note no:350619. The note makes following changes to the table t77SO by changing the value of TRSPCORR to ''X'' or 'T'. Please verify if the note is relevant to your environment if so kindly apply.
Please look at this [Help|http://forums.sdn.sap.com/thread.jspa?threadID=1038064] and [Help-1|http://forums.sdn.sap.com/thread.jspa?threadID=1925679]
Hope This is Help full for you!!!
Best Regards
Vijay K -
Screen output without connection to user
I have a screen which has been running fine in testing for months. When released to the general population, some users get the following error:
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101) at com.linxas.applications.events.Events.executeZ_Rfc_Ial_Get_Wwi_Reports_Input(Events.java:1363) at com.linxas.applications.events.wdp.InternalEvents.executeZ_Rfc_Ial_Get_Wwi_Reports_Input(InternalEvents.java:6874) at com.linxas.applications.events.DetailsView.onActionSelectAccidentReports(DetailsView.java:1697) at com.linxas.applications.events.wdp.InternalDetailsView.wdInvokeEventHandler(InternalDetailsView.java:2305) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73) at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860) at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77) at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299) at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326) at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150) at com.linxas.models.z_rfc_ial_lock.Z_RFC_IAL_LOCK.z_Rfc_Ial_Get_Wwi_Reports(Z_RFC_IAL_LOCK.java:1619) at com.linxas.models.z_rfc_ial_lock.Z_Rfc_Ial_Get_Wwi_Reports_Input.doExecute(Z_Rfc_Ial_Get_Wwi_Reports_Input.java:137) at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92) ... 49 more
This error is occuring when the user clicks on a link to action element that displays a WWI report from the backend.
I'm wondering if this might be some sort of backend security issue? I searched the forums but can't find any reference to "Screen output without connection to user" in them.
Any help would be appreciated.Hi,
Looks like your RFC has one or more of "call screen" or "call transaction" statement in the code. Also you should have searched for "DYNPRO_SEND_IN_BACKGROUND" in SDN. Anyways, check if [this|Re: DYNPRO_SEND_IN_BACKGROUND; helps.
Regards,
Satyajit -
Dear Experts,
I am getting following error while executing application developed in WebDynpro for JAVA.
"Screen output without connection to user,error key:RFC_ERROR_SYSTEM_FAILURE"
I have checked all the possible causes. still not able to resolve the same. Could any one of you suggest any way to resolve this?
Thanks and regards,
PradnyaHi,
Check the following SAP help link, look for JCO_ERROR_SYSTEM_FAILURE and its corresponding action for resolution:
http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
also check the dev_jrfc.trc trace file for the details as mentioned in the above link
Siddharth -
Error: Screen output without connection to user
Hi,
I am trying to add a new mime object using the following call:
CALL METHOD mime_repository->put
EXPORTING
i_url = url
i_content = lv_file_content
i_check_authority = ' '
i_language = sy-langu
i_suppress_package_dialog = 'X'
EXCEPTIONS
parameter_missing = 1
error_occured = 2
cancelled = 3
permission_failure = 4
data_inconsistency = 5
new_loio_already_exists = 6
is_folder = 7.
While executing this i am getting a dump. The error reported is: Screen output without connection to user.
Can anybody help me out in solving this issue.
Thanks in Advance,
Regards,
NilaHi Paul,
Thanks a lot for your suggestion.
While running this program in the developmen system, it is running and I am able to upload the file/image to the mime repository.
But when I run the same program in the test system, I am getting the above mentioned error.
Regards,
Nila -
LSO PORTAL - SCREEN OUTPUT WITHOUT CONNECTION TO USER
Hi All,
When I try to book a participant for a course in Learning Solutions Portal, my event/business object gets triggered and i get a SWEL entry, but the RFC status in SWEL gives error saying Screen output without connection to user because of which my workflow attached to the business object is not getting triggered.
Any input as how to solve this error or anything related will be of great help and highly appreciated.
Thanks in Advance,
Vaishnavi VaradarajanThis is probably because the system is trying to output something to screen. This is for an RFC (user) just not possible. When you do this, also have a look at ST22 (short dump). If my assumption is true, then you will also have a dump stating something like: DYNPRO_SEND_IN_BACKGROUND.
So check what the 'coding' is trying to do, and then avoid doing this. Possibly there is a call screen or a pop-up coming along which just can't be processed in background / by RFC. -
Screen output without connection to user error in Form 16 ESS
Hi ,
We are implementing Form 16 in benefits and pay section of ESS and getting error ' screen output without conection to user '.
We are using ESS 1.41 BP and EP 7.0 EHP 4 version , standard ESS / MSS.
Can you please help me fix this issue . Is this because of some setting in EP or something missing in backend .
The tcode st22 in backend also giving similar error ' dynpro _send ...etc etc error '.
I did go through some forums asking to implement SAP Note for this and i have asked my basis team to look into that.
Need your help in understanding the issue , why this error and fix for this problem ..
Thanks and regards,
SaiHi Bala
I am very thankful to your quick reply.
i have already checked the dump in st22 , From the dump i understand that while executing the
function module it is refering some NULL value. I have asked my abap to look in to this.
Bala is there any other setting we have to do , other than tracing the function module.
Currently EA-HR patch level is 28.
Regards
Surya -
At selection screen output dialog
how i can make
i have customer i want when i click enter to get the description.
the program is dialog , i get always err,and when i put in PBO or PAI.Hi Little ,
What i understand is that you are working on a report and not a module pool.
If it is a report then you will first have to modify the selection screen , go to SE51 , put in the program name and the screen number ( which is generally 1000) , on the screen add a new I/O box which is for Output only let it be KNA1-NAME1 .
Now you need to write the code in the event AT SELECTION-SCREEN OUTPUT .
Here is the sample code for the same
tables : kna1.
parameter : kunnr type kna1-kunnr.
at selection-screen output.
if not kunnr is initial.
select single name1 into kna1-name1
from kna1
where kunnr = kunnr.
endif.
Hope this helps.
Regards
Arun -
At selection screen output problem
Hi all,
I am trying to make a few fields disabled based on the selection of a radio button. I have done it in dialog programming, but in report its not working. Please tell me where i have gone wrong. My code:
* Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETER : rb_dwld RADIOBUTTON GROUP radi DEFAULT 'X',
rb_upld RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
SELECT-OPTIONS : so_cctrl FOR /dceur/z_crconar-crdt_ctrldsa MODIF ID
sc1 NO INTERVALS OBLIGATORY,
so_cusno FOR /dceur/z_crdtlmt-dealer MODIF ID sc1.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
SELECT-OPTIONS : so_ctrl1 FOR /dceur/z_crconar-crdt_ctrldsa MODIF ID
sc2 NO INTERVALS OBLIGATORY.
PARAMETER pa_fname TYPE rlgrap-filename MODIF ID sc2.
SELECTION-SCREEN END OF BLOCK b3.Hi,
Please check the below code.
This is one of my requirement.
* Creation of two blocks with parameter fields for create and update
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME.
PARAMETER p_create LIKE rlgrap-filename MODIF ID crt.
SELECTION-SCREEN: END OF BLOCK b1.
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME.
PARAMETER p_update LIKE rlgrap-filename MODIF ID upt.
SELECTION-SCREEN: END OF BLOCK b2.
* Making one parameter field active at a time
AT SELECTION-SCREEN OUTPUT.
IF rb_crt = 'X'. "CREATE BUTTON IS SELECTED
PERFORM hide_rb_options.
CLEAR p_create.
ELSE. "UPDATE BUTTON IS SELECTED
PERFORM hide_rb_options.
CLEAR p_update.
ENDIF.
*& Form hide_rb_options
FORM hide_rb_options .
IF rb_crt = 'X' .
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'CRT'.
screen-active = 1.
MODIFY SCREEN.
WHEN 'UPT'.
screen-active = 0.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'UPT'.
screen-active = 1.
MODIFY SCREEN.
WHEN 'CRT'.
screen-active = 0.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ENDIF.
ENDFORM. " hide_rb_options
May it helps you.
Regards.
DS.
Maybe you are looking for
-
I have a Tour 9630 and just installed v6.0 and receiving an error window "Blackberry Desktop Software has stopped working. A problem as caused the program to stop working correctly. Windows will close the program and notify you if a solution is avai
-
How do I get my printer to print faster when I am using my mac with google?
My printer seems to take 3-4 minutes to print something when I print from google. If I am on Safari it seems to print in a few seconds. Is there a way to fix this?
-
Create frameset based on an existing template
I'm using DW CS4. I'm using a template with header, sidebar and main content divs for most of my pages. But I want one page to be a frameset with the same header and sidebar but the main content is a frame that changes based on selections from the
-
I cannot send or receive group messages when one or more member of the group is not on iMessage. I have group messaging turned on in settings and send as SMS or MMS as well. This problem is on my iPhone and on my Mac. Does anyone have any suggestion
-
Failed installation left nomad explorer components, how do I remove th
I recently did an installation of the Nomad explorer and Creative jukebox drivers, for my nomad zen xtra, but for some reason the installation never quite completed. I'm left with the start menu shortcut, as well as the nomad explorer dri've icon (un