SD_SALESDOCUMENT_CREATE with conditions & error message in CHECK_VBAP

Hello,
I have follow problem.
I want to create a sales order via BAPI SD_SALESDOCUMENT_CREATE. I fill the condition table with item numbers. The parameter logic_switch-cond_handl is set to 'X'. The error message behavior (parameter behave_when_error) is set to 'R'. But it although works with SPACE
In the user-exit USEREXIT_CHECK_VBAP(SAPMV45A) a error message is throw. This message is mapped into the RETURN-table. Until this point everything is ok.
Now the problem: The BAPI SD_SALES_DOCUMENT_CREATE trys to calculate the prices and calls FM SD_SALES_ITEM_COND_MAINTAIN. The header line of the RETURN-Table is empty. In this FM the system calls subroutine "VBAP_BEARBEITEN_ENDE" in program SAPFV45P. In this subroutine calls the user exit USEREXIT_CHECK_VBAP(SAPMV45A) again and the error message is thrown again. But in this case the system stops and don't handle the message in the BAPI to return it in the RETURN table. If someone call the BAPI via RFC the system abort the connection without returning the parameter.
Do someone know this problem? Have smeone a solution?
Many thanks for your support!
Best regards
Christian

Hello,
I have follow problem.
I want to create a sales order via BAPI SD_SALESDOCUMENT_CREATE. I fill the condition table with item numbers. The parameter logic_switch-cond_handl is set to 'X'. The error message behavior (parameter behave_when_error) is set to 'R'. But it although works with SPACE
In the user-exit USEREXIT_CHECK_VBAP(SAPMV45A) a error message is throw. This message is mapped into the RETURN-table. Until this point everything is ok.
Now the problem: The BAPI SD_SALES_DOCUMENT_CREATE trys to calculate the prices and calls FM SD_SALES_ITEM_COND_MAINTAIN. The header line of the RETURN-Table is empty. In this FM the system calls subroutine "VBAP_BEARBEITEN_ENDE" in program SAPFV45P. In this subroutine calls the user exit USEREXIT_CHECK_VBAP(SAPMV45A) again and the error message is thrown again. But in this case the system stops and don't handle the message in the BAPI to return it in the RETURN table. If someone call the BAPI via RFC the system abort the connection without returning the parameter.
Do someone know this problem? Have smeone a solution?
Many thanks for your support!
Best regards
Christian

