Can i stop a order item create

When  we create a order item , a lot of object will be created .  Orderadm_i , pricing_i ,  customer_i ......
We can use the tcode 'crmv_event'  to create own Zfunction on the system event.
Can we stop the creating procedure by these zfunction. Dont use the 'crm order item delete ow ' function after the last event.
In the order save badi ,we can using raise 'order_not_save' to  stop the order save procedure.
Do the crm system give a same esay way to us.
'poor english -_!'

Hi Yu,
what do you try to achive here? what do you mean by create order item but
you don't want to create orderadm_i, pricing_i, etc?
If you want just create/update certain fields at item, you can just update
using certain function, instead of all objects.
Check function with OW behind the names, something like xxxxxpricing_ow
for just updating pricing.
But creating order item is certainly will generate other like orderadm_i,
pricing_i etc...as all these are one structure of complete order item.
Hope I can understand you correctly.
Gun.

Similar Messages

  • How can I stop tab order get changed/switched?

    I am on 10g platform. I have a page with 2 tabs [tab A (1st tab) and tab B (2nd tab)] and need to navigate to another page from tab B and come back to tab B and display tab B which I achieved using “disclosed” property. However the problem I face is that the tab order get changed/switched (tab B become 1st and tab A become 2nd) when I come back from the other page to tab B. How can I stop tab order get changed/switched?
    Code snippet from backing bean
    private CoreShowDetailItem tabA;
    private CoreShowDetailItem tabB;
    Following code will be executed while returning to tab B from other page.
    tabA.setDisclosed(false);
    tabB.setDisclosed(true);
    Code snippet from page
    <af:showDetailItem text=”Tab 1”
    binding="#{backingBeanName.tabA }">
    <af:showDetailItem text=”Tab 2”
    binding="#{backingBeanName.tabB }">

    Code snippet from backing bean
    I found solution for this problem and the solution as follows.
    private boolean tabA;
    private boolean tabB;
    Following code will be executed while returning to tab B from other page.
    tabA = false;
    tabB =true;
    Code snippet from page
    <af:showDetailItem text=”Tab 1”
    disclosed="#{backingBeanName.tabA }">
    <af:showDetailItem text=”Tab 2”
    disclosed="#{backingBeanName.tabB }">

  • How can i capture sales order items in C# and pass them to a BAPI?

    Hi everybody,
    here is another novice question for you.
    What control should i use in Visual Studio to allow the user to enter sales order items (material and qty) as a table on the screen and then put these items on a table and call the BAPI to create an order?.
    I've tried using a Datagrid and set the "edititemindex" as "1" but doesn't work.
    Any help will be greatly appretiated.
    thank you
    Javier ...

    Dear Todd,
    thanks for your reply. I'm using ASP. I tried a grid but i cannot seem to make it work, it doesn't appear at first because it's empty, i tried creating some blank rows but the same happens.
    The other thing i tried just to test is to create a row on the table "partners" to pass the needed "AG" (sold to party) and its number and the BAPI keeps returning an error "Please enter Sold ot or Ship to party". Like if the table was empty. Is there any special way to send a table to a BAPI ?. I'm sending it by ref, and i'm creating the record by first creating a structure, filling it an then calling the ADD method of the table and passing the structure. I'm i missing something here?
    Please Help, it's been days with this problem,
    I'll appreatiate it very much
    Best regards and have a great day.
    Javier ..

  • How to know if a Sales order item created with or without reference

    Hi,
    I am working on user exit USEREXIT_MOVE_FIELD_TO_VBAP, and I just wanted to know if there is a way to know if a sales order item is created with or without reference to a contract.
    I need to write the code in USEREXIT_MOVE_FIELD_TO_VBAP, however, when an SO line item is created with reference the userexit is being called twice and when the SO line item is created without reference the user exit is being called only once.
    My aim is to check if a SO line item is created with reference to a valid contract. If the item is without reference to a contract or the referenced contract is not valid, then I will have to determine the contract based on the customer contracts.
    Any help on this would be greatly appreciated.
    Best regards,
    Siva

    Hi Vindo,
    The Userexit USEREXIT_MOVE_FIELD_TO_VBAP is called twice when the SO line item is created with reference to contract. The first time the user exit is called there will be no value filled in vbap-vgbel and the second time it comes to the userexit then vbap-vgbel will have a value. I think CVBAK-VBELN will contain the reference if the so line item is created with reference and the value of CVBAK-VBELN contrains blank if the item is not referenced. Anyway thanks for your reply.
    Best regards,
    Siva

  • Ical synch: how can i stop deleting ical items and synch the rest?

    When synching on itunes, it asks to delete 9000+ items from ical, add and modify are 50 or so each, and I'm very confused why this is happening.
    How can i stop this and synch the rest? I do not want to delete anything but it doesn't seem to have option other than synch later.
    I have icloud calendars synch on as well...
    Thanks!!

    Bruno,
    Welcome to Apple Discussions.
    Are you using any sync software?
    The easiest thing to try is to refresh the the com.apple.iCal.plist file. You will find the com.apple.iCal.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder. Quit iCal, drag the com.apple.iCal.plist file to your Desktop, log out/in or restart, and make sure the deletion preference is not checked.
    ;~)

  • How can I stop Elements 6 from creating a duplicate suffixed _edited-1?

    Every time I bring a file from the organizer to an editor, Elements 6 creates a duplicate file suffixed "_edited-n" whether I rewrite/save the file or not.  I have to constantly "revert to original".  I don't need this unwanted help as I never store an edited file without renaming.
    Does anyone know how to stop this?

    The problem is that many times I don't store a file, I just want to look at it in an editor.  I load a logo file frequently and every time I do, I have yet another duplicate.
    This isn't happening for me. The only time I get _edited-1 added to the file name is when I save the file.
    If I simply open the file, look at it, and then close without saving, no file gets created and of course, no _edited-1 gets added.
    Are you sure you haven't done some of the editing in the Organizer on this photo prior to your opening it in the editor?

  • Lock a Transfer Order /Item ...

    Hello
    Using the following FM to lock a Transfer Order / Item
    *Lock Transfer Order/Item#
      CALL FUNCTION 'ENQUEUE_ELLTAPE'
        EXPORTING
          mode_ltap      = 'E'
          mandt          = sy-mandt
          lgnum          = gs_ltak-lgnum
          tanum          = gs_ltak-tanum
          tapos          = gs_ltak-tapos
        EXCEPTIONS
          foreign_lock   = 1
          system_failure = 2
          OTHERS         = 3.
    This works fine for the current user, he cannot start another session and retrieve this Transfer Order/Item.  But a different user can access this Transfer Order/Item.  I would like to lock for all users not just the current user.  Am I missing something?   I notice there is a Scope parameter for this FM, do I need to use this parameter?
    Gary

    Try
    ENQUEUE_ELLTAKE -> Header
    ENQUEUE_ELLTAPE -> Line Item
    hith
    Sunil

  • Unable to update Sales order item level prices after invoice is created

    Dear All ,
    I have the following issue .
    When the sales order was created Z001 price was populated based on the condition record and  the order was in complete status  Then we created delivery and  invoice , the invoice had the same price as that of sales orders.
    Due to some code change related to pricing condition type - Z001 the prices in the sales order is changed to "ZERO" , when the sales order is opened in VA02 .
    We now corrected the code related to condition type - Z001  and now need to get back the on the line items . I wanted to Update prices by clicking on icon " Update" in the line item condition tab . I am not able to do it as the update icon is grayed out.
    Can any one help me with ideas for  fixing this issue  or any SAP utility  program .
    Looking forward to your help .
    Thanks and regards
    Veera

    Hi
    Without reversing invoice we can't update price and this is standard bevaior which is logical too. For your scenario I am wondering why would you want to change price for a line item or order which is alrady invoiced and posted to FI. What difference would it make to change price in sale order when this has already been posted in FI?
    Thank$

  • Out of stock Sales Order Item to trigger a BDC to create a PO

    Dear ABAPers,
    I have a couple of questions:
    1. In the sales order program code, how do you find out if an item being ordered is out of stock? Which tables and fields do you check?
    2. when an item is determined to be out of stock,  we want to trigger a BDC to create a PO. How do you do that?
    I know these are big questions. You can give me either an overview or detail solution, it's up to you.
    Thanks!

    Hi,
    Assuming all the basic settings are configured
    Step1: Run T Code VA01 and input the u201Cdocument typeu201D as OR along with your sales area. Then enter your business partner number along with the material number and quantity. Save the order.
    Step2: T Code VA03 input the order number which you have created. Select the line item and (menu bar) Goto u2013 Items u2013 Schedule lines. You will find the u201Cpurchase requisitionu201D for that item just copy the number.
    Note: If you unable to see the u201Cpurchase requ201D in the sales order then make sure you need to change the Item category group of a material in MM02 as BANC in Sales: sales org 2 tab.
    Step3: Run T Code ME21N under the item paste the u201Cpurchase requisitionu201D number generated at sales order level and hit enter that will automatically give all the details, save. You can save the Purchase order.
    This scenario will only help to create purchase order until I know why you want to create a purchase order I canu2019t proceed further.

  • Create additional field in sales order item and copy to purchase order item

    Dear SAP Gurus,
    I am hoping that someone could help me by providing me with how to implement the following 2 requirements in the SD order and in the purchase order.
    1. I am wanting to add a custom field to the SD sales order item copying a value from the vendor customer master.
    2. I then want to add a custom field to the purchase order item and copy the value from my custom field in 1. to this new custom field..
    Can you please advise how I would go about implementing the above requirements?  I am assuming that there are exits to allow me to implement these 2 requirements.
    Many thanks
    Henry

    Hi,
    For the first requirement you can use the USEREXIT_MOVE_FIELD_TO_VBAP in report MV45AFZZ.
    For the second, as I think that you will create a RFQ you can try to use the enhancement MEREQ001.
    Regards,
    Eduardo

  • How can I terminate the purchase order item?

    Dear all,
    I have created and released a purchase order, which had two items. like following
    Item Material no qty delivery date
    10 Material-A 1000 pcs 12-25-2008
    20 Material-B 300 pcs 12-28-2008
    This purchase order has been released. And the vendor production order had been released and producted too. Item 10 has been producted and deliveried 300 pcs to our company. Now the purchase department asked to terminate the item 10. They didn't want the 700 pcs left.
    So we have to cancel the purchase order item 10. But we couldn't terminate this item.
    How can I do? Please tell me how to do step by step.
    Thank you very much!
    Paul.

    Dear,
    You can't delete purchase order at header level.
    You have to deleter purchase order line item wise.
    You can do it with ME22N t-code.
    Enter t-code ME22N, Select all line item of purchase order and click on delete indicator.
    Otherwise click on Delivery complete indicator of purchase order.
    You can also delete purchase order line item wise with MASS t-code.
    Enter t-code MASS, Select object BUS2012, Go in Field tab and select field MASSEKKO-LOEKZ and click on execute button.
    Then enter your purchase order documents number and enter indicator for deletion as X.
    Regards,
    Sri

  • Several service cofirmations can be possible from one service order Item

    Dear Experts,
    We create a service order with one service item and create a service confirmation via follow-up function.
    After saving the service confirmation, the status of the service order Item is changed from "Released" into "Confirmed".
    Even though the status of the service item is "Confirmed", we can create a new service confirmation
    for the same item again and again until we set the status "Completed" in the service order header.
    Is the system working as designed?
    Could anyone advise how we can prevent the users from creating a new service confirmation
    from the service item which has been already confirmed(the service order header status is still "Released")?
    Any information would be highly appreciated.
    F.T.

    Hi Fumi
    In standard process  , multiple confirmations are possible for a single service order. there are number of reasons for this
    1. Mutiple engg are working on single service order. and each engg post separate time and expenses in the confirmation
    2. in case of service order which cannot be completed  in a single day. and engg want to book the time daily
    you can still restrict the user to create multiple confirmations  using code.
    Regards
    Naresh

  • ICal keeps sending email notifications from all agenda items from the last 2 years. After laptop start up this action is repeated every hour. How can I stop these 300 emails coming in every hour?

    iCal keeps sending email notifications of all agenda items from the last 2 years (then I bought my laptop). After laptop start up this action is repeated every hour. How can I stop these >300 emails coming in every hour?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Update a list item based sort order of created by column value

    HI
    using powershell script how to sort a list column before update a list  item.
    here i created a document library and uploaded some documents and update ProcessNo column based sort order of created column
    value.
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    $webURL = "http://tspmcwfe:91" $listName = "Courts"
    Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    $list = $web.Lists[$listName] 
    $items = $list.items
    Go through all items
    foreach($item in $items)
    $item["ProcessNo"] = 1
    $item.Update()
    $web.Dispose()

    Hi,
    According to your description, my understanding is that you want to sort the list items order before updating items using PowerShell.
    I suggest you can use the Sort-Object command to sort the list items.
    Here are some detailed articles for your reference:
    Better SharePoint Lists and List Items in PowerShell
    Sort-Object
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Sales Order Item to create a Purchase Order

    Hi,
    Iu2019m not SD consultant but I would like to create a sales order and originate a PO for that sales order item.
    Which item category should I select and after that I just have to create the PO, the cost of this PO are also allocated to this sales order correrct?
    Thanks,
    Bo 75.

    Hi,
    Assuming all the basic settings are configured
    Step1: Run T Code VA01 and input the u201Cdocument typeu201D as OR along with your sales area. Then enter your business partner number along with the material number and quantity. Save the order.
    Step2: T Code VA03 input the order number which you have created. Select the line item and (menu bar) Goto u2013 Items u2013 Schedule lines. You will find the u201Cpurchase requisitionu201D for that item just copy the number.
    Note: If you unable to see the u201Cpurchase requ201D in the sales order then make sure you need to change the Item category group of a material in MM02 as BANC in Sales: sales org 2 tab.
    Step3: Run T Code ME21N under the item paste the u201Cpurchase requisitionu201D number generated at sales order level and hit enter that will automatically give all the details, save. You can save the Purchase order.
    This scenario will only help to create purchase order until I know why you want to create a purchase order I canu2019t proceed further.

Maybe you are looking for

  • Duplex Printing Problem in Adobe Reader X (Mac)

    My normal printer setting is for duplex printing. However, Adobe Reader X will only print on one side of the paper.. This is on a MacPro under Mac OSX 10.6.6 and Adobe Reader X Version 10.0.1 printing to a Canon IP4500 inkjet printer. Other applicati

  • Need some Guide regarding Configuration of Sender Mail Adapters....

    Hellow All Members,   Can anybody refer me to some blogs other than SAP's own help which talks about use and configuration of sender mail adapters... Thanks in Advance, Sugata

  • Issue in printing Purchase Order

    Hi All While taking print out of Purchase order from T code ME22N, I am facing problem that, Rate was not printed but on screen it was displayed. Please let me know, what is to be done? Regards, Santosh

  • "not enough disk space"...  WHAT?????

    Try to DL files using Safari. It claims there's not enough disk space. I've got 129GB of 148GB still available. Changed DL location. No change. Copied files from another computer via LAN - took the file with no problem - so NO space issue. Even insta

  • Photoshop CC Officially Available!

    Run the Adobe Application Manager, see... -Noel