Bdc data  reg..

Dear gurus,
I want run a bdc for transaction mm02.
i want to update 20 record  from the xl file.
If 10th record getting problem, what will happen if i use session method ?
what will happen if i use call transanction method?
how to find the error in the both methods?
kindly let me know.
thanks in advance
R.Rajendran

Only the 10th record gets failed in both session and call transaction method.
The rest gets updated just fine.
In BDC Session methiod, you can get the error log in the SM35 transaction.
IN case of call transaction, you have to handle the errors yourself like this
call transaction '<TCODE>' using it_bdcdata messages into it_bdcmsgcoll options from x_CTUPARAMS.
if sy-subrc <> 0.
loop at it_bdcmsgcoll.
call function 'FORMAT_MESSAGE'
exporting
message = v_message.
write:/ v_message.
endloop.
endif.

Similar Messages

  • Can BDC Data be corrected of an erroneous transaction (Sesion Method) ?

    Hi,
    I read the below text at
    http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-WhatistheSimulateBackgroundmode%3F
    There is a built-in error and recovery mechanism in SM35 to view the log of errors and run the erroneous transactions again (note: the BDC data cannot be corrected)
    So,
    1. If BDC Data cant be corrected, why would one run the session again ?
    2. What one achieves by rerunning ?
    If it needs correction of data, then would it require creation of a new session by the program ?
    Regards,
    Chitwanjit

    Hello,
    this may be helpful if the BDC data is ok but the customizing is incorrect.
    E.g. you've built up BDC Data but your functional expert forgot to transport his
    new created Order-Type to production :-(.
    Or if you get 1001 errors because some number range is simply full.
    Regards
    Wolfgang

  • Urgent help !!!!!   BDC date Problem

    hi ,
    I have requ that if no date is mentioned in flat file i need to pass bank value in Tcode .
    But when i uploading the values date field is taken values '0000000' which is saying invaild value.
    I used in bdc_open_group field DATFM = space . still it is not working .
    plz help.
    Thanks,
    sridhar

    You might want to try to write the data to a 10 type c field.  Then use this field in your BDC.
    data: bdcdate(10) type c.
    concatenate '00' '00' '0000' into bdcdate separated by '/'.
    write:/ bdcdate.
    Regards,
    Rich Heilman
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • BDC ---Data maintainance at flat file

    Hi All,
    Iam a BI resource learning ABAP.
    I have started learning abap in that currently working with BDC.
    Here iam trying to extract data from flat file(note pad) for practice purpose and extraxting data by session method fore ground process.
    Here in flat file i want to maintain two table of data and want to insert this data in related tables.
    i have created note pad file
    for vendor data and customer data have maintained data horizontally like
    lifnr    name1     land1     kunnr    name1   land1
    1      xx               US      2        yyyy            UK
    Finally the data is geting inserted in the lfa1 and kna1 table are like
    lifnr 1 record s at vendor table and kunnr2 record is at customer table.
    but now i want to maintain data at note pad as in vertical like
    lifnr    name1     land1 (not maintaining these fileds in note pad only values giving in note pad)
    1      xx               US
    kunnr    name1   land1
    2        yyyy            UK
    So is there any way to maintain my data in note pad like this.
    please advice.
    regards
    Saha

    hie
    I hope i understood you well, you want to maintain many records in your flat file you are still able to pick them all.  Please elaborate what you mean by maintaining your records in vertical format???
    Vendor file
    1,200,ABC,02
    2,200,DEF,02
    Customer file
    1,200,QWE,02
    2,200,SDW,02
    The two sets of data seem to be different ie Customer and Vendor thus i think you should maintain the two as separate files and pick both at the same time.
    regards
    Isaac Prince

  • Bdc data upload

    I am trying to do bdc for ac02, using session method, data is updating in bdcdata table,
    its not getting into the database,
    PERFORM :
      fill_bdc_data USING 'SAPLBAS0' '0300' 'X'  ' '  ' ',
      fill_bdc_data USING  ''  ''  ''   'BDC_OKCODE' '=NEW',
      fill_bdc_data USING  ''  ''  ''   'ASMDT-ASKTX' fs_field-ASKTX,   "SERVICE TEXT.
      fill_bdc_data USING  ''  ''  ''   'BDC_OKCODE' '/00',             " Enter.
    *ERROR
    fill_bdc_data using  ''  ''  '' '0300',                "'SAPLBAS0' '0300',
    fill_bdc_data using  ''  ''  '' 'BDC_CURSOR',    "'ASMD-ASNUM',      "fs_field-asnum,
    fill_bdc_data using  ''  ''  '' 'BDC_OKCODE' '=NEW' ,
    ERROR
      fill_bdc_data USING 'SAPLBAS0'  '0300' 'X' ' ' ' ',
      fill_bdc_data USING  '' '' ''  'ASMD-ASTYP(01)' fs_field-ASTYP,   " SERVICE CATERGORY.
      fill_bdc_data USING  ''  ''  ''   'BDC_OKCODE' '/00',             " Enter.
      fill_bdc_data USING  '' '' ''  'ASMD-MEINS(01)' fs_field-MEINS,   " BASE UNIT.
      fill_bdc_data USING  ''  ''  ''   'BDC_OKCODE' '/00',             " Enter.
      fill_bdc_data USING  '' '' ''  'ASMD-MATKL(01)' fs_field-MATKL,   " SERVICE GROUP.
      fill_bdc_data USING  ''  ''  ''   'BDC_OKCODE' '/00',             " Enter.
      fill_bdc_data USING  '' '' ''  'ASMD-SPART(01)' fs_field-SPART,   " DIVISION.
      fill_bdc_data USING  '' '' ''  'BDC_OKCODE'   '/00',               " Enter.
      fill_bdc_data USING 'SAPLBAS0' '0300' 'X' ''  '' ,
      fill_bdc_data USING  '' '' ''  'BDC_OKCODE' ' /12'.                  " Save.
    ENDFORM.                               " POPULATE_BDCDATA

    hi ,
    fill_bdc_data USING '' '' '' 'BDC_OKCODE' ' /12'. " Save.
    it should be
    fill_bdc_data USING '' '' '' 'BDC_OKCODE' ' /11'. " Save.
    regards
    Deepak.

  • BDC Data transfer - Session method...?

    Dear All,
    How to Transfer data using BDC Session method? - Step-by-step Process.
    Regards,
    Dharmesh

    hi,
    this will be usefull to u
    2.1.     Steps for submitting data for Batch Processing
    1.     Analyze the transactions for which a BDC program.
    The user has to determine the sequence of screens in the transactions and the information   about all the fields in every screen. To do this the user must run the transaction .
    Then select System &#61664; Status. This will give the screen number and the module pool associated with this screen of the transaction. These two are the most important fields that     the user would need in order to write the BDC program.
    2.     Use transaction SE38 to write the BDC program. This ABAP/4 program should reads the  external data that is to be entered in the SAP System and stores the data in a "batch-input session." A session stores the actions that are required to enter data using normal SAP transactions.  This is done by basically using three functions:
       BDC_OPEN_GROUP
       BDC_INSERT
       BDC_CLOSE_GROUP.
    3.     To create a batch input session, use the function BDC_OPEN_GROUP. This function has the following 5 parameters :
    a.     CLIENT which is by default set to SY_MANDT. It is the client in which the session is to be processed.
    b.     GROUP which is the name of the BDC session. This parameter is important because it is with this name that the user will recognize the BDC session in the batch input queue. Using this name process the BDC session.
    c.     USER which is usually set to SY-UNAME. It is the user name for starting the session in background.
    d.     KEEP indicates whether the session should be kept or deleted after processing. If ‘ ‘ then the session is deleted. If ‘X’ then the session is retained even after it is successfully processed without any errors.          
    e.     HOLDDATE Lock date.  The session is locked and may not be processed until after the date that is specified. Default:  No lock date, session can be processed immediately.  A lock date is optional.
    4.     Populate the bdcdata table .
          The user may define the table as  follows:
          DATA: BEGIN OF BDCDATA OCCURS 0.
                      INCLUDE STRUCTURE BDCDATA.
          DATA: END OF BDCDATA.
          This bdcdata structure has the following fields:
    •      PROGRAM
    Name of the program.
    •      DYNPRO
    Number of the screen.  Set this field only in the first record for the screen.
    •      DYNBEGIN
    Indicates the first record for the screen.  Set this field to X only in the first record for the screen. (Reset to ' ' (blank) for all other records.)
    •      FNAM
    Name of a field in the screen.  The FNAM field is not case-sensitive.
    •      FVAL
    Value for the field named in FNAM. 
    5.     The next step is to submit the BDC session. Use the BDC_INSERT function module to add a transaction to a batch input session.  Specify the transaction that is to be started in the call to BDC_INSERT.
          BDC_INSERT takes the following parameters:
    •      TCODE
    The code of the transaction that is to be run. TCODE is an EXPORTING parameter in the function module.
    •      DYNPROTAB
    The BDCDATA structure that contains the data that is to be processed       by the transaction. DYNPROTAB is a tables parameter in the function       module.
    6.     The final step is to close the BDC session. Use the BDC_CLOSE_GROUP function module to close a session. Once a session is closed, it can be processed.
    7.     Running this program will create a batch input session by the name that is specified in the GROUP parameter in the BDC_CREATE_GROUP function call.
    8.     Transaction SM35 can be used to process the submitted session. This transaction can be used to check the status of all BDC sessions.
    2.2.     Summary: Creating Batch Input Session:
    •     Open Batch Input group
        CALL FUNCTION 'BDC_OPEN_GROUP'   
        EXPORTING
              CLIENT = SY-MANDT
              GROUP  = GROUP
              USER   = USER
              KEEP   = KEEP.
    •     Fill in the Data for Transaction in an internal table 'BDCDATA'
            FORM INSERT_SCREEN USING PROGRAM DYNPRO.
               CLEAR BDCDATA.
               BDCDATA-PROGRAM = PROGRAM.
               BDCDATA-DYNPRO  = DYNPRO.
               BDCDATA-DYNBEGIN = 'X'.
               APPEND BDCDATA.
            ENDFORM.
            FORM INSERT_FIELD USING FNAM FVAL.
               CLEAR BDCDATA.
               BDCDATA-FNAM = FNAM.
               BDCDATA-FVAL = FVAL.
               APPEND BDCDATA.
            ENDFORM.
    •     Insert Transacton
            CALL FUNCTION 'BDC_INSERT'   
            EXPORTING
                TCODE     = 'ME21'
            TABLES
              DYNPROTAB = BDCDATA.
    •     Close Batch Input group
            CALL FUNCTION 'BDC_CLOSE_GROUP'.
    Finally to process Batch Input Session, first execute the BDC ABAP. This will create
    a BDC session. Run transaction 'SM35' & processes the BDC session.
    regards,
    padma.

  • BDC date field should be blank

    I am creating a bdc - the date field should be blank.
    My logic is if input-field ne '0'.
      if w_ausbs ne '00000000'.
          PERFORM bdc_field    USING 'VIQMEL-AUSBS'  w_ausbs.
       else.
          PERFORM bdc_field    USING 'VIQMEL-AUSBS'  ' '.
       endif.
    Initially i just tried
      if w_ausbs ne '00000000'.
          PERFORM bdc_field    USING 'VIQMEL-AUSBS'  w_ausbs.
      endif.
    However, the field still gets populated with '00000000' which casues an error since it should be blank.  Able to create manually without entering a value in this field so it is not mandatory.
    Any ideas on how to get this field to be left blank.
    Thanks,
    Jill

    Hi Jill,
    1. U want the date field to be  blank.
    a) make sure it is not compulsory
    b) secondly, make sure, default value
       does not come up when entering
       data in the tcode
    2. If this is so , then
       how is ur w_ausbs defined ?
       a) it should be c(8)
    (so that 0000000 does not come,
      spaces come !)
      and specificlally passit
      using
    PERFORM bdc_field USING 'VIQMEL-AUSBS' w_ausbs. <---
    regards,
    amit m.

  • Retrival of BDC data

    Hi,
    Is that possible to extract the file that has been uploaded via BDC. Let me know the optimum way to get this file out (any format) or atleast the path of the file that we gave while uploading.  And also it should have the details of uploading time and date.
    If this can be done? Thanks in advance.
    Regards,
    Raj.

    Hi Raj,
    Please note that after you have executed the BDC session, you cannot view the exact file that you have used for uploading the data.
    The best you can do after executing a session is make necessary corrections to the session; for a short description on correcting BDC sessions, check this link - [Session Correction (admin activity)|http://help.sap.com/saphelp_46c/helpdata/EN/69/c250684ba111d189750000e8322d00/content.htm].
    But you can surely take a backup of the uploaded file before the session is created. Suppose you are using cl_gui_frontend_services=>gui_upload for uploading your file. Immediately after the function, you can save the file either to a local file system, or persistently for later access.
    Saving the file is thru the method cli_gui_frontend_services=>gui_download. For persistently saving the file, use a persistent class. Here is a [short tutorial on using persistent classes|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/06/f23c3d638d11d4966d00a0c94260a5/content.htm].
    You can also save the path entered by the user from your selection screen. Just copy the path entered and save in a Z-table along with date and time (and any other details etc.)
    As for uploading date and time, you can use the standard timestamp features of SAP. For more info, refer to the following links:
    [Fetching timestamps|http://help.sap.com/abapdocu_70/en/ABAPGET_TIME-STAMP.htm]
    [Converting timestamps|http://help.sap.com/abapdocu_70/en/ABAPCONVERT_TIME-STAMP.htm]
    Hope this helps! Do let me know if you need anything else!!
    Cheers,
    Shailesh.

  • Way to verify BDC data before input ??

    Hi,
    I have the following requirement. I have a set of 1000 records as input to my program. This dataset is parsed and fed as input to my transaction using PERFORM bdc_field  statement. For each record, I call the PERFORM bdc_transaction statement.
    It so happens that few records fail to pass through the transaction.
    I want first my program to run a kind of sample run with the input data and see if all records can get through the transaction. If not then I want to report those records as erroneous ones and expect the user to correct the data error in the file or in the system and then rerun the program. Note during test run, none of the data from the input file should be loaded in to the transaction !! It should just a kind of test..
    Hope I am clear.
    Please let me know how to achieve this ?
    thanks

    It depends on the transaction you are executing. Some have a check or validate feature that allows the user to make sure everything is OK before trying to save. But most don't.
    What I've done is, if the 'TEST' checkbox is ticked in the BDC program, create a batch input session without pressing the save button. If you press the back button instead, you'll get an error saying that 'Leave to Transaction is not allowed in Batch input' or something like that, but you'll know that the record passed most of the validations (except for the ones that only happen when the data is saved).
    Messy, but it serves the purpose.
    Rob

  • How to confirm whether BDC data is sucessful or not

    Hi Reader
    1. Let us suppose using a call transaction method we are transferring some 10,000 records and after the data transfer at later time when the end user found that data records from 500 to 1000 are error records entered, is there any way to find out from our side how to we approach the problem in identifying that certain records are error ones.
    regs
    kris

    Call transaction statement : add Into messtab
    CALL TRANSACTION TCODE USING BDCDATA
                      MODE   'N'
                      UPDATE 'S'
                      MESSAGES INTO MESSTAB.
    Error handling :
    Check sy-subrc and read error messages from messtab
        if Sy-subrc ne 0.  "error
          LOOP AT MESSTAB.
            SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                      AND   ARBGB = MESSTAB-MSGID
                                      AND   MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              L_MSTRING = T100-TEXT.
              IF L_MSTRING CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ENDIF.
              CONDENSE L_MSTRING.
              WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
          ENDLOOP.
      Code to store the errored transaction in a BIM session
          IF LV_GROUP_OPENED = ' '.
            CALL FUNCTION 'BDC_OPEN_GROUP'
                 EXPORTING  CLIENT   = SY-MANDT
                            GROUP    = LV_GROUP
                            USER     = LV_USER
                            KEEP     = LV_KEEP
                            HOLDDATE = LV_HDATE.
             LV_GROUP_OPENED = 'X'.
          ENDIF.
          CALL FUNCTION 'BDC_INSERT'
               EXPORTING TCODE     = TCODE
               TABLES    DYNPROTAB = BDCDATA.
        ENDIF.
      ENDIF.
      REFRESH BDCDATA.
    At end of program, close the error session (if there is one)
        IF LV_GROUP_OPENED = 'X'.
          CALL FUNCTION 'BDC_CLOSE_GROUP'.
          LV_GROUP_OPENED = ' '.
        ENDIF.

  • MRRL  Document posting Date REg

    Dear All,
                     In MRRL invoice verification through ERS  selection screen Posting date field is not available its always posting the documents on the system date.
    is is any possiblity to get the posting date in the selection screen?..
    any inputs...
    REgards
    Anand

    Agree, there's virtually no ERS config. I suspect this is hard-coded so unless you have a sensationally good reason to modify the system, suggest you live with it as is.
    Regards,
    Nick
    Actually there are two Exits you could have a look at:  MM08R001 and MRMH0001
    MM08R001 > Change Document Header Data
    Edited by: Nick Whitehurst on May 7, 2010 4:52 PM

  • BDC date recording

    Hi,
      i am getting the date from input file in YYYYMMDD format. But i have to map the date into vk11 Tcode as MM/DD/YYYY. If i am assigning it directly it is taking the YYYYMMDD format and it is telling invalid date. So, how can i convert it and how can i map it in MM/DD/YYYY format. Can anybody tell me. If any body having code can send it to me.  Very Urgent......
    Thanks.........

    REPORT zforum12 message-id vij.
    Check the code
    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.
      "in ur format 'MM/DD/YYYY
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .
    This will do .
    vijay

  • BDC data updation

    Hi,
    Could you please tell me that how to  update data in hr tables for  tcode PA30 Orgnisational assignment  based on pernr and business area.
    Regards
    Alok

    helpful

  • Bdc  rec - reg

    Hi guru's,
    after i have done bdc rec, i have imported the code to my program.  but i have a small problem.
    1. i have selected some views for my trn mm03(during bdc rec). while executing the Final program,  the view at the last is not being selected until i scroll it until that view. (but in bdc rec i hav selected them) . hope u understood.
    my code snippet:
    PERFORM open_group.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0060'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-MATNR'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTR'.
            PERFORM bdc_field       USING 'RMMG1-MATNR'
                                          WA_FINAL-MATNR.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(02)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(01)'
                                          c_x.
            PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(02)'
                                          c_x.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(12)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(12)'
                                          c_x.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(01)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0070'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'MSICHTAUSW-DYTXT(13)'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTR'.
            PERFORM bdc_field       USING 'MSICHTAUSW-KZSEL(13)'
                                          c_x.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '0080'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-WERKS'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTR'.
            PERFORM bdc_field       USING 'RMMG1-WERKS'
                                           plant.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '4004'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-MATNR'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '4004'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-MATNR'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '4000'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-MATNR'.
            PERFORM bdc_dynpro      USING 'SAPLMGMM' '4000'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '/00'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RMMG1-MATNR'.
            PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=YES'.
            PERFORM bdc_transaction USING 'MM03'.
            PERFORM close_group.
    So, in the above code, i want the views to be selected directly without me pressing enter. so which fiels should i change in the above code for the dynamic selection of the views in trn 'mm03'.
    2. i have to skip the first two screens, like entering the materialno & selecting the views.  As i have already selected them durin bdc rec.
    How to code for skipping these two screens.
    can anyone solve my two probs.
    ask me for any clarity in my doubts.
    please help me
    regards,
    chaitanya
    Edited by: chaitanya on Mar 13, 2008 11:02 AM

    hi
      for ur first query :
         i am giving u sample code for view selection on second screen
             perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(17)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'P+'.perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(02)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(03)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(04)'
                                    'X'.
                                 record-KZSEL_04_005.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(05)'
                                    'X'.
                                 record-KZSEL_05_006.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(06)'
                                    'X'.
                                 record-KZSEL_06_007.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(07)'
                                    'X'.
                                 record-KZSEL_01_004.
    *perform bdc_field       using 'MSICHTAUSW-KZSEL(08)'
                                   'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(09)'
                                    'X'.
                                 record-KZSEL_09_008.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(10)'
                                    'X'.
                                 record-KZSEL_01_004.
    *perform bdc_field       using 'MSICHTAUSW-KZSEL(11)'
                                   'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(12)'
                                    'X'.
                                 record-KZSEL_12_009.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(13)'
                                    'X'.
                                 record-KZSEL_13_010.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(14)'
                                    'X'.
                                 record-KZSEL_14_011.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(15)'
                                    'X'.
                                 record-KZSEL_15_012.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(16)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(17)'
                                    'X'.
                                 record-KZSEL_17_013.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(02)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(05)'
                                    'X'.
                                 record-KZSEL_13_014.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(06)'
                                    'X'.
                                 record-KZSEL_14_015.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(07)'
                                    'X'.
                                 record-KZSEL_01_004.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(08)'
                                    'X'.
                                 record-KZSEL_16_016.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(09)'
                                    'X'.
                                 record-KZSEL_01_004.
    here important is use P+ code to page down for select last views, and after that it may possible
    that value 'MSICHTAUSW-KZSEL(07)'   may be greater then 15 so change this by counting position .  like
    for 16 -
    >  01 
         17  -
    > 02
    2.  For ur second problem .
           as u asking to eleminate 1and 2 screen , it is not possible bcoz
    as u enter t.code first screen will come .
    and without selecting VIEW u can not go further in t.code.
    what u can do is make the entries in fields of these screen default then u will not requied to give them in flat file .
    reward if helpful.

  • Transaction datas and master data -reg

    hi all,
              I would like to know what are all the master datas and transactional datas
    uploaded during implementation in  materials management module

    Modul      Data Object      
    CO     Cost Center     
    CO     Internal Orders     
    CO     Actual by cost center     
    CO     Plan by cost center     
    CO     Balances for cost center     
    CO     Balances for profit center     
    CO     actual by customer/product     
    CO     mixing ratios     
    CO     Procurement alternatives     
    CO     Cost element     
    EHS     Dangerous goods data
    EHS     MSDS data
    EHS     substances
    FI     Balances General ledger
    FI     Bank Master
    FI     Fixed Assets
    FI     Chart of accounts
    FI     Open items - Accounts Payable
    FI     Open Items - Accounts Receivble
    FI     Open Items - G/L
    FI     primary cost elements
    MM     Inventory direct material     
    MM     Inventory MRO     
    MM     material master     
    MM     open purchase orders     
    MM     open requisitions     
    MM     Source list     
    MM     Info records     
    MM     QM-Info record     
    MM     Vendor master     
    MM     Outline Agreements     
    MM     Quota Arrangements     
    MM     price conditions     
    MM     message conditions     
    MM     standard texts     
    MM     Classification, class and characteristics     
    MM     batch classes     
    MM     material classification     
    PM     Equipment BOM     
    PM     funcitonal location BOM     
    PM     Maintenance orders
    PM     Maintenance Task Lsit
    PM     Maintenance Schedule plan
    PM     Maintenance Single_Cycle Plan - by Assembly 
    PM     Maintenance Single_Cycle Plan - by Equipment
    PM     Maintenance Single_Cycle Plan - by Functional Location
    PM     Task List  PM                                         
    PM     Task List - long text
    PM     Notifications
    PP     Bill of material
    PP     process orders
    PP     recipes
    PP     ressources
    PP     production versions
    QM     Inspection methods
    QM     Inspection plans
    QM      Master Inspection characteristics
    QM     QM Classification
    QM     master inspection characteristics
    QM     certificate profile assignments
    QM     material specifications
    QM      Inspection type assignment material master
    SD     batch search strategy
    SD     condition records material substitution
    SD     contact persons
    SD     credit management data
    SD     customer master      
    SD     Customer material info record     
    SD     freight conditions     
    SD     material exclusions     
    SD     sales orders     
    SD     product proposals     
    SD     routes     
    SD     sales price conditions     
    SD     quotation     
    SD     contracts     
    SD     transportation zones     
    SD     routes     
    SD     route determination     
    SD     output condtion records     
    WM     bin locations

Maybe you are looking for