Hi this is very urgent

could u plz explain how to populate the data into  the final internal table in this program.
i need how to add this all select statement into one final internal table
plz provide me
i am using ALVgrid repors
could u plz explain clearly with comments 
very urgent
TABLES: eban,                 "Purchase Requisition
        ekko,                 "Purchasing Document Header
        mereq3328,            "Purchase Requisition: Contact
        cdpos,                "Change document items
        cdhdr,                "Change document header
        dd04t.                "R/3 DD: Data element texts
TYPE-POOLS: slis.
TYPES :
*declaration of type for internal table to be passed in ALV report as
*internal table.
      BEGIN OF typ_req1,
         statu               TYPE    eban-statu,                        "Processing status of purchase requisition
         banpr               TYPE    eban-banpr,                        "Requisition Processing State
         bsart               TYPE    eban-bsart,                        "Purchase requisition document type
         banfn               TYPE    eban-banfn,                        "Purchase requisition number
         bnfpo               TYPE    eban-bnfpo,                        "Item number of purchase requisition
         ebeln               TYPE    eban-ebeln,                        "Purchase order number
         ebelp               TYPE    eban-ebelp,                        "Purchase order item number
         matnr               TYPE    eban-matnr,                        "Material Number
         txz01               TYPE    eban-txz01,                        "Short text
         creator_name        TYPE    mereq3328-creator_name,            "Creator
         afnam               TYPE    eban-afnam,                        "Name of requisitioner/requester
         lifnr               TYPE    eban-lifnr,                        "Desired vendor
         flief               TYPE    eban-flief,                        "Fixed Vendor
         ekgrp               TYPE    ekko-ekgrp,                        "Purchasing Group
         tabkey              TYPE    cdpos-tabkey,                      "Item Number
         ddtext              TYPE    dd04t-ddtext,                      "Short Text
         chngind             TYPE    cdpos-chngind,                     "Action
         value_new           TYPE    cdpos-value_new,                   "New Value
         value_old           TYPE    cdpos-value_old,                   "Old Value
         username            TYPE    cdhdr-username,                    "Name
         udate               TYPE    cdhdr-udate,                       "Date
         utime               TYPE    cdhdr-utime,                       "Time
         changenr            TYPE    cdhdr-changenr,                    "Doc Number
         tcod                TYPE    cdhdr-tcode,                       "Transaction Code
      END OF typ_req1,
Type declaration for EBAN table fields
      BEGIN OF typ_eban,
         statu               TYPE    eban-statu,                        "Processing status of purchase requisition
         banpr               TYPE    eban-banpr,                        "Requisition Processing State
         bsart               TYPE    eban-bsart,                        "Purchase requisition document type
         banfn               TYPE    eban-banfn,                        "Purchase requisition number
         bnfpo               TYPE    eban-bnfpo,                        "Item number of purchase requisition
         ebeln               TYPE    eban-ebeln,                        "Purchase order number
         ebelp               TYPE    eban-ebelp,                        "Purchase order item number
         matnr               TYPE    eban-matnr,                        "Material Number
         txz01               TYPE    eban-txz01,                        "Short text
         afnam               TYPE    eban-afnam,                        "Name of requisitioner/requester
         lifnr               TYPE    eban-lifnr,                        "Desired vendor
         flief               TYPE    eban-flief,                        "Fixed Vendor
      END OF typ_eban,
Type declaration for ekko table fields
      BEGIN OF typ_ekko,
         ekgrp               TYPE    ekko-ekgrp,                        "Purchasing Group
      END OF typ_ekko,
Type declaration for cdpos table fields
      BEGIN OF typ_cdpos,
         fname               TYPE    cdpos-fname,
         changenr            TYPE    cdpos-changenr,                    "Doc Number
         objectclas          TYPE    cdpos-objectclas,                  "Object class
         objectid            TYPE    cdpos-objectid,                    "Object value
         tabkey              TYPE    cdpos-tabkey,                      "Item Number
         chngind             TYPE    cdpos-chngind,                     "Action
         value_new           TYPE    cdpos-value_new,                   "New Value
         value_old           TYPE    cdpos-value_old,                   "Old Value
        CHNGIND    type    cdpos-CHNGIND
      END OF typ_cdpos,
Type declaration for cdhdr table fields
      BEGIN OF typ_cdhdr,
         objectclas          TYPE    cdhdr-objectclas,                  "Object class
         objectid            TYPE    cdhdr-objectid,                    "Object value
         username            TYPE    cdhdr-username,                    "Name
         udate               TYPE    cdhdr-udate,                       "Date
         utime               TYPE    cdhdr-utime,                       "Time
         changenr            TYPE    cdhdr-changenr,                    "Doc Number
         tcod                TYPE    cdhdr-tcode,                       "Transaction Code
         change_ind          TYPE    cdhdr-change_ind,
         objectid1(10)       TYPE    c,
      END OF typ_cdhdr,
Type declaration for dd04t table fields
      BEGIN OF typ_dd04t,
         ddtext              TYPE    dd04t-ddtext,                      "Short Text
        END OF typ_dd04t,
Type declaration for dd04t table fields
      BEGIN OF typ_mereq3328,
         creator_name        TYPE    mereq3328-creator_name,            "Creator
      END OF typ_mereq3328.
