Table tab in EXIT_SAPLRSAP_002

Hi all,
In the table tab in the user exit EXIT_SAPLRSAP_002 there is a table defined
i_t_data,but the type is not specified.Now if i want to enhance this exit.
How can i use this table to fill values?
Because this table only returns the data that can be transfered.
Please reply.Its urgent.

hi
any suggstion?
Regards

Similar Messages

  • Asset Table TABA can't be udpated.

    Dear All,
    In my user's production system, asset fiscal year was set to 2009. In 2008, no asset was created and posted depreciation (TABA: On 2007 12, the posted document is N. Before 2007 12, it is X). In 2009 Jun, user created an asset and wanted to post the depreciation in AFAB. But she got the error message saying "No posting possible in fiscal year".
    I have tested it on my IDES and find out that user thought as no asset was created in 2008, she do not have to use AFAB to run the depreciation. Even though no depreciation was posted, the AFAB should be running monthly. Am I right? So I tell user to test
    in their QA system. After I used OAAQ to change the asset fiscal year to 2008, user start to run the depreciation of period 1-12 2008. Jobs of RAPOST2000 are all completed without any error. BUT, no data was updated to table TABA. What's the problem?
    Did I miss something?
    My IDES system has 2 different setup with user's QA system.
    1. The GL fiscal year is from 2005-2010. I tried to change the fiscal year in QA from 1-5 2009 to 1-12 2008. I still got nothing updated in TABA.
    2. In my IDES, I have several assets and depreciation posted. And in my IDES, the TABA was updated successfully.
    Please kindly through some light on this.
    Thank you and good day.
    Emma

    Dear Srinu,
    Thank you for the direction. However the depreciation was posted to another document and the document number was not updated to the table TABA.
    I am checking on the accounting document of 12 2007. I found the number is not in consistency with the that in documents of 1-11 2007. e.g. on 1-11 2007 account document number is from 21000638-21000649 but on 12 2007  account document number is 21000001. I found in FB03 that another account document 21000650 was posted on 12/31/2007.
    I set the asset fiscal year to 2007 and GL fiscal year to 2007 and try to repeat run the depereciation in the 12 2007. And in test run, the error message is:
    Documents manually posted within dep.doc.number range
    Message no. AA728
    Diagnosis
    In the number range interval for the document type for posting depreciation, a document 21000650 has been posted which was not created within the framework of depreciation posting. The last document posted by depreciation posting was assigned the number 21000649.
    Procedure
    Contact your Systems Specialist. When changing the number range interval for the document type in depreciation posting, you have to specify a new interval in which no documents exist. Using organizational measures, you can guarantee that there are no documents apart from those created by depreciation posting in this number range.
    I checked my number range 21 (external), the field in current document number is blank. I was totally confused. How come it does not have any current document number?
    Please throw more light to me. Thank you so much.
    Emma

  • Can someone explain the tables tab under function parameter declaration ?

    Hello,
    when declaring a function, part of its parameter interface is the tables tab. So if in FUNCTION1 i  declare a table: tdraw like draw  (optional)
    what does that mean ? does this mean that tdraw will be a table of type draw and at the same time it will be filled up with the same contents as draw has ?
    then how can other function (func2) use FUNCTION1 and its table ?
    so if inside func2  i also have an internal table AA like draw :
    so inside func2 i say:
    call function1
    tables:tdraw = AA
    does this mean that it will assign the result tdraw table of function1 to AA ?
    can someone explain details of internal tables and passing them as parameters ?
    and which table is assigned to which ?
    thank you

    Hi hassan,
    If you are talking about the tables parameter in SE37, when you declare a table tdraw like draw it only means you are declaring an internal table of type draw but the contents are not filled into it.
    In the source code of the program you have to write the code to fetch the data to tdraw and do the manipulations accordingly.
    Also, the tables you are declaring can be like the input table or can be used for output table.
    suppose u have 2 tables tab1 and tab2, tab1 you are going to input the values to it and the calculated values have to be in another table, you can use tab2 as the result table.
    hope it helps.
    award points if it helps.

  • Create Parameter in Smartforms Interface table tab signed as local type

    Error Message:
    Form Interface     Only table types may be used as the reference type for a table parameter
    What I did:
    I have created a table in <i>tables tab</i> of <b>Form Interface</b> like this:
    Parameter Name: IT_1
    Type Assignemnt: TYPE
    Associate Type: TYT
    **TYT is defined in <i>Types</i> tab under <b>Global Definition</b> like this:
    TYPES: BEGIN OF tys,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-vbeln,
    END OF tys.
    TYPES: tyt TYPE TABLE OF tys.
    I understand that if I create these two structure in data dictionary then It will work.
    But my question is :
    Can I create tables parameter with locally declared type. If no, I will appreciate if you can explain the reason

    Hi
    Yes u can create a local type and use it to define IMPORT/EXPORT parameters, but you can't use a table type to be used for TABLE parameters.
    Anyway I think it would be better to use the local types only to define local variable.
    But the interface of SM is the gate to link the smartform to external enviroment so I believe it doesn't make a sense to create a parameter as local type because only sf can use that type and so it should re-define it in every program where the sf has to be used.
    Max

  • EA3: Bug in dependencies query for table tab

    SQL Developer 1.5EA3, JDK 1.6.0_04
    I have just noticed a problem with the dependencies query on the table tab - it only shows dependencies where the referencing object is owned by the table owner and for any object with the same name as the table owner.
    The query is:
    sselect owner, name, type, referenced_owner, referenced_name, referenced_type ,owner sdev_link_owner, name sdev_link_name, type sdev_link_type from ALL_DEPENDENCIES where owner = :OBJECT_OWNER and referenced_name = :OBJECT_NAME
    Instead of restricting owner to :OBJECT_OWNER, it should be restricting referenced_owner to :OBJECT_OWNER.
    theFurryOne

    I think the arrow keys could be used for navigating the grid, and Alt-Down Arrow and Alt-Up Arrow could be used for viewing the drop-down list.
    How about instead of allowing someone to type in the value, have them select from a list? The index columns can only be columns on the table, and if a column is already chosen for the index, remove it from the list.
    I think the behavior of Microsoft's Table Designer is similiar.
    What do you think?

  • Table tab order

    Is there a way to change the tab order in a table so that it goes down a column instead of across?
    Likewise, I would like cells to build in down the column by cell instead of across, i.e. all of the first column comes in one cell at a time and then the next one cell at a time. Is this possible.
    Thanks.
    Carole

    Hi Arick,
    This is a standard functionality provided by Adobe form. You can see 'Tab order' under options, and using the shift key, decide the order in which you want the tab to move.
    for the number of row, use the following ( i dont know if theres any standard function, but since its repeated nodes of a subform, you can calculate  it in the following way)
    I am assuming that the table is called 'Table1' defined under the root node, and has only headerRow defined. No FooterRow is defined
    var count = 0;
    var nNumRows = form.Table1.nodes.length;
    for (var nNodeCount = 0; nNodeCount < nNumRows; nNodeCount ++){
    if (Table1.nodes.item(nNodeCount).className == "subform") {
    if (Table1.nodes.item(nNodeCount).name != "HeaderRow"){
    count++;
    the value of count is the no. of rows in the table

  • Open table in new tab

    I am using SQL Developer 1.2.0 Build MAIN-29.98, Java 6, and would like to open tables in new tabs instead of the same one... I know that this was possible in one of the previous versions but can't remember the option - and can't find it in the preferences...
    Thanks!

    For manual control, that would be the red pin; first icon on the table tab's toolbar.
    Predefine the behaviour in Preferences - Database - Objectviewer - Automatically freeze.
    Regards,
    K.

  • Role of Changing & Tables in Functional Module Tab

    Hi, Experts of Abap
    Please tell me how Changing Tab & Tables Tab help us
    IN ABAP DEVELOPMENT
    thanks
    Rajeev

    Well, it sounds to me that these parameters are self explaining, but let me give a try anyway.
    Changing: You can use this parameter to import some data into your functionmodule, change it and send it back to the caller. This way you don't need an import and export parameter.
    Tables: In the early days, you could only transfer tabular data into a function module using the TABLES parameter. So instead of transferring (import and/or export) one record, you can now pass several records to the function module.
    BTW: You could als use the F1 help for this, search on help.sap.com, or search SCN first, before even thinking about posting a standard question like this.

  • 919: Column count replaces query count when opening table/view/etc tab

    I don't know whether this is intentional or not, but I have just noticed that opening a table or view tab from the connection pane replaces the existing query count message with the query count from the column query. For example, opening a table tab for a table with 14 columns sets the query count message to "All Rows Fetched: 14".
    This is not a big issue, but adds to the aggravation of only having the latest query count message, rather than one for each SQL Worksheet.
    Is it possible to find somewhere on the SQL Worksheet that we can put it's query count message (for example to the right of the execution time)?

    I am happy for querying the columns of a table/view/etc to display the fetch count of the columns, although I am rarely interested in how many columns there are in a table/view/etc.
    However, I already find it frustrating that the query count is only for the last fetch - it can be very useful having the query count for last fetch per SQL Worksheet. Having the last fetch overwritten by opening a table tab only makes it more frustrating.

  • Modify dynamic internal table from dynamic work area using index...

    ASSIGN w_text TO <fs>.
        ASSIGN w_temp TO <fs1>.
        lint_tab_iw49[] = <tab>.
        lint_tab_iw49_t[] = <tab>.
        DELETE ADJACENT DUPLICATES FROM lint_tab_iw49 COMPARING aufnr.
        LOOP AT lint_tab_iw49 INTO lws_tab_iw49.
          READ TABLE lint_object_tab1 INTO lws_object_tab1
                        WITH KEY aufnr = lws_tab_iw49-aufnr.
          IF sy-subrc EQ 0.
    Collect operations in rows of an internal table.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZOPERN' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              CONCATENATE w_text <fs> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split operations into an internal table to get operations in rows.
            SPLIT w_text AT ',' INTO TABLE lint_vornr.
            DELETE lint_vornr WHERE vornr = ' '.
            DESCRIBE TABLE lint_vornr LINES w_lines.
    Collect costs in rows of an internal table
            CLEAR: w_idx, w_nn, w_xx, w_text.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZCOST' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              <fs1> = <fs>.
              CONCATENATE w_text <fs1> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split costs into an internal table to get costs in rows.
            SPLIT w_text AT ',' INTO TABLE lint_escost.
            DELETE lint_escost WHERE cost = ' '.
            DESCRIBE TABLE lint_escost LINES w_lines_cost.
           Append lines of lint_escost from 1 to w_lines to lint_escost1.
    Collect currencies in rows of an internal table
            CLEAR: w_idx, w_nn, w_xx, w_text.
            w_idx = 1.
            WHILE w_idx < 51.
              w_nn = w_idx.
              CONCATENATE 'lws_object_tab1-ZZCURR' w_nn INTO w_xx.
              ASSIGN (w_xx) TO <fs>.
              <fs1> = <fs>.
              CONCATENATE w_text <fs1> INTO w_text SEPARATED BY ','.
              w_idx = w_idx + 1.
            ENDWHILE.
    Split costs into an internal table to get costs in rows.
            SPLIT w_text AT ',' INTO TABLE lint_curr.
            DELETE lint_curr WHERE curr = ' '.
            DESCRIBE TABLE lint_curr LINES w_lines_curr.
           Append lines of lint_curr from 1 to w_lines to lint_curr1.
          ENDIF.
          PERFORM update_object_tab_for_iw49n.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " modify_object_tab
    *&      Form  update_object_tab_for_IW49N
          text
    -->  p1        text
    <--  p2        text
    FORM update_object_tab_for_iw49n .
      DATA: lws_temp TYPE string VALUE 'where aufnr = lws_tab_iw49-aufnr',
            lw_index TYPE sy-index.
      READ TABLE <tab> TRANSPORTING NO FIELDS WITH KEY ('AUFNR') =
      lws_tab_iw49-aufnr.
      IF sy-subrc EQ 0.
        lw_index = sy-tabix.
        LOOP AT <tab> INTO <wa1> FROM lw_index.
          IF <wa1>-aufnr NE lws_tab_iw49-aufnr.
            EXIT.
          ELSE.
            CLEAR lw_index.
           lw_index = sy-tabix.
            lw_index = 1.
            WHILE lw_index LE w_lines.
              READ TABLE lint_escost INTO lws_escost INDEX lw_index.
              IF sy-subrc EQ 0.
             lw_index = lw_index + 1.
                <wa1>-zzcost1 = lws_escost-cost.
              ENDIF.
              READ TABLE lint_curr1 INTO lws_curr INDEX lw_index.
              IF sy-subrc EQ 0.
                <wa1>-zzcurr1 = lws_curr-curr.
              ENDIF.
              MODIFY <tab> FROM <wa1> "TRANSPORTING ('ZZCOST1') ('ZZCURR1')
                        INDEX sy-tabix.
              IF sy-subrc EQ 0.
              ENDIF.
              lw_index = lw_index + 1.
            ENDWHILE.
          ENDIF.
        ENDLOOP.
      ENDIF. 
    ENDFORM.                    " update_object
    Hi,
    With referene to the code snippet above I want to modify <tab> from <wa1> on specific indices or with specific where condition.
    Is it achievable... How?
    Many thanks in advance.
    Thanks & Regards,
    Shreya

    You might have to split the code in to two parts to keep the formatting intact.

  • Declaring an internal table in smartform

    hi,
       can anyone tell how to declare   internal table in smartform.
       the internal table contains fields from 2 or more data dictionary tables(eg.kna1 
       and adrc). after this from the print program(internal table containing data in print
       program) internal table should be passed to the smartform.
    thanks.

    hi laxya,
    if u want to pass the data from internal table in print program to Smartform.. there is only way.. that is using form interface..
    1. goto se11, create a structure same as the itab in the print program.ex. <b>z_itab</b>
    2. create line type... se11>select radio button-DATA type><b>z_it_itab</b> >press create>then select>TABLE Type> then entrer some text--> in the line type Field in giveth Str name u have created in STEP 1. activate it.
    3. got SMARTFORMS-> form inteface>tables tabe--> give some name ex <b>IT_tab type z_it_itab</b>.
    then acivate it.. then in the driver progam pass this table data.
    Exapmpel
    CALL FUNCTION fp_v_fm_name
        EXPORTING
          archive_index      = toa_dara
          archive_parameters = arc_params
          control_parameters = fp_st_control_parameters
          user_settings      = space
          output_options     = fp_st_output_options
          wa_vbdkr           = fp_st_vbdkr
        IMPORTING
          job_output_info    = l_it_ssfcrescl
          job_output_options = l_it_ssfcresop
        TABLES
    <b>      IT_tab  = z_it_itab (or table in driver program)</b>
      EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Another way is cteate a type in Globaldifination-->types tab..
    ex:
    types: begin of ty_itab,
       matnr type matnr,
       meins type meins
       vrkme  type vrkme,
    end of ty_itab,
    ty_it_itab type standard table of ty_itab.
    then GLOBAL DIFINATION>GLOBAL DATA TAB>IT)ITAB TYPE TY_IT_ITAB.
    BUT In this u can't pass the data from the print Program.. if u want to populate data in to this table... u have to write the Select query in the GLOBAL DIFINATIONS-->INITILIZATIONS TAB.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K
    Message was edited by:
            Naresh Reddy

  • PASSING INTERNAL TABLE IN SMARTFORM

    HI' I M NEW TO SMARTFORMS, MY PROBLEM IS =THAT
    I'VE CREATED A NEW TYPE(SAY TY_BKPF) IN THE DRIVER PROGRAM.
    THEN I'VE DECLARED AN INTERNAL TABLE OF THIS TYPE.
    TO PASS THIS INTERNAL TABLE INTO MY SMARTFORM I'VE PASSED THE INTERNAL TABLE'S NAME INTO THE FUNCTION MODULE UNDER THE TABLES PARAMETER.
    BUT I'M NOT ABLE TO UNDERSTAND AS TO WHAT TYPE SHOULD I GIVE IT IN THE FORM INTERFACE IN THE TABLES TAB.
    PLZ HELP.

    Define table in smartforms
    Global settings :
    Form interface
    Variable name    Type assignment   Reference type
    ITAB1               TYPE                  Table Structure
    Global definitions
    Variable name    Type assignment   Reference type
    ITAB2               TYPE                  Table Structure
    Also have a look at below sample code. It will give you idea abt the same.
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
            INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
       MOVE-CORRESPONDING MKPF TO INT_MKPF.
       APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZSMARTFORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
      IMPORTING
        FM_NAME                  = FM_NAME
      EXCEPTIONS
        NO_FORM                  = 1
        NO_FUNCTION_MODULE       = 2
        OTHERS                   = 3.
    if sy-subrc <> 0.
       WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        GS_MKPF                    = INT_MKPF
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    if sy-subrc <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Have a look at below link for more help on smart forms.
    http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • APEX_APPLICATION_FILES: ORA-00942: table or view does not exist

    Hello,
    As my first APEX task I am attempting the upload/download demo on http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm
    The ultimate goal is to store PDF files in the database.
    In order to complete step 1: To create an application using the Create Application Wizard:
    - I first created a user from SYSTEM called 'myapp'
    - Next I logged into 'myapp' to continue the exercise. (I am wondering if that is where I am going wrong... If so, please clarify)
    - Knowing that I would want to save the upload to a table I created a table with a BLOB
    I did the steps for the upload and ran the application - no errors to there.
    Next I needed to "To create a report on APEX_APPLICATION_FILES:".
    I started the wizard as instructed. When I pasted the SELECT ... FROM APEX_APPLICATION_FILES, I got the table or view does not exist. A quick review of the TABLES tab shows only the tables that I created. Not any of the system tables or views.
    I logged back in as SYSTEM and reviewed the 'rights' given the user 'myapp'. All were checked.
    I knew nothing of Oracle when I installed XE, so I took defaults or whatever the install doc said to do. Is that part of the problem? It is clear that I do not have rights to see that table, but I also do not see the table when logged in as SYSTEM.
    Any insight appreciated,
    Rick

    Thanks for the reply.
    Version is:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database      
    NAME     XE
    CREATED     10/13/2006 08:04:21 PM
    RESETLOGS_TIME     10/13/2006 08:04:25 PM
    Install Version 10.2.1015
    Regarding the code links, this one looks like what I need:
    DECLARE
    l_bfile BFILE;
    l_blob BLOB;
    BEGIN
    INSERT INTO tab1 (col1)
    VALUES (empty_blob())
    RETURN col1 INTO l_blob;
    l_bfile := BFILENAME('IMAGES', 'MyImage.gif');
    DBMS_LOB.fileopen(l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile));
    DBMS_LOB.fileclose(l_bfile);
    COMMIT;
    END;
    Is the 'BFILENAME' function that causes the 'get a filename' dialog box of Windows to open for the user to find which file to upload?
    I'm going off to look for a newer version of APEX, thanks.

  • Abap code not working  - deleting based on master data table information

    Hi,
    I wrote a piece of code earlier which is working and during test we found out that it will be hard for the support guys to maintain because it was hard coded and there is possibility that users will include more code nums in the future
    sample code
    DELETE it_source WHERE /M/SOURCE EQ 'USA' AND
    /M/CODENUM NE '0999' AND
    /MCODENUM NE '0888' AND.
    Now I created a new InfoObject master data so that the support people can maintain the source and code number manually.
    master data table - the codenum is the key.
    XCODENUM    XSOURCE
    0999               IND01
    0888               IND01
    now I wrote this routine all the data gets deleted.
    tables /M/PGICTABLE.
    Data tab like /M/PGICTABLE occurs 0 with header line.
    Select * from /M/PGICTABLE into table tab where objvers = 'A'.
    if sy-subrc = 0.
    LOOP at tab.
    DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM NE tab-XCODENUM.
    ENDLOOP.
    Endif.
    But when I chage the sign to EQ, I get opposite values , Not what I require.
    DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM EQ tab-XCODENUM.
    Cube table that I want to extract from
    /M/SOURCE                             /M/CODENUM
    IND01                                       0999
    IND01                                       0888
    IND01                                       0555
    IND01                                       0444
    FRF01                                      0111
    I want to only the rows where the /M/CODENUM = 0999 and 0888 and i would also need FRF101
    and the rows in bold  should be deleted.
    thanks
    Edited by: Bhat Vaidya on Jun 17, 2010 12:38 PM

    It's obvious why it deletes all the records. Debug & get your answer i wont spoon feed
    Anyways on to achieve your requirement try this code:
    DATA:
          r_srce TYPE RANGE OF char5, "Range Table for Source
          s_srce LIKE LINE OF r_srce,
          r_code TYPE RANGE OF numc04,"Range table for Code
          s_code LIKE LINE OF r_code.
    s_srce-sign = s_code-sign = 'I'.
    s_srce-option = s_code-option = 'EQ'.
    * Populate the range tables using /M/PGICTABLE
    LOOP AT itab INTO wa.
      s_code-low = wa1-code.
      s_srce-low = wa1-srce.
      APPEND: s_code TO r_code,
              s_srce TO r_srce.
    ENDLOOP.
    DELETE ADJACENT DUPLICATES FROM:
    r_code COMPARING ALL FIELDS,
    r_srce COMPARING ALL FIELDS.
    * Delete from Cube
    DELETE it_source WHERE srce IN r_srce AND code IN r_code.

  • Any Function modules or tables to find workitem in ready status for user

    Hi all,
    Is there any way i can find the possible workitems which is in ready state in a users inbox.
    Thanks,
    Neslin.

    Hi Neslin
    You can use this FM RH_LOCAL_INBOX_GET which gives all the details of the work item for the particulaer user. In this FM goto table tab WI_LIST willl give all the details WI_LIST-WI_STAT give the status of the work item.
    Regards
    vijay

Maybe you are looking for

  • Possible to change sidebar div from left to right?

    I'm just starting to design completely using CSS...very tough to change. I have a home page roughed out with a sidbar nav on the left BUT I'm thinking it may be a bit more mobile friendly if I move it to the right and allow the content to be all the

  • Need help on name of an extension.

    I can't remember the name of an extension I had, maybe some one knows the name. The extension was one where when I clicked on a new tab, I could customize the tab page with short cuts to my favorite sites from a list of sites or type in my own. I any

  • Java 3d applets and browsers

    i'm looking into putting 3d content on the web. i was thinking of using the 3d api to create an applet which showed a 3d product object which the user could then rotate and which i could load .wml objects (or some3d format) into the applet. i know th

  • Recursive parent, limit view

    Hello,I am trying to setup report in which people will be able to see their details - themselves & their subordinates. At the moment I am able to generate report as below (digit in second column shows level in hierarchy): Thing is that I would like t

  • Sharing Video - BBM or Text must be addressed

    Long time user.  Very happy with the new phone and software. I would like to make a suggestion.  As a loyal BB user and fan, I get frustrated when another device can do something my BB cannot....something that makes sense and is needed (I don't care