Accounts Payble

What are all the Various Business Scenarios that we can think off in the Accounts Payable Module?
What are all the Major Master data that needs to be in Place for AP?
Thanks
J

Execute transaction code FBZP and click on 'Pmnt methods in country'.  Highlight a payment method and double-click on the 'currencies allowed' in the left window pane.  If your vendor invoice is in a foreign currency, that currency should be mentioned here, so you could use that payment method.  One more setting is in 'Pmnt methods in company code' option of FBZP transaction.  In this screen, necessary checkboxes should be checked under 'Foreign payments/foreign currency payments' section.

Similar Messages

  • Bank Gurantee Process for Account Payble in SAP

    Dear Support,
       We have a requirement to Implement the Bank Gurantee Process for Account Payble in SAP, So please provide any usefull link or process map document in SAP , means how to implement BG process and what will be the transaction and process Mannual document , so that we can  able to implement with the help of those document.
    Regards'
    MK

    this is not forseen In the standard foreign trade part
    Bank guarantees  fuctionality is only defined to secure accounts receivables .
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/744947546011d1a7020000e829fd11/frameset.htm

  • Regarding Accounts Payble and Accounts receivable in Tcode FB01

    Hi All,
    Can anybody tell me the diffrence between <b>Accounts payble and Accounts payble adjustable</b> in post document - FB01.
    Also tell me the diffrence between <b>Accounts receivable and Accounts receivable adjustable</b> in post document - FB01.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Stuart,
    If you define the code from the G/L account determination screen then it automatically
    picks the code when add the new BP manually or through DTW.
    If you are not define code from the G/L account determination screen then you cannot add the
    BP manually or Through DTW it shown the error message.
    If you define the code from the G/L account determination screen then you want to
    change the code in accounting tab at the time of  BP added manually or through DTW
    you can change the code it will allow.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • How to view ACCNTS payble reconaccount Line Item wise after cheking tick

    I want to see the ACCOUNTS Payble RECONCILITION acoount LINE ITEM wise.
    I had seen the GL Master and their I found that The LINE ITEM was not Checked.
    later I had checked the Line Item Display, but Iam not able view the previous transactions Line Item Wise For that GL Account.
    1. Kindly suggest me how I can see the Previous Line Items after cheking the Line Item Disply.
    2. kindly Tell Me if I can Run any Programme.
    3.If its so what programme I can run and how.
    4. Is there any problem by checking the line item display to the GL account.
    Thanks In Advance
    I will definately reward the points
    Akash Narayana

    Hi,
    1. Enable Line Item Display in GL master.
    2. Block the GL for Posting in Company Code.
    3. Run the Program RFSEPA01.
    4. Check whether Line item details are available and then unblock the GL.
    Regards
    Hari

  • Accounts Payable G/L account

    Where can I go to see the mapping of accounts payble to the G/L accounts?  I need to change the account that is being debited when we pay an ivoice.
    Thanks,
    Sean

    The account that gets debited when you pay a vendor invoice is the Vendor (AP) a/c. - thats why my reply was about AP recon. account.  To answer your question about cash account, if vendor is being paid manually (using say F-53), cash/bank account is the account that you enter in the initial screen of F-53 in Bank data section.  If you run automatic payment program (F110), it will be the account specified in Bank determination option of t-code FBZP (GL account assigned in sub-option Bank Accounts in the left window pane).

  • Profit Center Accounting Issue

    Hi,
    1. GL A/c 121000- Account Receivables
    2. GL A/c 21100- Account Paybles
    The above accounts are not included in 3KEH configuration as they are Re-concilation accounts.Still thease acccounts are showing some balances in KE80 PCA report.What could be the reason.Kindly advice me.
    Thanks
    Supriya

    Hello,
    it looks that those accounts are control accounts for accounts payable and receivables.
    When you run 1KEK, the control accounts for AR and AP will be updated in PCA.
    Regards,
    Ravi

  • Session method

    hi all,
           i wrote the session method for f-02 transaction,
    if voucher number(bkpf-xblnr) found in bkpf i need to skip that voucher number.i need to display error report like (xblnr belnr bldat). and any errors experienced during batch input creation like format errors etc.these errors also i need to disply in error report.
    if voucher number(bkpf-xblnr) not found in bkpf i need to insert that voucher number.
    if in the flat file 2 records found in bkpf and 2 records not found in bkpf. in sm35 log file it must show 2 records processed and
    2 reocrds with errors.
    *& Report  ZFGLDIOO20                                                    *
    PROGRAM NAME   : ZFGLDI0020
    REQUEST NO     : CD1K900572
    APLICATION AREA: FI
    AUTHOR         : SRINIVAS M
    DATE           : 13-07-2006
    DESCRIPTION    :This interface will Developement of a Program to read
    and Upload the electronic file containig billing refunds information.
    *This upload file will generate transactions in the Accounts payble module.
    *After the payments have been done an out put file is created containing the cheque
    *information to be uploaded on the revenue billing databases.
    REPORT HEADER                                                        *
    REPORT zfgldi0020  NO STANDARD PAGE HEADING
                       LINE-SIZE 255
                       LINE-COUNT 65.
    ====[TABLES]======================================================
    TABLES: bkpf,   "Accounting Document Header"
            bseg,   "Accounting Document Segment"
            bsec.   "One-Time Account Data Document Segment"
    ====[TYPE-POOLS]======================================================
    TYPE-POOLS: slis.
    ===[INTERNAL TABLES]==================================================
    DATA : BEGIN OF it_file_up OCCURS 0,
             sgtxt(11),
             ls_c2(5),
             zuonr(21),
             name1(51),
             ls_c5(7),
             ls_c6(2),
             ls_c7(5),
             ls_c8(4),
             bldat(9),
             ls_c10(9),
             ls_c11(21),
             ls_c12(2),
             ls_c13(31),
             ls_c14(31),
             ls_c15(31),
             ls_c16(31),
             ls_c17(31),
             ls_c18(5),
             wrbtr(16),
             ls_c20(51),
             ls_c21(51),
             ls_c22(51),
             ls_c23(51),
             ls_c24(51),
             ls_c25(7),
             ls_c26(21),
             ls_c27(3),
             ls_c28(21),
             ls_c29(9),
             ls_c30(21),
             ls_c31(16),
           END OF it_file_up.
    DATA : BEGIN OF it_file OCCURS 0,
             bldat(10),                                   "Document Date"
             blart(2) TYPE c VALUE 'ZD',                  "Document Type"
             bukrs(4) TYPE n VALUE '0100',                "Company Code"
             budat(10),                                    "Posting Date"
             monat(2) TYPE n VALUE '1',                    " Period"
             waers(3) TYPE c VALUE 'ZAR',                  "Currency"
             xblnr(16) TYPE c,  " VALUE 'VOUCHER NUMBER',    " Reference"
             bktxt(25) TYPE c VALUE 'BILLING REFUNDS',    "Doc headertext"
             bschl(2) TYPE c VALUE '31',                  "Posting Key"
             hkont(7) TYPE n VALUE '490905',               "Account"
             name1(35) TYPE c,                            "Name"
             stras(35) TYPE c VALUE '66 Jorissen street', "Street"
             ort01(35) TYPE c VALUE 'JOHANNESBERG',       "City"
             pstlz(4) TYPE n VALUE '2001',                "Postal Code"
             wrbtr(16) ,                                  "Amount"
             mwskz(2) TYPE c VALUE 'V0',                  "Tax Code"
             zuonr(18) TYPE c,                            "Assignment"
             sgtxt(50) TYPE c,                            "Text"
             bschl1(2) TYPE c VALUE '40',                 "Posting Key"
             hkont1(7) TYPE n VALUE '8701120',            "Account"
             wrbtr1(16),                                  "Amount"
             zuonr1(18) TYPE c,                           "Assignment"
             sgtxt1(50) TYPE c,                            "Text"
           END OF it_file.
    DATA : BEGIN OF it_process OCCURS 0,
             bldat(10),                                   "Document Date"
             blart(2) TYPE c VALUE 'ZD',                  "Document Type"
             bukrs(4) TYPE n VALUE '0100',                "Company Code"
             budat(10),                                    "Posting Date"
             monat(2) TYPE n VALUE '1',                    " Period"
             waers(3) TYPE c VALUE 'ZAR',                  "Currency"
             xblnr(16) TYPE c,  " VALUE 'VOUCHER NUMBER',    " Reference"
             bktxt(25) TYPE c VALUE 'BILLING REFUNDS',    "Doc headertext"
             bschl(2) TYPE c VALUE '31',                  "Posting Key"
             hkont(7) TYPE n VALUE '490905',               "Account"
             name1(35) TYPE c,                            "Name"
             stras(35) TYPE c VALUE '66 Jorissen street', "Street"
             ort01(35) TYPE c VALUE 'JOHANNESBERG',       "City"
             pstlz(4) TYPE n VALUE '2001',                "Postal Code"
             wrbtr(16) ,                                  "Amount"
             mwskz(2) TYPE c VALUE 'V0',                  "Tax Code"
             zuonr(18) TYPE c,                            "Assignment"
             sgtxt(50) TYPE c,                            "Text"
             bschl1(2) TYPE c VALUE '40',                 "Posting Key"
             hkont1(7) TYPE n VALUE '8701120',            "Account"
             wrbtr1(16),                                  "Amount"
             zuonr1(18) TYPE c,                           "Assignment"
             sgtxt1(50) TYPE c,                            "Text"
           END OF it_process.
    *& BDC/Call transaction data.
    DATA: BEGIN OF bdcdata OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdcdata.
    DATA: BEGIN OF it_error OCCURS 0,
          xblnr LIKE bkpf-xblnr,
          belnr LIKE bkpf-belnr,
          bldat LIKE bkpf-bldat,
          END OF it_error.
    *DATA: it_check LIKE bkpf OCCURS 0 WITH HEADER LINE.
    DATA: messtab LIKE bdcmsgcoll OCCURS 100 WITH HEADER LINE.
    DATA: lt_fldcat TYPE slis_t_fieldcat_alv,
          lt_errorcat TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF err_fld OCCURS 0,
          icon(8),
          rec_no(6) TYPE n,
          messg(100),
    END   OF err_fld.
    ===[DATA]=============================================================
    DATA: lv_subrc LIKE sy-subrc,
          f_session,
          f_session_created,
          lv_xblnr  LIKE bkpf-xblnr,
          lv_doc    LIKE bkpf-belnr,
          lt_files TYPE filetable,
          ls_files TYPE file_table,
          lv_return TYPE i,
          lv_filen TYPE string,
          lv_error,
          lv_repid LIKE sy-repid.
    DATA: lv_bldat(10),
          lv_budat(10).
    ===[STRUCTURES]=======================================================
    DATA: ls_fldcat TYPE slis_fieldcat_alv.
    *DATA: ls_fldcat1 TYPE slis_t_fieldcat_alv.
    DATA: ls_errorcat TYPE slis_fieldcat_alv.
    ===[SELECTION SCREEN]=================================================
    PARAMETERS:
      p_file  LIKE rlgrap-filename LOWER CASE OBLIGATORY.
    SELECTION-SCREEN SKIP.
    PARAMETERS:
      p_sess  LIKE d0100-mapn DEFAULT 'BILLING' OBLIGATORY.
    ===[AT SELECTION-SCREEN]==============================================
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM get_file_name.
    ===[START-OF-SELECTION]===============================================
    START-OF-SELECTION.
    *& Upload file into internal table
      PERFORM fm_upload_file.
    *& Process file
      PERFORM fm_process_file.
    ===[END-OF-SELECTION]=================================================
    END-OF-SELECTION.
    IF lv_error <> space.
       PERFORM output_error_tab.
    ENDIF.
    SKIP.
    *& No data in file
      IF it_file_up[] IS INITIAL.
        MESSAGE s016(rp) WITH 'No data found in file'.
      ENDIF.
    *& Build catalog for column headings
      PERFORM fm_build_catalog.
    *& Displaying output in alv grid
      PERFORM fm_alv_grid_display.
    *& Build catalog for column headings
      PERFORM fm_error_catalog.
    *& Displaying output in alv grid
      PERFORM fm_error_grid_display.
    ===[FORMS]============================================================
    *&      Form  fm_process_file
          text
    FORM fm_process_file.
      PERFORM bdc_open_group.
      LOOP AT it_process.
        SELECT SINGLE *  FROM bkpf
         WHERE bukrs = '0100'
           AND blart = 'ZD'
           AND xblnr = it_process-xblnr.
        IF sy-subrc = 0.
          it_error-xblnr = bkpf-xblnr.
          it_error-belnr = bkpf-belnr.
          it_error-bldat = bkpf-bldat.
          APPEND it_error.
          CONTINUE.
        ENDIF.
        REFRESH bdcdata.
        CLEAR   bdcdata.
        CONCATENATE : it_process-bldat6(2)  '.' it_process-bldat4(2)  '.'
      it_process-bldat+0(4) INTO lv_bldat.
        CONCATENATE : it_process-budat6(2)  '.' it_process-budat4(2)  '.'
      it_process-budat+0(4) INTO lv_budat.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BKPF-BLDAT'
                                      lv_bldat.
        PERFORM bdc_field       USING 'BKPF-BLART'
                                      'ZD'.
        PERFORM bdc_field       USING 'BKPF-BUKRS'
                                      '0100'.
        PERFORM bdc_field       USING 'BKPF-BUDAT'
                                      lv_budat.
        PERFORM bdc_field       USING 'BKPF-MONAT'
                                     '1'.
        PERFORM bdc_field       USING 'BKPF-WAERS'
                                      'ZAR'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                     it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      '31'.
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      '490900'.
        PERFORM bdc_dynpro      USING 'SAPLFCPD' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEC-PSTLZ'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEC-NAME1'
                                      it_process-name1.
        PERFORM bdc_field       USING 'BSEC-STRAS'
                                      '66 JORISSEN STREET'.
        PERFORM bdc_field       USING 'BSEC-ORT01'
                                      'JOHANNESBURG'.
        PERFORM bdc_field       USING 'BSEC-PSTLZ'
                                      '2001'.
        PERFORM bdc_field       USING 'BSEC-LAND1'
                                      'ZA'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0302'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWKO'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-MWSKZ'
                                      'V0'.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'RF05A-NEWBS'
                                      '40'.
        PERFORM bdc_field       USING 'RF05A-NEWKO'
                                      '8701120'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEG-SGTXT'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'DKACB-FMORE'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTE'.
        PERFORM bdc_field       USING 'COBL-KOSTL'
                                      '444615'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'BSEG-WRBTR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
        PERFORM bdc_field       USING 'BSEG-WRBTR'
                                      it_process-wrbtr.
        PERFORM bdc_field       USING 'BSEG-ZUONR'
                                      it_process-zuonr.
        PERFORM bdc_field       USING 'BSEG-SGTXT'
                                      it_process-sgtxt.
        PERFORM bdc_field       USING 'DKACB-FMORE'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'ENTE'.
        PERFORM bdc_field       USING 'COBL-KOSTL'
                                      '21815'.
        PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/EESC'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'COBL-KOSTL'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0700'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWBS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'RW'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=NO'.
        PERFORM bdc_dynpro      USING 'SAPMF05A' '0700'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF05A-NEWBS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      'RW'.
        PERFORM bdc_field       USING 'BKPF-XBLNR'
                                      it_process-xblnr.
        PERFORM bdc_field       USING 'BKPF-BKTXT'
                                      'BILLING REFUNDS'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
        PERFORM bdc_create_session.
      ENDLOOP.
      PERFORM bdc_close_session.
    ENDFORM.                    "fm_process_file
    *&      Form  bdc_dynpro
           Start new screen                                              *
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
      CLEAR bdcdata.
    ENDFORM.                    "bdc_dynpro
    *&      Form  bdc_field
           Insert field                                                  *
         -->FNAM       text
         -->FVAL       text
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
      CLEAR bdcdata.
    ENDFORM.                    "bdc_field
    *&      Form  bdc_create_session
          Create session
    FORM bdc_create_session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode            = 'F-02'
        TABLES
          dynprotab        = bdcdata
        EXCEPTIONS
          internal_error   = 1
          not_open         = 2
          queue_error      = 3
          tcode_invalid    = 4
          printing_invalid = 5
          posting_invalid  = 6
          OTHERS           = 7.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot insert BDC into session' p_sess
                              'Return code='                   lv_subrc.
      ENDIF.
    ENDFORM.                    " bdc_create_session
    *&      Form  bdc_close_session
          Close session
    FORM bdc_close_session.
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          not_open    = 1
          queue_error = 2
          OTHERS      = 3.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot close session' p_sess
                              'Return code='         lv_subrc.
      ENDIF.
    ENDFORM.                    " bdc_close_session
    *&      Form  fm_build_catalog
          text
    FORM fm_build_catalog.
      ls_fldcat-fieldname = 'BLDAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BLDAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BLART'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BLART'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BUKRS'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BUKRS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BUDAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BUDAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'MONAT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'MONAT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WAERS'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'WAERS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'XBLNR'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'XBLNR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BKTXT'.
      ls_fldcat-ref_tabname = 'BKPF'.
      ls_fldcat-ref_fieldname = 'BKTXT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BSCHL'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'BSCHL'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'HKONT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'HKONT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'NAME1'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'NAME1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'STRAS'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'STRAS'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ORT01'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'ORT01'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'PSTLZ'.
      ls_fldcat-ref_tabname = 'BSEC'.
      ls_fldcat-ref_fieldname = 'PSTLZ'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WRBTR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'WRBTR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'MWSKZ'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'MWSKZ'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ZUONR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'ZUONR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'SGTXT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'SGTXT'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'BSCHL1'.
      ls_fldcat-ref_tabname = 'ZBSEG'.
      ls_fldcat-ref_fieldname = 'BSCHL1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'HKONT1'.
      ls_fldcat-ref_tabname = 'ZBSEG'.
      ls_fldcat-ref_fieldname = 'HKONT1'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'WRBTR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'WRBTR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'ZUONR'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'ZUONR'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'SGTXT'.
      ls_fldcat-ref_tabname = 'BSEG'.
      ls_fldcat-ref_fieldname = 'SGTXT'.
      APPEND ls_fldcat TO lt_fldcat.
    ENDFORM.                    "fm_build_catalog
    *&      Form  fm_error_catalog
          text
    FORM fm_error_catalog.
      ls_errorcat-fieldname = 'XBLNR'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'XBLNR'.
      APPEND ls_errorcat TO lt_errorcat.
      ls_errorcat-fieldname = 'BELNR'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'BELNR'.
      APPEND ls_errorcat TO lt_errorcat.
      ls_errorcat-fieldname = 'BLDAT'.
      ls_errorcat-ref_tabname = 'BKPF'.
      ls_errorcat-ref_fieldname = 'BLDAT'.
      APPEND ls_errorcat TO lt_errorcat.
    ENDFORM.                    "fm_error_catalog
    *&      Form  fm_alv_grid_display
          text
    FORM fm_alv_grid_display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = lv_repid
          it_fieldcat        = lt_fldcat
        TABLES
          t_outtab           = it_process.
    ENDFORM.                    "fm_alv_grid_display
    *&      Form  fm_error_grid_display.
          text
    FORM fm_error_grid_display.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = lv_repid
          it_fieldcat        = lt_errorcat
        TABLES
          t_outtab           = it_error.
    ENDFORM.                    "fm_error_grid_display
    *&      Form  get_file_name
          Get file name
    FORM get_file_name.
    Select file
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title            = 'Select File'
          default_extension       = 'Text Files (*.TXT)'
          file_filter             = cl_gui_frontend_services=>filetype_text
          initial_directory       = 'C:\'
        CHANGING
          file_table              = lt_files
          rc                      = lv_return
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          not_supported_by_gui    = 4
          OTHERS                  = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        READ TABLE lt_files INTO ls_files INDEX 1.
        p_file = ls_files-filename.
        CLEAR lt_files[].
      ENDIF.
    ENDFORM.                    " get_file_name
    *&      Form  fm_upload_file
          text
    FORM fm_upload_file.
      lv_filen = p_file.
    Upload file
      CALL METHOD cl_gui_frontend_services=>gui_upload
         EXPORTING
           filename                = lv_filen
         has_field_separator     = 'X'
         CHANGING
           data_tab                = it_file_up[]
         EXCEPTIONS
           file_open_error         = 1
           file_read_error         = 2
           no_batch                = 3
           gui_refuse_filetransfer = 4
           invalid_type            = 5
           no_authority            = 6
           unknown_error           = 7
           bad_data_format         = 8
           header_not_allowed      = 9
           separator_not_allowed   = 10
           header_too_long         = 11
           unknown_dp_error        = 12
           access_denied           = 13
           dp_out_of_memory        = 14
           disk_full               = 15
           dp_timeout              = 16
           not_supported_by_gui    = 17
           error_no_gui            = 18
           OTHERS                  = 19.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE e398(00) WITH 'Cannot upload file:' p_file
                              'Return code='        lv_subrc.
      ENDIF.
    File did not upload or no data in file
      IF it_file_up[] IS INITIAL.
        STOP.
      ENDIF.
      LOOP AT it_file_up.
        CHECK it_file_up-ls_c2(4) = '9999'.
        it_file-bldat = it_file_up-bldat+0(8).  "Document Date"
        it_file-budat = it_file-bldat.          "Posting Date"
        it_file-xblnr = it_file_up-sgtxt+0(10).
        it_file-name1 = it_file_up-name1+0(35).  "Name"
        it_file-wrbtr = it_file_up-wrbtr+0(15).  "Amount"
        it_file-zuonr = it_file_up-zuonr+0(18).  "Assignment"
        it_file-sgtxt = it_file_up-sgtxt+0(10).  "Text"
        it_file-xblnr = it_file-xblnr.
        it_file-wrbtr1 = it_file-wrbtr.
        it_file-zuonr1 = it_file-zuonr.
        it_file-sgtxt1 = it_file-sgtxt.
        APPEND it_file.
      ENDLOOP.
      LOOP AT it_file.
        CHECK NOT it_file-bldat IS INITIAL.
        MOVE-CORRESPONDING it_file TO it_process.
        APPEND it_process.
      ENDLOOP.
    ENDFORM.                    " fm_upload_file
    *&      Form  bdc_open_group
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_open_group .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          group               = p_sess
          keep                = 'X'
          user                = sy-uname
        EXCEPTIONS
          client_invalid      = 1
          destination_invalid = 2
          group_invalid       = 3
          group_is_locked     = 4
          holddate_invalid    = 5
          internal_error      = 6
          queue_error         = 7
          running             = 8
          system_lock_error   = 9
          user_invalid        = 10
          OTHERS              = 11.
      IF sy-subrc <> 0.
        lv_subrc = sy-subrc.
        MESSAGE i398(00) WITH 'Cannot open session' p_sess
                              'Return code='        lv_subrc.
        STOP.
      ENDIF.
    ENDFORM.                    " bdc_open_group
    anybody suggest me any other way to display error report.
    and sm35 logfile logic.

    Hi,
    1) if you want to create documents pls use abap rfbibl00 (here's a documentation) or fm BAPI_ACC_DOCUMENT_POST
    2) if you want to change header , use bdc to FB02;
       to item use FB09
    A.

  • AP Distribution line, PO, and Inv Info Needed

    Is this the place to ask for accounts payble help? Having a hard time getting po line and inv data to appear in my code since one of the tables needs to be outer joined twice so that if an inv isn't tied to a PO then it still appears, and that table is po.po_lines_all:
    Here's what I have so far:
    select ....
    from ap.ap_invoices_all inv
    ,po.po_vendors vend
    ,ap.ap_invoice_distributions_all idstr
    ,gl.gl_code_combinations distr
    ,po.po_distributions_all pdstr
    ,po.po_line_locations_all shipm
    ,po.po_lines_all polin
    ,po.po_headers_all pohdr
    where vend.vendor_id = inv.vendor_id
    and inv.invoice_id = idstr.invoice_id
    and idstr.dist_code_combination_id = distr.code_combination_id
    and idstr.po_distribution_id = pdstr.po_distribution_id(+)
    and pdstr.line_location_id = shipm.line_location_id (+)
    and shipm.po_line_id = polin.po_line_id (+)
    and pohdr.po_header_id (+) = polin.po_header_id(+) -- this is the important join I need in order to get the PO number (segment1) from pohdr and distribution info from polin which comes via the other path, via the AP table joins.
    Any help from some AP pros would be appreciated - if this is the wrong place, let me know where I could find the answer, because I'm sure I'm not the first person to have to make this.

    hi,
    Goto " METALINK"
    With Best Wishes
    Ram

  • BAPI_ACC_INVOICE_RECEIPT_POST how to calculate tax

    Hallo folks,
    i can't figuere out how to calculate the tax with the bapi BAPI_ACC_INVOICE_RECEIPT_POST. I already searched the Forums and google but no Solution helped me.
    I don't really get it, which fields i have to fill. For example i do i have to fill the amt_base for every item or just for the tax structure?
        ls_accgl-comp_code  = ls_outtab-zzfaleiemp.
        ls_accgl-tax_code   = 'V3'.
        ls_accgl-profit_ctr = ls_outtab-prctr.
        ls_accgl-sales_ord  = ls_outtab-kdauf.
        ls_accgl-s_ord_item = ls_outtab-kdpos.
        APPEND ls_accgl TO lt_accgl.
        CLEAR ls_curamt.
        ls_curamt-itemno_acc     = l_itemno.
        ls_curamt-currency_iso   = 'EUR'.
        ls_curamt-amt_doccur     = ls_outtab-zzsum.
      ls_acctax-itemno_acc = l_itemno.
      ls_acctax-tax_rate   = '19.000'.
      ls_acctax-gl_account = ls_accgl-gl_account.
      ls_acctax-tax_code   = 'V3'.
      ls_acctax-acct_key   = 'VST'.
      ls_acctax-cond_key   = 'MWVS'.
      APPEND ls_acctax TO lt_acctax.
      CLEAR ls_curamt.
      ls_curamt-itemno_acc = l_itemno.
      ls_curamt-currency   = 'EUR'.
    *  ls_curamt-amt_doccur = l_sum.
      ls_curamt-amt_base   = l_sum.
      APPEND ls_curamt TO lt_curamt.
    Because it doesn't matter what field i fill in TA FB03 there never come any taxes up.
    has anybody some Ideas?
    Best regards
    Mathias

    Hi,
      check the below code
    Read Invoice Work item data
      CLEAR: lwa_inv_header.
      SELECT SINGLE * INTO lwa_inv_header
        FROM zbw_inv_header
      WHERE zinv_id = i_documentheader-zinv_id.
      IF sy-subrc = 0.
    Get history line count
        SELECT COUNT(*) INTO lv_hist_lineid
          FROM zbw_wi_history
         WHERE zinv_id = i_documentheader-zinv_id.
    Get exception line count
        SELECT COUNT(*) INTO lv_lineid
          FROM zbw_wi_exception
         WHERE zinv_id = i_documentheader-zinv_id.
    Get document type
        SELECT SINGLE zdoctype INTO lv_doc_type
          FROM zbw_doc_types
        WHERE zinvtype = i_documentheader-zinvoicetype AND
              zinvind  = i_documentheader-invoice_ind.
        IF sy-subrc <> 0.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          t_return-zmessage = 'Document type configuration is not done'.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
    Read posting date config
        SELECT SINGLE * INTO lwa_posting
          FROM zbw_posting_date
        WHERE zarea = i_documentheader-zinvoicetype.
        IF sy-subrc <> 0.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          t_return-zmessage = 'Posting date configuration is not done'.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
        IF lwa_posting-zcurrentdate = 'X'.
    Todays date as posting date
          lwa_documentheader-pstng_date = sy-datum.
        ELSE.
          lv_today = sy-datum.
          CLEAR: lv_days,
                 lv_months,
                 lv_years,
                 lv_calcdt.
    Calculate last day of previous month as posting date
          CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
            EXPORTING
              date      = lv_today
              days      = lv_days
              months    = lv_months
              signum    = '-'
              years     = lv_years
            IMPORTING
              calc_date = lv_calcdt.
          IF sy-subrc <> 0.
            CLEAR t_return.
            t_return-ztype    = 'E'.
            CONCATENATE 'Error while calculating the'
                        'Last day of previous month'
              INTO t_return-zmessage SEPARATED BY space.
            APPEND t_return.
            lv_lineid = lv_lineid + 1.
            CLEAR lwa_exceptions.
            lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
            lwa_exceptions-zlineid  = lv_lineid.
            lwa_exceptions-zstep_id = i_stepid.
            lwa_exceptions-zuser    = sy-uname.
            lwa_exceptions-zdate    = sy-datum.
            lwa_exceptions-ztime    = sy-uzeit.
            lwa_exceptions-zexception = t_return-zmessage.
            MODIFY zbw_wi_exception FROM lwa_exceptions.
            EXIT.
          ENDIF.
          CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
            EXPORTING
              day_in            = lv_calcdt
            IMPORTING
              last_day_of_month = lwa_documentheader-pstng_date
            EXCEPTIONS
              day_in_no_date    = 1
              OTHERS            = 2.
        ENDIF.
    Populate the header data
        lwa_documentheader-obj_type       = 'IBKPF'.
        CONCATENATE sy-datum sy-uzeit lwa_documentheader-comp_code
          INTO lwa_documentheader-obj_key.
        lwa_documentheader-obj_sys        =  sy-sysid.
        lwa_documentheader-username       =  sy-uname.
        lwa_documentheader-header_txt     =  'HD BAPI Test'.
        lwa_documentheader-comp_code      = i_documentheader-comp_code.
        lwa_documentheader-fisc_year      = i_documentheader-zfisc_year.
        lwa_documentheader-doc_date       =  i_documentheader-doc_date.
        lwa_documentheader-trans_date     = sy-datum.
        lwa_documentheader-fis_period     =  i_documentheader-zfisc_period.
        lwa_documentheader-doc_type       =  lv_doc_type.
            ALL ITEM DATA                                               *
    Populate Account payble data
        CLEAR lt_accountpayable.
        lt_accountpayable-itemno_acc      = 1.
        lt_accountpayable-vendor_no       = i_documentheader-zvendor.
        lt_accountpayable-item_text       = 'Webdesk invoice posting'.
        APPEND lt_accountpayable.
        clear lt_accountpayable.
    Populate the currency for Account payble
      CLEAR lt_currencyamount.
      lt_currencyamount-itemno_acc      = 1.
      lt_currencyamount-currency        = i_documentheader-currency.
      lt_currencyamount-amt_doccur      = i_documentheader-gross_amount * -1.
      APPEND lt_currencyamount.
      clear lt_currencyamount.
    Loop the GL table
        CLEAR lv_errfl.
        LOOP AT t_glacc.
          CONCATENATE i_documentheader-supcountry t_glacc-tax_code
            INTO lv_vakey SEPARATED BY space.
          SELECT knumh INTO lv_knumh
           UP TO 1 ROWS
            FROM konh
           WHERE vakey = lv_vakey.
          ENDSELECT.
          IF sy-subrc = 0.
            SELECT SINGLE kbetr INTO lv_kbetr
              FROM konp
             WHERE knumh = lv_knumh.
            IF sy-subrc <> 0.
              lv_errfl = 'X'.
            ENDIF.
          ELSE.
            lv_errfl = 'X'.
          ENDIF.
          lv_kbetr = lv_kbetr / 10.
          IF t_glacc-tax_base_amount IS INITIAL.
            lv_taxamt  =  ( i_documentheader-gross_amount * lv_kbetr ) / 100.
          ELSE.
            lv_taxamt  =  ( t_glacc-tax_base_amount * lv_kbetr ) / 100.
          ENDIF.
    Populate the GL data
          lt_accountgl-itemno_acc           = 2.
          lt_accountgl-gl_account           = t_glacc-gl_account.
          lt_accountgl-tax_code             = t_glacc-tax_code.
          lt_accountgl-acct_key             = t_glacc-zacct_key.
          lt_accountgl-item_text            = 'Webdesk invoice posting'.
          APPEND lt_accountgl.
          clear lt_accountgl.
          CLEAR lt_currencyamount.
          lt_currencyamount-itemno_acc        =  2.
          lt_currencyamount-currency          =  i_documentheader-currency.
          lt_currencyamount-amt_doccur        =  t_glacc-item_amount - lv_taxamt.
          APPEND lt_currencyamount.
          clear lt_currencyamount.
          IF NOT t_glacc-tax_code IS INITIAL.
    Populate the Tax data
            lt_accounttax-itemno_acc = 3.
            lt_accounttax-gl_account = t_glacc-ztaxgl_account.
            lt_accounttax-tax_code   = t_glacc-tax_code.
            lt_accounttax-acct_key   = t_glacc-zacct_key.
            APPEND lt_accounttax.
            clear lt_accounttax.
            CLEAR lt_currencyamount.
            lt_currencyamount-itemno_acc        =  3.
            lt_currencyamount-currency          =  i_documentheader-currency.
            lt_currencyamount-amt_doccur        =  lv_taxamt.
            IF t_glacc-tax_base_amount IS INITIAL.
              lt_currencyamount-amt_base          =  i_documentheader-gross_amount.
            ELSE.
              lt_currencyamount-amt_base          =  t_glacc-tax_base_amount.
            ENDIF.
            APPEND lt_currencyamount.
            clear lt_currencyamount.
          ENDIF.
        ENDLOOP.
        IF lv_errfl = 'X'.
          CLEAR t_return.
          t_return-ztype    = 'E'.
          CONCATENATE 'Error while calculating the'
                      'Tax amount'
            INTO t_return-zmessage SEPARATED BY space.
          APPEND t_return.
          lv_lineid = lv_lineid + 1.
          CLEAR lwa_exceptions.
          lwa_exceptions-zinv_id  = i_documentheader-zinv_id.
          lwa_exceptions-zlineid  = lv_lineid.
          lwa_exceptions-zstep_id = i_stepid.
          lwa_exceptions-zuser    = sy-uname.
          lwa_exceptions-zdate    = sy-datum.
          lwa_exceptions-ztime    = sy-uzeit.
          lwa_exceptions-zexception = t_return-zmessage.
          MODIFY zbw_wi_exception FROM lwa_exceptions.
          EXIT.
        ENDIF.
               CALLING BAPI                                             *
        CLEAR lwa_wi_history.
        lwa_wi_history-zinv_id  = i_documentheader-zinv_id.
        lwa_wi_history-zlineid  = lv_hist_lineid.
        lwa_wi_history-zstep_id = i_stepid.
        lwa_wi_history-zuser    = sy-uname.
        lwa_wi_history-zdate    = sy-datum.
        lwa_wi_history-ztime    = sy-uzeit.
        CLEAR: lt_return[].
        CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
          EXPORTING
            documentheader = lwa_documentheader
          IMPORTING
            obj_type       = obj_type
            obj_key        = obj_key
            obj_sys        = obj_sys
          TABLES
            accountpayable = lt_accountpayable
            accountgl      = lt_accountgl
            accounttax     = lt_accounttax
            currencyamount = lt_currencyamount
            return         = lt_return.
    Thanks & Regards,
    Sateesh.

  • Table & fields

    Hi
    Can any one tell about the table & fields for following items,
    Total sales
    Finance FTEs
    Active customer accounts
    Total Collection FTEs
    Total Customer Services FTEs
    Total Orders for the period
    Total Purchase Orders issued
    Total Purchasing & Vendor Management FTEs
    Total Vendor Invoices Processed
    Total Accounts Payble FTEs
    Vendor Claims
    Other Vendor Debit Receivables
    Vendor Claims W/O
    Reserved Vendor/claims processed
    Here FTEs full time employees
    Thanks
    Deepak
    Edited by: SDeepakKr on Apr 23, 2010 5:21 AM

    Total sales : Table  BSEG for all (field SAKNR) sales GL accounts that are counted for sales
    Finance FTEs
    Active customer accounts Table KNA1, filter if any fields maintained for inactive customers
    Total Collection FTEs Table BSID and BSAD totals of payment type DZ + any customized.
    Total Customer Services FTEs
    Total Orders for the period Table AFPO/AFKO
    Total Purchase Orders issued Table EKPO look to amount field
    Total Purchasing & Vendor Management FTEs
    Total Vendor Invoices Processed Table RKBP
    Total Accounts Payble FTEs Tables BSIK and BSAK
    Vendor Claims
    Other Vendor Debit Receivables BSIK and BSAK
    Vendor Claims W/O BSEG table for the GL account that is used for writing off. SAKNR
    Reserved Vendor/claims processed

  • Billing  in CRM.

    Hi,
    Iam facing problem related to billing. I created service order released it. It created billing due list. But it is giving error when creating billing document. It is due to tax calculations.
    errors are:
    IPC error
    --0TTE is missing in   even i used without tax pricing in service order.
    How to make tax less billing ?
    How can i replicate the billing document to ecc.( I did not distribute service order to ecc).I have to distribute billing document only.is this  possible?.
    Is CRM supports transfer the  billing document to Account payable in ECC.
    I didnot see any option in spro.
    How can I post credit memo to Account payble.Awaiting for your great reply.
    Thanks
    John

    Hi John,
    Go to IMG
    Path: CRM Middleware and Related Components-->Basic Functions >Pricing>
    Define Settings for Pricing-->Create Pricing Procedure
    Select your pricing procedure,
    Select 'Control Data' in left panel to see all the condition types in your pricing procedure.
    You have a condition type 0TTE marked as mandatory.
    Please uncheck the mandatory checkbox.
    Save the settings.
    Pricing Buffer would get refreshed at 12 am night and then you will find the settings in effect.
    Else you can restart IPC and can test the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Reg Check information in table

    Hi Experts,
    I am developing a Program in account payble(AP), I want to know some field like : <b>Check status field, PO number, Invoice No and Voucher No</b> for that which table i use... Please suggest me, I alredy check PAYR, <b>REGUP,REGUH,BSIS,BSEG</b> but in table its shows balnk........ so Please help me... its urgent.................
    Give me suggetion
    Jigar

    Thanks

  • AP open items data

    Hi gurus,
             Here i have to extract data related to ACCOUNTS PAYBLE OPEN ITEM DATA for that i have to extract Header data , item data, and vendor data, bank details.....so pls advice me from how many tables i have to  take data ...
    I knew some thing like BKPF,BSEG,BSIK,LFA1,LFBK,,,,is this correct or
    i have to take from BSIK for open items ,,some of the fields are avilabel in BSIK,but again i have to go to BSEG,,,,,,some fileds avilabe in this table ....pls ADVICE ME.....
    Thanks
    KRISNA

    Hi Krisna,
    Even in std transdaction code FBL1N, you need to provide comp. code,vendor #, keydate.
    But since you have company code only, you can retrive all the relevant vendors for that comp. code using select from table LFB1.
    You can pass these vendors alongwith the given comp. code to the BAPI through a loop.
    For keydate, by default it should be current system date so set it to system date.
    Hope this would be of help.
    Cheers,
    Vikram
    Mark for helpful replies!!

  • Vendor Amount  Checking and posting

    Hi Friends,
        Here ,I am using this function module for checking the vendor amount. BAPI_ACC_DOCUMENT_CHECK
    I am passing below data
    Header Data
    OBJ_SYS     C     10
    BUS_ACT     C     4      RFBU
    USERNAME     C     12      ABAP16
    HEADER_TXT     C     25
    COMP_CODE     C     4      H
    DOC_DATE     D     8      20060217
    PSTNG_DATE     D     8      20060217
    TRANS_DATE     D     8      00000000
    FISC_YEAR     N     4      2006
    FIS_PERIOD     N     2      00
    DOC_TYPE     C     2      SA
    REF_DOC_NO     C     16      TEST
    ACCOUNT GL
    0000000001|0002110113| 
    ACCOUNT PAYBLE
    ITEMNO_ACC     N     10      0000000002
    VENDOR_NO     C     10      EPAY1
    SECTIONCODE     C     4      B004
    ACCOUNT TAX
    ITEMNO_ACC     N     10      0000000001
    GL_ACCOUNT     C     10      0001430524
    COND_KEY     C     4      JIN2
    ACCT_KEY     C     3      MW3
    TAX_CODE     C     2      AR
    TAX_RATE     P     4         0.000
    TAX_DATE     D     8      00000000
    TAXJURCODE     C     15
    TAXJURCODE_DEEP     C     15
    TAXJURCODE_LEVEL     C     1
    ITEMNO_TAX     N     6      000000
    ITEMNO_ACC     N     10      0000000002
    GL_ACCOUNT     C     10      0001430524
    COND_KEY     C     4      JIN6
    ACCT_KEY     C     3      JN6
    TAX_CODE     C     2      AR
    TAX_RATE     P     4         4.000
    TAX_DATE     D     8      00000000
    TAXJURCODE     C     15
    TAXJURCODE_DEEP     C     15
    TAXJURCODE_LEVEL     C     1
    ITEMNO_TAX     N     6      000000
    CURRENCY AMOUNT
    ITEMNO_ACC     N     10      0000000002
    CURR_TYPE     C     2
    CURRENCY     C     5      INR  
    CURRENCY_ISO     C     3
    AMT_DOCCUR     P     12                        753.85-
    EXCH_RATE     P     5         0.00000
    EXCH_RATE_V     P     5         0.00000
    AMT_BASE     P     12                        756.00
    DISC_BASE     P     12                        0.0000
    DISC_AMT     P     12                        0.0000
    ITEMNO_ACC     N     10      0000000001
    CURR_TYPE     C     2
    CURRENCY     C     5      INR
    CURRENCY_ISO     C     3
    AMT_DOCCUR     P     12                        753.8500
    EXCH_RATE     P     5         0.00000
    EXCH_RATE_V     P     5         0.00000
    AMT_BASE     P     12                        0.0000
    DISC_BASE     P     12                        756.0000
    DISC_AMT     P     12                        0.0000
    cretir
    0000000001|BUKRS                         |H                               |
    0000000001|KNDNR                         |ICIEL                           |
    0000000001|ARTNR                         |DDTEST-OWN                      |
    0000000001|VKORG                         |HLL                             |
    0000000001|VTWEG                         |ST                              |
    account tax
    0000000001|0001430524|JIN2    |MW3     |AR      |   0.000 |00000000       |
    0000000002|0001430524|JIN6    |JN6     |AR      |   4.000 |00000000       |
    I am getting error Balance in transation currency.
    Thanks & Regards,
    Narayana Rao.

    Hi Rob,
    I'm having a similar problem to this issue, in my currencyamount table the balance amounts to Zero, which mean the document is ready to post. but i get this error 'balance in transaction curcy'.
    Any idea what could be my mistake?
    Thanks in advance.
    Vinod

  • Clear throu fb60

    Hi all,
    I tried to clear the sales tax gl account payble throu vendor in t.code fb60.. but the system asking for tax code again.. (My process is to pay the sales tax to the govt authorities throu vendor)
    where we change this? i tried in obc4 to check all are correct, no require fields is assigned or selected radio button for field status group g001.
    from where it is asking tax code?? it shown as require field..
    kindly give the solution for this problem
    points will awarded..
    Raghav

    Hi,
    Please check your GL account's detail via t-code FS00..
    go to Control data tab then did you select post w/o tax allowed option?
    Anyway, use t-code FB05, post with clearing..
    Hope this help.
    Regards.
    Message was edited by:
            Bird

Maybe you are looking for