Warning in BDC - ME22

Hi,
My Problem is that in the BDC i get a error in the middle of the recording which is not getting captured in the SHDB. Im manually writing the code to hit enter and then proceed furthur with the processing but this is not working.
Please guide me furthur.
perform add_bdcdata using 'SAPMM06E'    '0111'           'X'.
perform add_bdcdata using 'BDC_OKCODE'  '=ENTE'            ' '.
Cheers

Hi,
I think if you use mode 'N' the warning messages will be ignored. If there is any error then the CALL TRANSACTION will retun sy-subrc NE 0.
Generally if there is a warning message the system will allow to do a BDC and the warning message will be captured in the MESSAGETAB.
Cheers
VJ

Similar Messages

  • BDC - ME22

    Hi
    I have Problem in BDC of ME22, While Changing Confirmations.
    As there is not any position field in Table Control, using which i can determine the Position of row that is to be updated.
    For example there are ROWS
    Confiormation----Time--
    Quantity
    AB--08:51:30--
    10
    AB--06:52:33--
    83
    AB--18:51:36--
    20
    AB--23:21:37--
    35
    LA--23:11:30--
    14
    LA--08:21:30--
    10
    i want to change Quantity 83 to 63
    How this can be achived.How to reach at the particular field of particular row.
    Thanks in Advance.
    Vijay Raheja

    Hi Vijay,
    Why not try BAPI <b>BAPI_PO_CHANGE</b>?
    Eg:
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder         = l_purchaseorder
        POHEADER              =
        POHEADERX             =
        POADDRVENDOR          =
        POADDRVENDORX         =
        TABLES
          return                = l_t_return
          poitem                = l_t_poitem
          poitemx               = l_t_poitemx
        POADDRDELIVERY        =
        POADDRDELIVERYX       =
          poschedule            = l_t_poschedule
          poschedulex           = l_t_poschedulex
        POACCOUNT             =
        POACCOUNTX            =
        POCOND                =
        POCONDX               =
    Regards,
    Raj
    Message was edited by: Rajasekhar Dinavahi

  • 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

  • BDC recording for SU01 - Roles

    Hi All ,
    I am using BDC recoording of the SU01 T code for the modification of the end date of the assigned roles .
    In few scenario there are few cases where user does have direct and indirect roles . I am able to change the end date of the direct roles via BDC in SU01 but since indirect roles which are depedent on direct roles and therefore the end date fields is not editable and hence on the warning my BDC is unable to update anything in SU01 .
    Can any one advise , how can i proceed with BDC recording to capture editable and noneditable fields ?

    Hi,
    it's not possible with BDC recording to know if a field is in input mode or only in output mode.
    PS : Search if you cannot used a BAPI. f.e BAPI_USER_*
    REM : Just one remark if you use time assignment
    Time-dependency of user assignment and authorizations                                                                               
    o   If you are also using the role to generate authorization profiles,  
        then you should note that the generated profile is not entered in   
        the user master record until the user master records have been      
        compared. When you specify the users for the role, the system enters
        by default the current date as the start date of the user           
        assignment, and 12.31.9999 as the end date. If you want to restrict 
        the start and end dates of the assignment, for example, if you want 
        to define a temporary substitute for a user, the system             
        automatically makes the changes to the user. This automatic         
        adjustment of the user's authorizations is executed using report    
        PFCG_TIME_DEPENDENCY. In this case, you should schedule report      
        PFCG_TIME_DEPENDENCY daily, for example, early in the morning, to   
        run in the background (in transaction SA38, for example). This      
        compares the user master records for all roles and updates the      
        authorizations for the user master records. The system removes      
        authorization profiles for invalid user assignments from the user   
        master record, and enters authorization profiles from valid user    
        assignments to a role.                                              

  • 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

  • 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

  • Warning while processing the BDC session for ME11 - create info records

    Hi,
    I have succesfully created a BDC recording(SHDB) for ME11 transaction. but when I am trying to process the session(SM35) with file having correct data, I an getting a warning message" Please check Unit of measure and conversion factor" eventhogh correct values are being populated in the respective fields. Status of the run is shown as INCORRECT.
        Any pointers on avoiding this warning message would be appreciated.
    PS: I have tried putting an extra OK CODE with enter button, dint work.

    ...try to use transaction SXDA_TOOLS and Object type: BUS3003
    Here you will find the standard batch-input program RM06IBI0

  • Handling Warning pop up windows in BDC call transaction method

    Hi All,
    Iam using a BDC to automate the Costing Process i.e. Transaction CK40N using call transaction method. In a particular Screen after i perform the execute action, a warning pop up window appears. Only if I click on OK, the execution continues or else it will not proceed. How to handle this situation in case a warning pop up window appears based on the input which is given? In other words a Dynamic warning message. Thanks in advance....
    Regards,
    Nirmal

    Hello,
    U can either use NO_DIALOG or SUPPRESS DIALOG to avaid this,.
    Regards,
    Vasanth

  • 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

  • Suppress Warning [W] message during BDC process [as batch SM36]

    Hi expert,
    i had problem where Warning message is force my BDC program to stop during SM36 batch job submit.
    if program trigger in ad-hoc process [call program directly using tcode] , program works fine.
    let me share briefly about My program, i intend to create VA41 transaction which have contract start date less than today's date. Warning message V5 001 will appear [not as pop-up window] which force my BDC to stop during SM36.
    please kindly help.

    Hi Rudy..
    The problem is with Contract begin date should be greater than the begin date...you cannot create the Contract for past dates.
    Even BDC will continue for Warning and Information messages and stops if encounters the error message.
    Pass the contran begin date greater or Equal to current date .

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

  • 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

  • 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

  • BDC for Me22 Tcode-Version Management

    Hi ,
    I want to add the version management in for exiting BDC in ME22 Transaction in ECC6.0
    How can i go for that.
    please help me .
    regards,
    Ajay
    Edited by: Ajay reddy on Sep 16, 2009 3:26 PM
    Edited by: Ajay reddy on Sep 16, 2009 3:38 PM

    Hi,
    Thanks for attempt the Question.
    Me22-> Enter Order number-> Go to HEADER> VERSION.
    Can I handle the Menu option in recording..... Please help me in this.
    regards,
    Ajay
    Edited by: Ajay reddy on Sep 16, 2009 3:47 PM
    Edited by: Ajay reddy on Sep 16, 2009 3:50 PM
    Edited by: Ajay reddy on Sep 16, 2009 6:52 PM

Maybe you are looking for

  • Need to convert  Date from calendar to String in the format dd-mom-yyyy

    Need to convert Date from calendar to String in the format dd-mom-yyyy+.. This is absolutely necessary... any help plz.. Rgds Arwinder

  • Exporting filterded data from a view to excel

    I have a requirement, where i have to export data from a list to excel after applying some filter to it. Say i filter the view by selecting employee dept="Teaching", now i want to export only the filtered rows to excel. Is there any way to achieve th

  • Audio capture lost after installing snow leopard

    Has anyone else had problems loosing their audio capture in Premiere cs4 after installing Snow Leopard?

  • Error while configuring WebLogic Server Resources for PIP.

    Hi , As per the documentation I am able to build all PIP cartridges. But while creating resources on weblogic I'm getting below error in build file.I'm following same instuction as per document. Unknown argument: -Daia.jdev.lib.dir= setupJPSPolicy Bu

  • Usage of UTL_FILE

    Hi Guys, I am new to UTL_FILE. I am using system user account. I wrote two stored procedures using this. Compilation is OK. But when I execute I have following error: SQL> exec write_file BEGIN write_file; END; ERROR at line 1: ORA-06510: PL/SQL: unh