PLEASE HELP ME OUT WITH THIS REQUIREMENT VERY URGENT

HI TO ALL EXPERTS,
I HAVE AN INTERNAL TABLE IT_EXCEL WITH THREE FIELDS
SUPPOSE
ROW COL VAL
1         1       231
1         2       001
NOW I WANT TO MOVE  JUST THAT VAL (COLOUMN)CONTENTS TO ANOTHER INTERNAL TABLE
FOR EX :
DATA : BEGIN OF ITAB OCCURS 0,
                VAL1(4),
                 VAL2(5),
           END OF ITAB.
NOW THAT ITAB SHOULD HAVE
VAL1 VAL2
231     001
PLEASE ANYONE EXPALIN HOW TO DO IT?
FULL POINTS FOR CORRECT ANSWER

HI PABLO,
IM SENDING THE CODE,
IM HAVE WRITEN A BAPI FOR MATERIAL SAVE
I HAVE GOT THE DATA IN EXCEL FILE.
NOW I WANT TO MOVE THE VALUE COLOUMN OF EXCEL INTERNAL  TABLE TO IT_DATA INTERNAL TABLE
REPORT  ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
TYPES:BEGIN OF TY_MAT,
       MATERIAL(4),
       IND_SECTOR(1),
       MATL_TYPE(4),
       MATL_GROUP(9),
       BASE_UOM(3),
       BASE_UOM_ISO(3),
       PLANT(4),
       DEL_FLAG(1),
       PUR_GROUP(3),
       BASE_QTY(13),
       PLANT1(4),
       STGE_LOC(4),
       MRP_IND(1),
       SALES_ORG(4),
       DISTR_CHAN(2),
       DEL_FLAG1(1),
       MIN_ORDER(13),
       MAKTX(40),
       LANGU(2),
   END OF TY_MAT.
DATA: IT_DATA TYPE TABLE OF TY_MAT,
      WA_DATA LIKE LINE  OF IT_DATA,
      WA_DATA1 TYPE TY_MAT.
*DECLARING WORK AREA  TO BE PASSED TO THE FUNCTION MODULE.
DATA: BAPI_HEAD LIKE BAPIMATHEAD,
      BAPI_CLIENTDATA LIKE BAPI_MARA,
      BAPI_CLIENTDATAX LIKE BAPI_MARAX,
      BAPI_PLANTDATA LIKE BAPI_MARC,
      BAPI_PLANTDATAX LIKE  BAPI_MARCX,
      BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
      BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
      BAPI_SALESDATA LIKE BAPI_MVKE,
      BAPI_SALESDATAX LIKE BAPI_MVKEX,
      BAPI_MAKT LIKE BAPI_MAKT,
      BAPI_RETURN LIKE BAPIRET2.
*EXCELAL TABLE TO HOLD THE MATERIAL DESCRIPTION
DATA: BEGIN OF IT_MAKT.
INCLUDE STRUCTURE BAPI_MAKT.
DATA END OF IT_MAKT.
DATA:BEGIN OF IT_RET.
INCLUDE STRUCTURE BAPIRET2.
DATA END OF IT_RET.
*EXCELAL TABLE TO HOLD HEADER DATA
DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*SELECTION-SCREEN ELEMENTS
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY.
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
            P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
            P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
            P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK B1.
*DECLARATION OF EXCELAL TABLE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
PERFORM F_GET_FILE USING FNAME.
START-OF-SELECTION.
PERFORM F_XLS_ITAB USING FNAME
                   CHANGING IT_EXCEL.
PERFORM F_MOVE_DATA.
*&      Form  F_GET_FILE
      text*
     -->P_FNAME  text*
     <--P_SY_SUBRC  text*
FORM F_GET_FILE  USING    P_FNAME LIKE FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
   PROGRAM_NAME        = SYST-REPID
   DYNPRO_NUMBER       = SYST-DYNNR
  FIELD_NAME          = ' '*
  STATIC              = ' '*
  MASK                = ' '*
  CHANGING
    FILE_NAME           = P_FNAME
EXCEPTIONS*
  MASK_TOO_LONG       = 1*
  OTHERS              = 2*
IF SY-SUBRC <> 0.
MESSAGE E006(ZHNC).
ENDIF.
ENDFORM.                    " F_GET_FILE
*&      Form  F_XLS_ITAB
      text*
     -->P_FNAME  text*
     <--P_IT_EXCEL  text*
FORM F_XLS_ITAB  USING    P_FNAME
                 CHANGING P_IT_EXCEL.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
  EXPORTING
    FILENAME                      = FNAME
    I_BEGIN_COL                   = P_BEGCOL
    I_BEGIN_ROW                   = P_BEGROW
    I_END_COL                     = P_ENDCOL
    I_END_ROW                     = P_ENDROW
  TABLES
    INTERN                        = IT_EXCEL
