Help with the ABAP code

Hi "Friends",
I have small problem, but i don't know how to solve it.
I changed an old program which had just executable report function. The display was written with "WRITE" sentence.
here is the code:
           WRITE: / OUTPUT-MATKL(4), '|',
                   T023T-WGBEZ, '|',
                  AT 30 OUTPUT-MATNR+12(6), '|',
                  AT 39 OUTPUT-MAKTX, '|',
                  AT 90 OUTPUT-LABST, '|',
                  AT 110 OUTPUT-OMENG, '|',
                  AT 135 OUTPUT-BMENG, '|',
                  AT 165 VERFUEGBAR, '|'.
How can I set in new code that the columns will start at the same point?
New code:
FORM BUILD_LINE USING  IW_DATA.                             "$001 start
  FIELD-SYMBOLS: <L_VALUE>,                                 "$001
                 <L_DATUM_EX>.                              "$001
  DATA: L_LEN TYPE I.                                       "$001
  DATA: L_STRLEN TYPE I.                                    "$001
  DATA: L_TYPE.                                             "$001
  DATA: H_DATE_EXTERNAL(10) TYPE C.                         "$001
  CLEAR: G_TRANSFER.                                        "$001
  REFRESH:  GTW_FIELDS.                                     "$001
  APP_NAME 'MATKL'.                                        
  APP_NAME 'WGBEZ'.                                        
  APP_NAME 'MATNR'.                                        
  APP_NAME 'MAKTX'.                                        
  APP_NAME 'LABST'.                                        
  APP_NAME 'OMENG'.                                        
  APP_NAME 'BMENG'.                                        
  APP_NAME 'VERFUEGBAR'.
And my question is how to set in new code that the A column starts AT 30, second AT 90.... How to set this?
I put the AT 30 infront of the APP_NAME, but doesn't work!! Please help.
Thanks for the help,
<b><REMOVED BY MODERATOR></b>... and it is urgent )
BR
saso
Message was edited by: Saso
        Saso Poljansek
Message was edited by:
        Alvaro Tejada Galindo

Uf, but I would like to write on unix file now and this write is'n possible anymore...
Here is the code I need to change... At this piece of code i need to change that the columns will be a the same place as was before when I used write sentance... There is another external program behind and I need to have the same structure as I have before....
*&      Form  build_line
      text
     -->P_I_DATA  text
FORM BUILD_LINE USING  IW_DATA.                             "$001 start
  FIELD-SYMBOLS: <L_VALUE>,                                 "$001
                 <L_DATUM_EX>.                              "$001
  DATA: L_LEN TYPE I.                                       "$001
  DATA: L_STRLEN TYPE I.                                    "$001
  DATA: L_TYPE.                                             "$001
  DATA: H_DATE_EXTERNAL(10) TYPE C.                         "$001
  CLEAR: G_TRANSFER.                                        "$001
  REFRESH:  GTW_FIELDS.                                     "$001
  APP_NAME 'MATKL'.                                         "$001
*****************write also this from the customizing table
  APP_NAME 'WGBEZ'.                                         "$001
  APP_NAME 'MATNR'.                                         "$001
  APP_NAME 'MAKTX'.                                         "$001
  APP_NAME 'LABST'.                                         "$001
  APP_NAME 'OMENG'.                                         "$001
  APP_NAME 'BMENG'.                                         "$001
*****************write also this from the customizing table
  APP_NAME 'VERFUEGBAR'.                                    "$001
  LOOP AT GTW_FIELDS.                                       "$001
    CLEAR SY-SUBRC.                                         "$001
    ASSIGN COMPONENT GTW_FIELDS-NAME OF STRUCTURE IW_DATA   "$001
                                            TO <L_VALUE>.   "$001
    CHECK SY-SUBRC = 0.                                     "$001
    DESCRIBE FIELD <L_VALUE> OUTPUT-LENGTH L_LEN.           "$001
    DESCRIBE FIELD <L_VALUE> TYPE L_TYPE.                   "$001
    CASE L_TYPE.                                            "$001
      WHEN 'D'.                                             "$001
        CLEAR: H_DATE_EXTERNAL.                             "$001
        ASSIGN H_DATE_EXTERNAL TO <L_DATUM_EX>.             "$001
        CALL 'DATE_CONV_INT_TO_EXT'                         "$001
          ID 'DATINT' FIELD <L_VALUE>                       "$001
          ID 'DATEXT' FIELD <L_DATUM_EX>.                   "$001
        UNASSIGN: <L_VALUE>.                                "$001
        ASSIGN <L_DATUM_EX> TO <L_VALUE>.                   "$001
    ENDCASE.                                                "$001
    L_STRLEN = STRLEN( G_TRANSFER ).                        "$001
    WRITE <L_VALUE> TO G_TRANSFER+L_STRLEN(L_LEN).          "$001
    L_STRLEN = L_STRLEN + L_LEN.                            "$001
    WRITE '|' TO G_TRANSFER+L_STRLEN.                       "$001
    AT LAST.                                                "$001
      SHIFT G_TRANSFER BY 1 PLACES RIGHT.                   "$001
      WRITE '|' TO G_TRANSFER+0(1).                         "$001
    ENDAT.                                                  "$001
    CLEAR: L_STRLEN.                                        "$001
  ENDLOOP.                                                  "$001
