Issue with BAPI_ALM_ORDER_MAINTAIN for Operation creation in Production ord

Hi All,
I'm trying to use BAPI_ALM_ORDER_MAINTAIN to add missing workcenter in production order. Its resulting in dump.
Following is the data I'm providing:
IT_METHODS
REFNUMBER = 000001
OBJECTTYPE = OPERATION
METHOD = CREATE
OBJECTKEY = order number + VORNR (op no. which I want to add)
IT_HEADER
ORDERID = order number
IT_OPERATION
All data relevant to the to be added workcenter
When I execute, exception NOT FOUND is getting raised.
Details of exceptiion:
'Exception condition "NOT_FOUND" raised.'
Function Module : CO_BT_AFVG_READ_WITH_LOGKEY
Has anyone faced similar scenarios ? How do I fix this issue.
Regards,
Shiva
Edited by: Shivanand Patil on Sep 9, 2009 2:29 PM

Hi,
I'm getting a short dump generated with NOT_FOUND exception being raised. I got one Sap Note 599388 which has the same description as the issue i'm facing. But this note applies to 4.6c version and we are already on ECC 5.0 , so all the changes of this note are already applied. But still i'm getting the same problem.
Does anyone figure out the solution ?
Regards,
Shiva

Similar Messages

  • Photoshop batch production - issues with 'save for web'

    Hi,
    I'm having an issue with 'save for web' on a batch. I've just spent the last 2 hours searching the web and this forum and although the issue gets touched upon, the threads either suddenly head off in another direction, end, or i just struggle to make sense of the answers given.
    I have 350 images that i want to resize to thumbnails and then save for web. 2 hours ago this seemed like a 5 minute job.
    I creat an action called 'batch_thumbnail' and press 'Record'.
    I then select 'File' > 'Open' and select an image to open using the dialog box.
    I then select 'Image' > 'Image Size' and resize the image to the thumbnail size (200 x 125) and press 'OK'.
    I then select 'File' > 'Save for Web and Devices', set my optimisation settings and press 'save'.
    Using the dialog box that pops up, i navigate to a pre-created directory called 'thumbs' and press 'save'.
    I then select 'File' > 'Close' and on the dialog box that pops up i select 'Don't Save'.
    I then stop the action from recording.
    So far so good.
    I then select 'File' > 'Automate' > 'Batch...' and the dialog box appears.
    I select my action in the 'Action' drop down menu.
    In 'Source' i set the drop down menu to 'Folder', select 'Choose' and select the target directory with my 350 images in.
    In 'Destination' i set the drop down menu to 'Folder', select 'Choose' and select the target directory (thumbs), where i wish to save the thumbs.
    In 'File Naming' i leave the first box as 'document name', set the second to '_thumb' and have the third as 'extension'.
    I then click 'OK'.
    And this is where the problem begins. Everything works fine till it trys to save the second image. I can see what's happening, as the directory path and image name that are used whilst setting up the SFW part of the action, are getting hardcoded into the action. So every resulting image is being saved as the same file, instead of being overriden by the settings in 'File Naming'.
    I've tried selecting 'Override action 'Save' command', but it doesn't make any difference. Is it actually possible to batch produce files using 'Save for Web and Devices'?
    Cheers,
    James

    I have written a couple of Save For Web batch processors, they may be of use to you?
    They can both resize and run an action if required.
    CS2-CS3 http://www.ps-scripts.com/bb/viewtopic.php?t=2374
    CS4 http://www.ps-scripts.com/bb/viewtopic.php?t=2276 (This handles metadata)

  • Issues with nested for loops - saving images from a camera

    Hi all,
    I've written a vi. to capture a specific number of images ('Image No') and save these images, outputted to a folder of my choice.  Each image is identified sequentially.  However, I wish to do a number of iterations ('Run') of this capture sequence, such that the filename of each image would be 'Filename (Run)_(Image No).png', e.g. run 5, image 10 would be 'Filename 5_10.png'.  I have tried a nested for loop for this but I receive an error 'Asynchronous I/O operation in progress' (I've attached a printscreen).
    Can anyone assist me in solving this problem? I preiously posted this in machine Vision but got no response (http://forums.ni.com/t5/Machine-Vision/Capturing-image-sequences-issues-with-nested-for-loops/m-p/19...).  Please find attached my vi.
    Kindest regards and thanks,
    Miika
    Solved!
    Go to Solution.
    Attachments:
    Labview problem.jpg ‏3841 KB
    Image sequence save to file.vi ‏48 KB

    Miika,
    the problem is not the filenam, but the name of the folder (AHHHHH!). You try to create the same folder in the outer for loop over and over again.... (it is the error message above the '======', not below )
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    Click here for the instructions on stopping the emails.
    (85713)

  • "Possible precedence issue with control flow operator"

    Hi guys
    I have following Problem:
    Yesterday I made a distribution update from debian wheezy to debian jessie.
    Since then I got a problem with a plugin which I'm using for Icinga a monitoring system.
    When I run it, I got the error that there is an "Undefined subroutine".
    I read on google that I can fix it, with reinstalling the vsphere SDK, but the installation stuck at "CPAN is downloading and installing pre-requisite Perl module "SOAP::Lite"".
    I can skip this step with Ctrl+C and at the end it says "This installer has successfully installed...".
    But when I run the Plugin I get the error message "Possible precedence issue with control flow operator at /usr/share/perl/5.20/VMware/VICommon.pm line 2147." and the whole plugin stucks.
    I tried the following step which I found in this forum and the error message doesn't appear, but the plugin still stucks...
    Re: VMware-vSphere-Perl-SDK-5.5.0-1384587 broken with perl 5.20
    I have also Perl 5.20.2...
    Can you guys help me?
    Vinzenz

    Ok I could fix it...
    I changed the line 2147 to
    return (defined $user_agent->cookie_jar and
                      $user_agent->cookie_jar->as_string ne '');
    And this time I waited for a long time and I get a error message that there is a problem with SOAP.
    The solution was to downgrade Net-HTTP and libwww-perl with following commands:
    perl -MCPAN -e shell
    o conf urllist push http://backpan.perl.org
    install GAAS/Net-HTTP-6.03.tar.gz
    install GAAS/libwww-perl-6.03-tar.gz
    The second Command loads older releases to the urllist.
    Thx for your help and I hope I could help others with the same problem.
    Vinzenz

  • Issue with authorizations for BPS

    Hi Experts,
    There was an issue with authorizations for BPS. We have a large number of agents that need to enter plan data via a layout. In order to control the necessary authorizations, we would like to filter via something similar to a user exit using a function module in order to avoid having to define authorization objects for each of the agents who have access to the systems. Right now, we are not sure if there is user exit concept available as it is for BW variables. Any body experienced similar issue may share their experience.
    Regards,
    Ankit

    Hi,
    In BPS, you can use user specific variables or you can set up a Variable of type exit. You can also have a variable of type authorization which uses the security / authorization of the BW system.
    Hope it helps...
    Cheers,
    Tanish

  • BAPI for operation change in production order?

    Hi there,
    I want to change operation data in a production order and I can only find this BAPI:
    BAPI_ALM_ORDER_MAINTAIN
    Can this BAPI also be used for changing an production order? Because in the documentation of the BAPI this function isn't really mentioned...
    Can you give me some hints or the name of another BAPI doing this task?
    Kind regards
    Max

    yep it can be used for that, the documentation for this bapi is ( very unusual for bapis I know ) available
    call the bapi in se37. goto -> documentation
    I don't have an example for changing orders and operations but I use it to copy serviceorders (only difference between serviceorder and production order is that you can enter a customer at serviceorders)
    which are quite extensive with lot of operations and components and functional locations
    here my example for creation. for change I believe you also have to fill the UP structures accordingly to what you want to update
    kind regards
    arthur
    gs_meth-refnumber  = 1.
      gs_meth-objecttype = 'HEADER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid .
      append gs_meth to gt_meth.
      move-corresponding gs_meth to gs_ext.
      gs_meth-refnumber  = 1 .
      gs_meth-objecttype = 'PARTNER'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
      h_refnumber = 1.
      loop at gt_operations_i into gs_operations_i.
        concatenate c_init_ordid gs_operations_i-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OPERATION'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
        add 1 to h_refnumber.
      endloop.
      clear h_refnumber.
      loop at gt_components_i into gs_components_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'COMPONENT'.
        gs_meth-method     = 'CREATE'.
        concatenate c_init_ordid
                    gs_components_i-activity
                    gs_components_i-item_number
        into gs_meth-objectkey.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
      loop at gt_texts into gs_texts.
        add 1 to h_refnumber.
        concatenate c_init_ordid gs_texts-activity into gv_so_operation.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'TEXT'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = gv_so_operation.
        append gs_meth to gt_meth.
      endloop.
    * gebruikte objecten cq functieplaatsen
      clear h_refnumber.
      loop at gt_objectlist_i into gs_objectlist_i.
        add 1 to h_refnumber.
        gs_meth-refnumber  = h_refnumber.
        gs_meth-objecttype = 'OBJECTLIST'.
        gs_meth-method     = 'CREATE'.
        gs_meth-objectkey  = c_init_ordid.
        append gs_meth to gt_meth.
      endloop.
      clear h_refnumber.
    if p_objrel = 'X' and gt_relation_i is not initial.
    * koppeling functieplaats met operatie
    * kunnen geen meervoudige koppelingen gemaakt worden in BAPI
    * dus hier 1 koppeling maken en na BAPI de rest aanleggen
      read table gt_relation_i into gs_relation_i index 1.
      add 1 to h_refnumber.
      gs_meth-refnumber  = h_refnumber.
      gs_meth-objecttype = 'OLISTRELATION'.
      gs_meth-method     = 'CREATE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    endif.
      gs_meth-refnumber  = c_init_ordid.
      gs_meth-objecttype = space.
      gs_meth-method     = 'SAVE'.
      gs_meth-objectkey  = c_init_ordid.
      append gs_meth to gt_meth.
    * BAPI-call
      refresh: gt_ret, gt_numbers.
      clear:   gt_ret, gt_numbers.
      call function 'BAPI_ALM_ORDER_MAINTAIN'
        destination 'NONE'                       " --> Zie note 770626 !
        tables
          it_methods             = gt_meth
          it_header              = gt_header_i
    *       IT_HEADER_UP           =
    *       IT_HEADER_SRV          =
    *       IT_HEADER_SRV_UP       =
    *       IT_USERSTATUS          =
          it_partner             = gt_partner_i
    *       IT_PARTNER_UP          =
          it_operation           = gt_operations_i
    *       IT_OPERATION_UP        =
    *       IT_RELATION            =
    *       IT_RELATION_UP         =
          it_component           = gt_components_i
    *       IT_COMPONENT_UP        =
          it_objectlist           = gt_objectlist_i
          it_olist_relation       = gt_relation_i
          it_text                = gt_texts
          it_text_lines          = gt_text_lines
          extension_in           = gt_ext
          return                 = gt_ret
          et_numbers             = gt_numbers.
      call function 'BAPI_TRANSACTION_COMMIT'
        destination 'NONE'
        exporting
          wait          = 'X'
    *         IMPORTING
    *           RETURN        =
    *   Zie note 770626 ...
      call function 'RFC_CONNECTION_CLOSE'
        exporting
          destination                = 'NONE'
    *       TASKNAME                   =
        exceptions
          destination_not_open       = 1
          others                     = 2
    Edited by: A. de Smidt on Feb 26, 2009 5:20 PM

  • Reg:Bapi for mass creation of production order/confirmation

    Dear Experts,
    I wanted to know with the following BAPI is it possible to create Multiple production orders for different semifinshed Materials along with material availability check and other functions similar to CO01 transaction.
    I knew there are standard transactions for mass confirmation for production orders. But i need a confirmation on this BAPI . As i am planning to go-ahed with ,mass creation of production order creation / Order confirmation in single custom transaction.Need back flush activity even supported.
    BAPI_PRODORD_CREATE to create the orders.
    BAPI_PRODORD_RELEASE to release the orders.
    BAPI_PRODORDCONF_GET_TT_PROP to get the default data for the confirmation.
    BAPI_PRODORDCONF_CREATE_TT to ost the confirmation of production order.
    Along with this BAPI do i need to commit any other BAPI to carry out back flush for components.
    Need your suggestions to take it further.
    Regards,
    Daya.

    Dear SAP Daya
    If the issue has been solved, please close this thread.
    You have already mentioned that the issue has been resolved, thefore, you should not ask for help on another thread before closing this one, as it looks like you are trying to force people to answer your threads.
    Users are always trying to answer as many threads as possible on good will we don't need this kind of "incentive".
    Please read carefully the The SCN Rules of Engagement, especially point 8:
    Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily
    Also, I checked your old threads and I could observe that there is only one closed. Please review your old threads and close those already solved.
    BR
    Caetano

  • Having issues with Flash in Opera

    I have been having issues getting videos to work in my browser. I use Opera and it will not load anything Flash related. It gives me an error telling me to install the latest version of flash despite the fact that i have the latest version. If i load IE it loads videos with no issues. I have tried searching to find an answer to this issue with no succes. Seems like it may be a problem with Opera but i cant find anything related. I run AVG antivirus and the scan is clean. I also ran Malwarebytes which came up clean as well so i dont believe it to be a virus or anything of the sort. Any help would be appreciated.

    Download flash plugin for Opera:
    http://www.adobe.com/go/full_flashplayer_win

  • Browser usually crashes whenever I want to upload a Word or PDF file? is that an OS issue or compatible issue with Word for Mac

    A lot of times I would have to reset Safari while I do this and then it might work afterwards, I just find it annoying and time consuming, sometimes I might have to reboot my machine as well. Not sure whether it's an OS issue or an issue with Word that the system doesn't like word too much. I get the spinning ball and I have to do a hard force quit using my keyboard in order to stop the browser when it stops responding, then go ahead and reset safari like I stated previously.

    I have tried Opera, which is somewhat better but it crashes if I have to look for the file within the system like with Safari, it will by default look on the desktop, if I try to change it to documents for example that's when it can go crazy, with Opera it will by default open in documents but say if I wanted to change it to desktop to look for the file, it can go loopy. Looks like it either the browser or OS doesn't like changing different folders to upload files.
    How's Firefox on a Mac? is it better than on Windows?

  • Send Issues with Outlook for Mac (2011 / V15) and Exchange 2013 SP1

    Hi all,
    we have a strange issue with only with Outlook for Mac Users (version 2011 and the newest Outlook Version (V15) from Office 365) connected to our Exchange Server 2013 SP1. Some emails which we send out to the exactly same recipient are not sent through our
    Exchange Server. 
    We have sent 8 emails with subject "test1, test2, test3...". Only test 3-6 was arriving to the recipient. The other emails are in the "sent" folder but it was not sent out through the Exchange.
    What we can see with "Get-MessageTrackingLog" is, that the Recipients and MessageSubject are empty for these emails:
    Timestamp Sender Recipients MessageSubject
    25.02.2015 16:48:52 [email protected].. {}
    25.02.2015 17:04:43 [email protected].. {}
    25.02.2015 17:08:25 [email protected].. {[email protected]} test 3
    25.02.2015 17:08:56 [email protected].. {[email protected]} test 4
    25.02.2015 17:09:38 [email protected].. {[email protected]} test 5
    25.02.2015 17:09:38 [email protected].. {[email protected]} test 6
    25.02.2015 17:13:45 [email protected].. {}
    25.02.2015 17:13:55 [email protected].. {}
    We can still reproduce the issue on different Mac computers.
    Thanks for any help in advance!
    Thanks and best regards
    Reto

    Here is the mailheader form the successfully sent email:
    Date: Wed, 25 Feb 2015 17:08:25 +0100
    Subject: test 3
    From: sender <[email protected]>
    To: "'[email protected]'" <[email protected]>
    This mailheader is from an email which was not sent out:
    User-Agent: Microsoft-MacOutlook/15.6.0.150113
    Date: Wed, 25 Feb 2015 16:48:52 +0100
    Subject: test 1
    From: sender <[email protected]>
    To: [email protected] <[email protected]>
    Interesting: Only the not received messages contains User-Agent string and have some quotation marks missing in the To field.

  • Peformance issue with iSetup for loading fnd_flex_value_norm_hierarchy recs

    Hi
    The customer site where I am working in currently has implemented isetup to load data from Hyperion DRM to Oracle GL. They are currently on 11i.AZ.F patch level.
    The customer has constantly had problems in two areas with iSetup -
    1. iSetup has a limitation that all existing children records plus new ones being added have to sent in the XML file provided as input to iSetup. For eg. one parent ENTXXX might have 15000 children records i.e records in FND_FLEX_VALUE_NORM_HIERARCHY. Now when 2 children are removed from this parent in Hyperion DRM and these two records sent to Oracle iSetup for getting deleted from the parent, the current implementation stipulates that iSetup requires in the XML input file the remaining 14998 records. Thats how it knows to remove the two nodes. This is a huge performance issue.
    They are looking at loading into iSetup only the two deleted nodes with an action code of DELETE and let iSetup handle this rather than having to provide the entire list of children less the removed nodes for iSetup.
    2. Can we load using the final xml file directly by calling any Java class/process directly rather than going through iSetup Loader Concurrent Request?
    3. Is there any documentation on how to use the isetup Java classes?
    Will upgrading to 11i.AZ.H patch level solve any of the above concerns/issues?
    Regards,
    Richard

    #1. I guess, you are referring to the problems that you are encountering while loading GL COA. You may log SR against GL to know more details on how API loads data to instance. DELETE is a specific requirement in your case and I would suggest you to work with GL team and they may provide some solution or workaround to overcome this performance issue.
    #2. No, concurrent program does good amount of pre-processing that you would not get if you directly call the java classes.
    #3. Not sure, what you are exactly looking at. Are you looking for user guide to write your own iSetup API classes?
    11i.AZ.H has got good amount of performances fixes overall and it is recommended release on top of 11.5.10.2CU. I would suggest you to upgrade to 11i.AZ.H.
    Specific to GL COA issue, I don't think 11i.AZ.H would really help you much. It is very much functional issue with respect to API and you have to work with GL team to get workaround/solution. This may involve customizing the API according to your requirement.
    Thanks
    Mugunthan.

  • BB BOLD 9700 sync issues with Outlook for MAC

    Hi Support, 
    I hope that you can help me?  I have been having issues with my BB calendar not being able to sync with my Outlook for MAC calendar.  I am using BB OS 6.0, Blackberry Desktop software 2.2.0 and Mac OS X version 10.7.2.
    I have been able toget around the calendars not syncing but this morning I added iCal to iCloud, stupid move as it erased my entire calendar.
    i was wondering if someone could help me restore my Outlook calendar and have my BB and calendar sync properly.
    Please Help!!!

    Hello and welcome to the BlackBerry Support Community Forums.
    The BlackBerry Desktop Software needs a local calendar for sync. It does not support the iCloud.
    You will need to create a new local calendar in your iCal to continue synchronizing with the Desktop Software.
    As for restoring your Outlook calendar, you will need to talk to Apple for assistance.
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Issues With Save For Web CS6

    I'm having some issues with my file when trying to Save For Web. A band of transparency appears above my image even though I have everything cropped to the artboard, and the artboard is exactly the size I want the final image to be. If I uncheck "Clip to Artboard" the band of transparency disappears from the top, but reappears on the right side. It seems as if the artboard area is calculated differently in the Save For Web screen; its slightly off. I've included some images so you can see the issue.
    Trying to save for web as a .png with "Clip To Artboard" selected; a tiny (one pixel tall?) band of transparency on the top of the image.
    Trying to save for web as a .png without "Clip To Artboard" selected; the image seems to shift and the band of transparency appears on the right size. Also some of the pieces of the image appear on the bottom outside of the artboard.
    I made sure to crop each element of my image to fit exactly on the artboard. Previously, I had made sure to use a clipping mask exactly the size of the artboard and still had these issues. I would like my .png to not have a band of transparency. It has the same issue when I change it to .jpg, but instead has a white matte band. What am I doing wrong, or is this just an issue with Illustrator? Thanks in advance!

    Depending on your use of the image in context, won't the transparent strip "disappear?"
    The only solution I know is to open it in Photoshop and manually crop out the transparent strip. AI or Save for Web also seems to antialias the edge of free-standing art over a transparent background. I just make the artwork slightly larger than the final cropped size, save for web, then crop in Photoshop.

  • Any compatibility issues with IE8 for STVN 2.1 Orgchart?

    Hi Experts,
    Just curious if there are any issues with running IE8 compatibility mode for Nakisa STVN 2.1 Orgchart?
    Thanks,
    Michael Dinh

    Hi Michael,
    IE8 Compatibility Mode is fine for use with STVN2.1 applications. As Stephen said, IE7 and IE8 are certified for SVSN3.0 but IE6 support has been discontinued.
    Best regards,
    Luke

Maybe you are looking for

  • Need Help with Playing my music from my External Drive!!!! PLEASE HELP!!!

    So here's the deal, i just recently got a new macbook pro and i have crap loads of music stored onto my external drive, i want to be able to listen to my music in itunes without having to store all of my music onto my internal hard drive and take up

  • Converting analog data to streaming UDP

    Will the following work? We'd like Labview to sample an analog channel of data at 1MSPS and convert this into a UDP packet stream. The computer on the other side of the link will echo the packets back and Labview will reconvert them back into analog.

  • The best way to clean dust off of the screen

    Hello everyone, Does anyone have any tips for removing the dust from the iMac G5 screen? I'm especially thinking about the edges, where the dust might be able to collect. Thanks, -F

  • How to adapt text size of menu items ?

    Hello, I am a new Flash 8 user and I am trying to customize a "accordion menu". My code first loads a XML document and then writes the different titles (of different length) in dynamic text boxes. Can you explain me what code I should write to be sur

  • Usage of BAPI BAPI_MATPHYSINV_CREATE_MULT

    Hi, I am trying to create Physical inventory documents using BAPI BAPI_MATPHYSINV_CREATE_MULT but its giving me error "Required function MB_PHYSICAL_INVENTORY not processed". Please let me know how should I use this FM. Thanks, Abhishek