EXCEPTIONS
   INCONSISTENT_PARAMETERS       = 1
   UPLOAD_OLE                    = 2
   OTHERS                        = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
ENDIF.

Similar Messages

  • My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to lissen I had to put on loud speaker or to use handsfree please help me out with this problem if some body have answer?

    My iPhone 6 ear speaker is not working properly I couldn't able to hear any thing from ear speaker to listen I had to put on loud speaker or to use hands free please help me out with this problem if some body have answer?

    Hi Venkata from NZ,
    If you are having an issue with the speaker on your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • I am new to illustrator. Please help me out with this.

    I am totally confused about how is it done
    I created a stripes pattern but when applying it to the font it overlaps at the closing edge of the font. Please help my if there is a tutorial for doing this.

    Sidaddict,
    You can create it from a combination of carefully chosen straight (open) paths and closed paths, especially using Object>Path>Offset Path by the distance between paths, using operations like Object>Path>Divide Objects Below on certain copies of paths along with cutting with the Scissors Tool, general copying, and deleting unwanted parts underway.
    View>Smart Guides are your friends.
    The (18) vertical paths may be created by moving copies or from a tall thin rectangle using Object>Path>Offset Path, or just by moving a copy multiple time, then cut as desired.
    The B may be created from a (partially overlapping) double set based on the innermost closed (upper) path using Object>Path>Offset Path, and moving a copy, then deleting unwanted parts.
    The E and the text frames may be created from rectangles corresponding to the innermost of a series of closed paths, then using Object>Path>Offset Path, then deleting unwanted parts.
    If the vertical lines are created as closed paths, copies of the outermost shapes of the B, E, and text boxes may be used to cut them using Object>Path>Divide Objects Below.
    Throughout, you need to think ahead and build/remove paths. Especially important is to see how the desired shapes can be built from an original closed path (set) using offset path, such as the B, E, and text boxes, where you need to imagine the parts to be later deleted again.

  • Please help me out with this error:Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.

    I get the folowing error when I run the global consistency check
    WARNINGS:
    Business Model DAC_Measures:
    [39008] Logical dimension table D_TARGET has a source D_TARGET that does not join to any fact source.
    Can someone help me out please?
    Thank you!

    It seems your dimension is not joined to any facts. Did you check your BMM/physical joins?

  • Please help me out with this report

    hi to all experts,
    my requirement  is to display only those purchase order that were created on Saturdays and sundays. i have toiled hard and could develop the code but still im not be able to get the requirement.IT is showing all purchase order for the given date range. what should be modified in my code.
    *& Report  Z_DAYS_SUNDAY_SAT                                           *
    *& This report will display purchase order created on saturday and sunday                                                                    *
    REPORT  Z_DAYS_SUNDAY_SAT                       .
    tables: ekko,dtresr.
    types: begin of ty_pur,
              ebeln type ekko-ebeln,"purchase document no
              bukrs type ekko-bukrs,"company code
              bstyp type ekko-bstyp,"document category
              bsart type ekko-bsart,"document type
              aedat type ekko-aedat,"date on which record was created
         end of ty_pur,
        begin of ty_days,
          days type ekko-aedat,
         end of ty_days.
    data: it_ekko type table of ty_pur,
          wa_ekko like line of it_ekko,
          it_days type table of ty_days,
          wa_days like line of it_days.
    data : dbtwn type i,
           g_day type dtresr-weekday.
    parameters : p1 type dats,
                 p2 type dats.
    ranges : r_day for ekko-aedat.
    r_day-low = p1.
    r_day-high = p2.
    r_day-sign = 'I'.
    r_day-option = 'BT'.
    append r_day.
    if p2 gt p1.
    dbtwn = p2 - p1.
    else.
    message e000(zhnc) with 'plz enter date in proper order'.
    endif.
    do dbtwn times.
    CALL FUNCTION 'DATE_TO_DAY'
      EXPORTING
        date          = p1
    IMPORTING
       WEEKDAY       = g_day.
    if g_day = 'Sat.' or g_day = 'Sunday'.
    wa_days = G_DAY.
    APPEND wa_days TO it_days.
    p1 = p1 + 1.
    Endif.
    enddo.
    select    ebeln
              bukrs
              bstyp
              bsart
              aedat from ekko into table it_ekko where aedat in r_day.
      loop at it_ekko into wa_ekko.
      READ TABLE it_days INTO wa_days WITH KEY wa_days-days.
      write : / wa_ekko-ebeln,wa_ekko-bukrs,wa_ekko-bstyp,wa_ekko-bsart, wa_days-days.
    endloop.

    Hi
    try this code I've made changes...
    *& Report Z_DAYS_SUNDAY_SAT *
    *& This report will display purchase order created on saturday and sunday *
    REPORT Z_DAYS_SUNDAY_SAT .
    TABLES: ekko,dtresr.
    TYPES: BEGIN OF ty_pur,
    ebeln TYPE ekko-ebeln,"purchase document no
    bukrs TYPE ekko-bukrs,"company code
    bstyp TYPE ekko-bstyp,"document category
    bsart TYPE ekko-bsart,"document type
    aedat TYPE ekko-aedat,"date on which record was created
    END OF ty_pur,
    BEGIN OF ty_days,
    days TYPE ekko-aedat,
    END OF ty_days.
    DATA: it_ekko TYPE TABLE OF ty_pur,
    wa_ekko LIKE LINE OF it_ekko,
    it_days TYPE TABLE OF ty_days,
    wa_days LIKE LINE OF it_days.
    DATA : dbtwn TYPE i,
    g_day TYPE dtresr-weekday.
    PARAMETERS : p1 TYPE dats,
    p2 TYPE dats.
    RANGES : r_day FOR ekko-aedat.
    r_day-low = p1.
    r_day-high = p2.
    r_day-sign = 'I'.
    r_day-option = 'BT'.
    APPEND r_day.
    IF p2 GT p1.
      dbtwn = p2 - p1.
    ELSE.
      MESSAGE e000(zhnc) WITH 'plz enter date in proper order'.
    ENDIF.
    *DO dbtwn TIMES.
    *  CALL FUNCTION 'DATE_TO_DAY'
    *    EXPORTING
    *      date    = p1
    *    IMPORTING
    *      weekday = g_day.
    *  IF g_day = 'Sat.' OR g_day = 'Sunday'.
    *   wa_days = g_day.
    *    APPEND wa_days TO it_days.
    *  ENDIF.
    *  p1 = p1 + 1.
    *ENDDO.
    SELECT ebeln bukrs bstyp bsart aedat FROM ekko INTO TABLE it_ekko WHERE aedat IN
    r_day.
    LOOP AT it_ekko INTO wa_ekko.
      CALL FUNCTION 'DATE_TO_DAY'
        EXPORTING
          date    = wa_ekko-aedat
        IMPORTING
          weekday = g_day.
      IF g_day = 'Sat.' OR g_day = 'Sunday'.
            WRITE : / wa_ekko-ebeln, wa_ekko-bukrs, wa_ekko-bstyp, wa_ekko-bsart, g_day.
      ENDIF.
    ENDLOOP.

  • Firefox is not able load any websites but others programs can. i tried everything given in the support forum but nothing worked out. so can you please help me out with it?

    firefox is not able to load any websites... i tried everything given in the support forum under the topic firefox is not able to load any websites but other programs can.. but still i am facing the same problem. so please help me out with this issue!!

    firefox is not able to load any websites... i tried everything given in the support forum under the topic firefox is not able to load any websites but other programs can.. but still i am facing the same problem. so please help me out with this issue!!

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

  • HT1338 I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    I have a macbook Pro i7 mid november 2010. I am wondering if i can exchange my notebook with the latest one. Can anyone help me out with this query please.

    You can sell your existing computer using eBay, Craigslist or the venue of your choice. You could then use the proceeds to purchase a new computer.

  • HT1212 My iPod touch is disabled after too many attempts and I want to enable it without getting it clear so can you please help me out in this....

    My iPod touch is disabled after too many attempts and I want to enable it without getting it clear so can you please help me out in this....

    A data recovery company MAY be able to do it for a price. The Disabled is a very good security feature.
    JWhy not just restore from the last backup you have?
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Please help me out with some fundamentals in BW

    Hello,
    Please guide me regarding the below mentioned questions.
    1. what is the key date in query designer.
    2. when do we perform attribute change run
        like once the master data is loaded then we perform attribute change run and load the transactional data ?
    3.what is the disadvantage of using aggregates.
    4. what is full repair options?
    please help me out with these questions

    HI,
    Repair full request :
    If you indicate a request in full update mode as a repair request, then it is able to be updated in all data targets. This is also true if they already contain data from initial runs or deltas for this DataSource / source system combination, and they have overlapping selections.
    Consequently, a repair request can be updated at any time without checking each ODS object. The system supports loading in an ODS object by using the repair request without having to check the data for overlapping or request sequencing. This is because you can also delete selectively without checking an ODS object.
    Posting such requests can lead to duplicate data records in the data target.
    Hierarchy/attribute change run after loading master data;
    When hierarchies or attributes of characteristics change, the aggregate affected by the change can be adjusted manually or calculated automatically in process chains.
    Aggregates:
    Aggregates are materialized, pre-aggregated views on InfoCube fact table data. They are independent structures where summary data is stored within separate transparent InfoCubes. The purpose of aggregates is purely to accelerate the response time of queries by reducing the amount of data that must be read in the database for a given query navigation step. In the best case, the records presented in the report will exactly match the records that were read from the database.
    Aggregates can only be defined on basic InfoCubes for dimension characteristics, navigational attributes (time-dependent and time-independent) and on hierarchy levels (for time-dependent and time-independent hierarchy structures). Aggregates may not be created on ODS objects, MultiProviders or Remote Cubes.
    Queries may be automatically split up into several subqueries, e.g for individual restricted key figures (restricted key figures sales 2001 and sales 2002). Each subquery can use one aggregate; hence, one query can involve several aggregates.
    If an aggregate has less than 15 components, BW 3.x puts each component automatically into a separate dimension that will be marked as “line item” (except package and unit dimension); these aggregates are called flat aggregates. Hence, dimension tables are omitted and SID tables referenced directly.  Flat aggregates can be rolled up on the DB server (i.e., without loading data into the application server). This accelerates the roll up (hence the upload) process.
    Disadvantage : The more aggregates exist, the more time-consuming is the roll-up process and thus the data loading process; the change run is also affected.
    Hope this info Helps.
    Thanks,Ramoji.

  • How to access the activities created by an enduser especially when the enduser has left the organization?Please help me out with the possible solution

    How to access the activities created by an end user especially when the end user has left the organization?Please help me out with the possible solution

    Hi Ramesh,
    In the web UI we have business role IC_manger where you can search the activities based on employee responsible and you can use business transaction assignment functionality to assign those activities to any  other end user or team.
    Else you can also use Agent inbox functionality if you have configure the agent inbox for those activity.
    Hope this helps solving your query

  • Itunes 64 bit wont install on my Dell XPS due to Windows Installer problems. Can somebody help me out with this?

    I have Windows 7 home premium, running on a Dell XPS 15, with 64 bit OS, and when i went to install itunes for my new phone, it would almost install, but then say that it couldn't install due to issues with windows Installer. has anybody had this happen to them? can anybody help me out with this?

    Many thanks.
    "There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor".
    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • My osx version is 10.8.2. i was buying the facetime app for my mac. i got this error -"FaceTime can't be installed on "Macintosh HD" because the version of OS X is too new." so please help me out of this funny situation.

    my osx version is 10.8.2. i was buying the facetime app for my mac. i got this error -"FaceTime can’t be installed on “Macintosh HD” because the version of OS X is too new." so please help me out of this funny situation.

    https://www.apple.com/support/mac-apps/facetime/

  • 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 received an email telling me that my icloud storage is almost full.  I need to upgrade to the next level.  Can someone help me out with this?

    I received telling me that my icloud storage is almost full.  I need to upgrade my storage.  Can someone help me out with this.  I understand that the 20 GB is only .99 per month.  Just hoping this would be enough for me.  I back up 2 ipads and my iphone on the same computer.  Any help you can give me would be appreciated.  Thank you.

    Okay.
    I responded as I did because you wrote, "I have 2 ipads and my iphone that I back up on one computer"
    No worries here.
    But hopefully you get/got it sorted.
    Any issues, post back.

