Why do we need to code  loop statement in both PBO and PAI in Table control

Hi friends,
i have 2 questions-
Q1-why do we need to code a loop and endloop statement in both PBO and PAI in Table control,sometimes even empty as well?
Q2-what r d dynpro keywords?

Hi,
It is required to pass information from internal table to table control so we loop it in PBO and to get the updated information back, we loop in PAI and update internal table content.
To get more knowledge on Table controls check these threads -
table control
Table Control
Hope this helps.
ashish

Similar Messages

  • Why dont we need process code for outbound master idoc?

    For inbound master idoc we need a process code (EX. matmas03-MATM) but for <b>outbound master idoc</b> why dont we need process code?can anybody clarify me on that.
    thanx in advance....

    plz clarify me on that...its urgent...

  • Sample code in PBO and PAI

    Hi all,
    i created a new field in the customer master (xd03) screen with a button. if i click that button, it will display the next screen with the new field. now i need to write the code in PBO and PAI events in that screen to get the data from table and to change the already exiting data.
    can any body provide me the sample code wht to write in the PBO and PAI eventts.?
    thanks in advance.
    kp

    Hi,
    I think you find the answer but i still answered your question.
    You can use the function module 'DYNP_VALUES_READ' to read value you want and use the function module ' HELP_VALUES_GET_WITH_TABLE' to get the values from kna1 table.
    Good luck.

  • I need some working examples with pl/sql records and pl/sql tables.

    i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevel.how to use then procedures and functions and packages.

    i am new to pl/sql tables and pl/sql records. i need some working examples on pl/sql records and pl/sql tables from basics to hoghlevelThere is no such thing as PL/SQL "+tables+". This is a misnomer and creates the perception that a PL/SQL "table" is somewhat like a SQL table. Nothing can be further from the truth. The correct term is "+collection+" or "+associative array+". Compared to SQL tables, these are very primitive structures, very rigid structures, cannot scale, and can be quite expensive memory wise.
    That is not to say do not use an associative array or collection. These are very useful tools.. but only when applied correctly. Like using a collection for a bulk fetch to transfer more rows between the PL and SQL engines and thus decrease context switching.
    Unfortunately, quite often we see the row-by-row and slow-by-slow approach - where the developer uses SQL as an I/O only layer, pulls rows into expensive PL engine memory into record structures and arrays, and then process the rows there.
    So before looking at working example (even the wrong approach's code will compile and run and work in practice), make sure that you know the fundamentals of correctly using the PL engine and correctly using the SQL engine. And these fundamentals can be summed up into a very basic rule:
    Maximize SQL. Minimize PL/SQL+
    Get this rule right, and you will have a sound foundation for writing performant and scalable Oracle applications.

  • On my iphone4 i need to be able to use both TDS and Yahoo e-mail.  TDS works only sporadically.  For instance, today I was able to both send and receive, then an hour later could not send.  got the message that the server was not recognized.

    On my iphone4 I need to be able to receive and send both TDS and Yahoo e-mail accounts (I also need to access from my Macbook Pro and my HP desktop).  I have NO problem with Yahoo, but with TDS, the e-mail seemed to work on my phone.... and then it didn't.)  In adding the TDS account, I chose "other" ( TDS is somehow accessed on the back end through gmail).  For the incoming server I used the Incoming Sever Name of pop.gmail.com and the Outgoing Mail Server as smtp.gmail.com.  I have using SSL "on" and the server port is 995.  Is this setup correct for TDS?

    FYI: POP will by default, delete messages from the server after downloading them (This applies to most pop clients, computer or mobile). POP is old tech and is not recommended if IMAP or Exchange are available. The default when setting up a g-mail type account is IMAP. Full synchronization with the server. You may also be able to set it up as an Exchange account, allowing for push e-mail and sync of calendars and contacts as well. See the Gmail help pages for instructions.

  • Need help with Loop Statements!!!

    Hi
    im a student just starting to learn Java. I have an assignment but am stuck on the folowing question:
    "Describe the operation of the 'for' loop Flow Control statement explaining the function of the initialisation, conditional and iteration parts.
    Also describe the operation for the 'while' loop Flow Control statement expaling the function of the initialisation, conditional and iteration parts."
    Could someone please help answer it?
    (Ive looked in some books but cant find much on asnwering it)
    Any help would be much appreciated!
    Thanks

    "Could someone please help answer it?
    (Ive looked in some books but cant find much on asnwering it)" - Yes
    put this into a for loop so that it takes any number of arguments from the command line - eg
    my name is Susie Woosie Floosie (and any number of additional names)
    at present it will only output - eg
    my name is Susie Woosie
    public class forLoop{
       public static void main (String []args) {
          String firstName = args[0];
          String secondName = args[1];
          System.out.println("my name is "+firstName+" "+secondName);

  • Need sample code to get handle of Selected rows from ADF Table

    Hi,
    I am new to ADF. I have an ADF table based on VO object.On some button action,I need to get handle of selected rows in application module.
    If anybody is having sample code to do this then please share with me.
    Thanks,
    ashok

    wow now link http://blogs.oracle.com/smuenchadf/examples/#134 is working.thanks a lot.
    also the link http://baigsorcl.blogspot.com/2010/06/deleting-multi-selected-rows-from-adf.html is very useful. Thanks a lot for Sameh Nassar too.He made it clear that in 11g Select column is not available for a ADF table and provided a solution to get Select column.
    Thanks,
    ashok

  • Need SQL code for this logic - -  From Serial and To serial no.

    In Forms 4.5 Screen I have two text boxes where i will be entering From Serial No
    and to serial no.
    I want the code which will check whether any number in between these from and to serial exists in a table or not ?
    For Example
    Select * from t; -- contains
    serial number
    321-456-789
    123-456-654
    321-569-986
    321-569-987
    When I enter from Serial no 321-456-789 and to serial no as 321-456-789.. I should get a message sayinig that 321-456-789 exists.
    When I enter from Serial no 321-569-986 and to serial no as 321-569-988.
    I should get a message sayinig that 321-456-986 exists.
    I should get a message sayinig that 321-456-987 exists.
    I should get a message sayinig that 321-456-988 not exists.
    is it possible with a SQL query or do we need to go for procedure or temp table ?
    If anybody ahving similar code please post it here.
    Thanks in Advance
    Devender

    Hi Devender,
    Try this :
    SQL> select * from t;
    SN
    321-456-789
    123-456-654
    321-569-986
    321-569-987
    SQL> var sn1 varchar2(11)
    SQL> exec :sn1 := '321-569-986'
    Procédure PL/SQL terminée avec succès.
    SQL> var sn2 varchar2(11)
    SQL> exec :sn2 := '321-569-988'
    Procédure PL/SQL terminée avec succès.
    SQL>1  select a.sn, decode(t.sn,null,'does not exists','already exists')
      2  from
      3  (select substr(replace(:sn1,'-','')+rownum-1,1,3)||'-'
      4        ||substr(replace(:sn1,'-','')+rownum-1,4,3)||'-'
      5        ||substr(replace(:sn1,'-','')+rownum-1,7,3) as sn
      6  from (select level
      7        from dual
      8        connect by level <= (replace(:sn2,'-','')-replace(:sn1,'-',''))+1
      9       )
    10  )a,
    11  t
    12* where a.sn=t.sn(+)
    SQL> /
    SN                            DECODE(T.SN,NUL
    321-569-986                   already exists
    321-569-987                   already exists
    321-569-988                   does not exists
    SQL> exec :sn1 := '321-456-789'
    Procédure PL/SQL terminée avec succès.
    SQL> exec :sn2 := '321-456-789'
    Procédure PL/SQL terminée avec succès.
    SQL> l
      1  select a.sn, decode(t.sn,null,'does not exists','already exists')
      2  from
      3  (select substr(replace(:sn1,'-','')+rownum-1,1,3)||'-'
      4        ||substr(replace(:sn1,'-','')+rownum-1,4,3)||'-'
      5        ||substr(replace(:sn1,'-','')+rownum-1,7,3) as sn
      6  from (select level
      7        from dual
      8        connect by level <= (replace(:sn2,'-','')-replace(:sn1,'-',''))+1
      9       )
    10  )a,
    11  t
    12* where a.sn=t.sn(+)
    SQL> /
    SN                            DECODE(T.SN,NUL
    321-456-789                   already exists
    SQL> Nicolas.

  • I need Apple's Mission Statement for a paper and I cannot find it anywhere...

    I need to find Apple's mission statement for a paper for school and I cannot find it anywhere.  This is too bad because I am doing research on the top companies and their mission and value statements and I figured that Apple's would be the top pick...   Does anyone know where I could find their mission statement?
    Any help would be GREATLY appreciated!

    Justine
    It seems apple has never officially issue a formal Mission Statement, but...
    Two posts at this link are pretty good in lieu of one:
    Re: What is Apple's mission and vision statement? Where can I find it?
    CCC

  • Why do i need to wait on hold for 30 min and still no help

    I pay entirely too much money to verizon to not get the help i need when ive been dealing with subpar tv service since i signed up 18 months ago.  My on demand has never worked.  I cannot view my channel listings on any of my tv's.  I cannot search tv shows.  My tv freezes up most of the time.  I am unable to record shows even though i have plenty of room on my DVR.    This is not what i expected for $150 a month.  I hate comcast but you are leaving me no choice but to cancel your service and go with your competition.  Get with the program or i will not only cancel your tv, but also my moibile service that i pay almost $200 a month for. 

    It was way worse than that.....after 43 minutes on hold, I was hung up on.  I called back, using the Order Now number.  Surprise! A rep answered in under 2 minutes.  Could he help me?  No!  He transferred me right back to the same phone tree where I waited on hold for another 45 minutes before a rep finally answered.  Apparently I have to have a tech come out on Friday. 
    Also, I would absolutely love to quit Verizon over this.  First, I will have to find an alternative and then I'm sure when I actually am able to quit, I'll get a big apology and how much they love me.
    Take care of your customers Verizon.  Have you heard of Social Media?  Customer sentiment?  You should start thinking about that and deal with your customers issues promptly and politely.

  • Why do I need to sign in with my adobe id and go through 3 pages of profile info every day?

    It seems every time I attampt to log into adobe, or somehow call up and adobe web page from an adobe creative cloud app, I am asked to sign in...and then the form acts as if this were me creating an account...requesting 3 pages of info to create my profile, that is already filled in. Having to go through this it seems at least once a day is becoming tiresome.
    I am using the chrome browser in windows 7 (64).
    Also, it seems My Adobe is quite broken for me if I do not go through this process manually even if it appears that I am indeed signed in. Which copmpletely messes up my access to support, among other problems.

    Hi SummaeStudios,
    Please download and install this version of AAM
    Windows
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4773
    Please follow up if you continue to have difficulties after doing so.
    -Dave

  • Why do I need to be connected to itunes to authorize and play videos I already downloaded?

    I downloaded some episodes of Sherlock but I have to be connected to the internet to authorize my account to play it every time. Isn't the point of downloading it so you don't have to be connected to the internet?

    Maybe it has not completed download. Try connecting to the internet first to confirm. Follow these steps:
    1. Open iTunes. From the Store menu at the top, choose Check for Available Downloads.
    2. Enter your account name and password when prompted, then click the Check button. Your purchase should begin downloading.
    Hope this helps.

  • Need to be able to use both SSO and manual login to the WAS

    Hi,
    we are currently on NW7 SP20 (SPS18) but we are still using 3.x queries and web applications extensively. We have SSO enabled on all systems and that works fine. However, this does not give us the possibility to test for example roles by logging on as a test user. How can we keep SSO but also allow us to log on as a different user to the WAS when running queries or web templates.
    Typical test scenario:
    1) Open WAS3.x or Query Designer 3.x and log on as a test user
    2) Close all browser windows
    3) Execute web template or query in browser
    4) At this point SSO takes over and logs the tester on as him/herself. What we would like here is to have the option of either logging on manually /by for example clicking a log on button) or using SSO (say by not clikcing the login button within 5 seconds or clikcing a SSO button). How can we get this to work?
    Kind regards
    Kenneth Eriksen

    Actually, we want both...
    Most of the time, SSO is desired, but when testing role changes etc we need to be able to log on with a test user.
    The desired scenario:
    When you try to run a web report/query and have not logged on, the system should offer you two options:
    1) Manual log on
    2) Single sign on
    If you wait for a specified time (say 3 seconds) without selecting an option then SSO is used automatically (to avoid having to select SSO every time you need it).
    If you click manual log on then you should be prompted for a username/password and be logged on as the specified user.
    Can this be done at all?
    Kind regards
    /Kenneth

  • Why are grey colors displayed as brown colors in both PS and AI of the CCcloud on Windows 8?

    I have a new Asus Ultrabook with Adobe PS and AI installed from creative cloud. Unfortunately colors are displayed wrong in both programs.
    Can somebody help me out?
    Kind regards,
    Patrick

    Leijte wrote:
    So in short does that mean that I am screwed with my Tachi ultrabook...
    Most likely not and it doesn't necessarily mean that your screen is bad.
    Is this a manufacturing mistake from Asus? Is their something I can do or do I need to sent it back?
    Most manufacturers  do not include manufacturer supplied color profiles for their screens and the calibration is left to the users to make the color profiles themselves. By default Windows assigns the sRGB color space for the monitor profile. For monitors that come with manufacturer supplied color profiles the name of the profiles are not with the names of standard color spaces. So, I don't know how you ended up with your monitor profile being AdobeRGB in the first place as shown on your first screen shot. Anyway, manufacturer supplied monitor profiles in most cases are not any better than those without profiles. This is because they can not afford to calibrate each unit individually but only a few and make a guess about the rest of the units and create the profile that is what they think an average color space of all units but they could be very wrong.
    Most computer users are not designers and even a lot of designers don't create custom color profiles for their monitors. If the color space of the monitor luckily is closer to the color space of the monitor profile it may be good enough for a lot of users. If it is not the users may experience unexpected colors due to color management conversions without correct color profile. The monitor color profile tells the color managed programs how your monitor displays colors and if the profile is not correct the colors will be wrong.
    To create the monitor color profile yourself for the best result you have to use a color measuring device and calibrating software that works with it but unfortunately this cost additional money. There are free programs for generating color profiles like this one without using color measuring devices but relying on eyeballing. These profiles are not as good as those created with color measuring device but most likely will be better than the default profile.

  • I need a central hard drive for both MAC and PC to read and write files interactively. Would the time capsule work?

    I've just purchased a new mac and realised that I can not write directly to my external harddrive that I use with my PC.
    I need a drive that both my Mac and PC can work with. Could someone tell me what the best solution for this is??
    Many thanks in advance.
    Stuart

    Install a tool such as the NTFS-3G drivers on the Mac.
    (60694)

