Capture Crtl+A in BDC

hi,
      i need to capture 'Ctrl+A' which i press in keyboard to captured in BDC recording. or i coding what will be equivalent 'BDC_OKCODE' for this

Hi Suresh,
Instead of using Ctrl+A there will be one button called
Select all in the bottom of the table control. It is safe to use the buttons provided in the transaction instead of key board. Most of the times it may not cause problems. But there are few cased where key board OK codes will not work in back ground.
OK code depends on which transaction u are using. record ur BDC again by using Select all button(Which will be there in the bottom of the table control).
If u are not able to find then let me know the transaction. I will check that.
Thanks,
Vinod.

Similar Messages

  • How to capture F4 help during bdc recording

    Hello All,
    I need one help to solve one of the requrimkents..
    In transaction Co02, user have to add the compoenents manually..but before user adds the components manually, i need to call the transaction co02, then i have do F4 help and fill the data for the user and then user will handle it manually...
    So till F4 help and filling the data in F4 help, i need to do through my program using bdc...when i try to do, F4 help is not captured in my recording..
    So please help me how to capture F4 help during BDC recording.
    Thanks in advance
    Sangeetha

    HI Sangeetha,
    I have one question for you!!!!
    Capturing F4 help  in BDC recording is secondary thing. First, If you want the user to select the value from the F4 help, then in that case user will have to run the BDC program in the foreground mode which is not possible and time consuming if your file is having more records (say >100). Then in that case will you prompt the user every time for selecting the component values, as many records there will be in the file to be uploaded??? I think it is not a way of handling or capturing the component values. I would prefer that pass the component values in the file which has to be uploaded.
    Please let me know if you still have some doubts on the same.
    Thanks
    VJ

  • Unable to capture sy-ucomm in BDC

         Hello Everyone, 
    I have created a BDC for CG3Y everything is working fine after creating a log when sy-subrc eq 0. when user hits SAVE I have given a message stating 'LOG HAS BEEN GENERATED' but when the pop for overwrite appears and I hit NO, it should give a different message for that i am not able to capture SY-UCOMM.
    please help.

    Actually the issue was just had to get the file(Error log) from Application Server to Presentation, Here is the code for it.
    data: i_fl_openerror type boolean,
    i_os_message(100) type C,
    i_flg_continue type boolean.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_ASCII'
    EXPORTING
    i_file_front_end          = 'C:\ERROR_LOG.XLS'
    i_file_appl               = '/USR/SAP/TMP/FILE3.XLS'
    *   I_FILE_OVERWRITE          = ESP1_FALSE
    IMPORTING
    E_FLG_OPEN_ERROR          = i_fl_openerror
    E_OS_MESSAGE              = i_os_message
    EXCEPTIONS
    FE_FILE_OPEN_ERROR        = 1
    FE_FILE_EXISTS            = 2
    FE_FILE_WRITE_ERROR       = 3
    AP_NO_AUTHORITY           = 4
    AP_FILE_OPEN_ERROR        = 5
    AP_FILE_EMPTY             = 6
    OTHERS                    = 7
    IF sy-subrc <> 0.
    case sy-subrc.
    when 2.
    CALL FUNCTION 'C14A_POPUP_ASK_FILE_OVERWRITE'
    IMPORTING
    E_FLG_CONTINUE       = i_flg_continue
    if i_flg_continue eq true.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_ASCII'
    EXPORTING
    i_file_front_end          = 'C:\ERROR_LOG.XLS'
    i_file_appl               = '/USR/SAP/TMP/FILE3.XLS'
    I_FILE_OVERWRITE          = ESP1_TRUE
    IMPORTING
    E_FLG_OPEN_ERROR          = i_fl_openerror
    E_OS_MESSAGE              = i_os_message
    EXCEPTIONS
    FE_FILE_OPEN_ERROR        = 1
    FE_FILE_EXISTS            = 2
    FE_FILE_WRITE_ERROR       = 3
    AP_NO_AUTHORITY           = 4
    AP_FILE_OPEN_ERROR        = 5
    AP_FILE_EMPTY             = 6
    OTHERS                    = 7
    IF sy-subrc <> 0.
    write : / 'CANNOT DOWNLOAD' , '/USR/SAP/TMP/FILE3.XLS' .
    else.
    write : / 'LOG HAS BEEN GENERATED C:\ERROR_LOG.XLS'.
    endif.
    else.
    write : / 'LOG NOT GENERATED'.
    endif.
    when others .
    write : / 'CANNOT DOWNLOAD FILE1', '/USR/SAP/TMP/FILE3.XLS'.
    endcase.

  • Capture Single-Click for BDC

    Moderator message: Do NOT offer points
    Hello Gurus,
    I am doing a BDC for transaction CM21. Everything seems to be fine but I ran into a problem. In order to dispatch planned orders, you have to do a single-click on the planned orders and click on the dispatch button.
    The big issue i have now is I don't know anyway to capture a single click on BDC.
    I know somebody could have ran into this problem before.
    Please help.
    <<text removed>>
    Thanks.
    Edited by: Matt on Nov 23, 2008 5:32 PM - read the Rules of Engagement

    Don't forget that BDC doesn't work with enjoy transaction (in fact with controls, search OSS there are some notes on this subject) , if BDC_CURSOR to put the cursor on the field is not possible or doesn't work, you may not be able to fulfil your requirement and will have to look for a BAPI to do the job. (Sometimes adding many "Enter" to the BDC enable the transaction to work but not always)
    OSS [Note 311440 - Batch input and controls|https://service.sap.com/sap/support/notes/311440]
    Regards

  • Capturing warning message in BDC recording

    Hi all,
    I want to capture a warning message that is getting popped during BDC recording. When BDC is ran in background, it is stopping at that point and further processing is stopped with the display of this warning message.
    Can anybody help me in capturing this warning message?
    Thanksm
    Archana

    Hi Avinash,
    I am trying to change the profit center using this BDC. So, when i change it, this warning is displayed and it goes inside one more window and coreects the new profit center added in the previous window. So, this warning message is necessary to be displayed. But my problem is that because of this message my BDC is also not proceeding further.
    Hi Bhavesh,
    The warning message is getting displayed as a pop-up. I am not getting any information about the screen number. I know the prgram for that but no the screen number. And can you please tell me what that piece of code does? So that i can try it out in my BDC.
    Thanks,
    Archana

  • Capturing Customer No. from BDC

    Dear Experts,
    I have a custom developed screen using which I am getting the customer details from user and then using BDC to create the customer in SAP(in XD01) I want to capture the SAP generated customer number and update it back in my z-table. Can some one guid me as to how I can achieve this?
    I tried to capture it using BDCMSGCOLL but the SAP no. is not getting captured here.
    Awaiting your reply,
    Bhavin

    After a customer is created a success message is displayed with Customer number.You can cathc that messages value.
    Just after every 'CALL TRANSACTION 'XXX' USING BDCTABLE' any one system field will capture the Customer number (SY-MSGV1,SY-MSGV2,SY-MSGV3,SY-MSGV4) i am not in front of the system just check with these system field on of them will capture the Number.
    Regards,
    gurpreet

  • WSo2 BDC to delete line item in table control

    Hi all,
    My requirement is to delete material from wso2 table control.
    The only way to delete a line item in this table control is to select the line in table control and delete it.
    The recording doesnt captures any selection of row.
    Any input on how to caputre particular row ??
    Please dont send me links to work with table control in bdc
    Regards
    Bhanu

    DaveL  wrote:
      I am not aware of any way to make the BDC delete the row, other than by running in 'A'-all mode and letting the user step through each screen and delete the rows that should be deleted.
    Well , if the user has to run it in "A" all screen mode why a BDC is required
    DaveL  wrote:
    Deleting them from the table control would obviously have no effect upon the database table though, would it....it would just hide a row from view in this particular table control
    Really ? Well it will delete it from database too i dont know what makes you think that it wont be deleted from database.
    Anways i have figured out how to capture row selection in BDC .
    Thanks for your reply it proves nothing i guess

  • Error in BDC for VK-11

    Hi All,
    I have created a BDC for T-Code VK11. When I am loading the data then my BDC is throwing an error becoz for some materials Unit of Measurement(UOM) sceen is coming which I have not captured in BDC. This UOM is coming only for few materials and this screen is not coming when I m entering these materials manually.
    Can anybody plz help me out in solving this.
    Warm Regards,
    Nishu

    Do a recording with a material which is throwing u the UOM screen .
    IF ur flat file is not having Uom pick the values for the materials from MARA/ MARM table into a variable and submit it to the screen of UOM.
    See a recording will be done considering the fact that all the possible scenarios are handled . So If the screen is popping up with a UOM screen then it has to be handled .
    You have to capture this in ur BDC recording .
    Cause even it throws the UOM screen for one material u need to handle that .
    There is one more screen for UOM jsut do a select and pass the UOM for the material in the code
    if u r not intending to maintain the same in ur flat file.
    Regards,
    vijay

  • HOW TO CAPTURE LOG?

    hi all
            how to capture a log in bdc to abap programme?

    Hi,
    While doing call transaction, if an error occurs in updation, we declare bdcmsgcoll and store our messages in it, but how to retreive error message from it
    Using function module 'FORMAT_MESSAGE' you can capture the messages.
    Here is a sample of the program code for that:
      LOOP AT it_messtab.
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          id     = it_messtab-msgid
          lang   = it_messtab-msgspra
          no     = it_messtab-msgnr
          v1     = it_messtab-msgv1
          v2     = it_messtab-msgv2
        IMPORTING
        msg    =  g_msg
      EXCEPTIONS
          OTHERS = 0.
      IF it_messtab-msgtyp = 'S'.
        it_sucess-sucess_rec = g_msg.
        it_sucess-lifnr = it_header-lifnr." Based on your field
        it_sucess-tabix = v_lines.
        APPEND it_sucess.
      ELSEIF it_messtab-msgtyp = 'E'.
        it_error-error_rec = g_msg.
        it_error-lifnr = it_header-lifnr.
        it_error-tabix = v_lines.
        APPEND it_error.
      ELSE.
        it_info-info_rec = g_msg.
        it_info-lifnr    = it_header-lifnr.
        it_info-tabix    = v_lines.
        APPEND it_info.
      ENDIF.
    ENDLOOP.
    Cheers,
    Simha.
    Reward all the helpful answers..

  • BDC for VL10B

    Hai to all,
    I am creating RFC for VL10B using BDC recording, I coded the RFC as it was in the recording, but when i tested my RFC with option 'A', I came to known that STO document number hasn't been select for background to create delivery order. Can anybody suggest the code for that, or even tell me how to capture screen data in BDC,
                                Thank you in advance,
                                  srinivas

    Can you paste the part of the code which contains the population of the BDC table.

  • Error in bdc for mc88

    hi,
       i am facing a problem at the time of bdc recording in MC88 , when i capturing the  inactive version button it generates ok_code "/00" but when it put down in z report it does not work.  if any one knows about dis prob. den  tell me.
    Thanks & Regards.
    Kshitiz Goyal.

    Do a recording with a material which is throwing u the UOM screen .
    IF ur flat file is not having Uom pick the values for the materials from MARA/ MARM table into a variable and submit it to the screen of UOM.
    See a recording will be done considering the fact that all the possible scenarios are handled . So If the screen is popping up with a UOM screen then it has to be handled .
    You have to capture this in ur BDC recording .
    Cause even it throws the UOM screen for one material u need to handle that .
    There is one more screen for UOM jsut do a select and pass the UOM for the material in the code
    if u r not intending to maintain the same in ur flat file.
    Regards,
    vijay

  • Return error ocurring during bdc

    Hello all,
    I am a abaper and i got a project to in which there is a requirement that we have to do the bdc by remote function call.
    I am able to do bdc through it but my main concern is the error which come while doing bdc.
    I mean we can see the screen which in which there is error. I want to capture that error and that error should be return to the function.
    Suppose we are doing bdc which the help of .net application. We want to retrun the error which is occuring during the bdc and return the error to the .net application. so can you tell me how can we return the error.
    Thanks...

    Hi,
    Implement RFC or any interface to communicate with non-SAP system. And have one table parameter with two fields..one with flag and other field is for message text. Then your table parameter output will be like following:
    E: Process not occurred
    S: Table updated updated successfully
    etc.,
    and,
    As we know,
    bdcmsgcoll type bdcmsgcoll occurs 0 with header line,
    call transaction 'TCODE' using bdcdata mode 'N' update 'S' messages into bdcmsgcoll.
    this syntax will helps you capture the messages with BDC processing. And then pass this message ID and types etc to 'FORMAT_MESSAGE' or some other function module whcih can gives you message text. And finally populate ABOVE internal table with those details.
    Thanks,
    Naveen Inuganti.

  • Batch Data Capture of transaction 'MIRO' via background execution

    Hi All,
    I am currently working on a report that amongst other things conducts a batch data capture (i.e. BDC) via a recording of transaction code 'MIRO' in order to create an Invoice Verification with the 'Invoice Receipt' number being the only expected output after successful execution.
    I am populating only the following fields (i.e. via the recording) with data processed within the report program:
    -  INVFO-BLDAT
    - RM08M-EBELN
    - INVFO-XBLNR
    - INVFO-WRBTR
    The problem however is that this same recording works when I execute the report in the foreground but does not work when I run it in the background work process.  Could there be a common and well known cause to this? 
    Please help!  I just need the same recording to be able to run in the background work process as well as it runs in the foreground.
    Thank you.

    Hi!
    For technical reasons, batch input and the new single screen enjoy                    
    transactions are no compatible. See Notes 381630 & 381593 for more                    
    detail. Notes are attached.                                                                               
    381630 0004 0.400 Batch input for Enjoy transaction in MM not possib                  
    381593 0008 0.430 MIRO/MIR7/MIRA: Batch Input is not possible                                                                               
    Hope the information helps you.                                                       
    Erika

  • BDC System Message

    Hi ,
    Can anyone please suggest how to capture the message in BDC that is given on the Status bar after successfully executing the transaction.
    For ex: i created salesorder through BDC(SHDB) . it is successfully executed and order is created and order number is displayed on status bar . How to capture the Order number from Status Bar?
    thanks in Advance,
    anjani.

    Here is some sample code.
      data: messtab like bdcmsgcoll occurs 0 with header line.
      data: bdcdata like bdcdata occurs 20 with header line.
    * here you are calling the transaction.
      call transaction 'VA01' using bdcdata mode 'N'
                                  update 'S'
                                  messages into messtab.
    * if successful, read the message table for the specific
    * message.
      if sy-subrc = 0.
        read table messtab with key msgid = 'V1'
                                    msgnr = '311'.
    * The order number should be in the msgv1 of messtab.
        if sy-subrc = 0.
          write:/ 'This is the order number', messtab-msgv1.
        endif.
      endif.
    Regards,
    Rich Heilman

  • BDC for ALV grid

    hi all,
    after a long search in the forums im posting this,
    i have a Z tcode for which im creating a BDC (in a FM). this tcode when i execute manually  i will get a ALV grid output with a check box(only 1 record).
    i have to select this check box and press a push button which will further proceed.
    now when i process the tcode manually this check box is identified and a method in PAI is ldentifying  the changed data before and after selecting the check box and further process is done.
    Now after searching i came to know that this BDC cannot capture the checkbox value.
    now my concern is how do i capture the value in checkbox and pass to the background program separately into the PAI module, or can i add a perform stmt to capture the value in BDC. or any IMPORT or EXPORT stmt will work.
    any help in this regard will be gratefull.
    regards,

    If not capturing the value,
    You can code that value
    in
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                                           'YOUR_FIELD'.
        PERFORM bdc_field       USING 'YOUR_FIELD'
                                                            'X'.
    Insert this code into your exact place.

Maybe you are looking for

  • Issue in Excel download from ALV output

    Dear Experts, I have generated an ALV Output using FM "REUSE_ALV_GRID_DISPLAY". When i try to download the ALV Output in Excel spreadsheet, I am not getting the data in Excel sheet. Kindly help me in this regard. Thanks in advance, Regards, Ramesh Ma

  • How to kill process/Actavity in SAP ?

    How to kill process/Actavity in SAP ?

  • IPad mini screen not responding.

    Was using my iPad for a short duration and locked the screen. Went back to it about 10-20 min later, and the screen was not responding. Would try to slide the lock screen, press the camera, and nothing would work. I have restarted it multiple times w

  • Airport Extreme Base Station to Express via Ethernet?

    I have both a new Extreme (n) and Express (n) and am trying to set up a network between two buildings. I have been successful with the wireless network, yet the wireless signal between buildings is not strong enough for streaming video. The current c

  • BOM setup problem

    Hello Guru, for material 10076168, BOM alternative 5 is setup from 2008.11.13 in production version, but if you check it in the production orders, system still uses alternative 1. Where and what could be the problem? Thanks Ryan