Goshh, need some help over here!

hi everyne.
need help.
U insert a number e.g ( -12 ) the operation will be: (-1) + 2 = 1
e.g : - 42 = (-4) + 2 = -2
I cannot find a way to do that.
here is the code for simple sum:
int sum = 0;
          int aux;
          int digit = 0;
          System.out.print("Insert  a number: ");
          int num = Teclado.intLido();
          aux = num;
          while(aux != 0 ) {
            digit = aux % 10;
            aux = aux / 10;
            if(digit > 0) {
                 sum += digit; when i say "digit > o " this digit is the second one, because the first is always positive.
So i need help to find a way to tell the computer if the second digit is negative it will deduct. e.g -12 -> (-1 ) + 2 = 1
Anyone could tell how to tell the computer if the second digit is negative or positive. I cannot find a way to tell that.
thanks!
Josh

what about num / 10 + Math.abs(num % 10) ?
:D
i know and with strings and length () to count the digits will be easier too.
But i can't use Math.abs etcc string length() etc.. just loops :P
Just wanna know how to tell the computer if the second digits (from right to left) is neg or pos. if neg (-12) (-1) +2 = 1 or (-41) = -4 +1 = -3
using this method with something else.
while(aux != 0 ) {
          digit = aux % 10;
          aux = aux / 10;
          if(digit > 0) {
               soma = soma + digito;
          }else if (digit < 0) {
// this line is wrong because i want it to see if the SECOND digit is < 0 and not the first which is always positive.
               sum = sum - digit;
Do u know what i mean?

Similar Messages

  • Need serious help over here...

    Hi guys...need serious help...I am using nokia lumia 710 for the past 3months...today i tried to reset my phone,but after resetting my phone dint restart...it keeps on rebboting after the WINDOWS PHONE screen apears...So i need some help...i tried pressing power on,camera and volume up and down button to reset again...but nothing happening...if i charge the phone it does the same...plz help me

    Did you try removing the Battery for a couple of minutes, insert back and see if it makes any difference ? If no change then you need to visit Nokia Care

  • Hi all i need some guide over here ^^

    HI,
    i doing BDCbdc for FB60 and i will need to run 1 more BDC before i PARK the doc.
    The first BDC is to set the company code to 1000
    But there is a problem if the company code in FB60 is 1000, then the BDC i run will fail.
    IF the company code in FB60 is 1234 ad i try to set it as 1000, the BDC will run success.
    therefore i think of a way, is there any way that i will able to know what is the company code in FB60 WITHOUT looking at the company code in FB60.
    Is there a method that BDC can validate the company in FB60.
    e.g
    IF (company code in FB60) = 1000.
    perform ........
    else.
    perform .......
    ENDIF.
    Points will be awared
    Thanks,
    guanwei

    hi thanks for reply,
    i know about this but what if the company have many company codes and once the BDC run.
    the BDC have to check now the FB60 is 1000 or 1234 because different company code using different vendor. this is why i need to validate now the FB60 is using 1000 or 1234.
    because there are too many company code, and if i have to set the company code in FB60 manual everytime it will become troublesome.
    In FB60 transaction the system first promt for entering the company code
    this will only happen when never use FB60 before, after you have set it to 1000, next time try to go to FB60 again it will not Promt to enter company code. it will use the last company code you have set.
    that is why i need some guide on how to know what is the company code it using now by not going into FB60 itself.
    Thanks
    guanwei

  • Hi, need some assistance over here.

    Hi guys, can i check with you guys wha
    t does this source code means?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" creationComplete="init()" minWidth="1500" minHeight="1000" height="859">
        <mx:DataGrid x="19" y="368" id="playlistgrid" width="289" height="147">
            <mx:columns>
                <mx:DataGridColumn headerText="Name" dataField="name" width="180"/>
                <mx:DataGridColumn dataField="starttime" headerText="Start" width="50"/>
                <mx:DataGridColumn dataField="endtime" headerText="End" width="50"/>
                <mx:DataGridColumn dataField="livesource" headerText="DVR" width="50"/>
            </mx:columns>
        </mx:DataGrid>
    <mx:DataGrid x="20" y="38" id="sourcegrid" width="289" height="126">
            <mx:columns>
                <mx:DataGridColumn headerText="Name" dataField="name" width="200"/> 
            </mx:columns> 
        </mx:DataGrid> 
        <mx:Label x="18" y="16" text="Source files (on Demand)"/> 
       <mx:DataGrid x="20" y="195" id="livestreamgrid" width="289" height="74"> 
            <mx:columns> 
                <mx:DataGridColumn headerText="Name" dataField="name" width="200"/> 
            </mx:columns> 
        </mx:DataGrid> 
        <mx:DataGrid x="17" y="570" id="outputgrid" width="289" height="207"> 
            <mx:columns> 
                <mx:DataGridColumn headerText="Name" dataField="name" width="200"/> 
            </mx:columns> 
        </mx:DataGrid> 
        <mx:Label x="15" y="548" text="Exported highlights (for on-demand CDN)"/> 
        <mx:Label x="18" y="174" text="Live DVR streams"/> 
        <s:Button x="19" y="312" label="Set In Point" id="setin_btn"/> 
        <s:Button x="107" y="312" label="Set Out Point" id="setout_btn"/> 
        <s:Button x="19" y="339" label="Add selected clip to Playlist" id="addtoplay_btn"/> 
        <s:Button x="21" y="519" label="Generate on-demand file" id="generate_btn"/> 
        <s:TextInput x="19" y="284" width="83" id="inpoint_txt"/> 
        <s:TextInput x="106" y="284" width="93" id="outpoint_txt"/> 
        <s:TextArea x="216" y="284" height="21" id="currenttimecode" editable="false" textAlign="center" width="90"/> 
        <s:TextArea x="17" y="785" width="370" id="status_txt" fontSize="12" height="63"/> 
    Despite this source code was copied from the tutorial guide, when i complied it to flex 4, I'm having errors on those line in bold and red.
    My question would be,
    Firstly, what does this whole source code means? Can any kind soul help me out?
    Secondly, what does the error means? The error code reported was :
    "Could not resolve <mx:DataGrid> to a component implementation.

    This mxml-code layouts some flex components... DataGrid is a table like DataContainer which is organized in rows and columns.
    The DataGridColumn defines the Data presented in one of this columns. The error you get usally means that you are missing the
    import statement for the datagrid-component(import mx.controls.DataGrid;). My advise is that maybe get a book about the new Flex 4 Framework(because a lot has changed and most tutorials, in my opinion, are outdated now) and invest some time to get you head
    around the very basics of flex before starting with this web tutorials.
    All the best.

  • Need some help over sql query format

    Input :
    TABLE 1 ppl
    id name
    1 ravi
    2 andy
    3 john
    TABLE 2 fa_ppl
    id attr_name attr_value
    1 watch Guess
    1 laptop Sony
    2 fashion casual
    2 laptop Dell
    3 watch fossil
    3 fashion formal
    OUTPUT Required:(3 rows)
    name watch laptop fashion
    ravi guess sony NULL
    andy NULL dell casual
    john fossil NULL formal
    SQL Statements that may help in schema objects:
    create table ppl(id number,name varchar2(50));
    create table fa_ppl(id number,attr_name varchar2(20), attr_value varchar2(20));
    insert into ppl values(1,'ravi');
    insert into ppl values(2,'andy');
    insert into ppl values(3,'john');
    insert into fa_ppl values(1,'laptop','sony');
    insert into fa_ppl values(1,'watch','guess');
    insert into fa_ppl values(2,'laptop','dell');
    insert into fa_ppl values(2,'fashion','casual');
    insert into fa_ppl values(3,'fashion','formal');
    insert into fa_ppl values(3,'watch','fossil');
    I tried in the below way:
    Select P.name,
    case when attr_name='fashion' then attr_value end as fashion ,
    case when attr_name='laptop' then attr_value end as laptop,
    case when attr_name='watch' then attr_value end as watch,
    from ppl P join fa_ppl F on (P.id=F.id and F.attr_name in ('fashion','laptop','watch'))
    PROBLEM:
    Getting separate rows(6 rows in my case) for each attribute_value.
    Thanks a lot.....

    What you are trying is a pivot. There is a [url https://forums.oracle.com/forums/thread.jspa?threadID=2174552#9360005]thread in the FAQ linking to various methods.
    You are actually pretty close, if you just do a group by on your select:
    Select P.name,
    max(case when attr_name='fashion' then attr_value end) as fashion ,
    max(case when attr_name='laptop' then attr_value end) as laptop,
    max(case when attr_name='watch' then attr_value end) as watch
    from ppl P join fa_ppl F on (P.id=F.id and F.attr_name in ('fashion','laptop','watch'))
    group by
    p.nameBut if you have several people with same name, you probably want to do this:
    Select
    p.id, /*you may omit this column if you do not need it*/
    max(P.name) as name,
    max(case when attr_name='fashion' then attr_value end) as fashion ,
    max(case when attr_name='laptop' then attr_value end) as laptop,
    max(case when attr_name='watch' then attr_value end) as watch
    from ppl P join fa_ppl F on (P.id=F.id and F.attr_name in ('fashion','laptop','watch'))
    group by
    p.idSimilar can be done in 11G with the PIVOT statement. See the links in the FAQ thread.

  • Need some help over the table CRMD_SRV_REFOBJ

    HI,
    I want to know when does this table get filled and how do i relate it to table CRMD_ORDERADM_H.
    Regards,
    Rishav

    Hi Rishav,
    Check the views - CRMV_SRV_REFOB_I and CRMV_SRV_REFOBJ. the first view will give you the linkage of the ref object with the Item, and the second will give you the linkage of the ref object with the header.
    If you study the join conditions of the view, you will also understand the linkage.
    Regards,
    Siddhesh.

  • Hi, Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) shows a yellow triangle saying : Charging is not supported with this accessory. Please I need some help here. Thanks =D

    Hi Someone Know why my charger is not working properly but always it was been working good but now when conect my iphone (3gs) appears a golden triangle saying :Charging is not Supported with this accessory. Please I Need Some Help Here. Thanks =D

    sounds like the cable or the iphone connector are somehow damaged

  • Need some help here on the proper settings for quicktime exporting from imovie that won't degredate the footage from my handycam

    need some help here on the proper setting for quicktime exporting that won't denegrate my footage from handycam canon fs200

    What are the existing settings iMovie?
    Al

  • Cannot get slide show in full screen mode to come up on secondary monitor regardless of how I set up show it always opens on primary screen.  Need some help here.

    Slide show in PowerPosint for mac 2011 on iMac will not open full screen mode on secondary monitor.  Regardless of how I set the slide show preferences it always opens on primary monior with secondardy monitor having totally balck screen.  Need some help if anyone else has run into this problem.

    You should contact Microsoft for Mac Support  and/or post in their forums.

  • My airport problem has returned big time --Need some Help!!

    Aloha once again:
    I though that this was fixed by simply changing channels on my airport router, but that fix only lasted for a few days, but now it's back and even worse. Let me give you some background on this problem. Here's my original message concerning the problem:
    I have my Airport Router connected to the Internet via DSLcable. I then tie my two computers into the internet via their airport cards. For about 6 months this system has been working just fine. Recently my desktop computer quit listening to the router and can no longer connect to the internet. It shows no signal strength and the name of the network on the Airport is not seen in the "connect to internet" panel. The same Airport works just fine on my LapTop and I am using it right now to get this message off to the internet.
    I have fixed permissions, removed the airport card and cleaned the connector, the antenna plug and removed the system configuration folder from library preferences all to no avail!
    This problem has been hounding me, intermittently, for over a year now What can I do to remedy this??? HELP!!!!
    Dan Page
    Maui, Hawaii
    The suggestion to change channels, that came from this original request, worked but just for a very short time. Now I have to shut down my computer overnight to get connected and then it only lasts for several hours and the connection quits.
    I thought maybe heat was a problem, but the last time it happened I opened the computer and played a large fan right on the card. This did not help. I shut it down for the night and it was fine the next morning for about 2 hours.
    One new data point; if I turn off just the airport on my laptop computer overnight, that will fix the problem for a short time also.
    Still need some help!!!
    Dan

    First, power off both the Time Capsule and AirPort Express.
    Wait a few minutes, then power up the Time Capsule first, and let it run for a few minutes.
    Temporarily, move the AirPort Express to the same room or close proximity to the AirPort Express and power it up.
    If the Express powers up correctly, power it off again and move it approximately half the distance between the Time Capsule and the general area that needs more wireless coverage. Try to minimize obstructions like walls, ceiling, heavy furniture, etc as much as possible. 
    Please report on your results.

  • We have a set of oracle clients running on T5220 zones that need some help

    Greetings all -
    We have a set of oracle clients running on T5220 zones that need some help.
    If, for example, I execute the query "select (all) from dba_objects", trace output reports 90% of the elapsed time spent under "SQLNet message from client".
    Here are OS details for the clients: Solaris 10 5/08 s10s_u5wos_10 SPARC
    Running "uname -a" from the client gives:
    (SunOS bmc-ste-app 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220)
    Here are OS details for the dataserver: Enterprise Linux Enterprise Linux Server release 5.2
    Running "uname -a" from the dataserver gives:
    (2.6.18-92.1.6.0.2.el5 #1 SMP Thu Jun 26 17:44:55 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux)
    The RDBMS is 10.2.0.4
    Again, please note, there is no application in the picture here. We are just running a simple catalog query (select * from dba_objects) from sqlplus. Why the wait on something like this? The wait also occurs when a different query is used (select (all) from SYS.COL$ where rownum < 50000). And it doesn't matter if I used the full client or the instant client. I still get the same high-wait.
    We had thought - maybe this is a network thing - so we put a test client on the same subnet as the dataserver. This helped - but not enough. The wait is still way too high even with firewalls taken out of the equation.
    We've also looked at arraysize, SDU, kernel settings. And we've spent time going over tkprof, truss and sqlnet-tracing.
    Has anyone ever had to solve this HIGH WAIT ON CLIENT issue? Is there a work around or some tweak I'm missing.
    Is anyone configured like we are (linux dataserver, solaris clients)? If so - did you see anything like this?
    tia -
    Jim
    Edited by: jim1768 on Mar 31, 2010 1:47 PM
    Edited by: jim1768 on Mar 31, 2010 2:12 PM
    Edited by: jim1768 on Mar 31, 2010 2:13 PM

    Hello,
    We have the exact same issue. Did you ever solve this issue? We have a t5220 and have just upgraded our 11.5.10.2 11i system on it from 9.2.0.8 32-bit sparc to 11.2.0.1 64-bit sparc. Things should be faster but arent, and our consultant has tracked it down to high wait times when the apps tier using forms connects to the database tier on the same box. So even though the t5220 is both server and client, there is something about the client sql connection.through TNS that his having trouble. Thanks for any information. We've also created an S/R with Oracle.
    Note: I am well aware of the other issues with the CMT server series but this particular issue seems independent of the regular / known issues and remains a mystery to us. Other known issues with the CMT servers for SPARC:
    Metalink Note 781763.1 (Migration from fast single threaded CPU machine to CMT UltraSPARC T1 & T2)
    http://blogs.sun.com/glennf/resource/Optimizing_Oracle_CMT_v1.pdf
    http://blogs.sun.com/glennf/tags/throughput
    http://blogs.sun.com/glennf/entry/getting_past_go_with_sparc
    http://www.oracle.com/apps_benchmark/doc/E-Bus-11i-PAY_ORA_SUN-T5220.pdf (this paper has some oracle init settings at the end. The kernel settings have been included in the OS upgrade)
    http://blogs.sun.com/mandalika/entry/siebel_on_sun_cmt_hardware

  • Need some help with threads...

    Hello all,
    I am working on a project at work, and I am not the best programmer in the world. I have been trying to get my head around this for a couple of days and just cannot get it to work.
    I am writing an instrumentation control program that will have three threads. One is the GUI, one will receive control information and set up the hardware, and one will check the hardware status and report it to the GUI periodically. I plan on using the invokeLater() method to communicate the status to the GUI and change the status display in the GUI. Communication from the GUI to the controller thread and from the status thread to the controller thread I had planned on being piped input/output stream as appropriate. I have a control class and a status class that need to be communicated over these piped streams. In some trial code I have been unable to wrap the piped input/output streams with object input/output streams. I really need some help with this. Here is the main thread code:
    package playingwiththreads1;
    import java.io.*;*
    *public class PlayingWithThreads1 {*
    public static void main(String[] args) {*
    * PipedOutputStream outputPipe = new PipedOutputStream();*
    * ObjectOutputStream oos = null;*
    * ReceiverThread rt = new ReceiverThread(outputPipe);*
    // Start the thread -- First try*
    * Thread t = new Thread(rt);*
    t.start();*
    // Wrap the output pipe with an ObjectOutputStream*
    try*
    oos = new ObjectOutputStream(outputPipe);*
    catch (IOException e)*
    System.out.println(e);*
    // Start the thread -- Second try*
    //Thread t = new Thread(rt);*
    //t.start();*
    /** Send an object over the pipe. In reality this object will be a
    class that contains control or status information */
    try
    if (!oos.equals(null))
    oos.writeObject(new String ("Test"));
    catch (IOException e)
    try
    Thread.sleep(5000);
    catch (InterruptedException e)
    I read somewhere that it matters where you start the thread relative to where you wrap piped streams with the object streams. So, I tried the two places I felt were obvious to start the thread. These are noted in the comments. Here is the code for the thread.
    package playingwiththreads1;
    import java.io.*;
    public class ReceiverThread implements Runnable {
    private PipedInputStream inputPipe = new PipedInputStream();
    private ObjectInputStream inputObject;
    ReceiverThread (PipedOutputStream outputPipe)
    System.out.println("Thread initialization - start");
    try
    inputPipe.connect(outputPipe);
    inputObject = new ObjectInputStream(inputPipe);
    catch (IOException e)
    System.out.println(e);
    System.out.println("Thread initialization - complete");
    public void run()
    System.out.println("Thread started");
    try
    if (inputObject.available() > 0)
    System.out.println(inputObject.read());
    catch (IOException e)
    System.out.println(e);
    Through testing I have determined that no matter where I start the thread, the thread never gets past the "inputObject = new ObjectInputStream(inputPipe);" assignment.
    Could someone please help me with this? There are other ways for me to write this program, but this is the one that I would like to make work.
    Many thanks in advance,
    Rob Hix
    Edited by: RobertHix on Oct 6, 2009 3:54 AM

    Thanks for the help, but that did not work. I tried flushing the ObjectOutputStream and it is still hanging when initializing the thread.
    Here is a better look at the code since I was helped to figure out how to insert it:
    The main method:
    package playingwiththreads1;
    import java.io.*;
    public class PlayingWithThreads1 {
        public static void main(String[] args) {
            PipedOutputStream outputPipe = new PipedOutputStream();
            ObjectOutputStream oos = null;
            ReceiverThread rt = new ReceiverThread(outputPipe);
            // Start the thread -- First try
            //Thread t = new Thread(rt);
            //t.start();
            // Wrap the output pipe with an ObjectOutputStream
            try
                oos = new ObjectOutputStream(outputPipe);
                oos.flush();
            catch (IOException e)
                System.out.println(e);
            // Start the thread -- Second try
            Thread t = new Thread(rt);
            t.start();
            /* Send an object over the pipe.  In reality this object will be a
             * class that contains control or status information */
            try
                if (!oos.equals(null))
                    oos.writeObject(new String ("Test"));
                    oos.flush();
            catch (IOException e)
                System.out.pringln(e);
            try
                Thread.sleep(5000);
            catch (InterruptedException e)
    }The thread code:
    package playingwiththreads1;
    import java.io.*;
    public class ReceiverThread implements Runnable {
        private PipedInputStream inputPipe = new PipedInputStream();
        private ObjectInputStream inputObject;
        ReceiverThread (PipedOutputStream outputPipe)
            System.out.println("Thread initialization - start");
            try
                inputPipe.connect(outputPipe);
                inputObject = new ObjectInputStream(inputPipe);
            catch (IOException e)
                System.out.println(e);
            System.out.println("Thread initialization - complete");
        public void run()
            System.out.println("Thread started");
            try
                if (inputObject.available() > 0)
                    System.out.println(inputObject.read());
            catch (IOException e)
                System.out.println(e);
    }Does anyone else have and ideas?

  • I need some help , for create some paper on air

    Hi everyone
    I need some help , i work in a static sequence from Tehran street (1 frame), i paint damages on this frame in Photoshop because i need war atmosphere, then i add some smoke and cloud with particular .
    but i think this sequence is not realistic yet
    now i want add some moving paper in air and on street
    do u have any solution for how can i make this paper and moving those
    Thanks a lot
    and pardon me for bad English
    Ali Molavi

    The best tool to add this kind of particle is After Effects.
    If you have the Creative Cloud then I recommend you download that.
    Slightly annoying voice over, but here is a youtube tutorial you can follow top make floating particals. You can adjust it to make it look exactly as you want.
    http://www.youtube.com/watch?v=dq2op6yqvFk&noredirect=1

  • TS1702 I need some help the apps were downloading slowly

    The apps downloaded but it didn't cause it's stuck in downloading mode what should I do?
    The iOS 6 update didn't work.
    Please I need some help.
    The apps didn't download.
    Talking Angela and Ginger didn't download.
    Talking Santa didn't update.

    Try moving the existing backup file to a safe location so that iTunes has to create an entire new file.  The backup file is located here. You can delete that backup once you get a successfull backup.
    iTunes places the backup files in the following places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: If you do not see the AppData or Application Data folders, you may need to show hidden files (Windows XP,  Windows Vista and Windows 7), or iTunes may not be installed in the default location. Show hidden files and then search the hard drive for the Backup directory.

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

Maybe you are looking for

  • PO history is not updating in SRM EC PO

    Hi We have implemented SRM 7.2 EC scenarios. Againt the PO in ECC we generate the Down payment request and Down payment document. It update in as PO history within ECC PO. But Related documents tab with SRM  PO we can't see down payment request numbe

  • Warning: No more firmware rollback? Or from 1.2 it's only forward?

    Apple has said this in regards to restoring our iPods: Click the Restore button. You will be prompted with one or more restore options that may prompt iTunes to automatically download of the latest iPod Software. The 4 possible restore options are: R

  • Customer payment methods and customer tolerance grps

    hello,   for lockbox customer what payment mehod do we assign in master record, also how do we go abt setting tolreance grp and where do we set this up. please let me know. thanks

  • Popup Script for Save, edit & Delete Records

    Hi Friends, I developed an application, has got buttons like Save, edit, delete particular records. Is there any Java script for the above, to show popup Screens, like the   confirm java script <SCRIPT LANGUAGE="javascript"> <!-- function CONFIRM(){i

  • Field on the EFW2 file for the Federal w-2's, 941-ss box on the W-3SS form

    HI, This is regarding the layout of the file W-3SS with the check box on the top showing 941-SS. When we did the W-2's and W-3 for the Virgin Islands employee's manually, this wouldn't be a problem. But since 2006 when we filed the MMREF electronical