Error out from MB01 and MIGO when using BADI "INSPECTIONLOT_UPDATE"

Hi all:
We are currently implementing Quality Level with Dynamic Modification Rule using SAP Quality Management module.
We are trying to change stage level by modifying the field PRSTUFENAE of the table QDQL (Material Quality Level) using BADI: INSPECTIONLOT_UPDATE, new logic is successful for a goods receipt with a single lot if we use COMMIT WORK within BADI, but an error occurs from MB01 and MIGO when we are receiving multiple lots in same goods receipt.
Have anyone else got across something similar?
Thank you in advance,
Regards
Daniel Guillen

Hi Paul,
First of all, there is a How To Guide for RUNLOGIC implementation. It uses BAdI approach as well, but doesn't call WRITE_BACK that can change from version to version.
Second, you should be able to see that method GET_DELTA is being called under
IF D_CALC_DELTA eq abap_true and df_bw_delta eq abap_false.
D_CALC_DELTA is set to TRUE only in Method WRITE_BACK_INT; I hope you aren't using that one.
DF_BW_DELTA is taken from DM Package parameters. Can you check what you have there or put just a break-point in PACKAGE_LOGIC_1 to see what value those 2 variables have?
Hope this helps,
Gersh

Similar Messages

  • Error in WEBI report and MDXTEST  when using Dimensions in Prompt

    Hi,
    I am using BOXIR3.1 SP2, SAPBI 7.0
    I m creating a webI report (Universe is on SAP BI Query.) which include following objcets in Query section of WebI pannel:
    Business partner, Account Class, Total Arreas count.
    The Condition pane of Webi Includes Prompt on object "Account Class".
    When I run a report, I get List of values for Dimension Account Class, when I select one of available value eg: Commercial Customer,I get Following Error.
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[4EITIDWAFWLLZD2ONIAVCKD56] }  ON COLUMNS , NON EMPTY CROSSJOIN( [Z_BPATNER].[LEVEL01].MEMBERS,  { [Z_FCACTBP__0UCACC_CLAS].[Commercial Customers] }  ) ON ROWS FROM [ZFC_M07/Z_FC_M07_Q002]  failed to execute with the error Value Commercial Customers for characteristic Z_FCACTBP__0UCACC_CLAS unknown. (WIS 10901)
    I tried running same query in MDXTEST editor of BI. I got same error!!!
    Then I tried changing the MDX Query as:
    SELECT  { [Measures].[4EITIDWAFWLLZD2ONIAVCKD56] } 
    ON COLUMNS , NON EMPTY CROSSJOIN( [Z_BPATNER].[LEVEL01].MEMBERS,  { [Z_FCACTBP__0UCACC_CLAS].[COM] }  ) ON ROWS 
    FROM [ZFC_M07/Z_FC_M07_Q002]
    Then it worked Fine!!!  If you observe the change is in the value of Prompt Account Class [Z_FCACTBP__0UCACC_CLAS].[COM]
    By default Dimension object in Universe shows text value, but when I changed the MDXQuery with Key value (This is one of the value of value is for [Z_FCACTBP__0UCACC_CLAS].[Level01] object in mDX test Editor.) It works fine.
    I wonder How do i solve this problem!! List of values available in dimension cannot be changed at universe level.
    Please let me know if any solution for this exists.
    regads,
    Nisha.

    Hi Ingo,
    I am creating the prompt on the dimension "Account Class" at WebI level.
    The Technical name of this object is: [Z_FCACTBP__0UCACC_CLAS].[LEVEL01]
    Also,
    I confirmed that Index Awareness is applied on this dimension as [Z_FCACTBP__0UCACC_CLAS].[LEVEL01].[TECH_NAME].
    This Dimension has detail object called "Account Class (Key) "and "Account Class (Medium name)".
    MDXtest editor in SAP, shows me text as well as [ Level01] values:
    Eg: Account Class InfoObject has values "Commercial Customer " (This is text value)and  "[Z_FCACTBP__0UCACC_CLAS].[COM]".
    COM Refers to Commercial Customer .
    So In WebI when I use Dimension "Account Class" as prompt, I get Text value of this InfoObject which is "Commercial Customer ".
    and MDXQuery Fails. But when I modify this query in mDXTEST Editor with value as "[Z_FCACTBP__0UCACC_CLAS].[COM]", It work fine.
    I donu2019t understand the reason, since this problem is with almost 90% of Dimension object.
    When I delete this object from universe, and refresh the universe then webI works fine.
    But, if for some reason I refresh the universe again, the Dimension object as a prompt doesnu2019t work!!!
    This error occurs every time I refresh the universe.
    We are in UAT phase and soon to go Live!!  We cannot afford to delete the object every time I refresh the universe.
    Please let me know your inputs.
    regards,
    Nisha.
    Edited by: Nisha Makhija on Oct 15, 2009 4:56 PM

  • Capturing error messages from Oracle EBS APIs when using Oracle Apps Adapter

    We are using Oracle applications adapter to call Oracle EBS (both R11.5 and R12) APIs. I want to understand the best practice around error handling when using Oracle Apps Adapter to call Oracle EBS.
    Here are some observations:
    1. Most of the APIs return X_RETURN_STATUS and X_MSG_DATA containing the status and messages if any.
    2. If the MSG COUNT is 1 then X_MSG_DATA contains the message, if MSG COUNT is > 1. X_MSG_DATA is empty.
    We know that when calling the API directly from PL/SQL, we need to loop through FND_MSG_PUB to fetch all messages when there are more than 1. How do we achieve the same using Apps Adapter as Apps Adapter generates the PL/SQL block to call the API dynamically at runtime.
    In some APIs, which have table/rec types as input or output parameters, Apps Adapter generates a wrapper package to do conversion from SQL--> PL/SQL and viceversa. In this case the adapter calls the custom package generated which internally calls the API. For these APIs we were able to put the logic to loop through FND_MSG_PUB and return a concatenated string as value of X_MSG_DATA.
    But what should we do for the APIs which do NOT have a rec/table type as input or output, in which case the Apps Adapter directly calls the API and there is no intermediate custom package?
    How are others handling this?

    Please see the section "Handling Functional Errors" in the below link
    Oracle Fusion Middleware Adapter for Oracle Applications User's Guide

  • I recently upgraded to the latest version of FF and now when using a webmail client I am routinely logged out when I try to search e-mail. Why? I go to IE and it works... but, I hate IE.

    I recently upgraded to the latest version of FF and now when using a webmail client I am routinely logged out when I try to search e-mail. It works in IE, but I don't like or want to use IE.
    == This happened ==
    Every time Firefox opened
    == Today

    Unstable means it can vary in stability day by day as it can be crash prone to being stable. Features can be a work in progress for a while. The May 24 Nighty build was crash prone for a lot of testers for example.

  • When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    When I open itunes to play content I've already purchased and while attempting to view trailers for movies in the itunes store, I receive a generic error message from windows, and I'm directed to reinstall the latest version of itunes.  Not a fix.  Help?

    after perusing other subjects with playback issues: 
    this is the fix: 
    -Launch Control Panel - Double click Quicktime, If you do not see quicktime, look on the top left side of control panel and switch to classic view. This will then allow you to see Quicktime.
    -Now click the advanced tab and click on Safe Mode GDI Only, Apply, then ok.

  • MacBook Pro i5 with retina will not recognize WD Passport even though I successfully used it to transfer programs and files from my older MacBook ten days ago. It receives power from the USB, but when using Time Machine I receive the message that there is

    MacBook Pro i5 with retina will not recognize WD Passport even though I successfully used it to transfer programs and files from my older MacBook ten days ago. It receives power from the USB, but when using Time Machine I receive the message that there is not an external device connected.

    If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
    Please tell us more about the modem if the above gives you issues.

  • Hi i am from india and i am using iphone 5 but i have problem with charging last 20 % suddenly my phone switched off every day and som heating when i am using internate pls help me where i can check whether my phone waranty is valid on expire

    hi i am from india and i am using iphone 5 but i have problem with charging last 20 % suddenly my phone switched off every day and som heating when i am using internate pls help me where i can check whether my phone waranty is valid on expire

    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • Diffrent Between Goods Receipt Transaction Code MB01 and MIGO?

    Dear All
    Could anyone please tell me different between goods receipt by MB01 and MIGO.
    Should I choose MIGO or MB01.
    Thank and Best Regards,
    Thang

    Hi,
    It is better to use MIGO.
    MIGO replaces all the conventional transactions for posting goods movements, whose transaction codes start with MB*.
    You can use the transaction (MIGO) to post the following goods movements:
    - Goods receipts from external procurement
    - Goods receipts for orders
    - 'Other' goods receipts
    - Return deliveries and subsequent deliveries
    - Goods issues
    - Transfer postings and stock transfers
    - Subsequent adjustment for subcontracting
    The advantages this transaction brings
    This transaction provides many advantages over the old transaction for posting goods movements, for example:
    - You can maintain and display all the data on one screen. You can find all the information you need for an item without having to switch from screen to screen. You can just hide any detailed information you do not require.
    - When you enter goods movements, the system does not issue any messages; before you post the goods movements, you can display all the messages at once.
    - Instead of having to enter the same data every time you enter a new goods movement (for example, plant, storage location, or movement type), you enter the data you use most often only once via Settings -> Default values. The system then proposes this data every time you enter a goods movement.
    - If you do not know the exact name of the material, plant, or storage location, you just enter part of the number or a description. The system then searches for and proposes the complete term for you.
    How the screen is structured
    The screen is split into three areas:
    - Overview tree
    You can show and hide this area via the Overview on/off pushbutton. The overview screen displays the last ten documents for orders, reservations, material documents or held data. You thereby always have an overview of the last activities you carried out.
    - Header data
    You can show and hide this area via the Open/close header data pushbutton.
    - Detail data
    You can show this area by clicking on the item for which you want to display detail data in the Line column of the item overview. You can hide the detail data again by choosing Close detail data.
    Each time you call up the transaction, the screen is displayed as it was configured the last time you used it.

  • No audio from ipad2 to TV when using HDMI

    No audio from ipad2 to TV when using HDMI

    Hi
    I'm having exactly the same problem.
    I have 2009 macpro
    I worked out I can get visual from HDMI 3 and no picture.
    Sound comes though PC1
    Did you fix the problems?

  • After upgrading to 10.3.1 I get error -50 on startup and 1008 when I try to sign in to the store

    After upgrading to iTunes 10.3.1 I get error -50 on startup and 1008 when I try to sign in to the Store. How do I fix this?

    I got the solution from another post...
    use the Finder to navigate to /library/preferences/SystemConfiguration and delete NetworkInterfaces.plist ( you will be prompted for username and password), then reboot. You will get a message about new network interface found--just reset the network info.
    That did it for me.

  • I updated an iPod touch, an iPad 2, and an iPhone 4 to iOS 6, and all of them now will not connect to WiFi. They all give this wierd 404 error page from Apple and insist that I need to login to the network. Bad job testing the software Apple.

    I updated an iPod touch, an iPad 2, and an iPhone 4 to iOS 6, and all of them now will not connect to WiFi. They all give this wierd 404 error page from Apple and insist that I need to login to the network. What's the fix? None of the recommended fixes work in any of these devices. Reset device, reset network, renew lease, etc. None of them work.

    Does the iPod work OK?
    Does it charge when connect to the computer?
    Does it appear in My Computer?
    Look at the dock connector on the iPod. Compare with the iPod that does work/connect.
    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1
    http://support.apple.com/kb/HT1353#iPod_touch_late2009
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • I need to have audio out from HDMI and headphone jack simultaneously

    I need to have audio out from HDMI and headphone jack simultaneously.
    I seem to be able to select one or the other, but not both ? !
    Thanks

    No. You can only use one sound output:
    Why can't I select HDMI audio on my Mac mini?
    If you connect an HDMI display or television to a Mac mini (Mid 2010 or later), you might not be able to select the HDMI audio device (in System Preferences > Sound > Output). This can happen if you also have headphones plugged in to the computer. Unplug the headphones to be able to select HDMI audio.
    Mac computers: Frequently asked questions about using HDMI

  • HT1390 I just rented a movie on itunes but I don't know how to make it play.  I clicked out of itunes and now when I go back into itunes, I don't see a way to play the movie I just downloaded.  Help.

    I am a new at this.  I just rented and downloaded a movie, clicked out of iturnes and now when I go back into itunes, I don't see a way to play the movie that I just downloaded ten minutes ago.  I just want to watch it on my laptop.
    Help.

    Welcome to the Apple Community Vane_paranormal.
    If you rent a movie on your phone, you have to watch it on your phone, likewise if you rent it from the Apple TV you will have to watch it there.
    If you want to watch a rental on multiple devices, rent it from a computer.

  • My iPod touch is having a little issue with the volume. When I plug in my headphones the volume works fine. When there aren't any headphones plugged in, no sound comes out from my iPod. When I go to turn up the volume, it still says headphones. Any tips?

    My iPod touch is having a little issue with the volume. When I plug in my headphones the volume works fine. When there aren't any headphones plugged in, no sound comes out from my iPod. When I go to turn up the volume, it still says headphones. I tried restarting it a few times, nothing worked. I looked up many tutorials, and still nothing did the trick. Any tips?

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Why cant I send emails, or open folders, from my Outlook email when using ipad. My Outlook is functioning normally when accessed from laptop.

    Why am I unable to send emails or open folders from my Outlook email when using my iPad?  My Outlook is functioning normally when accessed from my laptop.  This problem has been going on for three days now - everything was functioning normally before. I have looked at the standard troubleshooting suggestions provided by Apple, but they do not appear to cover this eventuality.  I should be most grateful for any help.

    Try first to Clear your cache from : Tools > Options > Advanced > Network, Clear Now button.
    if the above is not helpful, [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles create a new profile] and check it again.
    if you create the new profile see: [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles#w_recovering-information-from-an-old-profile Recovering information from an old profile]
    thank you

Maybe you are looking for

  • TDS Business place & Secotion code issue

    hai, In FB60 we are making entry with TDS. Here business place and section code is required to fillup. If it is not maintained at the time of posting, then there will be a problem in Remittance challan creation. If we call the document which was not

  • Use of Hints in performance tuning

    Hi Please let me know actual usage of hints in query tunging, how do we write hints of increase performnace. let me know below query will gives better performnce. if hints are not use query will degrade performance. SELECT /*+ ORDERED INDEX (b, jl_br

  • Got my first BB today, is there a app that can monitor data usage?

    Hi, I am a little nervous, my first smartphone, BB 9650...and I am feeling really dumb. But I am chugging along. I have the $15 plan, only really using for email, txt....is there a app that can give me a warning if I am getting close to my 150mg limi

  • Can the delimiter in a CFSELECT-multiple be changed before using the list it creates?

    I am using a CFSELECT which allows multiple selections, and I am feeding the results into a query which returns information about all of the selections. However, some of the values being returned contain commas because the values are company names (A

  • How do I wrap a path around a part of another path?

    I want to weave a line (using a brush that looks like a chain) around another path but I don't know how to move just portions of the line below the path while keeping other portions above it.