FCHX Check Extract Creation

Hi ,
Currently we  modify file generated through this  transcation to be sent to banks in there format.
Can we directly make changes in standard prog use by this transcation to add payee name and information to be sent to banks.
Regards
Ivneet

Hi Radhika,
I want to add payee information and name there in output.So which include to modify .Lot of standard includes needs to be incorparated.
Regards
Ivneet

Similar Messages

  • Authority check on Creation of Purchase order usin badi BBP_ITEM_CHECK_BADI

    hi all,
    i have to apply authority checks on creation of Purchase order and shopping cart in SRM using badi BBP_ITEM_CHECK_BADI.
    i have applied checks on creation of shopping cart   using this badi which have some filters but how to apply on purchasing order using BBP_ITEM_CHECK_BADI.

    hi,
      You can use the BBP_DOC_CHECK_BADI.
    BR,
    Disha.
    Pls rewar points for useful answers.

  • Order budget checking in creation PA30

    Hi everyone,
    My requirement is to have order budget checking in HR modul.
    Currently if user create claim transaction with internal order number, there is no checking for the order budget.
    I noticed that the HR module and FI module is not related in this phase (creation phase)
    During end month, user will run PC00_M99_CIPE to create a document to be posted to FI.
    In this phase, SAP will do the checking if got error due to order budget exceeded.
    My requirement is to have the checking in creation phase.
    What I have done :
    1. use exit EXIT_SAPFP50M_002
    2. currently on button save clicked, I will have checking on amount filled by user and current availability of budget in table BPGE
    Problem :
    1. Creation phase not yet updating the balance of budget availibility, so the comparison I make above, is not accurate.
    2. If I want to create a temporary table for every transaction saved -> update budget availibility
    another problem I'm facing, I cannot diferentiate which data is posted to FI and which one not yet.
    Please any solution / suggestion ?
    Thanks,
    Melissa

    Thnx alex
    i already maintained in derivation rule but it is working for PM only maintaince order creation.But for production order and process order it is not working means while i am doing migo against a process order or porduction order same error is coming no fund center derived. Please suggest me if i did any thing wrong
    i applied this  function moudle
    FMDT_READ_ORDER_PM_FROM_FMZUOB
    enhancement
    SAPLFMDT - EXIT_SAPLFMDT_001
    Regards

  • Any standard transaction code to check Batch Creation Date of a batch?

    Please let me know if you know any transaction to check batch creation date of a batch , preferably with valuation information.

    Hi
    You can try with MB5B. It wont give batch creation date, but it will give posting date (most of the cases posting date may be batch creation date)
    Otherwise you can try to pull the information at table level MCHA-ERSDA and develop query.
    regards
    Srinivas

  • Check box creation

    Hi Experts,
    i hae to create a check box for account assaignment default value ticked, ifit is ticked out put should come other wise output should not come
    could any one help me, account assaignment field is ekpo-knttp.
    i am giving the code below
    REPORT zmmr_po_spendreport NO STANDARD PAGE HEADING
           MESSAGE-ID zs.
    Program ID   :                                                      *
    Version      : 1.0                                                  *
    SAP Version  : R/3 System Ver. 4.6C                                 *
    Program Name : ZMMR_PO_SPENDREPORT                                  *
    Created by   : Venu Goli                                            *
    Created on   : 6/1/2007                                             *
    Description  : A Report on Direct and Indirect spend to find out    *
                    the lead time in PO and Invoice creation             *
    Tables
    TABLES: ekko,   "Purchasing Document Header
            ekpo,   "Purchasing Document Item
            rbkp.   "Document Header: Invoice Receipt
    Type-Pools
    TYPE-POOLS : slis.   " Has to be declared to use ALVs
    To hold ALV field catgory data
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat LIKE LINE OF it_fieldcat.
    Internal tables declarations
    Internal table to hold Report data
    DATA: BEGIN OF it_output OCCURS 0,
           dir_indir(9),
           bukrs LIKE ekko-bukrs,    "company code
           ebeln LIKE ekko-ebeln,    "Purchasing Document Number
           ebelp LIKE ekpo-ebelp,    "Item
           aedat LIKE ekko-aedat,    "Date on which the record was created
           belnr LIKE rseg-belnr,    "Accounting document number
           bldat LIKE rbkp-bldat,    "Document date in document
           budat LIKE rbkp-budat,    "Posting date in the document
           wrbtr LIKE rseg-wrbtr,    "Amount in document currency
           curr  LIKE t880-curr,     "Price unit (Local Curr)
           bednr LIKE ekpo-bednr,    "Requirement tracking number
           lifnr LIKE ekko-lifnr,    "Vendor's account number
           name1 LIKE lfa1-name1,                               "name1
           name2(30),                "preparer name
           name3(30),                "requester name
           gjahr LIKE rseg-gjahr,    "Fiscal year
           ernam LIKE ekko-ernam,    "Name of Person who Created the Object
           kursf LIKE rbkp-kursf,    "Exchange rate
           shkzg LIKE rseg-shkzg,    "Debit/credit indicator
           banfn LIKE ekpo-banfn,    "Purchase requisition number
           knttp LIKE ekpo-knttp,    "account assignment category
          END OF it_output.
    Selection Screen
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs LIKE ekko-bukrs OBLIGATORY,
                   kntpp AS CHECKBOX DEFAULT 'X'.
    SELECT-OPTIONS: s_invdat FOR rbkp-bldat,    "Document date in document
                    s_vendor FOR ekko-lifnr,    "Vendor's account number
                    s_purcdo FOR ekko-ebeln,    "Purchasing Document no
                    s_credat FOR ekko-aedat OBLIGATORY,"create date
                    s_plant  FOR ekpo-werks,    "Plant
                    s_doctyp FOR ekko-bsart,    "Purchasing document type
                    s_purorg FOR ekko-ekorg,    "Purchasing organization
                    s_trcnum FOR ekpo-bednr,    "Requirement tracking number
                    s_knttp  FOR ekpo-knttp.    "account assignment category
    SELECTION-SCREEN: END OF BLOCK b1.
    DATA: count TYPE i VALUE 0.            " Used to count records
              INITIALIZATION                                             *
    INITIALIZATION.
    At Selection Screen
    AT SELECTION-SCREEN.
    Checking for the input values of selection screen fields.
      PERFORM validate_params.
    Start Of Selection
    START-OF-SELECTION.
      PERFORM get_data.
    End Of Selection
    END-OF-SELECTION.
    SUBROUTINE TO CALL THE FUNCTION MERGE TO ENSURE PROPER DISPLAY.
      PERFORM merge_fieldcatalog.
      PERFORM modify_fieldcat.
      PERFORM alv_report.
          FORM validate_params                                          *
    FORM validate_params.
    Validate company code
      SELECT SINGLE COUNT(*) FROM t001 WHERE bukrs = p_bukrs.
      IF sy-subrc <> 0.
        MESSAGE e021 WITH 'Please enter a valid Company code'.
      ENDIF.
    *Validate Vendor.
      SELECT SINGLE COUNT(*) FROM lfa1 WHERE lifnr IN s_vendor.
      CASE sy-subrc.
        WHEN 0.
        WHEN OTHERS.
          MESSAGE e021 WITH 'Please enter a valid Vendor'.
      ENDCASE.
    *Validate PO doc type
      SELECT SINGLE COUNT(*) FROM t161 WHERE bsart IN s_doctyp.
      CASE sy-subrc.
        WHEN 0.
        WHEN OTHERS.
          MESSAGE e021 WITH 'Please enter a valid PO Doc. Type'.
      ENDCASE.
    *Validate plant
      SELECT SINGLE COUNT(*) FROM t001w WHERE werks IN s_plant.
      CASE sy-subrc.
        WHEN 0.
        WHEN OTHERS.
          MESSAGE e021 WITH 'Please enter a valid Plant. Type'.
      ENDCASE.
    *Validate Purch. Org
      SELECT SINGLE COUNT(*) FROM t024e WHERE ekorg IN s_purorg.
      CASE sy-subrc.
        WHEN 0.
        WHEN OTHERS.
          MESSAGE e021 WITH 'Please enter a valid Purch. Org.'.
      ENDCASE.
    ENDFORM.                               " PERFORM VALIDATE_PARAMS.
          FORM get_data                                                 *
    FORM get_data.
      DATA: l_persnumber LIKE usr21-persnumber.
    Get PO data
      SELECT a~bukrs a~ebeln b~ebelp a~aedat a~lifnr a~ernam
             b~knttp b~bednr b~banfn
             c~belnr c~wrbtr c~gjahr c~shkzg
             d~bldat d~budat d~kursf
             e~dir_indir
      INTO CORRESPONDING FIELDS OF TABLE it_output
      FROM ekko AS a
      JOIN ekpo AS b ON b~ebeln = a~ebeln
      JOIN rseg AS c ON c~ebeln = b~ebeln
                    AND c~ebelp = b~ebelp
                    AND c~bukrs = a~bukrs
      JOIN rbkp AS d ON d~belnr = c~belnr
                    AND d~gjahr = c~gjahr
      LEFT JOIN zpo_dirindir AS e ON e~knttp = b~knttp
      WHERE a~bukrs = p_bukrs
        AND a~lifnr IN s_vendor
        AND a~ebeln IN s_purcdo
        AND a~bsart IN s_doctyp
        AND a~ekorg IN s_purorg
        AND a~aedat IN s_credat
        AND b~knttp IN s_knttp
        AND b~werks IN s_plant
        AND b~bednr IN s_trcnum.
      LOOP AT it_output.
      Get posting date, Doc. date & Curr. Key
        IF it_output-kursf <> 0.
          it_output-wrbtr = it_output-wrbtr * it_output-kursf.
        ENDIF.
      get local currency
        SELECT SINGLE waers INTO it_output-curr FROM t001
                 WHERE bukrs = it_output-bukrs.
      Get vendor name.
        SELECT SINGLE name1 FROM lfa1 INTO it_output-name1
        WHERE lifnr = it_output-lifnr.
      Get PO created person name
        SELECT SINGLE persnumber INTO l_persnumber FROM usr21
         WHERE bname = it_output-ernam.
        IF sy-subrc = 0.
          SELECT SINGLE name_text FROM adrp INTO it_output-name2
           WHERE persnumber = l_persnumber.
        ELSE.
          it_output-name2 = it_output-ernam.
        ENDIF.
      Get get requested by from reciepent point in PO
      else PR created by (If PR exists)
        CASE it_output-dir_indir.
          WHEN 'I'.
          Take requested by from Reciepent point.
            SELECT SINGLE wempf INTO it_output-name3 FROM ekkn
             WHERE ebeln = it_output-ebeln
               AND ebelp = it_output-ebelp .
          WHEN 'D'.
            SELECT SINGLE ernam INTO it_output-name3 FROM eban
             WHERE banfn = it_output-banfn
               AND ebelp = it_output-ebelp.
            IF sy-subrc <> 0.
              MOVE it_output-ernam TO it_output-name3.
            ENDIF.
            SELECT SINGLE persnumber INTO l_persnumber FROM usr21
                WHERE bname = it_output-name3.
            IF sy-subrc = 0.
              SELECT SINGLE name_text FROM adrp INTO it_output-name3
               WHERE persnumber = l_persnumber.
            ENDIF.
        ENDCASE.
      translate direction indicator to Indirect or Direct
        CASE it_output-dir_indir.
          WHEN 'I'. it_output-dir_indir = 'Indirect'.
          WHEN 'D'. it_output-dir_indir = 'Direct'.
        ENDCASE.
        MODIFY it_output.
      ENDLOOP.
    ENDFORM.
    FORM MERGE_FIELDCATALOG                                             *
    FORM merge_fieldcatalog.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                i_program_name         = sy-cprog
                i_internal_tabname     = 'IT_OUTPUT'
                i_inclname             = sy-cprog
           CHANGING
                ct_fieldcat            = it_fieldcat[]
           EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
    ENDFORM. " MERGE_FIELDCATALOG
          FORM modify_fieldcat                                          *
    FORM modify_fieldcat.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      LOOP AT it_fieldcat INTO wa_fieldcat.
        CASE wa_fieldcat-fieldname.
          WHEN 'DIR_INDIR'.
            wa_fieldcat-seltext_m = 'Direct/Indirect'.
          WHEN 'NAME2'.
            wa_fieldcat-seltext_m = 'PREPARER NAME'.
          WHEN 'NAME3'.
            wa_fieldcat-seltext_m = 'REQUESTER NAME'.
          WHEN 'BEDNR'.
            wa_fieldcat-seltext_m = 'SSP PO'.
          WHEN 'AEDAT'.
            wa_fieldcat-seltext_m = 'PO DOCUMENT DATE'.
          WHEN 'BLDAT'.
            wa_fieldcat-seltext_m = 'INVOICE DOCU DATE'.
          WHEN 'BUDAT'.
            wa_fieldcat-seltext_m = 'POSTAGE DATE'.
          WHEN 'WRBTR'.
            wa_fieldcat-seltext_m = 'LOCAL AMOUNT'.
            wa_fieldcat-cfieldname = 'CURR'.
            wa_fieldcat-ctabname   =  wa_fieldcat-tabname.
          WHEN 'CURR'.
            wa_fieldcat-seltext_m = 'LOCAL CURR'.
          WHEN 'NAME1'.
            wa_fieldcat-seltext_m = 'VENDOR NAME'.
        ENDCASE.
        MODIFY it_fieldcat FROM wa_fieldcat.
      ENDLOOP.
    ENDFORM.
          FORM ALV_REPORT                                               *
    FORM alv_report.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program = sy-cprog
                it_fieldcat        = it_fieldcat[]
           TABLES
                t_outtab           = it_output[].
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.

    REPORT zmmr_po_spendreport NO STANDARD PAGE HEADING
    MESSAGE-ID zs.
    Program ID : *
    Version : 1.0 *
    SAP Version : R/3 System Ver. 4.6C *
    Program Name : ZMMR_PO_SPENDREPORT *
    Created by : Venu Goli *
    Created on : 6/1/2007 *
    Description : A Report on Direct and Indirect spend to find out *
    the lead time in PO and Invoice creation *
    Tables
    TABLES: ekko, "Purchasing Document Header
    ekpo, "Purchasing Document Item
    rbkp. "Document Header: Invoice Receipt
    Type-Pools
    TYPE-POOLS : slis. " Has to be declared to use ALVs
    To hold ALV field catgory data
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fieldcat LIKE LINE OF it_fieldcat.
    Internal tables declarations
    Internal table to hold Report data
    DATA: BEGIN OF it_output OCCURS 0,
    dir_indir(9),
    bukrs LIKE ekko-bukrs, "company code
    ebeln LIKE ekko-ebeln, "Purchasing Document Number
    ebelp LIKE ekpo-ebelp, "Item
    aedat LIKE ekko-aedat, "Date on which the record was created
    belnr LIKE rseg-belnr, "Accounting document number
    bldat LIKE rbkp-bldat, "Document date in document
    budat LIKE rbkp-budat, "Posting date in the document
    wrbtr LIKE rseg-wrbtr, "Amount in document currency
    curr LIKE t880-curr, "Price unit (Local Curr)
    bednr LIKE ekpo-bednr, "Requirement tracking number
    lifnr LIKE ekko-lifnr, "Vendor's account number
    name1 LIKE lfa1-name1, "name1
    name2(30), "preparer name
    name3(30), "requester name
    gjahr LIKE rseg-gjahr, "Fiscal year
    ernam LIKE ekko-ernam, "Name of Person who Created the Object
    kursf LIKE rbkp-kursf, "Exchange rate
    shkzg LIKE rseg-shkzg, "Debit/credit indicator
    banfn LIKE ekpo-banfn, "Purchase requisition number
    knttp LIKE ekpo-knttp, "account assignment category
    END OF it_output.
    Selection Screen
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs LIKE ekko-bukrs OBLIGATORY,
    kntpp AS CHECKBOX DEFAULT 'X'.
    SELECT-OPTIONS: s_invdat FOR rbkp-bldat, "Document date in document
    s_vendor FOR ekko-lifnr, "Vendor's account number
    s_purcdo FOR ekko-ebeln, "Purchasing Document no
    s_credat FOR ekko-aedat OBLIGATORY,"create date
    s_plant FOR ekpo-werks, "Plant
    s_doctyp FOR ekko-bsart, "Purchasing document type
    s_purorg FOR ekko-ekorg, "Purchasing organization
    s_trcnum FOR ekpo-bednr, "Requirement tracking number
    s_knttp FOR ekpo-knttp. "account assignment category
    parameters : p_knntp as checkbox default 'X'.
    SELECTION-SCREEN: END OF BLOCK b1.
    DATA: count TYPE i VALUE 0. " Used to count records
    INITIALIZATION *
    INITIALIZATION.
    At Selection Screen
    AT SELECTION-SCREEN.
    Checking for the input values of selection screen fields.
    PERFORM validate_params.
    Start Of Selection
    START-OF-SELECTION.
    if p_knttp = 'X'.
    PERFORM get_data.
    else.
    message 'no output'.
    endif.
    End Of Selection
    END-OF-SELECTION.
    SUBROUTINE TO CALL THE FUNCTION MERGE TO ENSURE PROPER DISPLAY.
    PERFORM merge_fieldcatalog.
    PERFORM modify_fieldcat.
    PERFORM alv_report.
    FORM validate_params *
    FORM validate_params.
    Validate company code
    SELECT SINGLE COUNT(*) FROM t001 WHERE bukrs = p_bukrs.
    IF sy-subrc <> 0.
    MESSAGE e021 WITH 'Please enter a valid Company code'.
    ENDIF.
    *Validate Vendor.
    SELECT SINGLE COUNT(*) FROM lfa1 WHERE lifnr IN s_vendor.
    CASE sy-subrc.
    WHEN 0.
    WHEN OTHERS.
    MESSAGE e021 WITH 'Please enter a valid Vendor'.
    ENDCASE.
    *Validate PO doc type
    SELECT SINGLE COUNT(*) FROM t161 WHERE bsart IN s_doctyp.
    CASE sy-subrc.
    WHEN 0.
    WHEN OTHERS.
    MESSAGE e021 WITH 'Please enter a valid PO Doc. Type'.
    ENDCASE.
    *Validate plant
    SELECT SINGLE COUNT(*) FROM t001w WHERE werks IN s_plant.
    CASE sy-subrc.
    WHEN 0.
    WHEN OTHERS.
    MESSAGE e021 WITH 'Please enter a valid Plant. Type'.
    ENDCASE.
    *Validate Purch. Org
    SELECT SINGLE COUNT(*) FROM t024e WHERE ekorg IN s_purorg.
    CASE sy-subrc.
    WHEN 0.
    WHEN OTHERS.
    MESSAGE e021 WITH 'Please enter a valid Purch. Org.'.
    ENDCASE.
    ENDFORM. " PERFORM VALIDATE_PARAMS.
    FORM get_data *
    FORM get_data.
    DATA: l_persnumber LIKE usr21-persnumber.
    Get PO data
    SELECT a~bukrs a~ebeln b~ebelp a~aedat a~lifnr a~ernam
    b~knttp b~bednr b~banfn
    c~belnr c~wrbtr c~gjahr c~shkzg
    d~bldat d~budat d~kursf
    e~dir_indir
    INTO CORRESPONDING FIELDS OF TABLE it_output
    FROM ekko AS a
    JOIN ekpo AS b ON b~ebeln = a~ebeln
    JOIN rseg AS c ON c~ebeln = b~ebeln
    AND c~ebelp = b~ebelp
    AND c~bukrs = a~bukrs
    JOIN rbkp AS d ON d~belnr = c~belnr
    AND d~gjahr = c~gjahr
    LEFT JOIN zpo_dirindir AS e ON e~knttp = b~knttp
    WHERE a~bukrs = p_bukrs
    AND a~lifnr IN s_vendor
    AND a~ebeln IN s_purcdo
    AND a~bsart IN s_doctyp
    AND a~ekorg IN s_purorg
    AND a~aedat IN s_credat
    AND b~knttp IN s_knttp
    AND b~werks IN s_plant
    AND b~bednr IN s_trcnum.
    LOOP AT it_output.
    Get posting date, Doc. date & Curr. Key
    IF it_output-kursf <> 0.
    it_output-wrbtr = it_output-wrbtr * it_output-kursf.
    ENDIF.
    get local currency
    SELECT SINGLE waers INTO it_output-curr FROM t001
    WHERE bukrs = it_output-bukrs.
    Get vendor name.
    SELECT SINGLE name1 FROM lfa1 INTO it_output-name1
    WHERE lifnr = it_output-lifnr.
    Get PO created person name
    SELECT SINGLE persnumber INTO l_persnumber FROM usr21
    WHERE bname = it_output-ernam.
    IF sy-subrc = 0.
    SELECT SINGLE name_text FROM adrp INTO it_output-name2
    WHERE persnumber = l_persnumber.
    ELSE.
    it_output-name2 = it_output-ernam.
    ENDIF.
    Get get requested by from reciepent point in PO
    else PR created by (If PR exists)
    CASE it_output-dir_indir.
    WHEN 'I'.
    Take requested by from Reciepent point.
    SELECT SINGLE wempf INTO it_output-name3 FROM ekkn
    WHERE ebeln = it_output-ebeln
    AND ebelp = it_output-ebelp .
    WHEN 'D'.
    SELECT SINGLE ernam INTO it_output-name3 FROM eban
    WHERE banfn = it_output-banfn
    AND ebelp = it_output-ebelp.
    IF sy-subrc <> 0.
    MOVE it_output-ernam TO it_output-name3.
    ENDIF.
    SELECT SINGLE persnumber INTO l_persnumber FROM usr21
    WHERE bname = it_output-name3.
    IF sy-subrc = 0.
    SELECT SINGLE name_text FROM adrp INTO it_output-name3
    WHERE persnumber = l_persnumber.
    ENDIF.
    ENDCASE.
    translate direction indicator to Indirect or Direct
    CASE it_output-dir_indir.
    WHEN 'I'. it_output-dir_indir = 'Indirect'.
    WHEN 'D'. it_output-dir_indir = 'Direct'.
    ENDCASE.
    MODIFY it_output.
    ENDLOOP.
    ENDFORM.
    FORM MERGE_FIELDCATALOG *
    FORM merge_fieldcatalog.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-cprog
    i_internal_tabname = 'IT_OUTPUT'
    i_inclname = sy-cprog
    CHANGING
    ct_fieldcat = it_fieldcat[]
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    ENDFORM. " MERGE_FIELDCATALOG
    FORM modify_fieldcat *
    FORM modify_fieldcat.
    DATA: wa_fieldcat TYPE slis_fieldcat_alv.
    LOOP AT it_fieldcat INTO wa_fieldcat.
    CASE wa_fieldcat-fieldname.
    WHEN 'DIR_INDIR'.
    wa_fieldcat-seltext_m = 'Direct/Indirect'.
    WHEN 'NAME2'.
    wa_fieldcat-seltext_m = 'PREPARER NAME'.
    WHEN 'NAME3'.
    wa_fieldcat-seltext_m = 'REQUESTER NAME'.
    WHEN 'BEDNR'.
    wa_fieldcat-seltext_m = 'SSP PO'.
    WHEN 'AEDAT'.
    wa_fieldcat-seltext_m = 'PO DOCUMENT DATE'.
    WHEN 'BLDAT'.
    wa_fieldcat-seltext_m = 'INVOICE DOCU DATE'.
    WHEN 'BUDAT'.
    wa_fieldcat-seltext_m = 'POSTAGE DATE'.
    WHEN 'WRBTR'.
    wa_fieldcat-seltext_m = 'LOCAL AMOUNT'.
    wa_fieldcat-cfieldname = 'CURR'.
    wa_fieldcat-ctabname = wa_fieldcat-tabname.
    WHEN 'CURR'.
    wa_fieldcat-seltext_m = 'LOCAL CURR'.
    WHEN 'NAME1'.
    wa_fieldcat-seltext_m = 'VENDOR NAME'.
    ENDCASE.
    MODIFY it_fieldcat FROM wa_fieldcat.
    ENDLOOP.
    ENDFORM.
    FORM ALV_REPORT *
    FORM alv_report.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-cprog
    it_fieldcat = it_fieldcat[]
    TABLES
    t_outtab = it_output[].
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • Generic Extraction creation

    HI All,
    I want to extract data from two tables from CRM(Z tables).
    When I goto RSO2 to create a generic data source it is giving me the options of Extract from View,Extract from Info Set and Extract BY FM.
    But when I select Extraction from View it is giving me an option to select from one table only.
    HOw can I extract data from two tables?
    Please help me
    Sridath

    Hi,
    Check the below links, you will get more info on Generic Extraction.
    Generic Extraction:
    http://help.sap.com/saphelp_nw70/helpdata/en/28/4c553c42360a40e10000000a114084/frameset.htm
    Check the link.
    http://www.erpgenie.com/sapgenie/docs/MySAP%20BW%20Cookbook%20Vol%202.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Refer:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Generic Extraction with Table, View, FM & Infoset
    Creating a datasource for generic extraction
    Generic Extraction
    Customer and Generic extraction difference ?
    generic extraction
    Re: Generic extractors
    generic extraction
    Reg
    Pra

  • Budget check at creation of PO

    Dear friends,
    we are creating PO and assigning internal order in that PO.Budget is available for the same IO and  availability control tolerence limit is set.But it is not throwing any error at the time of creation of PO.
    is there any control we have to set to check the budget at po creation level.

    HI,
    AK PAT, what SAP version you are using? I am facing this problem in ECC6.0
    I am configured the following but problem still exist.
    OKOB- using budget profile 000001, activation type 1, usage (leave blank), exchangee rate M.
    KOAB - assigned the budget profile to the order type.
    KO31 - message shown that the availability control is activated for the internal order
    Check the Table Entry COFC activated up to year 2050 in table TRWCA
    Commitments' are active for my Order Type as well as Controlling Area
    Is there anything that we need to configure in MM side?
    Please help. Many thanks.

  • VL10A - Stock on hand Availability Check before creation of delivery

    Hi,
    I'm trying to figure out how to control the creation of delivery via VL10A to first check for actual receipted stock before allowing the delivery to be created.
    eg. Material X has inbound delivery date 01.07.2011.  Sales Order has delivery date of 01.07.2011, thus schedule line has confirmed date of 01.07.2011.
    On 01.07.2011, inbound delivery has not yet been GR'd into stock, VL10A runs with current date set and outbound delivery is created for Sales Order, despite the stock not being available to deliver.
    Where does this check (for available stock on hand) need to be performed?
    Is there a setting in the input parameters in VL10A? If so which specific parameter on what tab controls this?
    If not, does this need to be handled in the Availability Check & Transfer of Requirements configuration of the sales order, so that the schedule line is not confirmed until the goods are in stock?  If so, what specific config is required to achieve this.
    During my research I have found responses indicative of both areas however no specific examples are available. Thanks for your help
    Jodes

    Hi
    Please check OVZ9 . In availability check control you can control the in/outward movements.
    Hope it helps
    Karthik

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • Credit Check while creation of Sales Order for Item Category Purchase Req

    Hi Experts,
    We are creating Sales Order using an Order Type ABCD for a material 1000. While creating Sales Order, we use Item categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO).
    Credit Check settings are there at Order Type ABCD as well as all the Item Categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO). We are trying to test a scenario where a customer does not have enough credit limit while creating a sales order.
    When we create a sales order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP), credit check fails because our customer does not have enough credit limit, so that Sales Order gets created and Delivery does not get created (This is what we want), then we go into VKM1 manually and relase the sales order and then if we go to VA02 and check the status of the Sales Order, it says sales order status is complete. My Sales Team is saying here also Purchase Requisition is getting created.
    When we create a sales order for Item category ZOBO, it is going into Purchase Requisition screen. Once we give another plant in the create purchase requisition screen and save it we are getting a message that cannot create Purchase Requisiton because of Credit Block.
    The settings were same for all the Item categories.
    1) What made difference to complete Purchase Requisition for Item Categories (ZOVD, ZOVB,ZOST,ZOVP) and not for Item Category ZOBO when my customer is not having enough credit Limit.
    2) Why Purchase Requisition screen is not coming for us when we create an Sales Order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP). We only get Create Purchase Requisiton Screen for Item Category ZOBO.
    Thanks
    Rajanikanth

    Hi,
    None of the Item Categories has Create PO Automatically.
    Thanks
    Rajanikanth

  • Changes in Budget checking during creation of purchase requisition

    Hi Experts,
    My client wants changes the current  Internal Order BUget checking. Currently Budget checking happens with availability control ie. 105% Suppose current budget is 8000. It will add 5% and Purchase reqn checks the fund available with 8400 less budget utlised, but client wants 8000 less budget utilised as they want to keep 5% aside for the unforseen cases.
    Cilent does not want to change the current availability setting i.e 105%, retaining that availability check, client wants to check the availability excluding tolerance. What is the solution for this.
    Appriciate your immediate response.
    Thanks & regards
    Veda Pandit

    Hi,
    I think you shall set 100 % limit for purchase order and purchase requisition and 105% for good receipt.
    You can do so in customizing "Define Tolerance Limits for Availability Control" , using the activity group.
    Paolo

  • SYSTEM CHECK FOR CREATION OF EXCISE INVOICE WITHOUT PGI

    Hi SAP guru's i need help in this issue++
    See i am creating delivery and i did'nt do PGI ,after this i am creating Proforma invoice (here Proforma is must before creating commercial Invoice),with reference to Proforma system is accepting to create Excise invoice without PGI.so,i want system should'nt allow user to create Excise Invoice until unless if he do PGI.I know there is routine for PGI and proforma,is there any kind of routine for PGI and Excise invoice
    Thanks & Regards

    Dear sapsd79,
    it is related to copy control - item level
    check the following link,
    Restrict proforma invoice
    any doubt , please revert
    saravanan
    Edited by: k saravanan on Sep 30, 2008 11:42 AM

  • Need code for Dynamic check box creation in struts

    dynamic checkbox should be created with details of data stored in database(with check mark for already selected check box).
    once user make any change to that page and click submit the result ahould be saved in database..
    can anybody explain me how to proceed this.
    If any sample source code you have plz do sent me..

    consider these are the details in database
    1. apple checked
    2. orange
    3. mango
    4. grapes checked
    consider a jsp page which should display list of fruits in the datsbase,
    the jsp page should retrieve these data and diaplay with check box.
    These should be generated dynamically.
    Assume the jsp page has option for user to enter some other fruit name which should be updated into database of fruits and that should be displayed with the jsp page during next visit.(i.e) number of fruits in the database is not constant.

  • Dynamic check box creation in selection screen

    Hello,
    I am trying to put up some check boxes dynamically in a selection screen. The number: of check boxes required and the 'checkbox label text' is to be retrieved from a database table. I have retrieved all these values in AT SELECTION-SCREEN OUTPUT event. But, I dont know how to create check box parameters using these dynamic values.  Please help..

    hi Giffin,
    Create a program with name 'Z_13317_DYN_CHKBOX' and paste the following code in it. Also make ensure that an include with name 'Z_13317_DYN_INCL' is not existing earlier because this program will be overwritten each and everytime.
    Z_13317_DYN_CHKBOX will take an integer as an input. After giving input, click on the button on selection screen.
    Suppose, if you have given 3 as input and if you have clicked the button, then 3 checkboxes will be generated on your selection screen.
    REPORT  Z_13317_DYN_CHKBOX.
    types :begin of t_itab1,
            line(72),
           end of t_itab1.
    data: incl type table of t_itab1 with header line.
    parameters: p_tab type i,
                p_frst type c no-display.
    selection-screen begin of line.
    selection-screen: pushbutton 2(20) but1 user-command cli1.
    selection-screen end of line.
    include z_13317_dyn_incl if found.
    initialization.
    at selection-screen output.
      if p_frst = ' '.
        p_frst = 'X'.
        perform crt_dyn_incl.
      endif.
    at selection-screen.
      case sy-ucomm.
        when 'CLI1'.
        perform crt_dyn_incl.
      endcase.
    *&      Form  crt_dyn_incl
    *       text
    form crt_dyn_incl .
      perform populate_incl.
      perform del_incl.
      insert report 'Z_13317_DYN_INCL' from incl.
      commit work.
      submit z_13317_dyn_chkbox via selection-screen with p_frst = p_frst.
    endform.                    " crt_dyn_incl
    *&      Form  del_incl
    *       text
    form del_incl .
      call function 'RS_DELETE_PROGRAM'
        exporting
         program                          = 'Z_13317_DYN_INCL'
         suppress_checks                  = 'X'
         suppress_popup                   = 'X'
         with_cua                         = ' '
         with_documentation               = ' '
         with_dynpro                      = 'X'
         with_includes                    = ' '
         with_textpool                    = ' '
         with_variants                    = ' '
      if sy-subrc <> 0.
      endif.
    endform.                    " del_incl
    *&      Form  populate_incl
    *       text
    form populate_incl .
      data: v_cnt type n.
      do p_tab times.
        v_cnt = v_cnt + 1.
        incl-line = 'parameters: '.
        concatenate incl-line 'p_chk' v_cnt into incl-line.
        concatenate incl-line 'as checkbox.' into incl-line separated by space.
        append incl.
        clear incl.
      enddo.
    endform.                    " populate_incl
    Regards,
    Sailaja.

  • Check box creation(urgent)

    hi experts i have to crate check box for ekko-knttp(when blank enties also we need to get data) could any oone help me

    PARAMETERS: P_FIELD TYPE ekko-knttp AS CHECKBOX.

Maybe you are looking for

  • Error While posting the Budget Update(BPUP)

    We are getting an error message u201CError when saving the Budget Updateu201D while posting the Budget Update (BPUP). I have filed all mandatory requirements in the transaction. I couldnu2019t able to find out reason for this error message. Please he

  • Conversion of a string to a number

    Hi there, I have a problem sending a String as a number.. I have a text field called score0 :- var score = score0.text; The string (score0.text) will have an "s" at the end as the time is counted in seconds and tenths, so I will be receiving somethin

  • Can't add Cannon mp560 scanner in 0s 10.9

    Since I have had my MacBook Pro & Canon MP560 I have gotten used to them From time to time them deciding not to talk to each other. I go through the usual fixes and get them chatting again so I can actually get some work done.  I am at an end here wi

  • Network driver attachment booting cdrom single user mode

    I am attempting to boot from cdrom in single user mode and reach some network shares. However, when I boot cdrom, the server does not attach the network drivers, meaning I cannot plumb up any of my interfaces. Now, I should add that we have an XVR-30

  • I send mi link for podcast and i dont have answer, please where can i see the satus for aprobal

    where can i see the status for mi podcast? i got the mail that is in process but never the answer that was aproved or not! that was 5 days ago Thanks