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

Similar Messages

  • 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 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

  • 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

  • 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

  • Disable a standard AMImpl Warning message through Customization

    Hi Team,
    Through Customization apporach, can we disable standard Warning Message(in AMImpl) through Custom Manage Bean.
    If so can you please tell me approach & sample code to be written.
    Thanks,
    Anil

    Anil
    I am not sure of the exact use case you have in mind. However, AMImpl or any other java file is not customizable by any means.
    Hope this helps
    Thanks
    Vik

  • 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

  • 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

  • Warning message in IT0021

    Hi experts,
    When i create, change or display the record in IT0021with any subtype, it shows warning message "Assignment to feature P0021 did not take place ", what does it mean? what will happen if i ignore this message? where it will going to effect?
    How to handle this warning message?
    Kindly guide me in this..

    Hi,
    pls check the feature P0021 is configured against country grouping 40 and required subtypes.
    The subtypes 1 (Spouse), 2 (Child), and 10 (Divorced spouse) are supported
    now save and activate the same CTRL+F3.
    regards,
    puja
    Edited by: pujapushap on Mar 5, 2012 7:09 AM

  • How to suppress the Warning messages while doing GR(MIGO)

    Hi ALL,
    I have a requirement while posting goods GR/GI using T-code MIGO.
    Trying to do GR against PO using MIGO.After selecting the line item quantity and entering BATCH Number for line item Material when I click on 'CHECK' Pushbutton i am Getting the below Warning msg
    'For batch RAB001 of material 1522582, no class could be determined'. Message no M7207.
    How to suppress this above warning message, I want to Post the goods by suppressing the above warning message .
    Like similarly while issuing the goods to the to the Production order using MIGO i am getting warning message when I click on 'CHECK' Pushbutton.
    I do want to issue the goods by suppressing warning message in this case also.
    I know this could be solved by customization but we are dealing with batch managed materials.
    How to suppress the the above warning messages in MIGO through ABAP coding ...
    Looking forward the helpfull answer.
    Regards,
    venky

    Hi
    Answer is pure assumption.
    Pls check the following OSS notes
    Note 319094 - Warning message during batch classification in IM
    Note 122937 - UD: Error message M7207 when you save
    Note 399416 - Message M7207 not analyzed in background
    Note 786755 - You cannot suppress message M7 207
    Note 201196 - MIGO: Error M7207 for goods receipt for batch
    Pls take opinion from SAP / Basis before implementing the OSS note
    Regards
    Madhan D

  • Can we supress the warning messages on server level

    I have a problem with the application that issues a select distinct count of a column that has NULLS value on Oracle 10.1.0.4 server. The application doesn't handle the warning message returned and shuts down. I cannot change the application code… is there a way to suppress the warning messages?
    Thanks a lot, mj

    Below is the exact statement that causes the problem.
    Unfortunately, I cannot get the actual error from SQLPLUS but the application exist with unhandled database error - Any ideas what can I do?
    I just got the answer that no application changes are possible at this moment...
    Thanks a lot for the help, mj
    create table testing_bug (id number, col1 varchar2(50))
    insert into testing_bug values(1, 'ttt');
    insert into testing_bug values(1, null);
    insert into testing_bug values(1, 'nnn');
    insert into testing_bug values(1, 'mmm');
    insert into testing_bug values(1, 'yyy');
    select count(distinct col1) from testing_bug

  • 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

  • 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

  • How to handle warning message for the fields in tab merging , PERSONAS 2.0

    Hi all,
    Please advice me on the below issue.
    In a transaction VA32 , I have merged the fields from one tab to another tab using tab caching.
    when i try to change the value of  a merged fields , it throws the warnings message. So it is continuously looping from one tab to another tab.
    So i tried to use the additional editor concepts in tab caching as below.
    Looping is stopped and throws warning message in the same tab.
    All the changes are saved successfully only when the enter button is clicked once in the main screen, else the changes are not saved and my previous value remains.
    Anybody have an idea on how we can use Additional actions in Tab caching concepts.
    Thank you,
    Arun

    Hi Kranthi,
    When i try to save the fields which i merged from different tab is not saving.
    Please find the below details.
    Green highlighted fields are custom fields which is merged from different screen like header or item overview screen. This is handled in script button.
    Red highlighted fields are merged from different tab like shipping or sales using tab caching concept.
    While changing the value of the fields which is merged from different tab , and press ENTER then it throws the Warning message if occurs.
    After warning message, if i try to save using the script button for copying all the custom fields which is merged from different screen , pasted it to their respective screens and also saved.
    Its working fine.
    When i try to save it before pressing ENTER button then the respective changes had made in the merged fields from different tab are not reflected.
    How we can handle this issue?
    Thank you,
    Arun

Maybe you are looking for

  • Resize Content Editor Web Part to Page Width

    I have a content editor web part in page.   The CEWP contains a javascript based menu and an Iframe. The problem is that when I resize the page, the width of the CEWP does not size to the width of the browser. How can I get the CEWP to resize to the

  • How do I keep logged in on websites with Safari?

    Hi everyone, I have encountered a new problem: Safari can't keep me logged in on some of the sites that I visit daily, like Hotmail, Flickr, iMDB, ebay and Gmail. The browser remembers my usernames & passwords, but I still get logged off automaticall

  • Upgrading a Power Mac 7200.

    Hi, I just recently bought a Power Mac 7200 on ebay for the small sum of £1.99, and I am setting about upgrading it into something more useful. Looking about on beay I am looking at a plethora of Mac Video cards, and one has caught my eye. An ATI Rad

  • Best reasonably priced iPod FM Transmitter for the car?!?!?!?!

    I've been looking at loads of FM transmitters out there and frankly I'm overwhelmed with which one to choose. I'd rather not spend 80 bucks if I don't have to but I also want something which will give me the best sound quality. I know that none will

  • Active window will not stay active

    Just started having problems with the active window turning NON active every 5-10 seconds.   Constantly having to click on window to continue typing. Using the new OS 10.9