Recording TCode for BDC program

Hi ALL,
I have a problem in recording GS01 tcode.
I have to a table control in GS01 tcode.
After some rows again i need to update the data.
How can i record this and write BDC program for the same.

Hi
To uplaod the data using the table control,if number of line are more then screen.
Then use the P+ in u r code.
            let assume that u can see 10 rows on screen.once the count reachs the 10 then do P+ then
new line will come and after P+ clear u r counter.

Similar Messages

  • How to create tcode for modulepool program with selection screen?

    hi,
       How to create tcode for modulepool program with selection screen?
    thanks,
    sagar

    Hi,
    We need to goto SE80.
    In our program we right click on object name and goto create
    -> transaction. Enter the module pool program and screen number and save and activate.
    Or by SE93 also we can create a transaction code for our program.
    Hope ths helps.
    plz reward if useful.
    thanks,
    dhanashri..
    Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM

  • Tcode for print program

    Hi all..
    how to create Tcode for print program??? i did the usual way like went se 93 then chose 2nd option (with selection screen) asign the GUI also. but it not working...
    without tcode it is working vrey fine..
    thanks well in advance..
    points will be rewarded..

    Hi Soumya,
    It is normal way like how you create Tcode for executable programs.
    But in real time we never creates TCodes for Print Programs, which will get triggered when you print the layout.
    <b>Reward points if it useful,</b>
    Satish

  • F-32 possible for bdc program.

    Hi experts...
    F-32 - CLEAR CUSTOMER, is it possible to write bdc program for uploading.
    If it is possible then what is the procedure to be followed.
    if it is a full clearing or partial clearing against vendor open items?
    Thanks in advance.
    Arvind nn

    Hi,
       Cleared customr/vendor data stored in BSAD/BSAK table. Clearing is different process which is done by functional consultant. Once clear the vendor/custome then only data stored in tables. Partial clear data doesn't contains on these tale. So i m also not confirm that whether we write the bdc program for these tcode. But i don't think we will write the bdc program for clear document.
    Regds,
    Rakesh

  • PO13 Recording problem for BDC

    Hi All.
    We have a requirement for PO13 bdc for changing the cost center data per position wise.
    I am trying to change the cost center from PO13.while doing manually, the new cost center is delimimting the older record & appending a new record in PO13 & as well as in PA30(Org Data).it is working fine.
    same thing I did in recording by SHDB for PO13.In this time it is overwriting the existing costcenter record & is not reflecting in the PA30 also.
    while doing manually , while saving the Popup"Previous record will be delimited at end.Do you want to save" (Program-SAPLSPO1)is comming.But same popup screen is not comming in SHDB recording.
    that's why even I ran the bdc , records are not comming properly.
    appart from this PO13 bdc, is there any other method of changing the Cost center (like bapi / function module) in mass.
    it is very urgently needed.Plaese help me to sort out this issue.
    Thanks in advance,
    Regards,
    Venkat

    Hi Venkat,
    You'd better try PP02 transaction for BDC recording when Organizational Management Objects are in question.
    Regards,
    Dilek

  • Re:  Tcode for finding programs

    Hi
              Is there any tcode for seeing for all the programs, customised programs for shipping side through my development server r testing server

    You can search in se93 transaction
    do search like V* ( Sales related)
                         M* (Purchasing related)
    here are important transactions :
    check with below standard reports :
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    <b>Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC</b>Customer
    Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    <b>Blocked orders - V.14</b>
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    Some other transactions :
    MM01 - Material master creation
    MM02 - Material master change
    MM03 - Material master display
    XD01 - Customer master Creation
    XD02 - Customer master Change
    XD03 - Customer master display
    XK01 - Vendor master Creation
    XK02 - Vendor master Change
    XK03 - Vendor master display
    Thanks
    Seshu

  • Handling screen resolution fields in me21 for bdc programming

    I need to use BDC program for ME21 for that how to handle the screen resolution,
    i know CTU_PARAMS structure is there ,but how to use them, please send the model code. for handling check boxes fields.

    answered

  • Validation for BDC program

    hi,
    In BDC programe I have to check (or) validate the file path at selection screen events .
    if the selected file is wrong error message should be triggered. how i can do this.
    with regards,
    Srinath

    Hello Reddy,
    In the following example,
    purchase order fields are taken in through a text-file, if the fields do not match the fields of internal table, then just throw an error in GUI_UPLOAD saying , 'FILE CANNOT BE UPLOADED' or say 'UPLOADING FAILED'.
    * STRUCTURE FOR PURCHASE ORDER TABLE                                  *
    TYPES:
      BEGIN OF type_s_mat,
        eeind TYPE rm06b-eeind,            " Delivery Date
        txz01 TYPE eban-txz01,             " Short Text
        menge TYPE eban-menge,             " Quantity
        meins TYPE eban-meins,             " Units
        preis TYPE eban-preis,             " Price
      END OF type_s_mat.                   " BEGIN OF TYPE_S_MAT
    * FIELD STRING FOR PURCHASE ORDER TABLE                               *
    DATA:
      fs_mat TYPE type_s_mat.
    * INTERNAL TABLE FOR PURCHASE ORDER TABLE                             *
    DATA:
         t_mat LIKE
      STANDARD TABLE
            OF fs_mat.
    * INTERNAL TABLE FOR BATCH DATA TRANSFER                              *
    DATA:
         t_bdc TYPE
      STANDARD TABLE
            OF bdcdata
          WITH HEADER LINE.
    * INTERNAL TABLE FOR MESSAGES                                         *
    DATA:
    t_messages TYPE
      STANDARD TABLE
            OF bdcmsgcoll
          WITH HEADER LINE.
    * Work Variables                                                      *
    DATA:
      w_filename TYPE rlgrap-filename,     " Selected File-Name
      w_msg(72) TYPE c,                    " Messages
      w_filename1 TYPE string.             " Full-Path
    *      INITIALIZATION                                                 *
    INITIALIZATION.
      PARAMETERS p_file(128).              " Name of File to be opened
    *      AT SELECTION-SCREEN ON VALUE-REQUEST                           *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM open_mat_file.
      p_file = w_filename.
    *      START-OF-SELECTION                                             *
    START-OF-SELECTION.
      IF p_file IS INITIAL.
        MESSAGE 'No File Selected' TYPE 'S' DISPLAY LIKE 'E'.
      ELSE.
        PERFORM open_file.
      ENDIF.                               " IF P_FILE IS INITIAL
    *&      Form  open_mat_file
    * This Subroutine opens Material File of the Presentation Server.
    * This Subroutine has got no Interface Parameters.
    FORM open_mat_file .
      CALL FUNCTION 'F4_FILENAME'
    * EXPORTING
    *   PROGRAM_NAME        = SYST-CPROG
    *   DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
       IMPORTING
         file_name          = w_filename.
    ENDFORM.                               " FORM OPEN_MAT_FILE
    *&      Form  open_file
    * This Subroutine facilitates file upload on Presentation Server.
    * This Subroutine has got no Interface Parameters.
    FORM open_file .
      w_filename1 = w_filename.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
         filename                      =  w_filename1
         filetype                      = 'ASC'
    *     has_field_separator           = ' '
    *    HEADER_LENGTH                 = 0
    *    READ_BY_LINE                  = 'X'
    *    DAT_MODE                      = ' '
    *    CODEPAGE                      = ' '
    *    IGNORE_CERR                   = ABAP_TRUE
    *    REPLACEMENT                   = '#'
    *  IMPORTING
    *    FILELENGTH                    =
    *    HEADER                        =
        TABLES
          data_tab                     = t_mat
       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
         OTHERS                        = 17
      IF sy-subrc <> 0.
        MESSAGE 'Uploading Failed'  TYPE 'S' DISPLAY LIKE 'E'.
      ELSE.
        PERFORM populating_bdc.
      ENDIF.                               " IF SY-SUBRC NE 0
    ENDFORM.                               " FORM OPEN_FILE
    *&      Form  populating_bdc
    * This Subroutine Populates data in Transaction ME51
    * This Subroutine has got no Interface Parameters.
    FORM populating_bdc .
      LOOP AT t_mat INTO fs_mat.
        PERFORM screens USING 'SAPMM06B' '0100'.
        PERFORM fields USING 'EBAN-BSART' 'NB'.
        PERFORM fields USING 'EBAN-KNTTP' 'X'.
        PERFORM fields USING 'RM06B-LPEIN' 'T'.
        PERFORM fields USING 'RM06B-EEIND' fs_mat-eeind.
        PERFORM fields USING 'EBAN-WERKS' '1000'.
        PERFORM fields USING 'EBAN-EKGRP' '100'.
        PERFORM fields USING 'EBAN-MATKL' '006'.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0106'.
        PERFORM fields USING 'EBAN-TXZ01' fs_mat-txz01.
        PERFORM fields USING 'EBAN-MENGE' fs_mat-menge.
        PERFORM fields USING 'EBAN-MEINS' fs_mat-meins.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0102'.
        PERFORM fields USING 'EBAN-PREIS' fs_mat-preis.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0505'.
        PERFORM fields USING 'COBL-KOSTL' '1000'.
        PERFORM fields USING 'BDC_OKCODE' '/00'.
        PERFORM screens USING 'SAPMM06B' '0106'.
        PERFORM fields USING 'BDC_OKCODE' 'BU'.
        CALL TRANSACTION 'ME51' USING t_bdc MODE 'A' MESSAGES INTO
        t_messages.
        IF sy-subrc EQ 0.
          LOOP AT t_messages.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id        = t_messages-msgid
                lang      = sy-langu
                no        = t_messages-msgnr
                v1        = t_messages-msgv1
                v2        = t_messages-msgv2
                v3        = t_messages-msgv3
                v4        = t_messages-msgv4
              IMPORTING
                msg       = w_msg
              EXCEPTIONS
                not_found = 1
                OTHERS    = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              WRITE:/ w_msg.
            ENDIF.                         " IF SY-SUBRC <> 0
          ENDLOOP.                         " LOOP AT T_MAT INTO FS_MAT
        ENDIF.                             " IF SY-SUBRC EQ 0
      ENDLOOP.                             " LOOP T_MAT INTO FS_MAT
    ENDFORM.                               " FORM POPULATING_BDC
    *&      Form  screens
    * This Subroutine populates program name and screen numbers.
    *      -->VALUE(P_PROG)   PROGRAM NAME
    *      -->VALUE(P_SCRNO)  SCREEN NUMBER
    FORM screens USING value(p_prog) value(p_scrno).
      t_bdc-program = p_prog.
      t_bdc-dynpro = p_scrno.
      t_bdc-dynbegin = 'X'.
      APPEND t_bdc.
    ENDFORM.                               " FORM SCREENS
    *&      Form  fields
    * This Subroutine populates Field Value and Field name
    *      -->VALUE(P_FNAM)  Field Name
    *      -->VALUE(P_FVAL)  Field Value
    FORM fields USING value(p_fnam) value(p_fval).
      t_bdc-fnam = p_fnam.
      t_bdc-fval = p_fval.
      APPEND t_bdc.
    ENDFORM.                               " FORM FIELDS
    Hope the above given example, helps you.
    Thanks: Zahackson

  • Tcode for standard program REL_DELNOTE

    Cud you please tell me what is the T Code for Standard program 'Rel_Delnote'. The smartform name is Z_LOADING_AUTHORIZATION

    Hi Awanish,
    The program RLE_DELNOTE is not used in any TCode(s). You should manually create a 'Z' TCode using SE93 for this RLE_DELNOTE.
    If at all you want your Smartform Z_LOADING_AUTHORIZATION to get triggered then execute the NACE TCode and configure your Smartform to the required Output type (for Eg: LD00 - Delivery Note) of corresponding Application (V2 - Shipping).
    Hope this solves your problem. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

  • What is the tcode for bdc recording and how to do in hr-abap for pa and om

    hi,
         I need to do the bdc recording for pa and om. So, can any of you tell me how to do and what are the tcodes we have to use.
    thanks & regards,
        Sekhar.

    Hi ,
    Here is the link from you will get all the transaction code
    http://www.sap-basis-abap.com/saphr004.htm
    As far PA specfic some tcodes are given below
    PA20  Display HR Master Data
    PA30  Maintain HR Master Data
    PA40  Personnel Actions
    PA41  Correct Actions
    PA42  Fast Entry for Actions
    PA46  Import from Resumix
    PA47  Export to Resumix
    PA48  Hiring from non-SAP system
    PA51  Display Time Data
    PA53  Display Time Data
    PA61  Maintain Time Data
    PA62  List Entry of Additional Data
    PA63  Maintain Time Data
    PA64  Calendar Entry
    PA70  Fast Entry
    PA71  Fast Entry of Time Data
    PA88  Benefits
    For OM specific
    PP01  Maintain Plan Data (menu-guided)

  • TCode for abap program performance testing

    Hi
    I have tuned a abap program which was consuming lot of time. I still have the old version with diff name. I would like to know the tcodes where in i could see the performance of the program.
    regards
    Balaji

    Hi balaji,
    This is kiran Kumar.G.I will give some steps.you better to follow those steps to get ur report performance.
    If u r satisfy with my answer give me REWARD POINTS.
                HAVE A NICE DAY.
    STEPS:
    1.OPEN UR REPORT IN SE38 TRANSACTION.
    2.SELECT THE MENU PATH
      UTILITIES-->MORE UTILITIES-->RUNTIME ANALYSIS
    3.SELECT THE PROGRAM RADIO BUTTON AND GIVE UR REPORT NAME THERE.AND CLICK <b>EXECUTE</b> BUTTON
    4.IT WILL TAKE U TO ANOTHER SCREEN THERE U CAN EXECUTE UR REPORT AND COME BACK.
    5.CLICK ON ANALYZE BUTTON.(PRESENT IN BELOW OF THE SCREEN).
    THEN U WILL GET ONE GRAPH
    NOTE:
    1.IF IT IS RED UR PROGRAM IS HAVING VERY POOR PERFORMANCE
    2.IF IT IS GREEN IT IS OK.
    ABAP GRAPH : TELLS UR CODING IN THE REPORT.
    DATABASE  GRAPH : U R RETREIVE DATA FROM DATABASE IN UR REPORT..
    SOME STEPS USED TO IMPROVE UR PERFORMANCE:
    1.     Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2.     Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3.     Design your Query to Use as much index fields as possible from left to right in your WHERE statement
    4.     Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    5.     Avoid using nested SELECT statement, SELECT within LOOPs.
    6.     Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
    7.     Avoid using SELECT * and Select only the required fields from the table.
    8.     Avoid nested loops when working with large internal tables.
    9.     Use assign instead of into in LOOPs for table types with large work areas
    10.     When in doubt call transaction SE30 and use the examples and check your code
    11.     Whenever using READ TABLE use BINARY SEARCH addition to speed up the search. Be sure to sort the internal table before binary search. This is a general thumb rule but typically if you are sure that the data in internal table is less than 200 entries you need not do SORT and use BINARY SEARCH since this is an overhead in performance.
    12.     Use "CHECK" instead of IF/ENDIF whenever possible.
    13.     Use "CASE" instead of IF/ENDIF whenever possible.
    14.     Use "MOVE" with individual variable/field moves instead of "MOVE-
    CORRESPONDING", creates more coding but is more effcient.
    Regards,
    Kiran Kumar.G

  • How to call mmpv TCODE through BDC program.

    Hi
    In my  requriment i have to create custom program through which i have to call mmpv TCODE, because mmpv closes period for indivisual company code and for large number of company code it is time cunsuming exercise. for that i that i have to creat custom program. it is having selection screen like below.
    company code                                   (marv-bukrs)
    fiscal year of current period                 (marv-lfgja)
    current posting period                         (marv-lfmon)
    fiscal year of previous period                (marv-vmgja)   
    month of previous period                      (marv-vmmon)
    fiscal year of last periodof previous year (marv-vjgja)
    last month of previoud year                  (marv-vjmon)
    allow posting to previous year           (marv-xruem)
    disallow dack posting after a change of period (marv-xruev)
    and  output should show : company codes affected,the periods closed and the current period open for posting .and also show wheather back posting allowed / disallowed for the company code.

    CALL FUNCTION 'BDC_INSERT'  "BDC_OBJECT_UPDATE
             EXPORTING
                  TCODE     = 'mmpv'
             TABLES
                  DYNPROTAB = BDC_TAB.
    hope this helps
    Warren

  • How to create tcode for modulepool program !

    in the se93.....after i give tcode  and press create...
    which option i willl select for module pool
    for report i selected the second one

    Actually i am trying to recreate the copy of VF01.
    What i have done is
    1.  in se38 i have copied the SAPMV60A i.e the program   for vf01...(got it from system--->status)  into YVF01.
    2. I have created the tcode(zvf01) as you said in se93  selecting first option.
    3. When i am giving this tcode and enter it is taking me to the samescreen of VF01....BUT THERE ARE SOME PROBLEMS..
    a)  the display is not as good as what nomally comes in vf01...some gui problem
    b)its showing a error that transaction ZVF01 missing in table T180
    PLEASE HELP
    THNAKS in advance

  • FI Module Tcodes for BDC

    Hi SAP ABAP gurus,
    Can you please pass few transaction codes in FI (Finance) module for which we can write BDCs.
    Plz urgent.
    Thanks,
    Vinay

    Thank you very much.
    Yes though it is difficult to write BDCs , we can you Stnd BAPIs or we can try SHDB to write BDC.
    What i am trying to ask is where are the most chances for which transaction codes in FI we might need BDC or BAPI to create data.
    Like we ave GL master data, Cost center master data  or some transaction data
    we need either BAPI or BDC or some stnd prgs.
    My question is What are the transaction codes for which there might be a chance to upload or create doc using any BDC or BAPI or infact using any stnd procedure.
    Thanks in advance.
    Vinay.

  • How to create a tcode for a program in FMEQ transaction

    Hi ABAP Experts,
    I need to assign a program from FMEQ transaction to a custom z-transaction code. Can anybody tell me
    how to do this. I already tried  go to system-status-> "copy program name from here and past it in SE93).
    This would not work because each time when you made changes to a program in FMEQ and generate it
    system will generate new program name.
    Hope to see a reply from you. Thnks in advance.......
    Regards,
    Meera.

    Hi All,
    I got it how to do. Just I would like to share solution here.
    go to SE93,
    Enter transaction code name & description
    and choose option "Transaction with parameters (parameter transaction)" and press on "Continue" button.
    Enter Transaction = START_REPORT and select all check-boxes in GUI support tab and enter below values in
    Default values area.
    D_SREPOVARI-REPORTTYPE  = RE
    D_SREPOVARI-REPORT =
    D_SREPOVARI-EXTDREPORT = FM  01IFMEISA                       <name of program in FMEQ>
    save and execute.