*&   delcaratilon of internal table                                   *
      DATA:
  Internal table for final internal table
         it_req1             TYPE    STANDARD TABLE OF typ_req1,
  Internal table for eban table
         it_eban             TYPE    STANDARD TABLE OF typ_eban,
  Internal table for ekko table
         it_ekko             TYPE    STANDARD TABLE OF typ_ekko,
  Internal table for cdpos table
         it_cdpos            TYPE    STANDARD TABLE OF typ_cdpos,
  Internal table for cdhdr table
         it_cdhdr            TYPE    STANDARD TABLE OF typ_cdhdr,
  Internal table for cdhdr1 table
         it_dd04t            TYPE    STANDARD TABLE OF typ_dd04t,
  Internal table for mereq3328 table
         it_mereq3328        TYPE    STANDARD TABLE OF typ_mereq3328,
Internal table for ALV Field Catalog
       it_fieldcat_alv     TYPE   slis_t_fieldcat_alv,
Internal table for ALV Event
       it_events           TYPE   slis_t_event.
*& Declaration of Work Area
  work area for final internal table
     wa_req1 TYPE typ_req1,
  work area for eban table
         wa_eban             TYPE    typ_eban,
  work area for ekko table
         wa_ekko             TYPE    typ_ekko,
  work area for cdpos table
         wa_cdpos            TYPE    typ_cdpos,
  work area for cdhdr table
         wa_cdhdr            TYPE    typ_cdhdr,
  work area for dd04t table
         wa_dd04t            TYPE    typ_dd04t,
  work area for mereq3328 table
         wa_mereq3328        TYPE    typ_mereq3328.
Declaration  of work area for Field Catalog
       wa_fieldcat         TYPE    slis_fieldcat_alv,
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_bsart    FOR     eban-bsart   OBLIGATORY
                           DEFAULT 'znb1' TO 'znb2',                 "Purchase requisition document type
                s_banfn    FOR     eban-banfn,                       "Req Number
                s_bnfpo    FOR     eban-bnfpo,                       "Req Item Number
                s_ebeln    FOR     eban-ebeln,                       "Purchase Order Number
                s_ebelp    FOR     eban-ebelp,                       "Purchase Order Item Number
                s_matnr    FOR     eban-matnr.                       "Material Number
PARAMETER:      p_txz01    TYPE    eban-txz01.                       "Short text
SELECT-OPTIONS: s_creat    FOR     mereq3328-creator_name,           "Creator
                s_afnam    FOR     eban-afnam,                       "Requester
                s_lifnr    FOR     eban-lifnr,                       "Desired vendor
                s_flief    FOR     eban-flief.                       "Fixed Vendor
SELECTION-SCREEN END OF BLOCK b.
SELECT objectclas
             objectid
             changenr
             username
             udate
             utime
             tcode
             change_ind FROM cdhdr
             INTO TABLE it_cdhdr
             WHERE objectclas = 'BANF'
             AND   udate      =  sy-datum .
SELECT    objectclas
                objectid
                changenr
                chngind
                tabkey
                value_new
                value_old
                FROM cdpos INTO TABLE it_cdpos
                FOR ALL ENTRIES IN it_cdhdr
                WHERE changenr EQ it_cdhdr-changenr AND
                      chngind EQ it_cdhdr-change_ind AND
                      objectclas EQ it_cdhdr-objectclas AND
                      objectid EQ it_cdhdr-objectid.
IF NOT it_cdhdr[] IS INITIAL.
        SELECT banfn
               bnfpo
               bsart
               statu
               afnam
               txz01
               matnr
               lifnr
               ebeln
               ebelp
               banpr
               FROM  eban INTO TABLE it_eban
               WHERE "banfn = it_cdhdr-objectid
                  banfn IN s_banfn
                 AND bnfpo IN s_bnfpo
                 AND bsart IN s_bsart
                 AND matnr IN s_matnr
                 AND lifnr IN s_lifnr
                 AND flief IN s_flief.
      ENDIF.
IF NOT it_cdpos[] IS INITIAL.
        SELECT rollname
               ddtext
               FROM dd04t INTO TABLE it_dd04t
               FOR ALL ENTRIES IN it_cdpos
               WHERE rollname = it_cdpos-fname.

hi rajeshreddy,
create one global internal table for the all output fields,
then move all these fields into this global internal table  and pass into your gird FM.
i.e. see the below code for reference ,
loop at <itab> into <wa>.
read table <itab1> into <wa1> with key <keyfield> = <wa-field>.
if sy-subrc = 0.
move-correspondig <wa1> to <globalwa>.
move-correspondig <wa> to <globalwa>.
endif.
then read another <itab2> into <wa2> with key <keyfield> = <wa-field>.
if sy-subrc = 0.
move-correspondig <wa2> to <globalwa>.
endif.
endloop.
like this u can move all output fields into one global internal table but u should have relation among all the internal tables.
reward points if helpful,
regards,
seshu.

