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

Similar Messages

  • How to Capture warning message in SHDB recording

    Hi SDN,
    I am getting problem in Recording FB03 through SHDB.
    when i am clicking on save as complete button i am getting a warning message as duplicate entry.
    when click on enter button the actuval object got saved bu from recording it is not captured.
    how we can continue with this

    Hi
    Sorry
    i know that
    i don't want to display messages.
    when i am recording a Transaction code.
    i am getting a warning message as check for duplicates.
    when click on enter button that warning message is got disappiared but that enter click is not recorded in FB03 recording.
    when i process that recording it is stopping that transaction code at that warning message in BDC.
    please suggest

  • How to suppress a warning message in BDC call transaction

    Hi,
    I was calling a BDC using CALL Transaction in mode N. But due to some warning messages the background job was not success. Please tell me how to overcome the warning messages in BDC.
    Regards,
    Satish

    Hi tyr this way:
    PERFORM bdc_dynpro      USING 'SAPMM07M' '0210'.  " into the screen
          PERFORM bdc_field       USING 'BDC_CURSOR'           "cursor on the filed to update
                                        'DM07M-HSDAT_INPUT'.
          PERFORM bdc_field       USING 'DM07M-HSDAT_INPUT'   "assign values
                                         v_date.                                     "might get an warning so three enters...
          PERFORM bdc_field       USING 'BDC_OKCODE'  " first enter
                                       '/00'.
          PERFORM bdc_field       USING 'BDC_OKCODE'  "second enter
                                        '/00'.
          PERFORM bdc_field       USING 'BDC_OKCODE'  "third enter
                                        '/00'.

  • 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

  • How to supress a warning message in BDC for ME11 Tcode

    Hi Expert,
    I am doing a BDC report for ME11 Tcode and some of warning is ignorable for this transaction code,how can we suppress these warning through BDC program, is it possible or will have to make some changes changes in TCODE(ME11) itself.

    hi,
    if the warning message coming in a pop-up window then it can be supressed in the following way.
    1. comment the lines of the code of bdc recording of that pop-up screen along with the perform of bdc ok code  '=ENTE".
    2. use the structure ctu_params and fill the correspondings fiels, particularly the field nobinpt = 'X' and then use this structure in the call transcation statement as
    call transcation 'ME11'
                            using bdcdata
                            options from opt ( structure of ctu_params )
    3. At the time of recording use the option of check box " no batch input session ".
    regards,
    Alok

  • Handling a warning message in BDC through RFC

    Hi all,
    I have a requirement where I have to do a CALL TRANSACTION using a RFC Fn. Module.
    This is for sending time sheet data to CATSDB thru CAT2 (T-code). In the process of time entry I have to go through a warning message (time entry for saturday & sunday ) and save the time sheet. I have recorded all this thru SHDB and created the BDC. The FM works fine in the back end. It is also fine when this RFC is called in the front end from a portal, except for the warning message part. The FM errors out when called thru portal  for uploading data for saturday or sunday.
    There seems to be no problem when I call this function module in the backend using a custom program and try to save time for saturday and sunday. I have tried various options and founnd that the RFC is failing only when called for saturday and sunday. Somehow the BDC part where the warning message is handled is causing the error.
    One of my colleague said, the backend is trying to return a dialog box/screen (warning message pop up) to the fucntion module which is not being accomodated or something of that sort????
    Is this true??? So does this mean I cannot do it the way I am trying to.
    Any suggestions and thoughts on why this is happening. Am I missing something here???
    Any kind of input is highly appreciated.
    Thanks
    M
    Edited by: Mark Mark on Aug 26, 2008 5:45 AM
    Edited by: Mark Mark on Aug 26, 2008 6:07 AM

    Hi Anees, Thanks for your suggestion.
    I was probably not very clear in stating my problem. I do not have to display the error or warning message.
    During time entry,when I click SAVE button, I get a warning message, to get through this message I have to hit ENTER  again (now the time sheet is saved). All this I have recorded in SHDB and used in the BDC.
    Now my problem is this BDC for saturday & sunday (the warning message comes up for these days) does not work when the RFC is called from the portal, whereas the time sheet is saved without any errors when I try to call this from the back end.
    Also the RFC works fine for the rest of the days both in the back end and also when called from the portal.
    I hope I am clear.....
    Any suggestions
    Thanks
    M

  • Want to output Error message in BDC recording(PA30)

    Hi all,
    Currently iam working on upload program,whic is done by BDC recording with transaction PA30.while loading the data to different infotypes,iam checking one condition
    in particular infotype,after that i need to give the error message(Type E) and i data should not get uploaded for that infotype,and it has to go to next infotype.i want to log this error also,how can i do this?

    The ERROR message will stop the processing of the program,  the message will need to be either an I(information) or a W(warning) message into for the program to continue processing.
    Log the message by writing it to an internal table.
    IF SOME_CONDITION = 'X'.
    MESSAGE W001(00) with 'Hey, here is a message'.
    itab-pernr = p_pernr.
    itab-msgid = '00'.
    itab-msgno = '001'.
    append itab.
    ENDIF.
    CALL TRANSACTION 'PA30'........
    Regards,
    Rich HEilman

  • Warning message in BDC

    Hello ,
    While uploading the data using CALL TRANSACTION method if system returns some warning message will it causes failure of the update or it will update the data.
    What are the BDC message type's other than E,X,A which indicates failure of the call transaction method.
    Thanks for your help.
    Regards,
    Sarada

    You can just go ahead by pressing ENTER if its a Warning Message
    Regards
    Gopi

  • Capture warning messages for transaction CA01

    Hi all,
    Iam doing BDC for CA01( Routing) . When i enter data in the fourth screen , i get a information message . When i press enter, Im able to enter the next screen . I made a BDC program for this
    (i used the program by recording) , in which if i run in foreground in display all mode the process gets stopped at the first screen , and iam getting the information message and if i press enter , it continues fine . If i run the same on no display mode , the record is going for error . I tried writing ok-code for enter also . But its not working .
    How to solve this problem .

    Hi
    U can read the message from messaga table:
    DATA: T_MESSAGE TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
    CALL TRANSACTION USING <BDC TABLE>
                                     MESSAGES INTO T_MESSAGE.
    IF SY-SUBRC <> 0.
       LOOP AT T_MESSAGE.
       ENDLOOP.
    ENDIF.
    Max

  • Reg: Uploading data with Warning Message

    Hi,
    I have searched the forum and found a lot of threads related with this. But nothing fits my scenario or I didn't get the solution correctly from them.
    My scenario is I recorded a BDC. When I run it in foreground, sometimes I get warning messages based upon the data to be uploaded. But if I run it in foreground, I press enter and then data will be saved.
    When I run the same BDC in background, the data won't be uploaded as I miss that pressing of Enter there. The thing is that, this warning could happen anywhere (any screen, any field). How can I handle this?
    Regards,
    Jubish

    Hi,
    You should sit with your functional consultant and do the recording part. He should be able to tell you where these warning messages can come. Or please check with him if you can avoid these warning messages. It becomes difficult to handle warning messages in BDC if we don't know where they might come.
    So, once you know where these warning messages come, you can put additional code for enter in your BDC at that place. It should solve your purpose.
    Thanks,
    Archana

  • About bdc recording

    Hi Experts,
                        i am working with " ZTOOLREV ' transaction code. i filled all the mandatory fields. which is required. i have done the recording.  i maintain one function module in se37. and converted this fm to web service.  that i have to send to my client
    he will send the data through same web service.              here i maintain internal table mess_tab. here
    i used EXPORT mess_tab TO MEMORY ID 'TOLLDATA'.
    so i will use IMPORT mess_tab TO MEMORY ID 'TOLLDATA'.  i think data is in internal table.     so what to do after. how the data comes in ztoolrev after recording. using bdc call transaction.
    i mean to say that the mandatory fields given by my client. how it is going to come in recording time. after that i am using save_text fm to save data.
    Please guide me.

    My 'expert opinion? What are you doing?
    You created a BDC recording, fm (for web service), IMPORT TO MEMORY ID, EXPORT TO MEMORY ID, SAVE_TEXT....Why?
    1. Are you providing a web service or consuming one? I guess both according to you post:
    he will send the data through same web service
    Same webservice?
    2. What does this mean? Where and why did you use this and why would you want to use both?
    i used EXPORT mess_tab TO MEMORY ID 'TOLLDATA'. so i will use IMPORT mess_tab TO MEMORY ID 'TOLLDATA'.
    3.
    i think data is in internal table.
    . You think? If you don't even know, why would any 'outsider' do?
    4. Where does the bdc fit into this 'picture'?
    5. FM SAVE_TEXT......, again why, what is it for?
    For you the expect any kind of answer, first make clear what it is you are trying to do here. Next ask a specific question. According to your posts you have been working on this ZTOOLREV transaction for quite some time now. So I guess, the requirement should be more than clear to you, correct? Explain it to us.
    The way I see it now, it should be something like this:
    1. You created a BDC recording for your ZTOOLREV transaction.
    2. This BDC recording is called from within the webservice which is being called from an external application from your client (or is this 'client' the client you are now working for?).
    3. One of the parameters is an internal table called MESS_TAB.  My guess is that this is the internal table used in CALL TRANSACTION for storing all messages in BDC recording. But where is the data for starting your BDC recording?
    4. Data from the calling application (mess_tab) is used to fill the BDC recording.
    5. At end of BDC recording you are doing a CALL TRANSACTION and return messages (MESS_TAB).
    Leaves us with some unanswered questions like EXPORT and IMPORT TO MEMORY ID and FM SAVE_TEXT.

  • Capturing error records and messages in BDC ?

    Hi Experts,
    I am recording a infotype using BDC recording and I got successfull updation in recording.But I  dont want the output message generated by BDC recording which is obtained by perform bdc_transaction using 'pa30' generated by recording.
    I want to capture the success pernr values and its correponding messages in a seperate internal table.Then want to capture error pernr values and its messages in a seperate internal table.
    Give me sample coding to fetch those values. Think that my internal table which contains pernr values for recording is int_0007.from this internal table I am recording values.Give me coding to collect success anf error pernr values and its messges in seperate internal table.
    Thanks,
    Sakthi.C
    *Assure points for valuable answers*
    Message was edited by:
            Sakthi Saravanan C

    DATA : BEGIN OF T_UPLOAD OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MAKTX LIKE MAKT-MAKTX,
             PLANT LIKE RMMG1-WERKS,
           END OF T_UPLOAD.
    DATA : BEGIN OF T_DOWNLOAD OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MAKTX LIKE MAKT-MAKTX,
             PLANT LIKE RMMG1-WERKS,
             MSG(200),
           END OF T_DOWNLOAD.
    DATA :  T_BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
    DATA :  WA_BDCMSGCOLL TYPE BDCMSGCOLL.
    DATA : ERR_LOG TYPE MESSAGE.
    Set the parameters for Call Transaction
      CLEAR WA_CTU_PARAMS.
      WA_CTU_PARAMS-DISMODE = 'N'.
      WA_CTU_PARAMS-UPDMODE = 'S'.
      WA_CTU_PARAMS-NOBINPT = 'X'.
      WA_CTU_PARAMS-NOBIEND = 'X'.
      WA_CTU_PARAMS-DEFSIZE = 'X'.
    Call Transaction MM01
      IF W_FLAG NE 'X'.
        <b>CALL TRANSACTION 'MM01' USING T_BDCDATA OPTIONS FROM WA_CTU_PARAMS
                                                 MESSAGES INTO T_BDCMSGCOLL.
        COMMIT WORK AND WAIT.</b>
        DESCRIBE TABLE T_BDCMSGCOLL LINES N.
        IF N <> 0.
          LOOP AT T_BDCMSGCOLL INTO WA_BDCMSGCOLL.
            CLEAR ERR_LOG.
            W_MSGNO = WA_BDCMSGCOLL-MSGNR.
            CALL FUNCTION <b>'WRITE_MESSAGE'</b>          EXPORTING
                MSGID = WA_BDCMSGCOLL-MSGID
                MSGNO = W_MSGNO
                MSGTY = WA_BDCMSGCOLL-MSGTYP
              IMPORTING
                MESSG = ERR_LOG.
    Error that occurs during transactoon
            IF ERR_LOG-MSGTY = 'E'.
              MOVE-CORRESPONDING T_UPLOAD TO  T_DOWNLOAD.
              MOVE ERR_LOG-MSGTX TO  T_DOWNLOAD-MSG.
              APPEND T_DOWNLOAD.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    regards
    vinod

  • Stop BDC at warning message T-Code CO11N

    Hi Team,
    I have a requirement of capturing time event for production orders from WebDynpro ABAP through BDC for T-Code CO11N i am able to do this, but in standard t-code CO11N when we try to change the yield quantity we are getting a popup at the time when we hit save which asks for warning error details like yes/no
    if we hit yes then it navigates to detailed warning message screen and asks for save confirm once again by to continue. due to cost changes.
    but when i record through BDC i am not getting the warning message popup instead of that it's appearing as normal warning message at below of the screen.
    When i try to run the BDC in N screen mode the transaction is getting saved with warning.
    now my requirement is how the standard screen behaves if warning is there then it should ask for the confirmation.
    please help to full fill this requirement.
    Thanks & Regards,
    Srinivasan R.

    Hi Srinivas
    Normally if a message of type warning is thrown no pop up comes. But sometime the screen is coded in such a way that after giving warning it will show you a pop up message. You will have to code it in your BDC if pop up will come or not
    Nabheet

  • FV50-Park a G/L Account Document BDC Warning message in screen 1001

    I need some help with a BDC program.  I am working on a BDC program to process transaction FV50.   I went to SHDB and created a recording macro. When I test the recording with u201Csimpleu201D information the recording works correctly and the document is parked.  But, when I try to park a document with todays date for the Document Date and I use a date from a previous period I get a warning message which requires an extra screen to be displayed and u201Centeru201D has to pressed. My recording does not work when I get a warning message. I went back and re-recorded transaction FV50 and cause the u201Cwarningu201D message to be displayed so that I can add the extra screen to my BDC recording. I do not see the u201Cextrau201D screen in the new BDC recording.  Anyone know why? How can I make this BDC program handle this extra warning message?

    You will have to add some logic to your program to check the date. If it is from the previous period, process the warning screen; otherwise, do not.
    You may run into other problems as well. FV50 looks like an EnjoySAP transaction and not well suited to batch input.
    Rob

  • Disable warning message in MB1A during BDC

    Hi,
    I am posting the goods issue records into SAP through MB1A in BDC.  However the warning message finally becomes the return message of the BDC call and the action is failed.  Actually it can be skipped by doing the transaction manually.
    Any solution can be used to disable the warning?
    Thanks.
    Angus.

    that error is comming for ur Config, So u cannt Skip that message from  BAPI returns, try to change CostCenter or Docuent Type.
    regards
    Prabhu