Maybe you are looking for

  • Crystal reports 2013 , SAP MDX Driver not able to connect with BW BEX Query

    Hi All, We just installed Crystal 2013, and want to create crystal report on SAP BW CUBE/BEX Query through SAP MDX Driver. 1.When start connecting through SAP MDX Query option from new connection , SAP Systems which are in SAPLOGON are not appearing

  • Drivers install incorrectly/no detected by iTunes (super tl;dr material)

    I have an iphone 3G running iOS4.01 and the latest version of iTunes. I don't know how it started. I was updating to iTunes 10 and I lost power to my computer (iPhone was not connected at the time). After a reboot, I uninstalled iTunes because it wou

  • [CS2/CS3 JS] Inserting columns or rows in tables

    Anybody here know how to insert or add column(s)/row(s) in tables in Indesign Javascript? Please help... Thanks...

  • Flex SDK 4.11 4.0 error after upgrading from 4.10 3.9

    I have initially developed my flex applicaition in Flex SDK 4.6. I was able to upgrade my application to 4.10 3.9. But to support iOS 7 I am now using 4.11 sdk & air runtime 4.0. But unfortunately it is giving me this error: Error #1065: Variable spa

  • Return character in text file

    I have a JTextArea. I read a file and place the contents into the textArea. The user can change the text in the textArea. The user can then save changes to the text file. To write to the text file I use: writer = new PrintWriter(new BufferedWriter( n