'BAPI_PO_CREATE' still accepts unsupported UOM and still creates PO...

Hello Experts,
Suppose material A has defined UOM of 'EA' and 'VC' and when I try to use the said BAPI in
my program and lets say I put in 'KG' in parameter POITEM-PO_UNIT, instead of displaying error
message that 'KG' is not supported for material A it somehow converts it to 'CV'. I find it
very weird.

Hi Ravi,
I tried doing it via ME21N and there it displays an error message saying that UOM(KG) is not supported. In my BAPI, there are no error message saying that the UOM is not supported. Instead, it still creates the PO but it somehow converts it to the PO UOM(CV). Below is my code:
MOVE: <fs_details>-f_uom TO lw_poitem-po_unit,
              lc_x               TO lw_poitemx-po_unit.
        CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
          EXPORTING
            input          = lw_poitem-po_unit
            language       = sy-langu
          IMPORTING
            output         = lw_poitem-po_unit
          EXCEPTIONS
            unit_not_found = 1
            OTHERS         = 2.
        IF sy-subrc <> 0.
*          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
I do not think it is functional issue since they both dont have the same error message.

Similar Messages

  • The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    The answer helped me.But still, what are the settings that I have to change for the behavior of the mouse pointer towards finder? Also the mouse pointer sometimes  doesn't accept my command and start clicking itself.what is the problem and how to fix it?

    If the mouse clicks something on its own then it looks like you have a hardware problem with the trackpad or possibly the battery that is right underneath the trackpad.
    I have read that the battery can swell and that would put pressure on the trackpad.

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • Can I still create new sites in iweb and publish them to mobile me?

    Can I still create new sites in iweb and publish them to mobile me? Also Can the sites not contain movies or photos, or just not a full gallery?

    You can have as many sites and domain names on a single MMe account. However, only one site can use the CNAME domain name forwarding while the others must use URL forwarding.
    Multiple Sites with Domain Name(s) in a Single MobileMe Account
    Here's how to have multiple sites in a single MMe account with one or more sites having a domain name.
    A. All sites are in the same Domain.sites2 files
    1 - only one site can use the CNAME method of domain name forwarding and it must the top site in the left hand pane of iWeb.
    Click to view full size
    2 - the other sites must use URL domain name forwarding which directs the domain name to the site's full MMe URL, http://web.me.com/MMeUsername/SiteName, or, if there is no domain name, just MobileMe's full URL.
    B. Each site is in its own Domain.sites2 file.
    Again, only one site can use CNAME forwarding. This presents a problem since CNAME forwarding directs the domain name to the basic MMe account URL: http://web.me.com/MMe_Username/ which uses an index.html file in the root folder of the account, iDisk/Web/Sites. Each time a new site is published or an existing site uses the File->Publish Entire Site a new index.html file is created in that root directory, iDisk/Web/Sites folder, directing the browser to that particular site. This file is what the CNAME method uses to find the site it represents.
    Therefore some steps must be taken to assure that the index.html file in the MMe Accounts root directory always points to the correct site. This can be accomplished is three ways.
    1 - don't use the CNAME method. Just use URL forwarding . This, IMO, is the simplest method as it doesn't requre any additional effort on the user once the domain name has been set up.
    2 - use the following method suggested by Wyodor in this topic: Is it possible to have multiple sites when using ur Domain name?
    In iWeb domainfile 1:
    Create a dummy site : _dummy
    with a blank page.
    Create your working site : Whatever
    Add pages
    Publish both Sites to the same same location on the same server.
    Your _dummy site is now the default Site.
    Check.
    In iWeb domainfile 2:
    Create/Use your CurrentSite.
    Move a page to the top of the Site and back. Publish the Site.
    iWeb will create a new index.html file in the root of the server and from now on CurrentSite is the default site.
    Check.
    From now on, never move your Whatever Site to the top of the list in the iWeb sidebar and never change the page in the _dummy site.
    Simply do not touch your _dummy ever again. And never forget that.
    3 - use Ethmoid's suggested method in Using two sites - setting one up with separate domain? or republishing the entire site that uses CNAME forwarding. Just making a minor change and publishing the site changes does not create a new index.html file.
    The entire site must be republsihing in order to get that new site.
    Or keep a copy of the CNAME site's index.html file on your Mac and replace it manually in the iDisk/Web/Sites fodler when necessary.
    NOTE: the CNAME method provides a shorter URL: http://www.DomainName.com/Site_Name/PageName. CNAME does not have masking.
    The URL forwarding displays the full MMe URL:
    http://web.me.com/MMeUsername/Domain_Name/PageName.
    With domain name masking that will be shortened to:
    http://www.Domain_Name.com for every page of your site.
    However, visitors will only be able to bookmark and enter at the first page of the site. If a page is refreshed the visitor is taken back to the first page. Also search engines will only be able to index the first page of the site.

  • TS2755 When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    When trying to open my mail, it opens then closes immediately, I've deleted the account and re-created it 3 times and also done a reset but still not working, help please

    Try closing all apps in Multitask Window
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • I updated to Lion, and all of my events show up, but I cannot "add invitees" to any event. I can accept/reject invites, but cannot create them myself.

    Help!  updated to Lion, and all of my events show up, but I cannot "add invitees" to any event. I can accept/reject invites, but cannot create them myself.

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • A Sales Order is Already Completed But Still Creating PR Thru MRP

    The item is already delivered, but the MRP still creating PR for that item.
    When deleting the PR, our MRP will run again and create new PR.
    How can I stop the MRP in creating new PR for that item?
    Please help.
    Thanks,

    1.In running MD04, it display the Sales Order,Delivery No. and the PR generates from MRP.
    2.This is the Sales Order for the said item.
    3.Here's the assigned PR for the Sales Order
    4. Here's the assigned PR for those items.
    5.Here's the generated PR from MRP (see the reference PR No. in no.1)
    Thanks!

  • I have an appl ID do I still create an iTunes password

    I have an apple ID do I still create an iTunes password

    Why has this question from April not been answered?! I just bought an iPad Mini and can't authorise my Adobe ID. I am trying to download books from my local public library through OverDrive, which I have been doing for years on my PC and my iPad but it's not working on my brand new Mini. When I click on a book that I've 'checked out' in my Bookshelf (in the 'library') it opens up the Adobe Authorisation window, which says, 'To use this eBook you must first authorize this application with an Adobe ID.' I enter my email address and password, click on Authorize. Then I get a pop up message that says: 'Adobe ID. This Adobe ID is synced to OverDrive. Would you like to log in to OverDrive and restore this activation? No/Yes.' When I click on Yes it takes me to an OverDrive window, asking me to 'Sign in to your OverDrive account'. I log in via Facebook, it opens up the Personal details page of Account Settings. I click Save, then it says 'Your account settings have been updated.' Then nothing else happens. When I go back into my OverDrive Bookshelf I have to do the whole process over again. Obviously the Adobe ID is not authorising somewhere along the line.

  • How do i add photos to the photo array when creating a book using iphoto 8.1.2?  the book doesn't accept the albums and foldlers i drag and drop.

    how do i add photos to the photo array when creating a book using iphoto 8.1.2?  the book doesn't accept the albums and foldlers i drag and drop.

    I'd suggest you ask this question in the iPhoto forums:
    iPhoto
    Posting here is unnecessarily limiting the people who'll see your question to those running iMacs.
    Regards.

  • How to create a new UoM and assigning it to characteristic?

    Hi,
    How to create a new UoM and assigning it to characteristic?
    i want to enter cost ( in rupees and laks) against a counter
    but for that counter charecteristic required and for taht charecteristic unit of measure Rs and Laks are not defined in the system.
    So please help me ....

    Hi,
    Use T Code CUNI
    Enter  Unit of Measurement as RS and Text as Ruppes
    Commercial and Technical Display is same as RS
    Numerator is 1
    Denominator 1
    Exponent 0
    Save
    Thanks
    Raj

  • A script to accept dafault tablespace and tempspace at runtime create users

    I need to write a script to accept default tablespace and temporary tablespace , then create the users in that tablespace. Please see the example but some how it is not working....
    prompt Specify user's default tablespace
    prompt Using &&default_tablespace for the default tablespace
    prompt Specify user's temporary tablespace
    prompt Using &&temporary_tablespace for the temporary tablespace
    create user test identified by test default tablespace &&default_tablespace temporary tablespace &&temporary_tablespace ;
    grant connect , resource to test;
    Please help me in identifying the errors
    Thanks in advance...
    Message was edited by:
    mvarier

    some how it is not workingHow ? Doesn't the user get created ? Do you get errors ? which errors ?
    (It worked to me)

  • Is iCloud 2 for Outlook work with standart Outlook calendar or still creating alternative one?

    Hello
    Trying to use iCloud with MS Outlook. Facing problem: use of secondary calendras is extremely unconvenient (invitations and reminders can't be saved to iCloud calendar, by pressing "Accept" the event is being created in default Outlook calendar, which I didn't find the way to synchronise with iCloud. Same troubles with default Contacts - they are different from iCloud storage. Upgraded to iCloud 2.0 but didn't find the way to change situation.
    Please advice
    Thanks in advance
    Garry

    Same problem here. Just set up icloud to sync calenders to Ouloook 2010 and I now have multiple calenders including a conflicts calendar which just seems to duplicate everything, but the crucial 'default' calendar is now empty. Tried various things copying calendars around but no joy and can't see any documentation in Outlook or iCloud

  • In the second leg STO GR and IR created withought doing Goods issue

    Hi Guru's
    Please can any one tell us user is created second leg STO withought doing good issue and Intercompany invoice, but he has been done GR and IR it is causing problem in MR11 report still outstanding.
    i asked user to do GR cancelation or reversal, it is not possible because stocks released to QA. and GR and IR created with ref to PO

    Hi,
    We can not cancel GRN once it is released form QA or UD is made.

  • In the second leg STO GR and IR created without doing Goods issue and IV

    Hi Guru's
    Please can anyone tell us user is created second leg STO without doing good issue and Intercompany invoice, but he has been done GR and IR it is causing problem in MR11 report still outstanding.
    i asked user to do GR cancelation or reversal, it is not possible because stocks released to QA. and GR and IR created with ref to PO

    Hi,
    We can not cancel GRN once it is released form QA or UD is made.

  • What is the impact of destroying and re-creating from scratch the Open Directory Master?

    In order to try and solve some nasty issues hat I have since upgrading to OS X Server 3,0 I am considering completely destroying my OD Master and re-creating the users and groups from scratch. Before doing so (of course I will have multiple backups) I would like to understand:
    1.   When re-creating the users and groups is it sufficient to use the same ‘Unix’ groupid and userid numbers or do I also need to use the original GeneratedUIDs (is that even possible)? Are there any other aspects of the users/groups that I need to be sure to preserve?
    2.   Will there be any impact to services and their data from doing this? Specifically, I have users with data in Mail, Calendar, Contacts and the WiKi. Will they still be able to access their data after the OD destroy/re-create or is that data somehow tied to more than just the username (e.g. does it use the user/group UUID or indeed any other UUID from OD)?
    3.   Will there be any impact to OS X clients bound to the OD? Should I unbind them before destroying and re-bind them afterwards? Will there be any negative impact on the network users who log in via these systems (they all have ‘mobile’ accounts which do *not* sync to the server - all their data is local to the client)?
    Thanks in advance for any advice especially from anyone who has gone through this process.
    Chris

    Hi Rob,
    I have solevd my issue and I did not need to destroy / re-create the Open Directory. See my post here https://discussions.apple.com/thread/5785838 for all the gory details. The long and the short of it was that my problems all came from a point in the past when I changed the hostname of my server after I had created the Open Directory master. Seems like that is a very bad idea! Based on what I found it seems liek any small flaw in DNS forward and reverse name resolution can also cause similar issues. I don't knwo if either of thsoe may apply to your situation?
    As part of troubleshooting my issue I actually created a 'replica' of my server setup on another machine includingthe OD and associated users and groups. What I found was that many services (certainly mail, calendar and contacts) depend completely on the OD users and groups UUIDS. So if you wish to preserve user's data across an OD destroy and re-create it is vital that you carefully note for each group its Unix GID and its OD UUID and for each user their Unix uid, primary group id and UUID. When you are re-creating your OD master, as you create each group, use Directory editor to change its UUID to the original value. Similarly for Users. If you don't then users will no longer have access to any existign Mail, Contacts or Calendar data afterwards!
    HTH,
    Chris

Maybe you are looking for

  • Pre-post / parked document in outgoing payment posting

    Hi Experts, could any of You, please confirm, if possible to create pre-posted / parked document for outgoing payment? We use F-53 / FBZ2 for this action, but sometimes takes a long time to select all items related to a bank payment note. The user wa

  • How to create RFC Destination Between ECC 6.0 and BI 7.0

    HI, My name is balu working in gucons,i was trying to create RFC between ECC 6.0 and BI 7.0,i have tried with the help of some documents but iam unable to do that,Iam very helpfull if you give a clear description regarding this problem. Thank you, Re

  • Accessing "changing parametes " from JCo

    Hi all,      I would like to access a RFC having "changing" parameters (eg EMPLOYEE_READ_APPLICANTNUMBER). How do I do it? How do I build a custom repository metadata for such a RFC?? when I check the RFC library there the new function RFCCallRecieve

  • Can't find out Shockwave Flash to uninstall it

    Even though it doesn't show up in the list of programs available to remove in my control panel, we keep getting the message that our Shockwave Flash has crashed. All we show is Adobe Flash Player 11 Active X and Adobe Flash Play11 Plugin. Where do I

  • Measurement Point Synchronisation

    I am not getting Measurement Points on the Mobile Device. I have read several of the threads related to the replication of Measurement Points but have been unable to find the answer to my problem: I have run the Function MAM30_041 in the backend R/3