Maybe you are looking for

  • How get Camera Raw as a filter in Photoshop CC?

    Camera Raw does not appear as a filter.  Why not?  I have Camera Raw 8.1.0.43 and PS (CC) CS6 Extended 13.1.2 x64 running under Win 7 (64 bit).

  • 3d graph axis text reversed

    Hi The 3d graph control is everything I could want for my application with one exception! When you rotate a graph, the text for the axes becomes reversed. I have seen other controls that handle this but the NI version does not seem to have an option

  • MAXDB installation fails for ABAP WAS trial on Windows 7, 64 bit machine

    Hi Experts, I downloaded the Trial ABAP WAS from SDN's download section. I am trying to install it on Windows 7 64 bit machine. It. It fails to execute: <...\NWASABAPTRIAL70206\MAXDBTOOLS\maxdb-studio-desktop-win-32bit-i386-7_8_01_16\SDBINST.exe> It

  • Merge Repository- Finish button disable

    Hello there, i was trying to merge 2 repositories with no common parent. On step 2 of Merging the repository, i have selected the option Current/Modified in conflicts window, but still the Next/Finish button is not enabled. Is there anything i need t

  • I have weird looking white lines on my screen

    Greetings guys, Everytime I unlock my iPod Touch 4G it has some weird horizontal white lines and the screen in all washed out. I have to press the lock button again and than bring it up again. Do you know a good solution ? Thanks, Rebecca