BDC -Problem with mode 'N'

Hi
BDC with mode 'A'  is working correctly  but when I make the mode 'N' it gives a dump.
With mode 'A' the record is updated , what may be the cause?
Thanks

I am using the tcode 7kE1 for bdc , it works perfectly with mode 'A' , but not with mode 'N', It give error  'Message_Type_Unknown' .
there is no problem with the file as values are going correctly in tcode
Edited by: Puneeta Parnami on Jun 12, 2009 12:57 PM

Similar Messages

  • BDC problem with F-30

    Hi All,
    I want to record a BDC for F-30 to clear the deduction line items for a Document. These deduction line items have a "Reason code" with it... When I select a Document Number in F-30, it displays all the line items in a table control.. I need to select and clear only those items with "Reason code" in that...
    How can I select a line item from the table control and clear it based on the reason code in a BDC?
    I have looked at the previous posts... I have seen a solution provided by filling the structure BSELP. How this can be included in the program and how to fill the values... Is there any limit for the values to get it filled?.. Because I could see
    FELDN_1 to FELDN_18 in BSELP structure.....
    BDC problem in F-30
    BSELP-FELDN_1 = "BELNR"
    BSELP-SLVON_1 = "00002222221997003"
    How the rfbibl00 program works?
    Thanks for the help,
    Asha

    Hi,
        Use BAPI_PAYIT_POST_CLEARING
    or  FM POSTING_INTERFACE_CLEARING
    or
    try this code for transaction fb05:
    DATA: BEGIN OF bkey OCCURS   0,
            belnr LIKE bseg-belnr,
            gjahr LIKE bseg-gjahr,
            buzei LIKE bseg-buzei,
          END OF bkey.
    *Dynpro 122 - Header
        PERFORM bdc_dynpro USING 'SAPMF05A' '0122'.
        PERFORM bdc_field USING 'BKPF-BLDAT' agz-datum.
        PERFORM bdc_field USING 'BKPF-BLART' augblart.
        PERFORM bdc_field USING 'BKPF-BUKRS' htab-bukrs.
        PERFORM bdc_field USING 'BKPF-BUDAT' agz-datum.
        PERFORM bdc_field USING 'BKPF-WAERS' t001-waers.
        IF t003-xmref = 'X'.
          IF htab-xblnr <> space.
            PERFORM bdc_field USING 'BKPF-XBLNR' htab-xblnr.
          ELSE.
            PERFORM bdc_field USING 'BKPF-XBLNR' text-aag.
          ENDIF.
        ENDIF.
        UNPACK vorgang TO zeile.
        PERFORM bdc_field_loop USING zeile 'RF05A-XPOS1' 'X'.
        PERFORM bdc_field USING 'BDC_OKCODE'     'SL'.
        LOOP AT itab WHERE marked = 'X'.
    *Dynpro 0710 -
          PERFORM bdc_dynpro USING 'SAPMF05A' '0710'.
          PERFORM bdc_field USING 'RF05A-AGKON' agku-kunnr.
          PERFORM bdc_field USING 'RF05A-AGBUK' agku-bukrs.
          PERFORM bdc_field USING 'BDC_OKCODE'     'SLB'.         "ins
    *Dynpro 0733 - insert fi-document-nr.
          PERFORM bdc_dynpro USING 'SAPMF05A' '0733'.
          CLEAR:   zeile, cnt.
          LOOP AT htab WHERE agzif = agc-nr AND xfeld = 'X'
                        AND bukrs = agku-bukrs AND kunnr = agku-kunnr.
            CLEAR bkey.
            cnt = cnt + 1.
            UNPACK cnt TO zeile.
            PERFORM bdc_field_loop USING zeile 'RF05A-FELDN' 'BELNR'.
            MOVE-CORRESPONDING tab TO bkey.
            PERFORM bdc_field_loop USING zeile 'RF05A-SEL01'  bkey.
          ENDLOOP.
    <b>Reward points</b>
    Regards

  • Problem with mod(x,y) in Eval y=f(x) VI

    I can't seem to get mod to work in the Eval y=f(x) VI.  I entered "mod(x,20)" for a formula and get error -23001 "Syntax error of parser".  If I instead use "x-20*floor(x/20)" which should be the exact same thing, it works - no error.  Any idea what I'm doing wrong with mod?
    Solved!
    Go to Solution.

    That function is not supported in the Formula Evaluation VIs.  In fact, no function of two variables is supported.  My usual workaround in similar cases is to use a little regex voodoo, in this case to replace the mod expression by its longhand equivalent.
    You could also modify the Eval VIs to add the '%' function, which I did for the heck of it, but it is a jungle in there.

  • Problem with mode switching/Volume Panel in multi-user environment?

    As above - using Windows 7 64-bit with an X-Fi Titanium Fatalty card.
    All works well as long as I'm the only person logged in, but if my wife logs into the computer (using Windows 7's built-in multi-user mode...'fast user switching', which is enabled by default), and then I log back in...well, the volume panel app doesn't seem to work. In fact, even using the control panel app, I can't regain control of the soundcard enough to switch modes.
    Logging her off doesn't resolve the issue, so it seems like something about her logging on (another user logging in, two volpanlu.exe running, something) is causing my instance to go haywire. [FWIW, I'm a 'standard' user on the PC, and her login is a 'limited' user]
    Note that 'killing' the task volpanlu.exe in task managed, then going to the Windows services control panel and stopping and re-starting the 'Windows Audio' service, and finally re-launching volpanlu.exe from the start menu DOES always work to resolve the problem (regardless of if she's logged in or not...this always fixes it).
    Still, that's a kinda annoyingly large set of steps to always have to go through whenever I want to change audio mode after she's logged in.
    Is there any way to fix this? Any setting I could be missing to optimize the X-Fi control panel for multi-user environments? Any of the X-Fi mod dri've packs handle fast user switching better? Any other ideas?

    GA little bit more tinkering around this, and I have some more information:
    - Once I "seize control" (the kill of volpanlu, restart 'Windows Audio' service, re-launch volpanlu), if my wife logs back in, now *she* can't change the audio mode

  • BDC problem with back button

    Hi all,
    i have idoc number in alv output.when the user clicks on this ,it should take the control to BD87 transaction with idoc number getting transferred there .also BD87 screen has changed on select option where the default is sy-datum .i need to clear this along with transfer of idoc number.
    i tried using submit statement,but its not working.
    then i used call transaction in error mode to acheive this functionality and i was sucessful.
    beloe is my code:
       REFRESH bdcdata.
            READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
            DATA: lv_mode(1) TYPE c VALUE 'E'.
            PERFORM bdc_dynpro      USING 'RBDMON00' '1100'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'SX_UPDDA-HIGH'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=CRET'.
            PERFORM bdc_field       USING 'SX_DOCNU-LOW'
                                          wa_out-docnum.
            PERFORM bdc_field       USING 'SX_CRETI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_CRETI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDDA-LOW'
            PERFORM bdc_field       USING 'SX_UPDDA-HIGH'
            PERFORM bdc_field       USING 'SX_UPDTI-LOW'
                                          '00:00:00'.
            PERFORM bdc_field       USING 'SX_UPDTI-HIGH'
                                          '00:00:00'.
            PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    So,the control directly takes me inside the BD87 screen just after the screen which we get after execting the selection screen of bd87 with idoc details
    the problem is whn i click on back button or F3,the control does not take me back to the ALV output screen rather it takes me to the selection screen of BD87.
    So,any way out to solve the back button problem???
    Thanks

    Hi Kunal,
    That's a really tough report to handle by submit.
    You can try to call the transaction in error mode and place one moment to force the screen to appear. Then complete the BTCI with the last steps to exit the selection screen.
    Try it like this:
    REFRESH bdcdata.
    READ TABLE t_out INTO wa_out INDEX rs_selfield-tabindex.
    DATA: lv_mode(1) TYPE c VALUE 'E'.
    PERFORM bdc_dynpro USING 'RBDMON00' '1100'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'SX_UPDDA-HIGH'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=CRET'.
    PERFORM bdc_field USING 'SX_DOCNU-LOW' wa_out-docnum.
    PERFORM bdc_field USING 'SX_CRETI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_CRETI-HIGH' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDDA-LOW' ''.
    PERFORM bdc_field USING 'SX_UPDDA-HIGH' ''.
    PERFORM bdc_field USING 'SX_UPDTI-LOW' '00:00:00'.
    PERFORM bdc_field USING 'SX_UPDTI-HIGH' '00:00:00'.
    *btci is interrupted in presentation of the result screen
    *last steps to exit selection screen
    PERFORM bdc_dynpro   USING 'RBDMON00' '1100'.
    PERFORM bdc_field       USING 'BDC_OKCODE' '/ECBAC'.
    PERFORM bdc_field       USING 'BDC_CURSOR' 'SX_UPDDA-LOW'.
    *use error mode in call transaction
    CALL TRANSACTION 'BD87' USING bdcdata MODE 'E'.
    *PERFORM bdc_call_transaction USING 'BD87' lv_mode 'N'.
    hope it helps,
    Edgar

  • Problem with modes on Yoga 2 13 (Windows 10)

    Yes I can. I usually turn it on when I use my device in tablet mode. But keyboard will be enabled even if I do this.

    Please read the details here -
    https://support.lenovo.com/us/en/documents/ht103611
    Several Lenovo apps are incompatible with Windows 10 right now including Lenovo Transition.
    If you want full functionality, you may want to revert back to factory setting ie Win 8.1 or Win 8
    About the keyboard issue I am not sure. I have heard that there is another Patch update for Win 10 that has been released, you may want to check and install that in Windows Update functionality.

  • Problem with BDC on VA02

    Hi All,
    I am facing a problem with bdc on va02. After hitting enter on the first screen it pops an info message "consider subsequent douments". It doesn't get recorded in recorded. Hence I am not able to run the transaction with no screen mode. Please help me to suppress the info message
    Navin

    Hi Navin,
    These kind of messages and pop ups are precisely the reason why use of BDC for updating transactions is NOT advisable.
    If you were to bypass such messages, you would have to put a check to see why the message appears (in this case probably because the sales document flow for the sales order in table VBFA has some documents) and then write a logic to either handle the message or not.
    Instead i would recommend you use the BAPI functions provided by SAP to change the sales order.
    Have a look the BAPI for sales order change attached to the business object BUS2012. For this goto transaction SWO1 and enter the BUS2012 business object. Then goto methods and look for the "change" method. Double click on the method and look at the BAPI used to implement the method. Go ahead and use this method in your program as against a BDC.
    I am sure it will be a much better option.
    Otherwise if you still want to proceed with a BDC, please debug at the point where the message/pop up appears to ascertain reason for the same and then incorporate the same check in your program to handle the pop up.
    Regards,
    Aditya

  • Transaction AIAB (Auc Settlement) -  Problem with BDC

    Dear Friends,
              Problem: I am trying to distribute the amount of a asset (Auc) to other assets on line item basis by using BDC for transaction AIAB. I am facing problems when using amount based through BDC.
           Can you please suggest ASAP if any FM or BAPI's available to achive this for transaction AIAB?
    Thanks,
    Ram.

    Hi Ravi,
    Thanks for your valuable reply..
    Everything is fine if i run the transaction in ALLSCREEN mode, but iam facing the problem with the same after running it in NOSCREEN mode 'N'..
    Pls help..

  • Strange problem with backgroung processing of BDC for Transcation CLMM

    Folks,
    I have encountered strange problem with BDC.I created an ALV report from output i select any number of rows and hit insert class button on top. If i select less than 10 row and use this statement
    call transaction 'CLMM' mode 'N'
    ,it works fine but if i select more than 10 rows ,the sy-subrc after this statement  
    call transaction 'CLMM' mode 'N'
    is 1001 means an error. I cant understand this problem of Mode N. if  i put statement
    call transaction 'CLMM'
    (foreground processing) here ,everything works fine. Do you have any idea?
    Nirad

    Hi,
    The problem is due to the screen size which can differ between foreground and background mode.
    A screen with 10 table rowsin foreground does not necessarily mean same number of rows would be available in background mode.
    Hence its always better to create recording with Simulate Background Mode as checked.
    When you enter transaction code 'CLMM' in SHDB transaction and start recording, check Simulate Background Mode.
    Hope this helps!
    Cheers,
    Vikram

  • Problem with rotation and landscape mode in iOS 8

    From start of iOS 8 I have got problem with rotation in my iPhone 5S 32GB as well as in my iPad mini retina 32GB. Automatical rotation to landscape mode is not working correctly. For example if you take the phone or tablet to landscape mode in base display and tap to Safari, Mail, Messages, the app will start but stay in normal mode, not landscape. Then you have to back the phone to normal portrait mode and back to landscape and only then the phone do the landscape mode. I have never seen this problem in iOS 7 or older.
    Could you help me anyone with this problem? Or is the problem generally in iOS 8.
    Thanks a lot
    Jakub

    Brian, thanks, but it's not a rotation lock issue - at least not relating to the rotation lock setting. It's just a general use setting. Right now i have my iPhone propped in landscape mode. If I now hit the home button, essentially returning to a portrait setting though my phone is still positioned in landscape, then open any other app that supports landscape, that app WILL NOT orient itself to landscape mode. It will stay in portrait mode. The phone has to be physically oriented to portrait, then back to landscape for the app to register landscape mode properly. This is a glitch, and not a rotation lock issue. it ought to be noted that this was not an issue in iOS 7 or any previous iteration.

  • Problem with "find" mode in adf/swing application

    Hi all,
    I'm working on ADF Swing application which uses MS SQL Server 2005 (JDeveloper 10g 10.1.3)
    I think that my issue might be well-known…sorry if it has been already discussed somewhere else…
    I have a problem with the “find” mode for a detail panel in a master-detail form…(To make it clear the “find” mode is switched on when clicking on the special button on a navigation panel).
    So this mode works well in a master panel, but it demonstrates strange behavior on a detail panel, i.e. it takes me two attempts to find the necessary child object and it doesn’t switch back in a simple way from this mode to the normal mode….say if we are in the department 10 (Dept is a master form) we can’t simply find KING employee (Emp is a detail form)…is there any workaround for this?
    Thanks in advance. Alex.

    Hi Frank, please look this issue

  • I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    fighter19lisa wrote:
    that only makes it say its synced, when its not.
    No, it does not.  It transfers purchases from the iDevice to the computer.  The computer must be authorized for the Apple ID that the content was acquired with.
    fighter19lisa wrote:
    my playlists wont show up on the phone.
    Are they selected to sync?  Is Manually Manage content on the device selected?
    fighter19lisa wrote:
    i had to change my password for my aol account again and i still cannot get my email on my phone to even work
    What does that have to do with syncing content to the device?  FYI, nothing.

  • PDF printer has a problem with Safari in "Reader" mode in Windows7

    As shown in the image above. When I try to use the PDF printer to print out a web page in Safari "Reader" mode, the lines near the bottom of each page get squeezed like this. There is no problem with XPS printer. I guess this problem is because of some incorrect settings in Safari or the PDF printer?
    My system is Windows 7 Pro. I am using Acrobat X Pro. The page I am trying to print is http://en.wikipedia.org/wiki/Electronic_band_structure. This problem only happens when the webpage is adjusted into "Reader" mode in Safari.

    Many thanks for your reply!
    I am sorry, I did not make my question clear. I would like to save some web pages only in "Reader" mode, because in this mode all the advertisements are filtered out and the pages look much nicer than the origional layout.
    I first let Safari to active "Reader" by clicking "Reader" button.
    Then I click "Print" button and select Adobe PDF as the printer.
    The problem is the PDF file has something wrong (shown above), and I would like to know how to avoid this problem.

  • TS3274 its almost 10 months,i purchased ipad2 32 3g wifi.itinially i got problem with applications shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs freq

    its almost 10 months,i purchased ipad2 32 3G wifi.itinially i got problem with applications and safari shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs frequently.plz advise.

    If you have followed the standard Apple troubleshooting processes (see user guide )
    probably a trip to the local Apple Store Genius bar is called for before warranty runs out
    Assuming the iPad has been released in your Country if not you may have to take it to a
    neighbouring Country where it is available
    This page will tell you ,via the drop down menu Countries that can support iPad
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=ipa d

  • I am having a painful problem with itunes 10, everytime I go into the itunes store to search for a song, even if I type one letter in it will instantly launch into search mode and doesn't stop, so I'm unable to find

    I am having a painful problem with itunes 10, everytime I go everytime I go into the itunes store to search for a song, even if I type one letter Itunes will instantly launch into search mode and doesn't stop, so because I can never get past putting in the first letter or two, I'm unable to search and download any songs. I am on the latest Imac Intel core i7 Mac OS X, can anybody help?
    Thankyou.
    Beckyg.

    Having this problem too: IT'S REALLY REALLY ANNOYING!!! Anyone have an idea how to sort this?

Maybe you are looking for