Maybe you are looking for

  • Asus eee PC 1005HA No network interfaces

    Hi everyone. I am pretty new to Linux, but I have played with Arch, amongst other distros, in VirtualBox before. Today I got a nice shiny new eee PC 1005HA. I always intended to install Linux on it, and while I know that Arch isn't usually considered

  • How history tables like MBEWH applied to Inventory cube 0IC_C03

    Hi BW Gurus, Need your advice on this. How actually we can applied history tables like MBEWH, MARCH, MCHBH, MKOLH, MSKUH link with the cube? Is it create as master data or create customer exist to 2LIS_03_BF data source? As my concern is how actually

  • Purchase order - External send

    Hi I am using the functionality "External send" for sending the PO by email to vendor. PO is appearing as PDF in the mail. The email going to vendor contains PO in Script form. I want to send the PO in the form of "customized smart form" developed by

  • No mapping  between account names and security IDs was done

    I've to give access rights to some folders of server from client machine. But using prompt ECHO Y|CACLS S:\END /E /P 15dsd1s.DBSERVER\Administrator:F its showing me the error "No mapping between account names and security IDs was done." Kindly sugges

  • Can you define motion paths in Captivate 8 responsive projects?

    I haven't purchased Captivate 8 yet. Just wondering, can you define motion paths in responsive projects?