Reports&BDC

Hi ,
1. How to schedule a report in Back ground , so that it has run every month, what r the steps we neeed to follow
2.what is the need of authority-CHECK-DATASET function Module
3. Perfomance wise out of session&call transaction which is efficient
4.i want to now when LSMW has to be used , what might be the requirement , how to handle table control in LSMW

1. How to schedule a report in Back ground , so that it has run every month, what r the steps we neeed to follow
go to se 36.
or
4m the selection screen of ur pgm.. 4m the menu path ... run in back ground.
then fill the necessary parametrs and also fix the dates u want 2 run. and run the pgm.
2.what is the need of authority-CHECK-DATASET function Module
authority checks are used to give authorizations to only few users. and only those users who have have given this authorizations can execute this transactions.
3. Perfomance wise out of session&call transaction which is efficient
session method
4.i want to now when LSMW has to be used , what might be the requirement , how to handle table control in LSMW
mostly LSMW is used for MAster Data
hope this is helpful.
regds
kiran

Similar Messages

  • Finding of  predefined (ALV Reports , BDC Programs ,ALVReports using OOps )

    Hi All
      How to Finding of  predefined (ALV Reports , BDC Programs ,ALVReports using  OOps ) and how to know particular include prog is holing specific logic & how to re-use that includes & Perform .
    Thanks in Adv
    Rgds
    Rafi .V

    Hi,
    Refer this link for ALV oops.
    Re: ALV HELP
    Thanks,
    Anitha

  • BDC in background job with file upload

    I create one report BDC for Mass Upload, in the foreground i select the file and its working fine. when i am assigning  to background the job is create and released but the code is not execute. when i see the logs it show the error "there is no file".
    what is the problem?
                 i create variants and i declare it in the job creation. i thing the file path is the problem. the file is in presentation server while assign to background job it can't able to pick the file.
                 My requirement is, i need to pick a file for my network path and upload it to the sap database using BDC. can any one help pls!!!
    Edited by: sudhakar.ssm on Jul 19, 2010 1:10 PM

    Mr . Bala Duvvuri
    i know that but my requirement is different. i need to open a file in my network path, there it have a folder called DATA there every day they put a file. i need to upload it into sap Database. for that can u help me... when i search it in google it say i need to create a interface code with RFC Destination....         
               like that can u gave me a solution pls...

  • Function Module - Transport request

    Hi Friends,
    I have changed one z function module and created on transport request.In transport organizor, Under the task number, my function module is displayed. No other object is included in the task list. Should i add any other object before release? for example report means we have to add text elements, source code, documentation, report category etc.
    Thanks.

    please   go though the request no in the  se10   ... there   go the first  menu  option 
    request /task   -> complete check -> 3  options 3  time  check  it will give  you message  s   then   by selecting the request   do it  ..
    then transport it   .... 
    becuase   FM is  global  object  it doesn't require any other   objects like
    (report  , bdc  , scipts  ,... )   other than Function Group  ...
    Girish

  • How to find a specific text(string) in a list (100) programs

    Dear All,
    Wish tou a very happy new year 2009!!!
    please let me know how we can find a specific word(eg: "barrel") in a list of programs/reports/bdc/user exits/field exits/function modules.
    Thanks in advance.
    Kumar.

    hi kumar,
    open EWK1 transaction and search for the word or string according to your requirement.
    Cheers
    Gautham

  • Differences between 4.6c and 4.7

    friends i hav not worked on 4.7,please provide me the progrmatical difference
    in reports,bdc scripts,mpool pgming?please provide me in depth like gui -upload
    inplace of upload or ws-upload.

    hi,
    to know the differences in each release
    Here is the link for the same
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5b/8c3842bb58f83ae10000000a1550b0/frameset.htm
    http://service.sap.com/releasenotes
    Regards,
    Anver

  • FM Or BAPI for users

    Hello all,
    I want to add user to a perticular usergroup. Is there any FM or BAPI available for this.
    I want to do the processing of SQ03 in Report, BDC will not work. so i want any BAPI Or Fm.
    THank you for ur support. Points will be rewarded.

    ??????????

  • Can someone give me ABAP Dialog program /ALV Step by Step hands on examples

    Can someone give me a document for ABAP Dialog programming(module pool) and ALV - but i need Step by Step example ,with sreenshots and explanations.
    In general any ABAP, STEP BY STEP hands on examples - Smartform, Sapscrips, Report, BDC will be highly appreciated.
    I only need hands on examples please - regular Abap courses does not work because they dont have examples.
    Please help ASAP.
    Bob
    Welcome to SCN - but please read the rules of engagement before posting
    Edited by: Rob Burbank on Jun 14, 2009 4:28 PM

    What temporary files are you talking about?

  • Is there any module in ABAP which requires almost zero percent of coding?

    Hi all,
    i just wanted to know if there is any module in ABAP which has zero percent of coding apart from functional modules like SD MM etc?
    Regards
    Sanjeev

    ABAP is a programming language.
    If you say reporting, bdc, sapscript, module pool, smartforms and ask if they need coding, the answer is yes. They require ABAP programming language for its coding.
    Everything in SAP done not require coding. For a person working in SAP-BW there is substantially low necessity for ABAP codes. However it requires ABAP knowledge when working with Exits in BW.
    SAP-XI mostly requires creating scenarios creating IDOCs, BDOCs and handling XML. This also has very little ABAP.
    Reward points if helpful.

  • Hi abap experts (one help)

    hi
    1. please send standard data base table names related to    fi/co?
    2.  please send any objects related to fi/co (weather its   reports bdc, scripts or smarforms)?

    Hi,
    Please go through the below mention code where you can find the data related to FICO.
    This program is mainly used for F-53 BDC Document clearance.
    REPORT ZCITI_F53_WIPRO no standard page heading line-count 255.
    TABLES: BSIK,        " Accounting: Secondary Index for Vendors
            LFA1,        " Vendor Master (General Section)
            LFB1,        " Vendor Master (Company Code)
            BKPF,        " Accounting Document Header
            bsak,        " Acctg:Secondary Index for Vendors (Cleared Items)
             t077k.
    DATA:  Z_FNAME LIKE RLGRAP-FILENAME,
           Z_PATH LIKE RLGRAP-FILENAME,
           MASK(10).
    begin of mod01 +
    TYPES : BEGIN OF W_TAB1,
            BELNR LIKE BSIK-BELNR,
            WRBTR LIKE BSIK-WRBTR,
            END OF W_TAB1.
    TYPES : BEGIN OF W_TAB,
            BELNR LIKE BSIK-BELNR,
            WRBTR LIKE BSIK-WRBTR,
            lifnr like bsik-lifnr,
            END OF W_TAB.
    end of mod01 -
    DATA : BEGIN OF IT_BSIK OCCURS 0,
           BUKRS LIKE BSIK-BUKRS,
           LIFNR LIKE BSIK-LIFNR,
           GJAHR LIKE BSIK-GJAHR,
           BELNR LIKE BSIK-BELNR,
           WRBTR LIKE BSIK-WRBTR,
           REBZG LIKE BSIK-REBZG,
           ZLSPR LIKE BSIK-ZLSPR,
           SHKZG LIKE BSIK-SHKZG,
           PARTL LIKE BSIK-WRBTR,
           NTAMT LIKE BSIK-WRBTR,
           XPORE LIKE LFB1-XPORE,
           END OF IT_BSIK.
    data : file_path like rlgrap-filename.
    DATA : BEGIN OF IT_LFA1 OCCURS 0,
           LIFNR LIKE LFA1-LIFNR,
           END OF IT_LFA1.
    DATA : BEGIN OF it_error OCCURS 0,
                 bukrs LIKE bsik-bukrs,
                 lifnr LIKE bsik-lifnr,
                 belnr LIKE bsik-belnr,
                 gjahr LIKE bsik-gjahr,
                 rej(1),
            END OF it_error.
    DATA : IT_TAB TYPE STANDARD TABLE OF W_TAB
           INITIAL SIZE 0 WITH HEADER LINE,
           IT_TAB1 TYPE STANDARD TABLE OF W_TAB1
           INITIAL SIZE 0 WITH HEADER LINE.
    DATA : BEGIN OF IT_INVN OCCURS 0,
           BUKRS LIKE BSIK-BUKRS,
           LIFNR LIKE BSIK-LIFNR,
           GJAHR LIKE BSIK-GJAHR,
           BELNR LIKE BSIK-BELNR,
           WRBTR LIKE BSIK-WRBTR,
           REBZG LIKE BSIK-REBZG,
           ZLSPR LIKE BSIK-ZLSPR,
           SHKZG LIKE BSIK-SHKZG,
           PARTL LIKE BSIK-WRBTR,
           NTAMT LIKE BSIK-WRBTR,
           XPORE LIKE LFB1-XPORE,
           END OF IT_INVN.
    data : str type string.
    DATA : m_wrbtr_h LIKE bsik-wrbtr,
           m_wrbtr_s LIKE bsik-wrbtr,
           m_wrbtr_net LIKE bsik-wrbtr,
           m_amnt  like bsik-wrbtr,
           m_pamnt like bsik-wrbtr,
           M_NTAMNT LIKE BSIK-WRBTR,
           M_PNTAMNT LIKE BSIK-WRBTR.
    data : t_bdc_tab like standard table of bdcdata
          initial size 0 with header line.
    data : dat(10).
    data : flag(1),
           FLAGE(1),
           count(4) type n,
           counter(4) type n.
    DATA : FSYR LIKE BSIK-GJAHR.
    DATA : M_PARTL type string,
           M_AMOUNT type string,
           mt_ntamnt type string,
           MT_PNTAMNT type string.
    data: m_file LIKE rlgrap-filename.
    DATA: id1(3) TYPE n.
      TABLES rfcdes.
      DATA: file_count  TYPE i,
            dir_count   TYPE i.
      DATA: file_table  LIKE sdokpath OCCURS 0 WITH HEADER LINE,
            dir_table   LIKE sdokpath OCCURS 0 WITH HEADER LINE,
            source      LIKE rlgrap-filename,
            destination LIKE rlgrap-filename,
            dest_path   like rlgrap-filename,
            return TYPE i.
    data : begin of it_bsak occurs 0,
           augbl like bsak-augbl,
           end of it_bsak.
    SELECTION-SCREEN BEGIN OF BLOCK BK1 WITH FRAME.
        PARAMETERS : P_CMCD LIKE BSIK-BUKRS OBLIGATORY DEFAULT 'WT01'.
        PARAMETERS : P_FLNM LIKE RLGRAP-FILENAME OBLIGATORY.
        PARAMETERS : P_FSYR LIKE BSIK-GJAHR OBLIGATORY. "ADDED mod01
    SELECTION-SCREEN SKIP.
        PARAMETERS : PX_TEST AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK BK1.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    SELECTION-SCREEN COMMENT 1(70) m_info.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN COMMENT 1(70) m_info1.
    SELECTION-SCREEN SKIP.
        PARAMETERS : PX_MOVE AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FLNM.
      Z_FNAME = 'regular.txt'.
      Z_PATH = 'c:\citibank\liabilitydoc\regular.txt'.
      MASK = ',.,..'.
      CALL FUNCTION 'WS_FILENAME_GET'
          EXPORTING
               DEF_FILENAME     = Z_FNAME
               DEF_PATH         = Z_PATH
               MASK             = MASK
               MODE             = 'O'
            TITLE            = ' '
          IMPORTING
               FILENAME         = P_FLNM
            RC               =
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
      IF SY-SUBRC <> 0.
        MESSAGE I000(E4) WITH 'File Upload Error'.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      m_info =
        'Before BDC Run - First move all the files from directory'.
    M_INFO1 ='C:\CITIBANK\PAYDOC_IMPORT\ to C:\CITIBANK\PAYDOC_PROCESSED'.
    P_FLNM = 'c:\citibank\liabilitydoc\regular.txt'.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FLNM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = IT_TAB1[]
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
    START-OF-SELECTION.
    CALL FUNCTION 'Z_GET_FISCALYEAR'
         EXPORTING
              PDATE   = sy-datum
        IMPORTING
             PYEAR   = FSYR
    begin of mod01 +
    loop at it_tab1.
    select single lifnr into it_tab-lifnr from bseg
                              where bukrs = p_cmcd and
                              belnr = it_tab1-belnr and
                              gjahr = p_fsyr.
    if sy-subrc <> 0.
            MOVE P_CMCD TO IT_ERROR-BUKRS.
            MOVE IT_TAB1-BELNR TO IT_ERROR-BELNR.
            MOVE FSYR TO IT_ERROR-GJAHR.
            MOVE 'A' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_tab1.
    else.
        it_tab-belnr = it_tab1-belnr.
        it_tab-wrbtr = it_tab1-wrbtr.
        append it_tab.
        clear it_tab.
    endif.
    endloop.
    end of mod01 + ************
    SORT IT_TAB BY BELNR.
    LOOP AT IT_TAB.
          select SINGLE bukrs
                        lifnr
                        gjahr
                        belnr
                        wrbtr
                        rebzg
                        zlspr
                        shkzg into
                       (it_bsik-bukrs,
                       it_bsik-lifnr,
                       it_bsik-gjahr,
                       It_bsik-belnr,
                       it_bsik-wrbtr,
                       it_bsik-rebzg,
                       it_bsik-zlspr,
                       it_bsik-SHKZG)
                from bsik where
                 bukrs = P_CMCD and
                gjahr = fsyr and    " MOD01 -
                lifnr = it_tab-lifnr and
                 gjahr = P_FSYR and     "MOD01 +
                 belnr = it_tab-belnr.
          IF SY-SUBRC <> 0.
            MOVE P_CMCD TO IT_ERROR-BUKRS.
            MOVE IT_TAB-BELNR TO IT_ERROR-BELNR.
            MOVE FSYR TO IT_ERROR-GJAHR.
            MOVE 'A' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_tab.
          ELSE.
              APPEND IT_BSIK.
              CLEAR IT_BSIK.
          ENDIF.
    ENDLOOP.
    SORT IT_BSIK BY LIFNR.
    LOOP AT IT_BSIK.
    select single ktokk from lfa1 into lfa1-ktokk.
    select single xcpds from t077k into t077k-xcpds where ktokk = lfa1-ktokk
        IF IT_BSIK-ZLSPR <> ''.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'B' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
        elseif t077k-xcpds = 'X'.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'G' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
        ENDIF.
    ENDLOOP.
    SORT IT_BSIK BY LIFNR BELNR.
    LOOP AT IT_BSIK.
    SELECT SINGLE ZLSPR FROM BSIK INTO BSIK-ZLSPR WHERE
      BUKRS = IT_BSIK-BUKRS AND LIFNR = IT_BSIK-LIFNR AND
      GJAHR = IT_BSIK-GJAHR AND REBZG = IT_BSIK-BELNR.
      IF BSIK-ZLSPR <> ' '.
              MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'B' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
    ENDIF.
    ENDLOOP.
    sort it_bsik by lifnr.
    loop at it_bsik.
        ON CHANGE OF IT_BSIK-LIFNR.
          MOVE IT_BSIK-LIFNR TO IT_LFA1-LIFNR.
          APPEND IT_LFA1.
          CLEAR IT_LFA1.
        ENDON.
    endloop.
    SORT IT_LFA1 BY LIFNR.
    LOOP AT IT_LFA1.
          SELECT SINGLE SPERZ FROM LFA1 INTO LFA1-SPERZ WHERE
          LIFNR = IT_LFA1-LIFNR.
          IF LFA1-SPERZ = 'X'.
            MOVE IT_LFA1-LIFNR TO IT_ERROR-LIFNR.
            MOVE 'C' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_lfa1.
          ENDIF.
    ENDLOOP.
    sort it_bsik by belnr.
    sort it_tab by belnr.
    loop at it_bsik.
        read table it_tab with key belnr = it_bsik-belnr binary search.
         if sy-subrc = 0.
             move it_tab-wrbtr to it_bsik-partl.
             modify it_bsik transporting partl.
         endif.
    endloop.
    SORT IT_BSIK BY BUKRS LIFNR GJAHR BELNR.
    LOOP AT IT_BSIK.
        SELECT SINGLE XPORE INTO IT_BSIK-XPORE FROM LFB1
        WHERE LIFNR = IT_BSIK-LIFNR.
        MODIFY IT_BSIK TRANSPORTING XPORE.
        CLEAR : M_WRBTR_H,M_WRBTR_S,M_WRBTR_NET.
        SELECT WRBTR SHKZG INTO (BSIK-WRBTR,BSIK-SHKZG) FROM BSIK
        WHERE BUKRS = IT_BSIK-BUKRS AND
              LIFNR = IT_BSIK-LIFNR AND
              GJAHR = IT_BSIK-GJAHR AND
              REBZG = IT_BSIK-BELNR.
         IF BSIK-SHKZG = 'H'.
              M_WRBTR_H = M_WRBTR_H + BSIK-WRBTR.
         ELSEIF BSIK-SHKZG = 'S'.
              M_WRBTR_S = M_WRBTR_S + BSIK-WRBTR.
         ENDIF.
       ENDSELECT.
       M_WRBTR_NET = IT_BSIK-WRBTR + M_WRBTR_H - M_WRBTR_S.
       IF M_WRBTR_NET LT 0.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'D' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
       ELSEIF M_WRBTR_NET GT '100000000.00'.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'E' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
       ELSE.
          MOVE M_WRBTR_NET TO IT_BSIK-NTAMT.
         MODIFY IT_BSIK TRANSPORTING NTAMT.
       ENDIF.
    ENDLOOP.
    concatenate 'CITI/RTGS/NEFT/' sy-datum6(2) '.' sy-datum4(2) '.'
    sy-datum(4) into str.
    SORT IT_BSIK BY XPORE.
    LOOP AT IT_BSIK.
      IF IT_BSIK-XPORE = 'X'.
          MOVE-CORRESPONDING IT_BSIK TO IT_INVN.
          APPEND IT_INVN.
          CLEAR : IT_INVN.
          DELETE IT_BSIK.
      ENDIF.
    ENDLOOP.
    if px_move = 'X'.
        perform file_move.
    endif.
    IF PX_TEST = 'X'.
        perform sub_output_run.
    ELSE.
    SORT IT_LFA1 BY LIFNR.
    SORT IT_BSIK BY LIFNR.
    SORT IT_INVN BY LIFNR.
    concatenate sy-datum6(2) '.' sy-datum4(2) '.' sy-datum(4) into dat.
    LOOP AT IT_LFA1.
    SELECT SINGLE XPORE FROM LFB1 INTO LFB1-XPORE WHERE
    LIFNR = IT_LFA1-LIFNR.
    IF LFB1-XPORE = ' '.
    clear : m_amnt,M_PAMNT, M_NTAMNT,FLAG.
        LOOP AT IT_BSIK WHERE LIFNR = IT_LFA1-LIFNR.
            IF IT_BSIK-XPORE = ' '.
                M_PAMNT = M_PAMNT + IT_BSIK-PARTL.
                m_amnt = m_amnt + it_bsik-ntamt.
            endif.
        ENDLOOP.
       perform populate_bdc_tab using: '1' 'SAPMF05A' '0103',
                                       ' ' 'BKPF-BLDAT' dat,
                                       ' ' 'BKPF-BLART' 'BR',
                                       ' ' 'BKPF-BUKRS' P_CMCD,
                                       ' ' 'RF05A-AUGTX' STR,
                                       ' ' 'RF05A-KONTO' '632118',
                                       ' ' 'BSEG-GSBER' 'T100'.
          IF M_PAMNT <> '0.00'.
              FLAG = 'X'.
              M_AMOUNT = M_PAMNT.
              condense m_amount.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_AMOUNT.
          ELSE.
              M_AMOUNT = M_AMNT.
              condense m_amount.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_AMOUNT.
          ENDIF.
          PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-AGKON' it_LFA1-LIFNR,
                                          ' ' 'BDC_OKCODE' '/00'.
        loop at it_bsik where lifnr = it_lfa1-lifnr.
          PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                         ' ' 'BDC_OKCODE' '=OSU'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '2000',
                                         ' ' 'RF05A-XPOS1(03)' 'X',
                                         ' ' 'BDC_OKCODE' '=GO'.
                 PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '0731',
                                        ' ' 'RF05A-SEL01(01)' it_bsik-belnr,
                                        ' ' 'BDC_OKCODE' '=GO'.
                PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OMK'.
                  PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=Z+'.
              PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OSE'.
        endloop.
                if FLAG = 'X'.
                    m_ntamnt = m_amnt - m_pamnt.
                    mt_ntamnt = m_ntamnt.
                    condense mt_ntamnt.
                    PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'RF05A-AKOBT' mt_ntamnt,
                                        ' ' 'BDC_CURSOR' 'RF05A-AKOBT',
                                        ' ' 'BDC_SUBSCR' 'SAPDF05X',
                                        ' ' 'BDC_OKCODE' '=BU'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0700',
                                        ' ' 'BDC_CURSOR' 'RF05A-AZEI1(02)',
                                        ' ' 'BDC_OKCODE' '=PI'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' 'CUMULATIVE PAYMENT',
                                        ' ' 'BDC_OKCODE' '=BU'.
                else.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=BU'.
                endif.
           CALL TRANSACTION 'F-53' USING T_BDC_TAB MODE 'A'.
    if sy-subrc = 0.
      refresh T_BDC_TAB.
    endif.
       else.
        loop at it_INVN where lifnr = it_lfa1-lifnr.
        CLEAR : FLAGE.
       perform populate_bdc_tab using: '1' 'SAPMF05A' '0103',
                                       ' ' 'BKPF-BLDAT' dat,
                                       ' ' 'BKPF-BLART' 'BR',
                                       ' ' 'BKPF-BUKRS' P_CMCD,
                                       ' ' 'RF05A-AUGTX' STR.
          IF IT_INVN-XPORE = 'X' AND IT_INVN-PARTL <> '0.00'.
            SELECT SINGLE XBLNR BSCHL INTO (BSIK-XBLNR,BSIK-BSCHL) FROM
                    BSIK WHERE
                     BUKRS = IT_INVN-BUKRS AND
                     LIFNR = IT_INVN-LIFNR AND
                     GJAHR = IT_INVN-GJAHR AND
                     BELNR = IT_INVN-BELNR.
          IF BSIK-BSCHL = '31'.
                perform populate_bdc_tab using: ' ' 'BKPF-BKTXT' BSIK-XBLNR.
          ELSE.
              SELECT SINGLE BKTXT FROM BKPF INTO BKPF-BKTXT WHERE
                  BUKRS = IT_INVN-BUKRS AND
                  BELNR = IT_INVN-BELNR AND
                  GJAHR = IT_INVN-GJAHR.
                perform populate_bdc_tab using: ' ' 'BKPF-BKTXT' BKPF-BKTXT.
          ENDIF.
        ENDIF.
            PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-KONTO' '632118'.
            PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-GSBER' 'T100'.
          IF IT_INVN-XPORE = 'X' AND IT_INVN-PARTL <> '0.00'.
              FLAGE = 'X'.
              M_PARTL = IT_INVN-PARTL.
              CONDENSE m_partl.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_PARTL.
          ELSE.
              M_PARTL = IT_INVN-NTAMT.
              condense m_partl.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_PARTL.
          ENDIF.
           PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-AGKON' it_LFA1-LIFNR,
                                           ' ' 'BDC_OKCODE' '/00'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                         ' ' 'BDC_OKCODE' '=OSU'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '2000',
                                         ' ' 'RF05A-XPOS1(03)' 'X',
                                         ' ' 'BDC_OKCODE' '=GO'.
                 PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '0731',
                                        ' ' 'RF05A-SEL01(01)' it_INVN-belnr,
                                        ' ' 'BDC_OKCODE' '=GO'.
                PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OMK'.
                  PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=Z+'.
                 if FLAGE = 'X'.
                    m_Pntamnt = IT_INVN-NTAMT - IT_INVN-PARTL.
                    mt_Pntamnt = m_Pntamnt.
                    condense mt_pntamnt.
                    PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'RF05A-AKOBT' mt_Pntamnt,
                                        ' ' 'BDC_CURSOR' 'RF05A-AKOBT',
                                        ' ' 'BDC_SUBSCR' 'SAPDF05X',
                                        ' ' 'BDC_OKCODE' '=BU'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0700',
                                        ' ' 'BDC_CURSOR' 'RF05A-AZEI1(02)',
                                        ' ' 'BDC_OKCODE' '=PI'.
                IF BSIK-BSCHL = '31'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' BSIK-XBLNR,
                                        ' ' 'BDC_OKCODE' '=BU'.
                ELSE.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' BKPF-BKTXT,
                                        ' ' 'BDC_OKCODE' '=BU'.
                ENDIF.
                else.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=BU'.
                endif.
          CALL TRANSACTION 'F-53' USING T_BDC_TAB MODE 'A'.
    if sy-subrc = 0.
      refresh T_BDC_TAB.
    endif.
        endloop.
    ENDIF.
    wait  up to 3 seconds.
    ENDLOOP.
    clear : count, counter.
    SORT IT_BSIK BY BUKRS LIFNR GJAHR BELNR.
    wait up to 60 seconds.
    loop at it_bsik.
    count = count + 1.
        select SINGLE augbl from bsak into bsak-augbl
    where
              bukrs = it_bsik-bukrs and
              lifnr = it_bsik-lifnr and
              AUGBL <> IT_BSIK-BELNR AND
              gjahr = it_bsik-gjahr and
              belnr = it_bsik-belnr.
                  move bsak-augbl to it_bsak-augbl.
                  append it_bsak.
                  clear it_bsak.
    endloop.
    SORT IT_INVN BY BUKRS LIFNR GJAHR BELNR.
    loop at it_INVN.
    count = count + 1.
        select single augbl from bsak into bsak-augbl
    where
              bukrs = it_invn-bukrs and
              lifnr = it_invn-lifnr and
              gjahr = it_invn-gjahr and
              belnr = it_invn-belnr AND
              SHKZG = 'H'.
                  move bsak-augbl to it_bsak-augbl.
                  append it_bsak.
                  clear it_bsak.
    endloop.
    SORT IT_BSAK BY AUGBL.
    delete ADJACENT DUPLICATES from it_bsak comparing augbl.
    DESCRIBE TABLE it_bsak LINES counter.
    SORT IT_BSAK BY AUGBL.
    PERFORM get_file_name.
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
              FILENAME                = file_path
             FILETYPE                = 'ASC'
         TABLES
              DATA_TAB                = it_bsak
    format color col_heading intensified off.
    uline.
    Write : /50 'F-53 BDC Run Successfully'.
    format color off.
    uline.
    format color col_normal intensified off.
    write : /20 'Payment Document File is store in following Path'.
    write : /35 'C:\CITIBANK\PAYDOC_IMPORT\'.
    uline.
    format color off.
    uline.
    format color col_total.
    write : /20 'Total No of Liability Documents Processed ', count no-zero.
    write : /20 'Total No of Payment Documents Generated   ', counter
    no-zero.
    format color off.
    uline.
    ENDIF.
    *&      Form  SUB_OUTPUT_RUN
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_OUTPUT_RUN.
    data : SRNO type i value 0,
           srno1 type i value 0,
           srno2 TYPE i value 0,
           srno3 TYPE i value 0,
           srno4 TYPE i value 0,
           srno5 type i value 0.
      FORMAT COLOR col_heading intensified off .
      ULINE.
      WRITE:/35 'TEST RUN'.
      ULINE.
      FORMAT COLOR 5 INTENSIFIED OFF.
    SORT IT_ERROR BY REJ.
    LOOP AT IT_ERROR.
        ON CHANGE OF IT_ERROR-REJ.
          IF IT_ERROR-rej = 'A'.
          FORMAT COLOR col_heading INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Documents are already cleared or do not exist in'.
    write : 'current financial year'.   "MOD01 +
        uline.
         format color off.
          elseif it_error-rej = 'B'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Documents are Blocked for Payment'
        uline.
         format color off.
          elseif it_error-rej = 'C'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Vendors are Blocked for Payment'
        uline.
         format color off.
          elseif it_error-rej = 'D'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Amount is less than 0 for following Documents'
        uline.
         format color off.
          elseif it_error-rej = 'E'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Amount is greater than 10 crores for following Documents'
        uline.
         format color off.
          elseif it_error-rej = 'E'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'One Time Vendor'.
        uline.
         format color off.
       endif.
       endon.
       if it_error-rej = 'A'.
        srno = srno + 1.
        format color COL_NORMAL.
        write : /10 srno,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'B'.
        srno1 = srno1 + 1.
        format color COL_NORMAL.
        write : /10 srno1,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'C'.
        srno2 = srno2 + 1.
        format color COL_NORMAL.
        write : /10 srno2,35 it_error-lifnr.
        format color off.
       elseif it_error-rej = 'D'.
        srno3 = srno3 + 1.
        format color COL_NORMAL.
        write : /10 srno3,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'E'.
        srno4 = srno4 + 1.
        format color COL_NORMAL.
        write : /10 srno4,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'G'.
        srno5 = srno5 + 1.
        format color COL_NORMAL.
        write : /10 srno5,35 it_error-lifnr.
        format color off.
       endif.
    endloop.
    if it_error is initial.
         FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Test Run not find any Document with Error'
        uline.
         format color off.
    endif.
    clear : srno,srno1,srno2,srno3,srno4,srno5.
    ENDFORM.                    " SUB_OUTPUT_RUN
    *&      Form  POPULATE_BDC_TAB
          text
         -->P_0217   text
         -->P_0218   text
         -->P_0219   text
    form populate_bdc_tab using    value(flag)
                                   value(var1)
                                   value(var2).
      clear t_bdc_tab.
      if flag = '1'.
        t_bdc_tab-program = var1.          " Program Name
        t_bdc_tab-dynpro = var2.           " Screen Number
        t_bdc_tab-dynbegin = 'X'.          " Starting of new screen
      else.
        t_bdc_tab-fnam = var1.             " Field Name
        t_bdc_tab-fval = var2.             " Field Value
      endif.
      append t_bdc_tab.
       endform.                               " POPULATE_BDC_TAB
    *&      Form  FILE_MOVE
          text
    -->  p1        text
    <--  p2        text
    FORM FILE_MOVE.
    file_path = 'c:\citibank\paydoc_import\'.
    dest_path = 'c:\citibank\paydoc_processed\'.
        CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
          EXPORTING
            directory  = file_path
            filter     = '.'
          IMPORTING
            file_count = file_count
            dir_count  = dir_count
          TABLES
            file_table = file_table
            dir_table  = dir_table
          EXCEPTIONS
            cntl_error = 1
            OTHERS     = 2.
        IF sy-subrc = 0.
          LOOP AT file_table.
            CONCATENATE dest_path file_table-pathname
            INTO destination.
            CONCATENATE file_path file_table-pathname
            INTO source.
            CALL FUNCTION 'WS_FILE_COPY'
              EXPORTING
                destination = destination
                SOURCE      = SOURCE
              importing
                return      = return.
            CALL FUNCTION 'WS_FILE_DELETE'
              EXPORTING
                file   = source
              IMPORTING
                return = return.
          ENDLOOP.
          CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
            EXPORTING
              directory  = file_path
              filter     = '.'
            IMPORTING
              file_count = file_count
              dir_count  = dir_count
            TABLES
              file_table = file_table
              dir_table  = dir_table
            EXCEPTIONS
              cntl_error = 1
              OTHERS     = 2.
          IF file_count > 0.
          write : /'Error copying', source, 'to', destination.
           CONCATENATE 'Error copying' source 'to' destination
           INTO i_error SEPARATED BY space.
           APPEND i_error.
          ENDIF.
        ENDIF.
    ENDFORM.                    " FILE_MOVE
    *&      Form  GET_FILE_NAME
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FILE_NAME.
    file_path = 'c:\citibank\paydoc_import\'.
      CLEAR : zcitibank2.
      SELECT SINGLE * FROM zcitibank2 INTO zcitibank2
                      WHERE citi_field = 'FNAME'.
      id1 = zcitibank2-citi_val .
      IF zcitibank2-sap_val <> sy-datum .
        zcitibank2-sap_val = sy-datum .
        UPDATE zcitibank2 SET citi_val = '001'
                              sap_val  = sy-datum
                              WHERE citi_field = 'FNAME'.
    *sap_val = sy-datum.
      ELSE.
        id1 = id1 + 1.
        UPDATE zcitibank2 SET citi_val = id1
                                        WHERE citi_field = 'FNAME' AND
                                                 sap_val = sy-datum.
      ENDIF.
      CLEAR : zcitibank2.
      SELECT SINGLE * FROM zcitibank2 WHERE citi_field = 'FNAME'.
    CONCATENATE SY-DATUM SY-UZEIT INTO M_FILE SEPARATED BY SPACE.
      CONCATENATE zcitibank2-sap_val zcitibank2-citi_val INTO m_file
    SEPARATED  BY '_'.
      CONCATENATE file_path m_file '.'
      'txt' INTO file_path.
    ENDFORM.                    " GET_FILE_NAME

  • Purchasing group -- Organizational responsibility

    Hello,
    We are trying to create a report(BDC) to attach purchasing group to purch org.
    In the Flat file we would be entering the basic data, address, function and responsibity.
    But for reponsiblity we are able to find only the product category responsibility( trxn PP01).. we are not able to find organizational responsiblity field in the same because of which that cannot be updated.
    Please help in this issue
    Regards
    J

    Hi. Yes. You can ECATT on transaction PO10 or PP01.
    Put in the org unit numbers and maintain the "EBP Product Responsibility" infotype.
    It might tell you that you can not do this, but you can enable it by maintaining T777I in SM30.
    Regards,
    Dave.

  • How to Identify program is running in background or Foreground mode?

    Hello Experts,
    I have developed on Z report and from this report BDC for Transaction CO11 is runnning using CALL TRANSACTION statement.
    On Selection screen there is a option for selecting the BDC mode either in  Background or Forground or Error mode.
    My question is:- how do I recognize this selected BDC mode in the function exit ZXMBCU02.
    This exit triggers when transaction CO11 runs.
    Because based on the selected BDC mode i have to apply some logic in this exit.
    Please suggest.
    Regards,
    Jagesh

    Hi Jagesh...
    You can do the following..
    1. Export the Batch Input Mode in to ABAP memory using the EXPORT statement.
    2. Import that value in the user exit.
    3. To execute your code only if its batch input mode, use the field SY-BINPT.
    You can also check if this structure "BDCRUN" is used in that program, b'cas this is contained in the VA01 an VA02 transacation, this would contain all the data.
      CALL FUNCTION 'BDC_RUNNING'
           IMPORTING
                bi_info = bi_info
           EXCEPTIONS
                OTHERS  = 1.
      bi_info will contain all the data.
      GET PARAMETER ID 'SD_BACKGROUND_DEBUG' FIELD background_debug.
    Best Regards,
    Pradeep.

  • Need case studies and sample code for all concept of ABAP

    Hello,
           Can anybody provide me the case studies and sample code for learning different concepts in ABAP programming like: module pool, ALV, interactive reports, BDC, Smart Form etc.? As I want to do some practical application by which i can learn more.
    Thanks & Regards,
    Vikram Rawal

    In this link You can find Step by Step Scren Shot document :
    http://www.201interviewquestions.com/docs/User%20exits.ppt
    http://erpgenie.com/abaptips/component/option,com_docman/task,doc_details/gid,27/
    <b>
    Reprots</b>
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    <b>Dictionary</b>
    http://sapabap.iespana.es/sapabap/manuales/learnabap/
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
    <b>ABAP objects</b>
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    <b>
    SAPScripts</b>
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    <b>Smartforms material</b>
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    <b>
    BAPI</b>
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    <b>List of all BAPIs</b>
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    <b>ALV programs.</b>
    http://www.geocities.com/mpioud/Abap_programs.html
    . How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    <b>ALV</b>
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    <b>Top-of-page in ALV</b>
    selection-screen and top-of-page in ALV
    <b>ALV Group Heading</b>
    http://www.sap-img.com/fu037.htm
    <b>ALV</b>
    http://www.geocities.com/mpioud/Abap_programs.html
    <b>
    RFC Destination</b>
    Re: SM59
    <b>
    ALE/ IDOC</b>http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    <b>Table Control</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20control%20in%20abap.pdf
    <b>
    ABAP transactions</b>
    http://www.easymarketplace.de/transactions-a-e.php?Area=4soi&name=volker&pw=vg&
    Regards,
    Priyanka.

  • ASAP Methodlology : Its very urgent

    Hi all,
    <b>
    I heard that ASAP methodology works good with R/3 and it is having drawbacks when it comes to BW.</b> Could you please tell me wat all the issues( problems ) we face wen we implement <b>BW</b> with <b>ASAP</b> methodology.
    <b>P.S: And also send me if u have any docs of ASAP methodology.</b>
    Thanks and regards,
    Shiva shekar k.<b></b>
    Message was edited by:
            shiva shekar k

    Hi,
    What is ASAP?
    ASAP: Accelerated Systems Application and Products in Data Processing
    All implementation projects have the the following phases:
    Scoping - What is to be implemented i.e. which submodules are to be implemented some clients may not require credit management for example. Look at the project scope document carefully it will tell you what SAP sub-modules in SAP you should be prepared for. Usually the sales people along with project manager do it.
    As is - Here you understand the existing business processes of the client . Your BPOcollect all the ISO-documentation (if client is ISO certified), reports and forms at this stage and you analyse how and when the reports/forms are generated, where the data is coming from. You also do a Level -2 training for your BPO so he is made aware of all the required transactions in SAP.
    Once this is over BPO can start learning with the consultants help more about SAP. This is crucial because if you miss out any transactions the BPO may forget about some of his Business processes which may come up later. It is a good practice to ask the BPO to make flow charts to explain business processes.
    To-Be - Parallely you map these processes to SAP. Processes that you are not sure of as to whether they are present in SAP or not you try to do a configuration of those processes, and along with the BPO(Business process owner he is the clients employee who knows about the clients business processes probably a middle management guy, ther can more than one), BPO involvement is required as he may be able to tell you his requirements better. Once you do the business modelling you
    will also be made aware of the gaps between as-is and to-be , here decisons have to be made as to wether a ABAP development/system modification is required or not and so on. Involve the BPO as much as possible and document everything it is good practice do not be lazy about it.
    Business blueprint: Here the as-is and to-be and gap analysis is explained. This is the document that you will be using to do your configuration in the realization phase.
    Realization phase: Here you do the configuration in the development server (there are three clients -development,quality, production). You also decide on the master data format, so that BPO can go collect the master data. You also gove ABAP specifications for forms, reports etc, system modifications etc. Unit testing: Your BPOs and a few key users sit down and test your configuration in your module only. It is good to test the BDCs that you need for uploading data at this stage so you have more realistic data and your BDCs are tested.
    Integration testing:
    Once all modules unit testing is over then the configuration is trasported to the Quality server, where testing for all the modules is done by BPOs and end user, this is to check if any problems are there in integration between various modules. Once all is okay from the QA server config is transported to the production server.
    Go live preparation
    Data uploading: The collected master data is checked and the uploaded into production server(sever and client I have used interchangeably). Now you are ready for go live i.e. users can now use the production server.
    Read ASAP methodology for more details you will understand better.
    Thirumallasetty
    ASAP methodoligy means nothing but standard process for implementation of SAP,  It consists of 5 phases.
    1. Project preperation - consists of identifying team members and developing strategy as how to go.
    2. Business Blue print - consists of identifying the client current process, reqeirement and how SAP provides solution.
        Consists of detailed documentaion
    3. Realization -The purpose of this phase is to implement all the business and process requirements based on the
        Business Blueprint.
    4  Final Preparation - The purpose of this phase is to complete testing, end-user training,
    5 Go Live and Support
    All the functinal consultatns need good rapo with Abapers. right from uploading of legacy data, devoloping customised reports, BDC's, Forms etc, here functinal consultatns need to give guidence as to get the requried data for reports and all.. like the table name, fields etc
    Thanks,
    Medha.

  • Information on ABAP Classes and BADI's

    Hi All,
    I am looking for good starting material to learn 'Advanced ABAP Programming' like Classes,methods and BADI..etc.
    1) Any "How to.." material availble?
    2) Any recorded sessions avaible?
    3) Any suggestions from your side breifly?
    I have got comfortable experience in reports,BDCs and transaction like basic stuff..
    thanks for your time.
    Regards,
    Hari
    Message was edited by: Hari Kiran

    Hi Hari,
    There are some nice tutorials and introductory articles and presentations in SDN.
    If you do a media search on ABAP Objects you will find:
    1)Eight Reasons Why Every ABAP Developer Should Give ABAP Objects a Second Look by Horst Keller
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/37c5db90-0201-0010-3a9b-d0a5288f3c15
    2) Questions: Why use ABAP Objects
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3e59b790-0201-0010-88aa-bc8a7f95f6fb
    3) Why use ABAP Objects Exercise
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3412d190-0201-0010-aaaa-ff5a315ae5fe
    4) ABAP Objects for Java Developers:
    https://media.sdn.sap.com/public/eclasses/teched04/ABAP151_files/Default.htm#nopreload=1
    There is also an excellent class offered by SAP Education called BC401 that describes Objects and BADIs in exruciating detai ;-). 
    http://www8.sap.com/useducation/curriculum/course.asp?rid=276&cid=60167031
    cheers,
    Marilyn

Maybe you are looking for