Can you explain the code ?

Hi friends i have got a code its working fine but i am not getting the concept in the code can any one tell which line is the ITAB declaration and which lines are workarea declarations of the structure.
TYPES: BEGIN OF ST_ZWS,
            RADIO TYPE C,
            DESCRIPTION TYPE ZRIF_WS-DESCRIPTION,
      END OF ST_ZWS.
DATA: IT_ST TYPE TABLE OF ST_ZWS,
       WA_ST TYPE ST_ZWS,
      IT_ZWS TYPE ZWS,
      WA_ZWS TYPE ZWS.
Please explain the code here...

hello
the code is as follows:
This part of the code defines structure st_zws.
TYPES: BEGIN OF ST_ZWS,
RADIO TYPE C,
DESCRIPTION TYPE ZRIF_WS-DESCRIPTION,
END OF ST_ZWS.
Based on the above defined structure, this statement defines one internal table
DATA: IT_ST TYPE TABLE OF ST_ZWS,
This statement defines work area to the above defined Internal table
WA_ST TYPE ST_ZWS,
This statement defines another internal table with reference to ZWS
IT_ZWS TYPE ZWS,
This statement defines workare to the above defined internal table
WA_ZWS TYPE ZWS.
cheers!!!

Similar Messages

  • Cffunction and how to ? can someone explain the code to me line by line

    Hello i went to get this online and i want to test it.
    the udf is supposed to
    * CSVFormat accepts the name of an existing query and
    converts it to csv format.
    * Updated version of UDF orig. written by Simon Horwith
    my question how to break it down.
    can someone explain the code to me line by line
    thanks

    silviasalsa wrote:
    > thanks
    >
    > but line by line
    >
    > what is
    > if(ArrayLen(Arguments) GTE 2) qualifier = Arguments[2];
    > if(ArrayLen(Arguments) GTE 3 AND Len(Arguments[3]))
    columns = Arguments[3];
    > returnValue[1] = ListQualify(columns, qualifier);
    > ArrayResize(returnValue, query.recordcount + 1);
    > columns = ListToArray(columns);
    > for(i = 1; i LTE query.recordcount; i = i + 1)
    > {
    > rowValue = ArrayNew(1);
    > ArrayResize(rowValue, ArrayLen(columns));
    > for(j = 1; j LTE ArrayLen(columns); j = j + 1)
    > rowValue[j] = qualifier & query[columns[j]]
    & qualifier;
    > returnValue[i + 1] = ArrayToList(rowValue);
    > }
    > returnValue = ArrayToList(returnValue, Chr(13));
    > return returnValue;
    > }
    >
    > thanks
    Apparently this UDF takes two optional parameters so that one
    can define
    (A) a text "qualifier" to use in the CSV file, this is
    usually the
    single quote|tick ['] mark - but sometimes one wants this to
    be a
    different character and (B) what columns to use in the
    output in case
    one does not want to use all the columns in the record set
    in the
    outputted CSV file.
    The if statements are checking for these optional parameters
    and if
    found setting the values in them to internal variables.
    These
    variables are then used in the rest of the logic to create
    the CSV output.
    HTH
    Ian

  • TS1292 if the code scrach off the card how can you redeem the code?

    if the code scraches off the card how can you redeem the code?

    Try Here  >  http://support.apple.com/kb/TS1292
    If no joy...  Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Can someone explain the code for having the Accordion panels closed?

    I located the answer to my own question (how to get all the accordion panels to remain closed when the browser opens) but I still don't understand the answer. Can someone explain this?
    This feature is only supported when using variable height panels, so you must pass a false into the Accordion's constructor for the "useFixedPanelHeights" constructor options, and a -1 for the "defaultPanel" option:
    <script type="test/javascript">
    var acc1 = new Spry.Widget.Accordion ("Acc1", { useFixPanelHeights: false, defaultPanel: -1});
    </script>
    Angela

    GPDMTR25 wrote:
    I located the answer to my own question (how to get all the accordion panels to remain closed when the browser opens) but I still don't understand the answer. Can someone explain this?
    This feature is only supported when using variable height panels, so you must pass a false into the Accordion's constructor for the "useFixedPanelHeights" constructor options, and a -1 for the "defaultPanel" option:
    <script type="test/javascript">
    var acc1 = new Spry.Widget.Accordion ("Acc1", { useFixPanelHeights: false, defaultPanel: -1});
    </script>
    Angela
    Hi Angela,
    You are right, the only way it will work is by setting the fixed height to false. As for the for the default panel option, -1 is not a panel and if you had 3 panels we could have used the number 3 (panel1 = 0) or 99 or whatever as long as there is no panel with that number. If we had used the number 1 for instance, then the 2nd panel would be opened by default.
    Hope this helps.
    Ben

  • Can  you explain the difference

    Hi,
    Gurus, I have executed two queries, using TKPROF took output, unfortunately, I couldnt see the difference, can you please tell me is there any difference between these two queries ... ?
    sql>exec dbms_monitor.session_trace_enable( waits=>true );
    Case 1
    =====
    SQL> select count(*) from afe_reports;
    COUNT(*)
    6
    Execution Plan
    Plan hash value: 2793097447
    | Id | Operation | Name | Rows | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 2 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | | |
    | 2 | TABLE ACCESS FULL| AFE_REPORTS | 6 | 2 (0)| 00:00:01 |
    Statistics
    0 recursive calls
    0 db block gets
    3 consistent gets
    0 physical reads
    0 redo size
    227 bytes sent via SQL*Net to client
    240 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    Case 2
    ======
    SQL> select count(1) from afe_reports;
    COUNT(1)
    6
    Execution Plan
    Plan hash value: 2793097447
    | Id | Operation | Name | Rows | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 2 (0)| 00:00:01 |
    | 1 | SORT AGGREGATE | | 1 | | |
    | 2 | TABLE ACCESS FULL| AFE_REPORTS | 6 | 2 (0)| 00:00:01 |
    Statistics
    1 recursive calls
    0 db block gets
    3 consistent gets
    0 physical reads
    0 redo size
    227 bytes sent via SQL*Net to client
    240 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    Select count(*) from afe_reports ---- 1st query
    Select count(1) from afe_reports ----- 2nd query
    Regards

    S both of us already told you there is no difference between the two. So, it is upto you to decide - whether you want to use count(*) or count(1).
    It hardly matters.
    After all it consumes the same resource and perform the same task.
    So, It is your choice.
    Enjoy!
    Regards.
    Satyaki De.

  • Can you explain the members of AIRealMatrix?

    Hello,
    AIRealMatrix has the follwing members in CS4
    ASReal
    a
    ASReal
    b
    ASReal
    c
    ASReal
    d
    ASReal
    tx
    ASReal
    ty
    please explain what is each point represents?

    This is a pretty standard transformation matrix structure. a, b, c & d are the usual 2 x 2 matrix that indicates rotation & scaling. tx & ty are the translation to the point around which the scaling & rotation are performed (usually its a translation back to the origin unless you have a good reason otherwise). You're probably better off looking at Wikipedia or Wolfrum if you need more explanations on this but the good news its very common so there should be a lot of useful explanations -- its really outside of the scope of this forum.

  • Can you explain me clearly how to make company code visible in cost center

    can you explain me clearly how to make company code visible in cost center master data using tcode kmlv

    Hi,
    There is no way to activate the company code field. If your Controlling Area and Company Code have one to one Assignment, then Company code is defaulted from the Controlling Area. However, if multiple Company Codes are assigned to one Controlling Area, then Company Code becomes a mandatory field in the Cost Center master data
    Also, in case you have multiple company codes assigned to one controlling area, please check the setting of the Controlling Area in Configuration and see if have selected "Cross Company Code Cost Accounting" . Also, check if you have assigned all the company codes to the controlling area
    Regards
    Mahendra

  • How many times can you enter the wrong pin code on an iphone before it resets?

    How many times can you enter the wrong pin code on an iphone before it resets itself?

    Hey Robin.T,
    Thanks for the question. The following article provides the answer to your question:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212
    If you enter the wrong passcode six or more times, you'll see a message that says one of the following:
    iPhone is disabled
    iPad is disabled
    iPod touch is disabled
    You can also set your passcode lock to wipe the device after 10 unsuccessful attempts (Settings > General > Passcode Lock > Erase Data)
    Thanks,
    Matt M.

  • What do you do when you can't read the code on a iTunes gift card?

    What do you do when you can't read the code on a iTunes gift card? I tried taking it back to the store with my reciept, but they said I would have to contact Apple support. Am I out just out $25 dollars?

    See this support article:
    http://support.apple.com/kb/TS1292
    Instructions are at the bottom of that article.
    BTW, this forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. Normally you want to ask your questions in the general iTunes forums.
    Regards.

  • TS1811 Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows

    Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above  "
    iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    "....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows 4 same

    Archived - iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
    Products Affected
    iTunes 7 for Mac, iTunes 8 for Mac, iTunes 9 for Mac
    This article has been archived and is no longer updated by Apple. 
    Symptoms
    After installing the Mac OS X 10.4.9 Update, iTunes may be unable to properly authorize your computer to play your iTunes Store purchases.
    Resolution
    The following steps will delete your network preferences. Most broadband connections do not require any special settings to connect, but if your connection does or if you are not sure, please contact your ISP or network administrator for further assistance.
    Important: You must be logged in as an Administrator.
    Click the Finder icon in the Dock.
    Choose Go to Folder from the Go menu.
    Type /Library/Preferences/SystemConfiguration
    Click Go.
    In the Finder window, locate the file named NetworkInterfaces.plist.
    Drag this file to the Trash.
    Restart the computer.
    Once your computer has restarted. You will not be able to connect to the Internet. Now you will need to refresh your network settings to be able to connect again.
    Choose System Preferences from the Apple menu.
    Choose Network from the View menu.
    To refresh your network settings, from the Location pop-up menu, choose New Location.
    Type a name for your location and click OK.
    Click the Apply Now at the bottom right to accept the changes.
    If your network connection requires any special settings, you will need to put them back in at this point. Once you have made these changes you should be able to connect to the Internet again and authorize your computer to play your iTunes Store purchases.

  • Can you share the source code for Customer ToughDay stress test tool?

    Hello,
    I would like to try Customer ToughDay tool (http://dev.day.com/docs/en/cq/current/testing/tough-day.html) for load testing of our author instances of CQ5. While I am able to execute the application, the logging with log4j seems to be configured incorrectly.
    Can you share the source code for toughday-5.5.jar?  I think it can be a very good starting point for those of us who are new to CQ5 and need to load test it.
    Thank you!

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Can you explain steps in the Async and Sync scenarios JDBC to RFC.

    Hi,
    Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
    Like,
    The data is picked up from the  database table through JDBC adapter.
    It is passed on to SAP  by calling the RFC. RFC gets executed         
    successfully. The status is returned by the RFC. The status needs to be
    updated back into the SQL database table.
    Is this a sync case or async case.
    What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
    Soorya

    hi check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    JDBC Synchronous call using BPM  
    Data Types -
    1) File Input
    2) JDBC Req
    3) JDBC Response
    4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
    Message Types
    4 for each data type
    Message Interfaces
    1) Async, Outbound, Interface, to receieve the file
    2) Async, Inbound , Interface to send the file from XI
    3) Async, Absract , Interface of type File message type to recieve the message in the BPM
    4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
    5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
    Message Mapping:
    1)Mapping between File Req to the JDBC req
    2) JDBC Response to File Response
    Interface mapping:
    1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
    Use corresponding mapping for Req and Resp..
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Can you explain when using keywords and addding them to various clips pressing ctrl and a number eg. 1 or 2 it simply closes down FCPX.  Just to the dock as would th yellow -sign. As you gather I am new to this program having only used Final Cut Express 4

    Can you explain when using keywords and addding them to various clips pressing ctrl and a number eg. 1 or 2 it simply closes down FCPX.  Just to the dock as would the yellow -sign.  I am new to this program having only used Final Cut Express 4 previously.
    iMac (early 2009) 24in 2.93GHz 4GB 1066MHz DDR3 SDRAM (To be upgraded ot 8GB in the nextfew days) os x 10.7.2 Lion
    Re: Why don't my arrows on the time line operate and allow me to move to the start and end of the timeline. Iam using the trial version 

    Check System Preferences. I think Control-1 is used by something in the OS now. Switch it off. It's a major p[ain the way the OS is taking over more and more of the keyboard, allowing less options for application use.

  • Can soemone explain this code to me

    can someone explain this code to me
    import javax.swing.*;
    import BreezySwing.*;
    import java.util.Random;
    public class PennyPinch extends GBFrame
         private JButton enterButton;
         private JTextArea outputArea;
         private int[][] board = {{1,1,1,1,1},{1,2,2,2,1},{1,2,3,2,1},{1,2,2,2,1},{1,1,1,1,1}};
         private boolean[][] landing = new boolean[5][5];
         private int total;
         public PennyPinch()
         enterButton = addButton ("Pitch",2,1,1,1);
         outputArea = addTextArea("",4,1,3,4);
         public void pitch()
              Random generator = new Random();          
              int randomRow = generator.nextInt(5);
              int randomColumn = generator.nextInt(5);
              total += board[randomRow][randomColumn];
              landing[randomRow][randomColumn] = true;
         public void buttonClicked (JButton buttonObj)
              pitch();
              displayList(board, outputArea);
         private void displayList(int a[][], JTextArea output)
    output.setText("");
              for (int row = 0; row < 5; row++)
    for (int col = 0; col < 5; col++){
    if(landing[row][col] ==true)
                                  output.append(Format.justify('r',"P", 3) + " ");
                                  if (col == 4)
    output.append("\n");
                             else
                             output.append(Format.justify('r', a[row][col], 3) + " ");
                             if (col == 4)
    output.append("\n");                    }
              output.append("the total is " + total);
         public static void main (String[] args)
    PennyPinch theGUI = new PennyPinch();
    theGUI.setSize (300, 300);
    theGUI.setVisible(true);
    }

    Knowing toilets or studying under George?What kind pervert are you?
    What is written in public toilets o/c!Ah yes I see, I found example questions.
    2:3.4 please complete the following well known saying
    by filling in the blank
    Whilst you are reading what I put
    You are blank on your foot
    2:3.5 Upon seeing the announcement 'Toilet
    tennis' and following the instruction ' please
    see other wall for details' what is the standard
    message on the other wall.2:3.4. is the correct answer 'micturating' ?
    2:3.5. I believe the answer is Ibidem.

  • Can you explain this for me?

    Hi Guys,
    I'm a novice at best here, and get great satisfaction
    tinkering and figuring things out with web sites. I have a question
    about how to program a flash page that has a main navigation menu
    on the left side of the page that stays constant while the right
    side of the screen switches pages when you click a button.
    I lifted the code from one of the navigation buttons and it
    reads as follows:
    on (rollOver) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    gotoAndPlay("s2");
    on (release) {
    if (_root.b<>2 and _root.m<>1) {
    _root.cont1.gotoAndPlay("start");
    _root.b = 2;
    I know the "on realease" command will call a separate page on
    to the screen but in order to acheive this, what do I have to do to
    fly in the separate page? What's the connection?
    Can you explain to a true novice what is happening here or
    give me a resurce to learn more about this technique?
    I really appreciate your time and knowledge.
    Thanx again

    OK your code isn't quite there. First of all look up
    'Buttons' in the Flash Help guide and learn more about them.
    'on(release)' is a 'handler' that respondes to a mouse click, it
    doesn't do anything else, other than what you tell it to. it is the
    same for 'on(rollOver)', 'on(rollOut)', and others.
    'gotoAndPlay(frame OR label)' tells the playhead to move to a
    new place in the timeline your calling, where you have placed new
    content. You can keep the 'navbar' showing by placing it on a layer
    that doesn't change throughout the timeline, and on different
    'layers' you can place keyframes and put new content in them to
    create a 'page' so to speak.
    HERE is a very
    basic example of the principle, however in this example I have
    placed the button handlers on the main timeline and you call them a
    little differently this way you say:
    my_btn.onRelease = function() {
    //...do something
    but the basic system is the same. it's generally a good idea
    to put your code on an actions layer in the timeline, instead of
    attaching it to buttons or clips, it makes it easier to reference,
    and debug.

Maybe you are looking for