Similar Messages

  • Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go?

    Whenever i try and open a social network app it comes up with an error message sayinng "Connect to itunes to use Push Notifications" I have successfully conntected to itunes via phone and computer however this message is still appearing and will not go, therefore i cannot use the apps?HELP PLEASE

    http://support.apple.com/kb/TS3281

  • I have just purchased a lightning to 30 pin adaptor to use on an iPad mini and a gen5 iPod touch both devices are running iOS 8.1.3 and come up with The error message "this accessory is not supported by this device "

    I have just purchased a lightning to 30 pin adaptor to use on an iPad mini and a gen5 iPod touch both devices are running iOS 8.1.3 and come up with The error message "this accessory is not supported by this device "
    THis is means they are not charging on a 30 pin cable and the touch won't work in my Apple iPod dock - no audio out or charge. Have re powered both devices to no avail am wondering if the iOS version is the problem
    Help!

    If it is a lightning to 30 pin adaptor, and you have a 7th Generation Nano it has to fit the Nano.
    This is lightning to 30 pin adapter: http://www.bestbuy.com/site/Apple%26%23174%3B---Lightning-to-30-Pin-Adapter/6651 936.p?id=1218803450821&skuId=6651936#tab=overview
    Is this what you bought?
    You need to contact Sony and see if they model you have is compatible with the docking adapter. It may not be.

  • Firefox 31 hangs on startup with no error messages

    Simply put, Firefox hangs right on startup. I see it loading the two generic tabs and then the wheel spins and then it says 'Not Responding' on the top of the window. I have to force close it each and every time, and I've also tried the following solutions in no particular order to alleviate the issue:
    1) Ran SuperAntiSpyware and Malwarebytes last night for any possible infections. Reported back with nothing.
    2) Booted my laptop up in Safe Mode (with networking) and still couldn't get it to operate.
    3) Performed several clean uninstalls and re-installations which also included clearing out the profiles altogether and then trying to open it again, nothing.
    4) Booted up Firefox by holding down the shift key and resetted it to its default settings and then tried firing it up again. Nothing.
    5) Attempted booting up FF in Safe Mode with the shift key, nothing.
    6) Created a new profile and tried booting FF, nothing.
    7) Read this article http://kb.mozillazine.org/Firefox_hangs#Hyper-Threading about Hyper-Threading and followed the instructions which got it to operate, but I can't access the toolbar or the option menus. When I click on options Firefox closes with no error messages. I have a feeling this isn't the issue at hand but I figure I'd try it and at least I can get it to fully load and not hang.
    8) Deleted all Firefox extensions and Plug-ins, nothing.
    9) Enabled Firefox through firewall and antivirus settings, nothing.
    10) Updated my BIOS firmware as suggested in #7, nothing.
    I've done almost 10 different things and I still can't figure out why Firefox keeps hanging on startup. I've looked into Youtube videos for tutorials and others posted about the Java crashing that was happening in an earlier version of FF. Since its not crashing, I'm unable to look into the crash logs and pinpoint a crash number or anything because it just freezes and when I click to close it I get a message saying: 'Close program' or 'Wait for it to respond.'
    I'm running a 64 bit Windows 7 on an HP Pavilion g6-1c44wm Notebook PC
    Microprocessor 2.10 GHz Intel Pentium Processor B950
    Microprocessor Cache 2MB L3 Cache
    Memory 4GB DDR3 SDRAM (1 DIMM)
    Memory Max Maximum supported = 8GB
    Video Graphics Intel HD Graphics
    Video Memory Up to 1696MB
    Hard Drive 500GB 5400RPM)
    I'm trying to be specific as possible! Please help! I'm at the end of my rope here!

    Try to completely uninstall firefox, that means to '''delete''' the [http://kb.mozillazine.org/Installation_directory#Windows Installation directory] located for your 64bit in C:\Program Files (x86)\Mozilla Firefox\ , also, '''delete''' the C:\Users\<username>\AppData\Local\Mozilla\Firefox and '''if exist''', '''delete''' the C:\Users\<username>\AppData\Local\VirtualStore\Program Files\Mozilla Firefox.
    then download and install again a new full installer from : https://www.mozilla.org/en-US/firefox/all/
    disable firewall and antivirus and antispyware for a little bit, and run firefox. any luck ?
    thank you

  • App runs in Eclipse environment but not from jar file with no error message

    When I upgraded my jre to 5.0 my app does not run. After fixing the properties problem I had a few days ago it is now at least compiling and running within Eclpse
    However, when I export to a jar file it runs to a certain point and then just goes away with no error message!!! I've narrowed it down to the exact point where it dies but don't understand why it dies and especially gives me no errors whatsoever. It just goes away.
    It is creating an instance of a new class when it dies.
    Can someone please help me?

    Ok, well it doesn't. Anyway, I'm still having the same problems. I can run my jar file to a certain point and then the application just stops. I know this because I've put come message boxes in the application to let me know where in the app the system is.
    It always dies when it is instantiating the new class called HeidiFrame; done by:
    HeidiFrame heidiFrame = null;
    if I put code in between the above line and before the below line, this code will work fine
    heidiFrame = new HeidiFrame();
    but if I put code after the above line, nothing happens
    As I said this all worked fine until I upgraded to Java 1.5
    If you look at http://java.sun.com/javase/technologies/compatibility.jsp there are 23 compatibility issues with the new release. We're using xml stuff so that was my first problem and the code wouldn't even compiile. Once I added in libraries, the code compiled and ran beautifully.
    However, when creating my jar file so I can deploy this application , I've discovered that the jar file will only run to a certain point, as I've stated previously. So, that's my problem. Not that I can't run it from the command prompt, which I can't, but it's a gui application. I've tried changing things in the classpath file and the manifest to no avail. Nothing changes. The application starts but when it goes to instantiate the HeidiFrame class, which is the class that actually builds the gui it dies and goes bye bye.

  • My ipod won't sync and it keeps coming up with an error message saying "internal error" or it tries to get me to restore from a backup. All of my music and movies have been wiped from my ipod and the apps don't work. The backups don't work either. help.

    I plugged my ipod touch into my computer to sync it and it came up with an error message saying that it encoutered an internal error and it refused to sync.
    I then unplugged it and plugged it back in and this time it told me that I needed to restore from a backup or set it up as a new ipod. I tried to restore from a backup but it came up with the error message "Backup session failed" every time. I then looked on my ipod and all of my music and movies are gone though it still says that they are on the ipod in itunes. I decided to use the restore function and let that finish. After restoring it still doesn't allow me to sync or back up and The music and movies can still not be seen. I am currently attempting to copy the music and movies to my ipod though this did not work with my apps as they transfered but when I attempted to open them they just crash... If someone could please help me it would be great. It is driving me crazy.

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

  • DISPLAY/PRINT MY EXPENSE REPORTS UNDER TERA FAILS WITH THE ERROR MESSAGE

    Hi Techies,
    When i click on "Display/print" button under my expense report ( Employee --> Travel & expenses --> Manage Expenses (TERA) --> My trip reports), it opens up a new window with the error message "SOAP Framework error: SOAP Runtime Exception: CSoapExceptionTransport : HTTP send failed with exception communication_failure(100,101)."
    This behaviour is noticed in the new upgraded system NW 701 SP7 (portal) and backend ECC 6.0 EHP4; However it works perfectly fine with our non-upgraded system NW 70 SP10 (portal) and backend ECC 6.0.
    When i ran the trace on this functionality, i could notice that in the non-upgraded system, after pulling all the values, it calls the RFC function module "PTRM_WEB_FORM_HTML_GET"; however the upgraded system calls "PTRM_WEB_FORM_PDF_GET".
    For the "PTRM_WEB_FORM_PDF_GET", I believe we need to configure the "ADS" rfc pointing to the ADS service on a j2ee server which am not planning for.
    MY QUESTION IS:-
    IS THERE ANY OPTION TO CHANGE THE FORM BEING CALLED FROM "PTRM_WEB_FORM_PDF_GET" TO "PTRM_WEB_FORM_HTML_GET" WHICH I BELIEVE WILL RESOLVE THE PROBLEM AM FACING?
    Kindly assist with your thoughts!1
    -GK

    Read the steps on note 1032311 on how to achieve it,
    In Web Dynpro, the Parameter for Formula is Defaulted to PDF file. If
    you don't want to use the ADOBE Form in ESS, you have to follow 2 steps:
    Solution
        o  Check the Homepage framework configuration.
      In IMG (transaction SIMGH) go in Travel Management->Employee Self
    Service->Homepages Framework->Ressources
    Delete the URL parameter "sap.xss.tra.UsePdf=true" of the ressource
    "EMPLOYEE_TRAVEL_TRIPFORM_SRV05".
      Check that the field URL for PCD file is filled with
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_fol
    der/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/
    com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_trave
    l_expenses/com.sap.pct.erp.ess.tripform
      Normally if it is not filled in your client, the system should use the
    one from client 000, that is the SAP delivered customizing.
        o  Check the Portal PCD configuration
      Logon on to your SAP portal as Administrator.
      In the Content Administration - Portal content, select Content
    provided by SAP->end User Content->Employee Self Service->iViews->Travel
    and Expenses->Display Trip Form
      Right Click on Display Trip Form and Select Object->Open
      In the field Application Parameters, you will find a parameter
                                                                     Page 2
    sap.xss.tra.UsePdf=true . Delete this line completely.
    When this configuration is done, the PDF form is desactivated and the
    HTML form is used.
    This is the issue with ADOBE set up
    Firstly, I would ask you to check the customizing steps from 944221
    to ensure no issue with the ADS configuration for the pdf form.
    to review OSS note 925741 as there can be a issue with the
    platform validity and version.

  • Firefox 4.0.1 closes with no error message. When I restore the session I get: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. What can I do?

    After opening certain websites, pogo, firefox 4.0.1 closes with no error message. When I restore the session I get: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page.
    I have had this problem before and had to reinstall an earlier version of firefox.
    The error console has a long list of errors, many of them end with: does not implement nsIObserver. Is there a way to send the information on the error console to firefox support?
    Redownloading Firefox 4.0 will fix my problem until I either close firefox or turn off my computer. The problem recurs when I open firefox again.

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * https://support.mozilla.com/kb/Firefox+crashes
    It is also possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • HT1339 My ipod won't restore. It keeps coming up with an error message.

    My ipod won't restore. It keeps coming up with an error message. that says "The iPod '_____' cannot be restored because it contains files that are in use by another application." How do I fix this?
    The only thing that's open is my itunes, so i don't see how anything on my iPod can be in use by another application.
    It also does this when I try to eject it, so I end up having to just unplug it instead of ejecting it, which I know is not good.
    And if it matters, sometimes I plug in my iPod and it doesn't register on either the iPod or in iTunes that my iPod is plugged in, so sometimes I have to re-plug it in. And my iPod these days will continue to say that it's syncing even though iTunes will say it's finished.
    Please help me!

    Go to your computer's System Tray and try ejecting.  If you can't eject, there is an application that is trying to access your iPod.
    Go to http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and download ProcessExplorer.
    Go to http://support.microsoft.com/kb/555665 and follow the instructions under Resolution.
    Note that this is a good, general process any time you can't access any file.
    In my case an update to RealPlayer installed a program called RecordingManager that was accessing my iPod.

  • When trying to restore and update my ipod touch it comes up with an error message saying: "The ipod can not be restored this device isnt eligible for the requested build"

    When trying to restore and update my ipod touch it comes up with an error message saying: "The ipod can not be restored this device isnt eligible for the requested build" How do i fix this?

    I am having the same issue. I just had the battery replaced at a third party store. The battery powers the ipod up but it needs to be restored. It is saying it isn't eligible for rebuild. I am running MAC OS 10.4.11  itunes v. 9.0   and I just want it to be restored. I need help.  Oh and its an 8 gb ipod touch.

  • I have itunes set up to sync with my Ipod Touch and my Ipad.  As of today, it keeps looking for an iPhone to sync with and give me an error message.  I don't have an iPhone and don't know how to stop it from popping open with this error message.

    I have Itunes set up to sync with my Ipod touch and Ipad.  As of today, iTunes has started searching to sync with an iPhone, which I don't have and pops open with an error message stating it cannot locate the iPhone to sync.  I have looked in devices and only the iPad and iPod Touch are listed.  Any ideas on how to stop iTunes from searching for any iPhone it is never going to find? It is annoying to have it popping up all the time with the error message.  Thanks in advance for any suggestions.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • TS1814 I had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    I have had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    -Griff W.

  • My ipod 60gb classic is showing as fully charged until I connect it to my pc when it comes up with the error message, 'please wait very low battery' and the little wheel goes round and nothing happens, can anyone explain why this is and what i can do?

    My ipod 60gb classic is showing as fully charged until I connect it to my pc when it comes up with the error message, 'please wait very low battery' and the little wheel goes round and nothing happens, can anyone explain why this is and what i can do?

    I have worked my way through the assistant and nothing works. I have tried connecting in disc mode but although the screen on the ipod is showing that the device is charged and that it is in disc mode as soon as I connect it to the computer it comes up with the error message 'please wait very low battery' and stays like that until I disconnect when it appears to be OK again. I have tried on both pc and mac.
    BTW the ipod is an ipod video not classic if that makes any difference.
    Thanks

  • My iTunes won't recognize my iPod 3GS!!! HELP! I had recently updated my iTunes and now upon plugging in my iPod iTunes comes up with a error message.  Leaving me unable to sync anything! :( HELP!

    My iTunes won't recognize my iPod 3GS!!! HELP! I had recently updated my iTunes and now upon plugging in my iPod iTunes comes up with a error message.  Leaving me unable to sync anything! HELP!

    What is the exact error message you are receiving?
    B-rock

  • My Ipod dosent recognise my Ipod and comes up with an error message!!!

    hiya i need help with my Ipod nano 2GB please help.
    when i plug my ipod in it very rarely recognises it but when it does it comes up with an error message saying 'Itunes has detected an Ipod to be corrupted. You may need to restore this Ipod before it can be used with Itunes' and when i do try to restore it doesnt work.none of my songs appear so i cant take or put any songs onto my Ipod.
    please can anybody give me some info and help, i would be most appreciated.
    thanks

    Go to your computer's System Tray and try ejecting.  If you can't eject, there is an application that is trying to access your iPod.
    Go to http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and download ProcessExplorer.
    Go to http://support.microsoft.com/kb/555665 and follow the instructions under Resolution.
    Note that this is a good, general process any time you can't access any file.
    In my case an update to RealPlayer installed a program called RecordingManager that was accessing my iPod.

Maybe you are looking for

  • Bug - Error when installing Oracle Rdb Extension (7.3)

    Hi, hope I come to he right place to fill a bug report. I'm getting an error message when trying to install the Oracle Rdb Extension (7.3). Steps: 1. Download sqldeveloper 4 2. Unpack/Start sqldeveloper 3. Select from menu Help      -> Check for upda

  • Outlook Delegate Showing up in Lync even when Enterprise Voice is disabled

    Hi, we have encountered an issue in our testing phase of Lync 2013 deployment. Users are noticing after they sign into Lync for the first time they are getting messages saying "You were added as a delegate for Employee Name". These users were at some

  • File save as command

    Hi is there a way to get acrobat to retrieve data from the first form input field and then use it in the file naming convention when using the "file save as" command. is there a javascript or something to do this? In other words, I have a savable for

  • Undisplayed Physical query SQL Server 2008

    Hi, I am querrig an SQL Server 2008 database with OBIEE. But the physical query syntax isn't dispalayed in the nqQuery. I got a message seems to History unfound. Is there any way to get the physical query on database different from oracle like SQL se

  • Create tablespace issue

    Hi; I wanna learn one thing... I have oracle ebs r11i wiht 10gr2 db, and its prod instance... Issue is like this: I have one tablespace lets us call it XXX and it has datafile like xx1.dbf,xx2.dbf..... I want to delete those dbf becouse their each si