Maybe you are looking for

  • Issue in the query

    Hi All, Please let me know me the issue in the select query given below. SELECT avbeln aroute alifsk bwbstk c~werks                    FROM likp AS a                      JOIN vbuk AS b                      JOIN lips AS c                        ON av

  • How to access java method in JSP

    Hi all, I need to access java class (abstract portal component) method doContent() in a JSP which is under PORTAL-INF/jsp folder. I did <%@ page import = "com.mycompany.Aclass" %> <%com.mycompany.Aclass a = new com.mycompany.Aclass (); %> Aclass is c

  • What To Do With An .img File?

    My Cisco rep provided a download of a .img file for the 5.x version of the Cisco VPN client, but I can't do anything with it. My CD/DVD burning app won't handle a .img file and, when I changed the extension to .iso as recommended in several non-Cisco

  • Error at DB downtime configuration step in SAP installation

    Hello Gurus,               While installing CRM IDES  5.0 I am stuck at DB downtime configuration (step 9). After shutting down MSSQL server services are not automatically started. In usual case it should be. Its giving "could not start the MSSQLSERV

  • Help with JDeveloper 10.1.3.2 w/ TopLink and renaming datasources

    I am using JDeveloper 10.1.3.2 w/ TopLink 10.1.3.1.1 I am also deploying to a 10.1.2 OC4J with a 10.2.0 Database We have a naming convention for our datasources "Lone<APP_NAME>DS". When I create a TopLink map using a database connection within JDevel