Similar Messages

  • Pls help me , this is very urgent

    I have a column called description with values as follows
    Admin Support
    Admin Support
    Admin Support
    Air Support
    Cable - Disaster Response
    Cable - Operational Support
    Cable - PMPP (Preparedness)
    Cable - Program Support
    Capacity Building
    Capacity Building
    Chemical, Biological, Radiological, & Nuclear
    Commodity Procurement Contract
    Communications
    Computer Support
    Contract Services (warehousing)
    Coordination
    Coordination
    Disaster Assistance Response Program
    I have another column in this table for which i have to update with the sequence nos. The update should happen in such a way that if the description is same then i have update with sequence.currval and if the description is different then i have to update with sequence.nextval for each row as follows
    Admin Support----- 1
    Admin Support----- 1
    Admin Support----- 1
    Air Support----- 2
    Cable - Disaster Response----- 3
    Cable - Operational Support----- 4
    Cable - PMPP (Preparedness)----- 5
    Cable - Program Support----- 6
    Capacity Building----- 7
    Capacity Building----- 7
    Chemical, Biological, Radiological----- 8
    Commodity Procurement Contract----- 9
    Communications----- 10
    Computer Support----- 11
    Contract Services----- 12
    Coordination----- 13
    Coordination----- 13
    Disaster Assistance Response----- 14
    Pls help me how do i do this, this is very urgent
    Thanks
    Vinod

    If you want your sequence to start from 1, you can eliminate creating a special sqeuence for this, you can do it using ROWNUM in SQL,update your_table a
    set (a.description, a.col1)
       = (select c.description, c.rn from
            (select b.description, rownum rn from
               (select distinct description from your_table order by description) b) c
         where c.description = a.description);P.S Just an alternative.
    Thx,
    SriDHAR

  • I have forgotten my passcode, how can I access my phone without restoring it!! PLEASE HELP!! THIS IS VERY URGENT

    I always change my password and with this particular one I somehow managed to forget it, I have gone completely blank and I can't remember it. I dont want to restore my phone because I don't want to delete my photos and my songs in itube....PLEASE HELP THIS IS VERY URGENT

    iTunes
    If you've synced your device with iTunes, you can restore your device.
    Connect the device to the computer you normally sync with.
    Open iTunes. If iTunes asks you to enter your passcode or asks you to allow access, try another computer that you've synced with. Or use recovery mode. (Click the link to be taken to the steps.)
    iTunes will automatically sync your device and create a backup. If it doesn't, sync the device with iTunes.
    After the sync is complete, restore your device.
    I

  • Hi guys, This is very urgent, Creating radio button dynamically.

    Hi guys,
    I have this requirement where i need to access a table and depending on the possible answers for that question i need to display radio buttons on the next screen.
    lets say if i have the possible answers as YNX. i have to display three radio buttons besides the text one for YES, one for NO, one for N/A. I know this is kind of tricky but one more thing. if the possible answers are YN then i shud only have 2 radiobuttons one YES, one NO.
    and there are not only one text that im printing but there are multiple texts and radio buttons for each of them besides it.
    its urgent,
    Thanks

    Hi,
    here a short example:
    DATA: BEGIN OF SPOPLIST OCCURS 15.
            INCLUDE STRUCTURE SPOPLI.
    DATA: END   OF SPOPLIST.
    DATA: ANTWORT TYPE C.
    DATA: VALUE(3).
    VALUE = 'YNX'.
    SPOPLIST-VAROPTION = 'Yes'.
    APPEND SPOPLIST.
    SPOPLIST-VAROPTION = 'No'.
    APPEND SPOPLIST.
    IF VALUE = 'YNX'.
      SPOPLIST-VAROPTION = 'N/A'.
      APPEND SPOPLIST.
    ENDIF.
    CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
      EXPORTING
        TITEL            = 'Set your Answer'
        TEXTLINE1        = 'Please select'
        TEXTLINE2        = 'You can chosse this'
        TEXTLINE3        = 'Options'
      IMPORTING
        ANSWER           = ANTWORT
      TABLES
        T_SPOPLI         = SPOPLIST
      EXCEPTIONS
        TOO_MUCH_ANSWERS = 1
        TOO_MUCH_MARKS   = 2.
    IF ANTWORT = 'A'.
      WRITE: 'Popup canceled.'.
    ELSE.
      WRITE: 'This is select:'.
      LOOP AT SPOPLIST WHERE SELFLAG = 'X'.
        WRITE: SPOPLIST-VAROPTION.
      ENDLOOP.
    ENDIF.
    in the Docu of the FM there is another example with checkboxes.
    Hope it helps.
    Regards, Dieter

  • Please find this query very urgent

    Query-->select value from mytable where value is not null
         union all
    select value from mytable where value is null
    Ex: table name::mytable
    In this table i have one column called 'value' and this column values shold be like this
    12
    null
    13
    null
    11
    null
    ....i executed above query the result will be like this
    12
    13
    11
    null
    null
    null
    the above query executes on the table it's effect only one column result
    but i need multiple columns to be effected same as above one only....Anyone please help me on it and give the query.

    I have a table..MyTable(value number(10))
    select * from Mytable;value
    12
    null
    13
    null
    11
    null
    This is the table i have and the records i have...... and i need output like this
    value
    12
    13
    11
    null
    null
    null ..............>ike this i need output for this i use this query i.e
    Query-->select value from mytable where value is not null
    union all
    select value from mytable where value is null
    ------------>and this query gives only one column result i need multiple results like below: i have table with 2 columns like below
    MyTable2(value1 number(10),value2 number(10))
    select * fromMyTable2value1 value2
    111 null
    null 201
    112 null
    null 200
    110 null
    this is the table i have......... and i need output like below
    value1 value2
    111 201
    112 200
    110 null
    null null
    null null
    NOTE:: If we use ORDER BY table records order must change, i don't want to change any order....please what is the query for that

  • This is very urgent !!!

    hi all
    how to minimize all the application running in windows.
    you have opened explorer,IE browser, DOS and some othere application. i wanna minimize all the applications using java(Click a button). how do i solve it,
    regards
    Pradheep
    [email protected]

    Cross-posting is generally not approved of. See my reply to your other post.
    Robin

  • 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.

  • How to write code for this logic in a routine, very urgent --help me

    hi all,
    i want to apply this logic into one subroutin ZABC.
    here i m giving my logic ,can any body help me in coding for this, this is very urgent, i hv to submit on wednesday.
    4.1 Read the company code number BSEG-BUKRS from document line item.
    4.2 Fetch PRDHA from MARA into GV_PRDHA where MATNR = BSEG-MATNR.
    4.3 Fetch Business area (GSBER) from ZFIBU into GV_GSBER where (PRDHA = GV_PRDHA and BUKRS = BSEG-BUKRS) OR (PRDHA = GV_PRDHA and BUKRS = SPACE).
    4.4 If business area match is found, go to step 3.9. Else continue.
    4.5 If BKPF-BLART IN set “ZVS_POSDT” OR BKPF-XBLNR starts with “I0*”, execute steps below. Else, go to Step 3.6.
    i. MOVE: BSEG-BKURS TO work area field WA_ZFIBUE-BUKRS,
    BSEG-MATNR TO work area field WA_ZFIBUE-MATNR,
    GV_PRDHA TO work area field WA_ZFIBUE-PRDHA,
    BSEG-HKONT TO work area field WA_ZFIBUE-HKONT,
    BSEG-GSBER TO work area field WA_ZFIBUE-GSBER,
    BSEG-PSWBT TO work area field WA_ZFIBUE-PSWBT,
    BKPF-BUDAT TO work area field WA_ZFIBUE-BUDAT,
    SY-DATUM TO work area field WA_ZFIBUE-CREDATE,
    SY-UZEIT TO work area field WA_ZFIBUE-CRETIME,
    Fetch running serial number (WA_ZFIBUE-SERIALNO) from ZFICO. This number will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "ZFIBUE" and KEY1 = "SERIALNO". The actual serial number will be stored in the field VALUE1.
    i. Insert WA_ZFIBUE INTO ZFIBUE.
    ii. Send email notification to the user (if it is not already sent to user on the same posting date).
    Use function module ‘SO_NEW_DOCUMENT_ATT_SEND_API1’ to send mail.
    Fetch email address and date of last email from ZFICO. These values will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "EMAIL" and KEY1 = "<USERNAME>". The email address will be stored in the field VALUE1 and posting date in VALUE2. Once mail is sent, VALUE2 is updated with latest posting date (BKPF-BUDAT).
    iii. Increment the running serial number and update ZFICO with new serial number.
    a. GV_ SERIALNO = WA_ZFIBUE-SERIALNO + 1
    b. Update ZFICO Set value1 = GV_SERIALNO
    Where PARAMTYPE = "BPM030307" AND
    SUBTYPE = "ZFIBUE" AND
    KEY1 = "SERIALNO".
    iv Move “VDFT” to BSEG-GSBER.
    v. Exit routine.
    4.6 Fetch MTART into GV_MTART from MARA where MATNR = BSEG-MATNR.
    4.7 If SY-BATCH = INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain the mapping of product hierarchy <PRDHA> from article <MATNR> for <BUKRS>”. Else, go to step 3.8.
    4.8 If SY-BATCH <> INITIAL AND GV_MTART <> ‘ROH’, issue the error message - “Maintain product hierarchy on article master”. Go to step 3.10.
    4.9 Move GV_GSBER TO BSEG-GSBER.
    4.10 Exit Routine
    plz give me reply asap --this is very urgent
    thanks in advance
    swathi

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • How to write code for this logic, plz help me very urgent

    Hi All,
    i am new to sap-abap, i got this work and i m working on this can any body help me in writing code, plz help me, this is very very urgent.
    here  i m giving my logic, can anybody send me the code related to this logic.
    this is very urgent .
    this program o/p should be in ALV format and need to create one commond 'SAVE" on this o/t list  if  user clicks save processedon and processedby fields in ZFIBUE should be updated automatically.
    i am creating one custom table zfibue having fields: (serialno, bukrs, matnr,prdha,hkont,gsber,wrbtr,budat, credate, cretime,processed, processedon, processedby,mapped)
    fields of zfibue:
    serailno = numc
    bukrs = char
    matnr = char
    prdha = char
    hkont = char
    gsber = char
    wrbtr = char
    budat = date
    credate = date
    cretime = time
    processed= char
    processedon = date
    processedby = char
    mapped = char      are   belongs to above type data types
    and seelct-optionfields:  s_bukrs for bseg-bukrs
                                        s_hkont for bseg-hkont,
                                         s_budat for bkpf-budat,
                                         s_processed for zfibue-processed,
                                          s_processedon for zfibue-processedon,
                                          s_mapped. for zfibue-mapped
    parameters: p_chk1 as checkbox,
                      p_chk2 as checkbox.
                      p_filepath type rlgrap-filename.
    1.1 Validate the user inputs (S_BUKRS and S_HKONT) against respective check tables (T001 and SKB1). If the validation fails, provide respective error message. Eg: “Invalid input for Company Code”.
    1.2 Fetch SERIALNO, BUKRS, MATNR, PRDHA, HKONT, GSBER, WRBTR, BUDAT, CREDATE, CRETIME, PROCESSED, PROCESSEDON, PROCESSEDBY, MAPPED from table ZFIBUE into internal table GT_ZFIBUE where BUKRS IN S_BUKRS, HKONT IN S_HKONT, BUDAT IN S_BUDAT, PROCESSED IN S_PROCESSED, PROCESSEDON IN S_PROCESSEDON, and MAPPED IN S_MAPPED.
    1.3 If P_CHK2 = ‘X’, go to step 1.11. Else continue.
    1.4 If P_CHK1 = ‘X’, continue. Else go to step 1.9
    1.5 Fetch MATNR, PRDHA from MARA into GT_MARA for all entries in GT_ZFIBUE where MATNR = GT_ZFIBUE-MATNR.
    1.6 Sort and delete adjacent duplicates from GT_MARA based on MATNR.
    1.7 Loop through GT_ZFIBUE where PRDHA = blank.
              Read Table GT_MARA based on MATNR = GT_ZFIBUE-MATNR.
              IF sy-subrc = 0.
                     Move GT_MARA-PRDHA to GT_ZFIBUE-PRDHA.
                  Modify Table GT_ZFIBUE. “Update Product Hierarchy
                 Endif.
        Fetch PRDHA, GSBER from ZFIBU into GT_ZFIBU for all entries in GT_ZFIBUE where PRDHA = GT_ZFIBUE-PRDHA.
        Read Table GT_ZFIBU based on PRDHA = GT_ZFIBUE-PRDHA.
              IF sy-subrc = 0.
                     Move GT_ZFIBU-GSBER to GT_ZFIBUE-GSBER.
                  Move “X” to GT_ZFIBUE-MAPPED.      
                  Modify Table GT_ZFIBUE.
                 Endif.   
    Endloop.
    1.8 Modify database table ZFIBUE from GT_ZFIBUE.
    1.9 Fill the field catalog table GT_FIELDCAT using the details of output fields listed in section “Inputs/Outputs” (above).
       Eg:                 LWA_ FIELDCAT -SELTEXT_L = 'Serial Number’.
                              LWA_ FIELDCAT -DATATYPE = ‘NUMC’.
                              LWA_ FIELDCAT -OUTPUTLEN = 9.
                              LWA_ FIELDCAT -TABNAME = 'GT_ZFIBUE'.
                              LWA_ FIELDCAT-FIELDNAME = 'SERIALNO'.
              Append LWA_FIELDCAT to GT_FIELDCAT
    Note: a) The output field GT_ZFIBUE-PROCESSED will be editable marking INPUT = “X” in field catalog (GT_FIELDCAT).
             b) The standard ALV functionality will be used to give the user option for selecting all or blocks of entries at a time.
             c) The PF-STATUS STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN will be copied to the program and modified to include a “SAVE” button.
    1.10 Call the function module REUSE_ALV_GRID_DISPLAY passing output table GT_ZFIBUE and field catalog GT_FIELDCAT. Additional parameters like I_CALLBACK_PF_STATUS_SET (= ‘ZFIBUESTAT’) and I_CALLBACK_USER_COMMAND (=’HANDLE_USER_ACTION’) will also be passed to handle user events. Go to 2.14.
    1.11 Download the file to P_FILEPATH using function module GUI_DOWNLOAD passing GT_ZFIBUE.
    1.12 Exit Program.
    Logic to be implemented in  routine “Handle_User_Action”
    This routine will have the following interface:
    FORM Handle_User_Action  USING r_ucomm LIKE sy-ucomm
                                                               rs_selfield TYPE slis_selfield.
    ENDFORM.
    Following logic will be implemented in this routine:
    1.     If r_ucomm = ‘SAVE’, continue. Else exit.
    2.     Loop through GT_ZFIBUE where SEL_ROW = ‘X’. “Row is selected
    a.     IF GT_ZFIBUE-PROCESSED = ‘X’.
    i.     GT_ZFIBUE-PROCESSEDON = SY-DATUM.
    ii.     GT_ZFIBUE-PROCESSEDBY = SY-UNAME.
    iii.     MODIFY ZFIBUE FROM work area GT_ZFIBUE.
    Endif.
    Endloop.

    Hi Swathi,
    If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop.

  • Plz help me TEXTPOOL PROBLEM(VERY URGENT)

    hi experts,
    plz help in resolving this issue this is very urgent.
    error is
    The line type of "RPOOL" must be compatible with one of the types
    "TEXTPOOL".
    and its coming in :
    FORM GET_SELSCREEN_TITLE TABLES P_SCREENS STRUCTURE DYNNR.
    DATA: BEGIN OF RPOOL OCCURS 20,
    ID(1),
    NAME(8),
    TEXT(80),
    END OF RPOOL.
    READ TEXTPOOL RSVAR-REPORT LANGUAGE SY-LANGU INTO RPOOL.
    plz help me.

    Hi !
    Try this :
    DATA RPOOL LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    Reward if usefull,
    Regards,
    Stéphane.

  • Very urgent: Travel Request Error in production server

    Hi All,
    While creating Travel request in production server, we are getting an error..
    Error while writing to the database PTRV_HEAD/PTRV_PERIO/Cluster TE
    Someone please help me on this. This is very urgent..
    Thanks in advance!

    Solved..by setting up trip number ranges..
    Thanks!

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Unable to start IDC Content Service(Very Urgent)

    Hi,
    My local system has Windows XP.I have installed Oracle 10g Express Edition,Apache,has jre1.6.0_03 and run the UCM installer.Both IDC Content Admin Service and IDC Content Service are set to start automatically during installation time."IDC Content Admin Service" is getting started automatically but "IDC Content Service" is not getting started.It is getting the following Error Message when we are starting IDC Content Service
    Error 1064 : An exception occured in the service when handling the Control Request.
    I have already installed Oracle Database 10g and D2k 10g also on my local system.
    i am getting following error in the log file
    Failed to initialize the server. Unable to initialize the system provider 'SystemDatabase'. Unable to create database connection for the database 'SystemDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:xe'. Please make sure that the connection string, user and password are correct. Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe
    Unable to create database connection for the database 'SystemDatabase' with connection string 'jdbc:oracle:thin:@localhost:1521:xe'. Please make sure that the connection string, user and password are correct. Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe [ Details ]
    A fatal error has occurred. The stack trace below shows more information.
    !csFailedToInitServer!csProviderUnableToInitialize,SystemDatabase!csJdbcUnableToCreateConnection,SystemDatabase,jdbc:oracle:thin:@localhost:1521:xe!$Listener refused the connection with the following error:<br>ORA-12505\, TNS:listener does not currently know of SID given in connect descriptor<br>The Connection descriptor used by the client was:<br>localhost:1521:xe<br>!csJdbcUnableToCreateConnection,SystemDatabase,jdbc:oracle:thin:@localhost:1521:xe!$Listener refused the connection with the following error:<br>ORA-12505\, TNS:listener does not currently know of SID given in connect descriptor<br>The Connection descriptor used by the client was:<br>localhost:1521:xe<br>!syExceptionType2,java.sql.SQLException,Listener refused the connection with the following error:<br>ORA-12505\, TNS:listener does not currently know of SID given in connect descriptor<br>The Connection descriptor used by the client was:<br>localhost:1521:xe<br>
    intradoc.common.ServiceException: !csProviderUnableToInitialize,SystemDatabase!csJdbcUnableToCreateConnection,SystemDatabase,jdbc:oracle:thin:@localhost:1521:xe!$Listener refused the connection with the following error:
    ORA-12505\, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe
         at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:1949)
         at intradoc.server.IdcSystemLoader.initProviders(IdcSystemLoader.java:1729)
         at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:221)
         at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:185)
         at intradoc.server.IdcServerManager.init(IdcServerManager.java:73)
         at IdcServerNT.init(IdcServerNT.java:86)
         at IdcServerNT.main(IdcServerNT.java:54)
    Caused by: intradoc.data.DataException: !csJdbcUnableToCreateConnection,SystemDatabase,jdbc:oracle:thin:@localhost:1521:xe!$Listener refused the connection with the following error:
    ORA-12505\, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe
         at intradoc.jdbc.JdbcConnectionUtils.getConnection(JdbcConnectionUtils.java:88)
         at intradoc.jdbc.JdbcWorkspace.init(JdbcWorkspace.java:97)
         at intradoc.provider.Provider.init(Provider.java:68)
         at intradoc.server.IdcSystemLoader.loadProviders(IdcSystemLoader.java:1937)
         ... 6 more
    Caused by: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:xe
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.&#60;init&#62;(PhysicalConnection.java:441)
         at oracle.jdbc.driver.T4CConnection.&#60;init&#62;(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at intradoc.jdbc.JdbcConnectionUtils.getConnection(JdbcConnectionUtils.java:70)
         ... 9 more
    The Oracle Homes are different for both the Oracle.
    If somebody have idea about this problem,please help me. This is very urgent.
    Manoj Baghel
    [email protected]

    I think so..
    Your Oracle Database doesn't connect to content server..
    Maybe, you can edit the configuration of your UCM..
    Please open the file at C:\oracle\ucm\server\config\config.cfg..
    And then add the code :
    NumConnection = 5;
    CMIIW

  • Asset back dated GRN.(Very urgent)

    Dear Gurus,
    My client is facing an issue that while making backlog they missed out to pass Some asset GRN related to Asset, say for the month  April and May after all verifications they came to know that some of the Asset GRN is missing.
    know the issue is now if we want to post asset GRN for the month April and MAY it is not possible because we closed the Posting period in  MM till OCT.
    so please any one suggest me how to post these entries if we take current date our depreciation calculation will be showing wrong Values.
    Please Suggest this is very urgent.
    Thanks in Advance
    SU*

    Dear Sivaji<
    u can do this way
    1) change the Dep. key in u r Asset master (0%) dep. key
    2) run the Dep. run once again with Rep Run or Re Start run. ( in this case system shows u the dep. 0 for this asset.
    before runing the Dep. better to check the ANLP table and after that also
    3) cancell the GRN with MM Consultant help
    4) cancell the PO
    Regards
    radha

  • Please check my code where i am wrong ,-very urgent please

    Hi ,
    i am getting all values execpt the values from table t685  , kolnr and kotabnr and i am using three selects and moving the values in it_output_report.
    this is very urgent
    REPORT zmaster_condition LINE-COUNT 80 LINE-SIZE  225.
         D A T A                                                         *
    INCLUDE zmaster_condition_top.
        S E L E C T I O N S                                              *
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
    SELECT-OPTIONS: s_kvewe FOR  t683s-kvewe,
                    s_kappl  FOR  t683s-kappl,
                    s_kalsm  FOR  t683s-kalsm,
                    s_kschl  FOR   t683s-kschl,
                    s_kabnr  FOR  t682i-kotabnr.
    SELECTION-SCREEN END OF BLOCK b01.
    *SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s04.
    *PARAMETERS:      p_vari     LIKE   disvariant-variant.
    *SELECTION-SCREEN END OF BLOCK b4.
    **SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
    *SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
    PARAMETERS R1 RADIOBUTTON GROUP RADI1 DEFAULT 'X'.
    *SELECTION-SCREEN END OF BLOCK b02.
         A T   S E L E C T I O N - S C R E E N                           *
         M A I N   P R O G R A M                                         *
    START-OF-SELECTION.
    *Initializing the local tables.
      CLEAR:it_t682i,it_t683s,it_t685,it_output_report.
      REFRESH:it_t682i,it_t683s,it_t685,it_output_report.
    *Selection of data from pricing procedure tables using a join.
    *SELECT  Akvewe Akappl Akalsm Astunr A~zaehk
           Akschl  Bkolnr Bkotabnr Ckozgf
    INTO  TABLE it_output_report
    FROM  t683s as A
    JOIN  t682i  as B
    ON Akvewe eq  Bkvewe and
        Akappl  eq  Bkappl
    JOIN t685 as C
    ON Bkvewe  eq Ckvewe and
        Bkappl  eq Ckappl and
        Bkozgf  eq  Ckozgf
    WHERE  A~KVEWE = 'B' and
            A~KAPPL  = 'V1' .
            A~KALSM  IN S_KALSM  and
            A~KSCHL  IN S_KSCHL   and
            B~KOTABNR IN S_KABNR.
    *Selection of data from pricing procedure tables
    *SELECT  * FROM t683s APPENDING  CORRESPONDING FIELDS OF TABLE  it_t683s
                   WHERE kvewe = 'B'
                   and   kappl = 'V1'.
    SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
               INTO TABLE  it_t682i
               WHERE kvewe = 'B'
               AND  kappl = 'V1'.
      SELECT kvewe kappl kalsm stunr zaehk kschl  FROM t683s
           INTO   TABLE  it_t683s
           WHERE  kvewe = 'B'
           AND    kappl = 'V1'
           AND    kalsm  IN s_kalsm.
    *SELECT kvewe kappl kschl kozgf  FROM t685
            INTO TABLE it_t685
            WHERE  kvewe = 'B'
            AND    kappl = 'V1'
             and   KSCHL in S_KSCHL
              AND   KOZGF in s_kabnr.
    SELECT kvewe kappl kschl kozgf  FROM t685
             INTO TABLE it_t685
             WHERE  kvewe = 'B'
             AND    kappl = 'V1'
              and   KSCHL in S_KSCHL
               AND   KOZGF in s_kabnr.
    *clear it_t685.
    *loop at it_t685.
             it_output_report-kschl =  it_t685-kschl.
             it_output_report-kozgf =  it_t685-kozgf.
    it_output_report-kozgf = it_t682i-kozgf.
    it_output_report-kolnr = it_t682i-kolnr.
    it_output_report-kotabnr = it_t682i-kotabnr.
    *endloop.
    clear it_t683s.
    loop at it_t683s.
              it_output_report-kvewe = it_t683s-kvewe.
              it_output_report-kappl =  it_t683s-kappl.
              it_output_report-kalsm =  it_t683s-kalsm.
              it_output_report-stunr =  it_t683s-stunr.
              it_output_report-zaehk =  it_t683s-zaehk.
              it_output_report-kschl =  it_t683s-kschl.
    it_output_report-kozgf = it_t682i-kozgf.
    it_output_report-kolnr = it_t682i-kolnr.
    it_output_report-kotabnr = it_t682i-kotabnr.
    APPEND IT_OUTPUT_REPORT.
    clear it_output_report.
    *loop at it_t685.
             it_output_report-kschl =  it_t685-kschl.
            it_output_report-kozgf =  it_t685-kozgf.
    it_output_report-kozgf = it_t682i-kozgf.
    it_output_report-kolnr = it_t682i-kolnr.
    it_output_report-kotabnr = it_t682i-kotabnr.
    endloop.
    *MOVE : it_t683s-kvewe TO it_output_report-kvewe.
            E N D - O F - S E L E C T I O N
    END-OF-SELECTION.
    *Output to a list
      FORMAT COLOR 2 .
      WRITE:/2 'Usage',09 'App',17 'Proced',24 'Step',
                37 'Counter',50 'CondType',63 'Description',85 'AccSeq',
               97 'AccSeqNum',108 'ConTable'.
      WRITE:/1(225) sy-uline.
    loop at it_output_report.
      WRITE:/ it_output_report-kvewe UNDER 'Usage',
              it_output_report-kappl UNDER 'App',
              it_output_report-kalsm UNDER 'Procedure',
              it_output_report-stunr UNDER  'Step',
              it_output_report-zaehk UNDER  'Counter',
              it_output_report-kschl UNDER 'CondType',
               it_output_report- UNDER  'Description',
              it_output_report-kozgf UNDER 'AccSeq',
              it_output_report-kolnr UNDER 'AccSeqNum',
              it_output_report-kotabnr UNDER  'ConTable'.
                it_output_report- UNDER  'SalesOrg',
                it_output_report- UNDER  'DocType'.
                it_output_report- UNDER  'Customer'.
      endloop.
      INCLUDE ZMASTER_CONDITION_TOP                                      *
    *Table declaration
    Tables:T682I,
           T683S,
           T685,
           NACH,
           B005.
    *Data declaration for internal tables
    DATA:Begin of it_output_report  occurs 0,
             KVEWE   LIKE   T683S-KVEWE,      "Usage of the condtion  table
             KAPPL   LIKE   T683S-KAPPL,      "Application
             KALSM   LIKE   T683S-KALSM,      "Procedure for pricing
             STUNR   LIKE   T683S-STUNR,      "step number
             ZAEHK   LIKE   T683S-ZAEHK,      "condition counter
             KSCHL   LIKE   T683S-KSCHL,      "condition type
             KOZGF   LIKE   T685-KOZGF,       "Access sequence
             KOLNR   LIKE   T682I-kOLNR,    "Access sequence number
             KOTABNR LIKE   T682I-KOTABNR,   "Condition Table
        End of it_output_report.
    DATA: BEGIN OF IT_T683S OCCURS 10  ,
             KVEWE   LIKE   T683S-KVEWE,      "Usage of the condtion  table
             KAPPL   LIKE   T683S-KAPPL,      "Application
             KALSM   LIKE   T683S-KALSM,      "Procedure for pricing
             STUNR   LIKE   T683S-STUNR,      "step number
             ZAEHK   LIKE   T683S-ZAEHK,      "condition counter
             KSCHL   LIKE   T683S-KSCHL,
            KOZGF   LIKE   T685-KOZGF,        "condition type
           END OF IT_T683S.
    DATA: BEGIN OF IT_T685 OCCURS 10,
              kvewe  like   t685-kvewe,
              kappl  like   t685-kappl,
              KSCHL  LIKE   T685-KSCHL,
              KOZGF   LIKE   T685-KOZGF,       "Access sequence
           END OF IT_T685 .
    DATA: BEGIN  OF IT_T682I OCCURS 0,
              KVEWE  LIKE T682I-KVEWE,
              KAPPL  LIKE  T682I-KAPPL,
              KOZGF   LIKE   T682I-KOZGF,       "Access sequence
             KOLNR   LIKE   T682I-kOLNR,    "Access sequence number
             KOTABNR LIKE   T682I-KOTABNR,   "Condition Table

    Hi,
    I think may be you should check with T682I-KOZGF(Access sequence) instead of T682I-KOTABNR(Condition table).
    In select-options declare like
    s_KOZGF FOR t682i-KOZGF
    SELECT kvewe kappl kschl kozgf FROM t685
    INTO TABLE it_t685
    WHERE kvewe = 'B'
    AND kappl = 'V1'
    and KSCHL in S_KSCHL
    AND KOZGF in s_KOZGF. //change s_kabnr to s_kozgf
    Thanks,
    Veni.