ENDFORM.                    " build_line                    "$001 end

Similar Messages

  • Need Help With Simple ABAP Code

    Hello,
    I'm loading data from a DSO (ZDTBMAJ) to an Infocube (ZCBRAD06). I need help with ABAP code to some of the logic in Start Routine. DSO has 2 fields: ZOCTDLINX & ZOCBRDMAJ.
    1. Need to populate ZOCPRODCD & ZOCREFNUM fields in Infocube:
        Logic:-
        Lookup /BI0/PMATERIAL, if /BIC/ZOCBRDMAJ = /BIC/OIZOCBRDMAJ
        then /BIC/ZOCPRODCD = ZOCPRODCD in Infocube
               /BIC/ZOCREFNUM = ZOCREFNUM in Infocube         
    2. Need to populate 0G_CWWTER field in Infocube:
        Logic:
        Lookup /BIC/PZOCTDLINX, if /BIC/ZOCTDLINX = BIC/OIZOCTDLINX
        then G_CWWTER = 0G_CWWTER in Infocube.
    I would need to read single row at a time.
    Thanks!

    I resolved it.

  • Help with basic ABAP code (merge internal tables, sort of...)

    Hello,
    Can someone please help write some basic code for a Basis guy with limited ABAP knowledge?
    Should be some easy points for an experienced ABAPer!
    I have identicaly structured internal tables I_A and I_B and I_C which have already been filled by function models I called.
    How will I code the following?:
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    Then I want to read I_B and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_B is smaller than the value of MYFIELD in I_MASTER.
    Then I want to read I_C and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_C is smaller than the value of MYFIELD in I_MASTER.
    Let me know if I can provide anymore information.
    Thanks in advance for you help!
    Adriaan
    Message was edited by: Adriaan
    Message was edited by: Adriaan

    Hi Adriaan ,
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    <b>i_master[] = i_a[] .</b>
    loop at i_b .
    read table i_master with key myfiled < i_b-myfield .
    if sy-subrc = 0 .
    append i_master from i_b .
    endif.
    endloop.
    loop at i_c .
    read table i_master with key myfiled < i_c-myfield .
    if sy-subrc = 0 .
    append i_master from i_c .
    endif.
    endloop.
    Let me know if this helped .
    Regards,
    Varun .
    Message was edited by: varun sonu

  • Help with some ABAP code

    I am trying to fill the quantity value if it is blank by looking for a record with the key and putting it's value in it.  the code is below but the part whee it says where order_qty > 0 is not working.  It just hops out even if it is.
    CLEAR: T_SCHED_DATA, T_QUANTITY_DATA.
      REFRESH: T_SCHED_DATA, T_QUANTITY_DATA.
      SELECT DOC_NUMBER S_ORD_ITEM SCHED_LINE DSDEL_DATE REQ_DATE ORDER_QTY
       INTO TABLE T_SCHED_DATA
       FROM /BIC/AZSCH_O5400
         FOR ALL ENTRIES IN DATA_PACKAGE
        WHERE
         DOC_NUMBER = DATA_PACKAGE-DOC_NUMBER AND
         S_ORD_ITEM = DATA_PACKAGE-S_ORD_ITEM AND
         SCHED_LINE = DATA_PACKAGE-SCHED_LINE.
      SELECT DOC_NUMBER S_ORD_ITEM SCHED_LINE DSDEL_DATE REQ_DATE ORDER_QTY
       INTO TABLE T_QUANTITY_DATA
       FROM /BIC/AZSCH_O5400
        FOR ALL ENTRIES IN T_SCHED_DATA
        WHERE
         DOC_NUMBER = T_SCHED_DATA-VBELN AND
         S_ORD_ITEM  = T_SCHED_DATA-POSNR.
      T_QUANTITY_DATA2[] = T_QUANTITY_DATA[].
      sort t_quantity_data2 by vbeln posnr SCHED_LINE
           ascending.
    sort t_quantity_data by vbeln posnr SCHED_LINE
           ascending.
      loop at T_QUANTITY_DATA into LF_DATA
        where order_qty > 0.
          loop at T_QUANTITY_DATA2 into LF_DATA2
          where
           vbeln = LF_DATA-VBELN AND
           posnr = LF_DATA-POSNR AND
           DSDEL_DATE = LF_DATA-DSDEL_DATE AND
           SCHED_LINE NE LF_DATA-SCHED_LINE and
           order_qty = 0.
            lf_data3 = lf_data2.
            move LF_DATA-order_qty to lf_data3-order_qty.
            append lf_data3 to T_QUANTITY_DATA3.
          endloop.
      endloop.

    loop at T_QUANTITY_DATA into LF_DATA
    where <b>order_qty > 0.</b> <b> " when this is greater than zero</b>
    loop at T_QUANTITY_DATA2 into LF_DATA2
    where
    vbeln = LF_DATA-VBELN AND
    posnr = LF_DATA-POSNR AND
    DSDEL_DATE = LF_DATA-DSDEL_DATE AND
    SCHED_LINE NE LF_DATA-SCHED_LINE and
    <b>order_qty = 0.</b>  <b>" how can it be zero here</b>
    lf_data3 = lf_data2.
    move LF_DATA-order_qty to lf_data3-order_qty.
    append lf_data3 to T_QUANTITY_DATA3.
    endloop.
    endloop.

  • Need help with the following code (Want an input popup with numeric pad)

    Hello,
    I put the following code in an event :
    import javax.swing.JOptionPane;
    value = javax.swing.JOptionPane.showInputDialog("Price", "");
    try {
    Double newPrice = new Double(value);
    line.setPriceTax(newPrice);
    } catch (NumberFormatException e) {
    JOptionPane.showMessageDialog(null, "Not valid number: " + value, "Error", JOptionPane.PLAIN_MESSAGE);
    But this only gives an input popup screen and then i have to use a keyboard instead of my touchscreen to give the input,
    i would rather like it to be a popup input screen with a numeric pad attached.
    Is this possible, and how??
    Thanks in advance.
    Jeroen

    hii,
    set321go wrote
    make your own. Create a custom OptionPane and add --->
    // global def.
    private final JLabel amountLabel = new JLabel(" Input Trades Amount : ");
    private JFormattedTextField amountTextField;
    private double amount = 0.00;
    private NumberFormat amountFormat;
    // in panel class add --->
    amountFormat = NumberFormat.getNumberInstance();
    amountFormat.setMinimumFractionDigits(2);
    amountFormat.setMaximumFractionDigits(2);
    amountFormat.setRoundingMode(RoundingMode.HALF_EVEN);
    amountLabel.setFont(new Font("Serif", Font.BOLD, 16));
    amountLabel.setForeground(KopikSalesTest.textColor);
    amounTextField = new JFormattedTextField(amountFormat);
    amountTextField.setValue(0.00);
    amountTextField.setFont(new Font("Serif", Font.BOLD, 20));
    amountTextField.setForeground(Color.someColor);
    amountTextField.setBackground(Color.someColor);
    amountTextField.addFocusListener(new FocusListener() {
                public void focusGained(FocusEvent e) {
                    amountTextField.requestFocus();
                    amountTextField.setText(amountTextField.getText());
                    amountTextField.selectAll();
                public void focusLost(FocusEvent e) {
                    //on exit
    somePanel.add(amountLabel);
    somePanel.add(amountTextField); ... kopik

  • Pulling the condition records - help in the ABAP code -urgent!!!!!

    hi folks,
    I need some urgent help here..
    I have discussed this portion before in the forum  but there are some changes and I need some help here.
    The code goes like this....
    select knumv kschl kbetr kwert
      from konv into table cdata
         for all entries in bodyitab21
        where konv~knumv = bodyitab21-knumv
                     and konv~kwert > 0.
    I am successfully pulling the data into cdata here..
    I need to check for various condition types that are around 100. I need to split them into two types because some condition types containe just pricing values while some others have values in % (but the value not stored in that format) To do the extra coding I have use two differetn case statements and that's what i have done here.
    <b>My probelm is I will have to check for each condition type, if the 'kwert' field has some value in it pull the data  and there is a condition text associcated to it in the table 'T685T' that needs to be pulled into the itab.
    This process has to be done for every condition type.</b>Given this scenario how can i do it?
        loop at cdata  into wac.
        case wac-kschl.
             when 'ZRAT' OR 'ZAGR'  OR 'ZRCR' OR 'Y098' OR 'Y007' OR 'ZREW' OR 'Y106' OR 'ZTSR' OR 'Y127' OR 'Y125' OR 'Y126' OR 'Y124' OR 'Y157' OR 'Y092' OR 'Y085' OR 'Y090' OR 'ZMZD' OR 'Y215' OR 'Y214' OR 'Y111' OR 'ZC$D' OR 'ZAUD' OR 'ZTHX' OR 'ZCOL'
    OR 'ZCFE' OR ZSPA' OR 'ZBOX' OR 'ZCOR' OR 'Y130' OR 'ZBOR'
    OR 'Y108' OR 'ZFPP' OR 'Y204' OR 'Y200' OR 'Y202' OR 'Y201' OR 'Y203' OR 'Y002' OR 'ZSCR' OR 'Y128' OR 'Y100' OR 'ZABS' OR 'ZSMG' OR 'ZFRE' OR 'ZREC' OR 'ZCOM' OR 'ZPMG' OR 'BEMG' OR 'ZDTI' OR'ZBET'.
    <b>***** the first set of these condition types have just values</b>     if wac-kbetr = ' ' AND wac-kwert = ' '.
                   continue.
                 else.
                  p = wac-kbetr.
                  i = p.
                  c = i.
                  MOVE c to w_accitab-zrate.
                     MOVE wac-kbetr to w_accitab-zrate.
                  MOVE wac-kwert to w_accitab-zsubtotal.
                endif.
        when 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR'
         OR 'ZECD' 'ZAC1' OR 'ZAC%' OR 'ZAC2' OR 'ZSED' OR 'ZRFQ' OR 'ZIMP' OR 'ZERR' OR 'ZECD' 'ZQUD' OR 'ZEMP' OR 'Y101' OR 'Y012' OR 'ZCHU' OR 'Y054' OR 'Y065' OR 'Y066' OR 'Y067' OR 'Y068' OR 'Y069' OR 'Y096'
    OR 'Y103' OR 'Y010' OR 'Y070' OR 'Y071' OR
    'Y072' OR 'Y073' OR 'Y074' OR 'Y075' OR 'Y076'
    OR 'Y077' OR 'Y078' OR 'Y079' OR 'Y156' OR OR 'Y148'
    OR 'Y102' OR 'Y205' OR 'Y206' OR 'Y207' OR 'Y208' OR
    'Y209' OR 'Y213' OR 'Y210' OR 'Y211' OR 'Y212' OR 'Z%DS'
    OR 'Z%DO' OR 'Y113' OR 'Y151' OR 'Y152' OR 'Y153' OR
    'Y154' OR 'Y155' OR 'Y147' OR'Z%PB' OR 'Y142' OR 'Y131'
    OR 'Y141' OR 'Y149' OR 'ZDEO' OR 'Z%DR' OR 'Y115' OR
    'Y116' OR 'Y095' OR 'Y084' OR 'ZSA$' OR 'ZSA%' OR
    'ZPA$' OR 'ZPA%'.
    the second set of these condition types have just values that has to be converted into %.
               if wac-kbetr = ' ' AND wac-kwert = ' '.
                clear w_accitab-zrate.
                continue.
              else.
                p = wac-kbetr.
                p = p / 10.
                if p < 1.
                  rate+0(1) = '-'.
                endif.
                if i = 0.
                  clear w_accitab-zrate.
                 else.
                i = p.
                c = i.
                shift c right deleting trailing '-'.
                concatenate rate c '%' into rate.
                condense rate no-gaps.
                     MOVE wac-kbetr to w_accitab-zrate.
                MOVE rate to w_accitab-zrate.
                clear rate.
                MOVE wac-kwert to w_accitab-zsubtotal.
              endif.
            endif.
    Thanks alot in advance.
    Santhosh

    Maybe this will help you,  otherwise I'm missing something.
    [code]
    data: begin of wac,
          kschl type t685t-kschl,
          vtext type t685t-vtext,
          end of wac.
    case wac-kschl.
    when 'ZRAT' or 'ZAGR' or 'ZRCR' or 'Y098' or 'Y007' or 'ZREW' or 'Y106'
    or 'ZTSR' or 'Y127' or 'Y125' or 'Y126' or 'Y124' or 'Y157' or 'Y092' or
      'Y085' or 'Y090' or 'ZMZD' or 'Y215' or 'Y214' or 'Y111' or 'ZC$D' or
         'ZAUD' or 'ZTHX' or 'ZCOL' or 'ZCFE' or 'ZSPA' or 'ZBOX' or 'ZCOR'
    or 'Y130' or 'ZBOR' or 'Y108' or 'ZFPP' or 'Y204' or 'Y200' or 'Y202' or
      'Y201' or 'Y203' or 'Y002' or 'ZSCR' or 'Y128' or 'Y100' or 'ZABS' or
         'ZSMG' or 'ZFRE' or 'ZREC' or 'ZCOM' or 'ZPMG' or 'BEMG' or 'ZDTI'
            or'ZBET'.
    Some code
      when 'ZSED' or 'ZRFQ' or 'ZIMP' or 'ZERR'
    or 'ZECD' or 'ZAC1' or 'ZAC%' or 'ZAC2' or 'ZSED' or 'ZRFQ' or 'ZIMP' or
      'ZERR' or 'ZECD' or 'ZQUD' or 'ZEMP' or 'Y101' or 'Y012' or 'ZCHU' or
      'Y054' or 'Y065' or 'Y066' or 'Y067' or 'Y068' or 'Y069' or 'Y096'
      or 'Y103' or 'Y010' or 'Y070' or 'Y071' or
      'Y072' or 'Y073' or 'Y074' or 'Y075' or 'Y076'
      or 'Y077' or 'Y078' or 'Y079' or 'Y156' or 'Y148'
      or 'Y102' or 'Y205' or 'Y206' or 'Y207' or 'Y208' or
      'Y209' or 'Y213' or 'Y210' or 'Y211' or 'Y212' or 'Z%DS'
      or 'Z%DO' or 'Y113' or 'Y151' or 'Y152' or 'Y153' or
      'Y154' or 'Y155' or 'Y147' or'Z%PB' or 'Y142' or 'Y131'
      or 'Y141' or 'Y149' or 'ZDEO' or 'Z%DR' or 'Y115' or
      'Y116' or 'Y095' or 'Y084' or 'ZSA$' or 'ZSA%' or
      'ZPA$' or 'ZPA%'.
    Some code
    endcase.
    select single vtext into wac-vtext from t685t
                  where spras = sy-langu
                    and kschl = wac-kschl.
    write:/ wac-kschl, wac-vtext.
    [/code]
    Regards,
    Rich Heilman

  • Help in the abap code

    hi folks,
    I am checking for various condition types through this code for various orders. Each order has a different set of condition records.
    My requirement: when a order has a condition record for the condition type 'ZAGR' (AGREED PRICE) it should execute that block and ignore all the other condition types for that record and directly go to 'ZBET'to fetch the final amount
    How to incorporate that piece code here?
    The code goes like this...
    loop at cdata  into zcdata where
            knumv = bodyitabtotal-knumv.
    case zcdata-kschl.
             when 'ZRAT' OR 'ZFLE' OR 'ZRCR' OR 'ZFIX'.
           when 'ZAGR'.
            when 'ZONT'.
                concatenate zzkeyword  zpofield
                     into CTEXT3
                   separated by space
              MOVE zcdata-kbetr to w_accitab-zrate.
              MOVE zcdata-kwert to w_accitab-zsubtotal.
          when 'ZSMG'.
            when 'ZBET'.
             if zcdata-kbetr = ' ' AND zcdata-kwert = ' '.
                  MOVE '  ' TO w_accitab-zamount.
              ELSE.
                 MOVE zcdata-kwert to w_accitab-zamount.
              ENDIF.
            when  others.
              continue.
          endcase.
    Thanks
    Santhosh

    Rich,
    I need the 'knumv' to be checked too because it is unique to each order, and I am running this within a loop.
    The format of the code goes like this...
    select distinct ...... into table bodyitab1(internal table)
    *fetching all the information of the sales orders into the table
      insert lines of bodyitab1 into table bodyitabtotal.
    loop at bodyitabtotal
    reading all the data into various variables and reading into 'w_accitab'
      select knumv kschl kbetr kwert kinak
        from konv into table cdata for all entries in 
    bodyitabtotal where konv~knumv = bodyitabtotal-knumv
      *fetching the rates, amounts, for each sales order based on  'knumv' and checking for the condition types
      loop at cdata  into zcdata where knumv = bodyitabtotal-knumv.
         case zcdata-kschl.
            when 'ZAGR'.
       append w_accitab to accitab.
             clear accitab-zamount.
       clear accitab.
          clear w_accitab.
         endloop.
      endif.
    endloop.
    here the loop ends and this completes the cycle for one order
    so when I use the read statement it has to check for 'ZAGR' for that order only but if you see the query
    cdata' has the condition records for all entries in 'bodyitabtotal' because all orders do not have 'ZAGR' condition type
    I hope you understand the flow of the program.
    thanks
    Santhosh

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • I BOUGHT LIGHTROOM 5 IN LAREDO TX AND I TRIED TO GET IN MONTERREY MEXICO THE SERIAL NUMBER WITH THE REDEMPTION CODE BUT APPEARS AN ERROR. MY PC IS WINDOWS 8. COULD SOMEBODY HELP ME?

    I BOUGHT LIGHTROOM 5 IN BEST BUY LAREDO TX AND I TRIED TO GET IN MONTERREY MEXICO THE SERIAL NUMER WITH THE REDEMPTION CODE FROM THE BOX, BUT APPEARS AN ERROR. MY PC IS WINDOWS 8, COULD SOMEBODY HELP ME??

    I don't know that you can purchase Adobe software in the US for installing and using outside of the US.
    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Can you help with the code to publish Flash to my own domain.

    Thank you for your help, I publish the my site to my own domain, I do not use .Mac, I tested your code and ity works well on .Mac, can you help with the code to publish to my own domain.
    Thank you again

    You appear to have just collected a variety of code snippets and thrown them together, including a section of AS2 code ( gage.onRelease = function() {... )
    The suggestion I offered yesterday still stands.  You should find a tutorial regarding AS3 and the atan2 function.  Beyond that, what you show suggests this is a school assignment.  You should seek help from your fellow students and instructor if that is the case.

  • How find the ABAP code with Error message

    Hi
    How to  find the ABAP Code for Error Message?
    Example:
    Error Message: ZF026.
    Regards
    Odaiah Pelley
    Edited by: Odaiah Pelley on Aug 22, 2008 4:21 AM

    Hi
    Excellent Answer, I appreciate it.
    My question is with Error Message ZF026.
    How to find ABAP Code ?
    If I go for SE91 I will get same message as if I am getting error message.It is no use.
    Regards
    Odaiah Pelleyu

  • Issue in printing the batch document with the T-code COPI

    Issue in printing the batch document with the T-code COPI.
    So Batch document is not printing not printing.
    Kindly help.

    I would suggest to read this blog as a starting point: Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers
    then rephrase and enhance your question with some facts because in the moment it is not at all sufficient enough for anybody to help you further on your particular issue.
    I am even in doubt that you posted this issue in the right forum, has this PP transaction really something to do with ABAP Connectivity. Check the space overview page of ABAP Connectivity , under the picture you can read what this space is about.

  • How to see the ABAP Code behind SAP Exit Variables.

    Hi Everyone.
    I was wondering if anyone could help me with the steps to see the ABAP Code behind a SAP Exit Variable.
    Sometime back I remember of going to Transaction SE37 - Function Module and give the Variable name,
    Eg: 0F_ADAY, Hit F4 or something like that and was able to see the ABAP Code/Function Module/Exit written for that Variable.same
    But today I tried to do the same thing to see the code for Variable 0P_FVAEX but I was NOT able to see it.
    I think I am missing something.
    Can someone help me recollect what I am missing.
    Thank You for your time
    NOVICE

    Hi bi novice,
    big sorry for the late reply!
    The following variables are defined in function module RREX_VARIABLE_EXIT as case statement:
    '0CMONTH', '0CWEEK', '0CYEAR', '0CQUART', '0DAT', '0CWD', '0FYEAR', '0FPER', '0FYTCFP',
    '0FYTLFP', '0FYTCD', '0CYTCM', '0CYTLM', '0CYTCD', '0LYTCLD', '0CMONTHT', '0CWEEKT', '0CYEART', '0CQUARTT', '0DATT', '0FYEART', '0FPERT'
    Best regards,
    Andreas

  • How to establish code standards to make the abap code more readability

    Every programmer have their habit to code, but this lead a problem , it is difficult to read other people's code, especially the complex logic.
    So how to establish code standards to make the abap code more readability?
    I came up with this:
    1.Unify the naming rule.
    2.Reduce the nest of 'if' statement. (better in less than 4 if statement in one block )
    3.Use more Perform to replace the big code block.
    Is there any other standards to make our abap code more readability ?  (if we establish the standards, in sap is there any tool to help us to follow the rule we set ?)

    There are a number of things you could do. Some of which are:
    I would recommend creating your own in-house document on Coding standards, some of which you can control with the code inspector.
    It is also possible to set up the transport request in such a way that objects that do not pass the SCI test are not allowed to be released.
    I would also assign a senior developer to act as quality control for all developments. You can have a rotation scenario where this work can be divided by the number of senior developers you have.

  • Hi can you help with the following panic attack report,

    hi can you help with the following panic attack report, macbook pro OS 10.7.3
    Interval Since Last Panic Report:  157997 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    7ADCF50C-CC18-405E-9D5C-03325D3A83FA
    Thu Mar 29 05:37:28 2012
    panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff800021d905, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffef801a845328, CR3: 0x0000000019452019, CR4: 0x00000000000606e0
    RAX: 0xffffff801a8450d8, RBX: 0xffffff800e79f340, RCX: 0xffffff801a8450d8, RDX: 0xffffef801a8450d8
    RSP: 0xffffff80a4623e90, RBP: 0xffffff80a4623eb0, RSI: 0x0000000020c85580, RDI: 0x0000000000000001
    R8:  0xffffff80008bd890, R9:  0xffffff80058aeac8, R10: 0xfffffe80539a9928, R11: 0x0008000000053d89
    R12: 0xffffff800e79f370, R13: 0xffffff8000846288, R14: 0xffffff801a8450c0, R15: 0x0000000000000001
    RFL: 0x0000000000010206, RIP: 0xffffff800021d905, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0xffffef801a845328, Error code: 0x0000000000000002, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80a4623b50 : 0xffffff8000220702
    0xffffff80a4623bd0 : 0xffffff80002c266d
    0xffffff80a4623d70 : 0xffffff80002d7a1d
    0xffffff80a4623d90 : 0xffffff800021d905
    0xffffff80a4623eb0 : 0xffffff800021daad
    0xffffff80a4623ee0 : 0xffffff800023caa9
    0xffffff80a4623f10 : 0xffffff800023cb36
    0xffffff80a4623f30 : 0xffffff80005a3258
    0xffffff80a4623f60 : 0xffffff80005ca448
    0xffffff80a4623fb0 : 0xffffff80002d7f39
    BSD process name corresponding to current thread: SophosAntiVirus
    Mac OS version:
    11D50b
    Kernel version:
    Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
    Kernel UUID: 7B6546C7-70E8-3ED8-A6C3-C927E4D3D0D6
    System model name: MacBookPro8,3 (Mac-942459F5819B171B)
    System uptime in nanoseconds: 5720232329361
    last loaded kext at 5694112402758: com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.3 (addr 0xffffff7f807a3000, size 86016)
    last unloaded kext at 248390619372: com.apple.driver.AppleUSBUHCI          4.4.5 (addr 0xffffff7f80a4e000, size 65536)
    loaded kexts:
    com.sophos.kext.sav          7.3.0
    com.apple.driver.AppleUSBCDC          4.1.15
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.driver.AppleHDA          2.1.7f9
    com.apple.driver.AppleMikeyDriver          2.1.7f9
    com.apple.driver.AppleIntelHD3000Graphics          7.1.8
    com.apple.driver.AGPM          100.12.42
    com.apple.kext.ATIFramebuffer          7.1.8
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.2
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.5d4
    com.apple.driver.AppleMuxControl          3.0.16
    com.apple.driver.AppleLPC          1.5.3
    com.apple.ATIRadeonX3000          7.1.8
    com.apple.driver.AppleUSBTCButtons          225.2
    com.apple.driver.AppleUSBTCKeyboard          225.2
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.iokit.SCSITaskUserClient          3.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.0.1
    com.apple.driver.AppleUSBHub          4.5.0
    com.apple.driver.AppleFWOHCI          4.8.9
    com.apple.driver.AirPort.Brcm4331          513.20.19
    com.apple.iokit.AppleBCM5701Ethernet          3.0.8b2
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleUSBEHCI          4.5.8
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          167.3.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.1
    com.apple.driver.AppleIntelCPUPowerManagement          167.3.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.3
    com.apple.iokit.IOUSBMassStorageClass          3.0.1
    com.apple.kext.triggers          1.0
    com.apple.driver.AppleAVBAudio          1.0.0d11
    com.apple.driver.DspFuncLib          2.1.7f9
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOFireWireIP          2.2.4
    com.apple.iokit.IOBluetoothSerialManager          4.0.3f12
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAVBFamily          1.0.0d22
    com.apple.driver.AppleHDAController          2.1.7f9
    com.apple.iokit.IOHDAFamily          2.1.7f9
    com.apple.iokit.IOAudioFamily          1.8.6fc6
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.ApplePolicyControl          3.0.16
    com.apple.driver.AppleSMC          3.1.1d8
    com.apple.driver.IOPlatformPluginFamily          4.7.5d4
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.0.16
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.iokit.IONDRVSupport          2.3.2
    com.apple.kext.ATI6000Controller          7.1.8
    com.apple.kext.ATISupport          7.1.8
    com.apple.driver.AppleIntelSNBGraphicsFB          7.1.8
    com.apple.iokit.IOGraphicsFamily          2.3.2
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.3f12
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.3f12
    com.apple.iokit.IOBluetoothFamily          4.0.3f12
    com.apple.driver.AppleThunderboltDPInAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.1
    com.apple.driver.AppleUSBMultitouch          227.1
    com.apple.iokit.IOUSBHIDDriver          4.4.5
    com.apple.driver.AppleUSBMergeNub          4.5.3
    com.apple.driver.AppleUSBComposite          4.5.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.3
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.7
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOAHCISerialATAPI          2.0.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.3
    com.apple.driver.AppleThunderboltNHI          1.3.2
    com.apple.iokit.IOThunderboltFamily          1.7.4
    com.apple.iokit.IOUSBUserClient          4.5.8
    com.apple.iokit.IOFireWireFamily          4.4.5
    com.apple.iokit.IO80211Family          412.2
    com.apple.iokit.IOEthernetAVBController          1.0.0d5
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOUSBFamily          4.5.8
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          331.3
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.8
    com.apple.iokit.IOACPIFamily          1.4
    Model: MacBookPro8,3, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.2 GHz, 4 GB, SMC 1.70f5
    Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.100.98.75.19)
    Bluetooth: Version 4.0.3f12, 2 service, 18 devices, 2 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 4
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

    Get rid of Sophos Anti-Virus software you have installed. Use the uninstaller or:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead.  Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

Maybe you are looking for

  • Can anyone explain this error??

    This program splits an int array to two arrays: one containing only even numbers, and the other only odd numbers. The two arrays are returned by the split method as array of two arrays, with the first containing only the even numbers and the second c

  • How to allow user to modify his own data with a Portal Form

    Hi, I have a form (Master-Detail) to update a user-profile (Master) and the user's skills (Detail). How can I make sure, that a user can only modify his own profile - assuming the master table has an attribute containing the users loginname for Porta

  • A big problem with using endnotes in Pages 5

    Unlike Pages 09 which worked flawless with endnotes functionality, Pages 5 has a big problem with the feature that maybe been addressed. When I insert an endnote, I am prohibited from clicking the citation number at the end of the document which is s

  • Software for Creating Data Flow Diagrams .i.e developing softwares

    i recently switched to archlinux from ubuntu.there is ubuntu there was tdfd for creating Data Flow Diagrams but i am not able to find any alternative for archlinux. Could anyone suggest me the software to be used. Thanks

  • Mp4 downloaded from facebook wont work in imovie 08

    I recently learned how to download videos off of facebook and save it onto my hardrive, and now I am trying to import them to be cut on IMovie, but only the audio will load. Any help? I am desperate, been trying to figure it out for hours. Thanks!