Maybe you are looking for

  • TCode PRRW: Document Currency not taken from Travel Expense Report Currency

    Hi, We created a Trip Request using TCode TRIP and also created Travel Expense Report for the same Trip in which some of the payments were to be made to Vendor. We have Travel expense receipts in currency SGD. After settling the Trip and creating Pos

  • Need to wite pl sql procedure for dynamic select statement

    Need pl sql procedure for a Dynamic select statement which will drop tables older than 45 days select 'Drop table'||' ' ||STG_TBL_NAME||'_DTL_STG;' from IG_SESSION_LOG where substr(DTTM_STAMP, 1, 9) < current_date - 45 and INTF_STATUS=0 order by DTTM

  • Moving the left most clips displaces the timeline panel

    I couldn't find this issue on the forums, but I might not be using the right term. When I trim (dragging the left border to the right) the first clip in the timeline the workspace also gets trimmed. If I do this too often I end up with this useless "

  • Server stopped in ADMIN mode

    Can any body help on this issue Server is stopped in ADMIN mode and is not coming into RUNNING mode

  • Broadcast Monitor

    Ok, I'm afraid I didn't understand much in the other posts about broadcast monitors. But perhaps someone can lay out a simple, easy to understand suggestion for me. I want to be able to preview my titles (from FCP AND photoshop CS3, Motion, & Livetyp