Reset order item's user status

Hi,
I would like to reset an order item's user status to original after user change the user status. What function module can I use? CRM_ORDER_MAINTAIN will give me recursive short dump. Tried CRM_STATUS_MAINTAIN_OW and CRM_ORDER_CHANGE_STATUS.
Thks.

Hello,
Could you please explain a little bit more what is the requirement.
Why do you allow a user to change the user status if you want to reset it afterwards?
Regards,
Frédéric

Similar Messages

  • Can I reset a non numbered user status based on a numbered user status?

    Can I reset a non numbered user status based on a numbered user status?

    Yes. Numbered status are mutually exclusive ie. succeding status resets previously set status.
    My requirement is like this: I have 3 numbered status and 2 non numbered status. Lets say, the first numbered status & two numbered status are set at the begining. Now when I click the second numbered status, both the numbered status and two non numbered status should be automatically reset. Only numbered status is getting reset and not the other two.
    Thanks
    Edited by: Smartsoft General User on Jul 22, 2009 4:36 PM

  • PM Order Display Double User Status

    Dear PM Gurus,
    In PM we have define User Status for our Approval process, were a certain status must be set before the other can be set until to the last User Status which are about 10 user status that must be set before the order can be approved.
    The problem we have is that for some other reason one PM Order on the User Status display field displays two user status, and when accessing the PM Order for any changes the system give a termination error "While preparing the screen**
    **"SAPLBSVA" 0302 for screen display, it was detected that in a group of radio buttons, there is more than one field set.
    Your assistance in the regard will be highly appreciated.
    Thanks
    Elphaas Mgiba u2013 SAP PM Specialist

    Dear All,
    This problem has been fixed, actually the is a SAP Note that can be implimented to solve this problem.
    Below see the SAP Notes details:
    SAP Note        371659
    SAP Report     ZSTSEQNR
    This report will enable you to select a statuses that you would like to delete.
    Thanks,
    Elphaas
    Edited by: Elphaas on Jun 23, 2010 3:22 PM

  • Reset order item's status

    Hi,
    I have a before_change event for order item status. When user change status to suspended, function module assigned to event is called and a popup will appear asking user to enter reason for suspend. If user cancels the popup we want to reset the status back to original. What function module can I use?
    Rgds.

    Hello,
    In your before_change FM, you have to raise the abort exception if you want to avoid the status change.
    Check standard event FM like CRM_STATUS_BEFORE_REJECT_EC.
    Regards,
    Frédéric

  • Work orders and updating user status (via IW32)

    Hello All,
    I was given a design to create a program that will retrieve all open work orders. The program needs to check on all the purchase orders for that work order to check if order quantity matches the received quantity and the invoice quantity. If it matches, I will do an IW32 to change the user status to 'AIP' (All Invoices Paid). If there are no invoices or purchase orders, I will again, do an IW32 to change the user status to 'AIP'.
    And since this is my first time to work on a PM ticket, I'm not very familiar with the tables being used. I've tried looking for a list of PM tables. One table I got is AUFK (Order Master Data). I searched through the table and it has the fields for Sales Order Number (KDAUF) and Item Number (KDPOS). Is this the Purchase Order related to the work order? Also, is there a way I can see or verify it through a transaction? I tried looking into transaction IW33 but I couldn't find any Purchase Order Number there. Also, how do you know if a work order is open or not? Is there a field that indicates it?
    I was thinking if there are any BAPI's I can use to change a work order's user status instead of doing a CALL TRANSACTION 'IW32'? I saw a function module, RFC_CHANGE_PM_ORDER, that does a remote function call to IW32 but this has dialogs. I'd appreciate any input.
    Many thanks in advance!
    Regards,
    Kristine

    Hi
    You can use the BAPI - BAPI_ALM_ORDER_MAINTAIN to maintain orders.
    Given below few order related tables
    AUFK     -Production order headers
    AFIH     -Maintenance order header
    AUFM     -Goods movement for prod. order
    AFKO     -Order header data PP orders
    AFPO     -Order item
    RESB     -Order componenten
    AFVC     -Order operations
    AFVV     -Quantities/dates/values in the operation
    AFVU     -User fields of the operation
    AFFL     -Work order sequence
    AFFH     -PRT assignment data for the work order(routing)
    JSTO     -Status profile
    JEST     -Object status
    AFRU     -Order completion confirmations
    This may help you.
    Thanks & Regards,
    Govind.

  • Sales order item ontime delivery status at order level in Cube

    Hi Guys,
      We have a requirement, currently we have sales order item information in cube where we have some thing called OTD status
    this status is based on actual GI date and requested date so we have 3 staus at each sales order item level ontime, early, late
    but now the requirement is to change the order status either to ontime or late and this status should be at order level instead of
    order and item level, if any one item in order is late then the whole status of order should be late and if on time or early then it
    should be ontime, is there any why to achive this except adding new character in cube or creating new object in system???
    or if not by just adding new character in cube like order status by remodeling and populate data with customer exit?? pls note
    that we are not using 2lis_11_VAHDR we are using 2lis_11_Vaitm only.
    thanks,
    chandra.

    hi Chandra,
    We had similar kind of situation. but you need to implement the logic either by remodelling or creation of new object.
    What we did was as under.
    - Created new DSO with just Order no and the status.
    - After VAITM Delta load - by making it datamart we forwarded the data to that DSO and had the Status logic put up there so you dont need to change the existing model and you have the status at order level in other DSO.
    - this DSO was than included in Multiprovider for further reporting puprose.
    -This way you have very less things to manage and no need to further enhance exisiting model. This status logic may change in future and you have flexibility to do so easily in the system.
    Hope this helps.
    Regards
    Raj

  • Displaying Work Order System and User Statuses in IW37 Search

    I'd like to display the work order header system and user statuses along with the operation system and user statuses in an IW37 search but couldn't find an entry as such in the IW37 'change layout' dialog box.
    David Macindoe

    David Macindoe,
      That Order header information isn't available in IW37 report.You may have to use IW37N report or enhance /copy IW37 report to get this information.
    Regards
    Narasimhan

  • Purhcase order item change user exit

    Hello all,
            I want to change the field value of purchase order item. is there any exit for changing the field value.
    Regards
    Srinivas
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Dec 21, 2010 3:54 PM

    Hi
    For this u need to implement the ehancement spot. To achive this u need to implement the ehancement spot in include
    LMEPOF7X. And modify the required field in structure mepo.
    Regards,
    Raghavender.

  • User Status Replication-CRM to R/3

    HI Gurus
    Our requirement is to replicate the Item level user statuses in CRM Service order to R/3.We will use BADI- CRM_DATAEXCHG_BADI and methodCRM_DATAEXCH_AFTER_MBDOC_FILL.
    Would appreciate if you can let me know how to fill the item status information into the MBDOC.By this,I mean which component to use pertaining to item level user status to fetch the info.
    Thanks in advance
    Madhav

    Use FM CRM_STATUS_READ
    Hope it helps.
    Lokesh
    PS. Pls. reward helpful posts.

  • Revenue Recognition based on User Status of assigned Sales Order line item

    Dear Community members,
    We have requirement to recognize / de-recognize revenue posted to WBS for calculation of RA, based on the 'User status' of the assigned Sales Order line item.
    To elaborate requirement further -
    1) WBS Element - XXX - 10 ( with operative indicator - Plan/Bill/Account Assign)
    2) Sales Order(SO) Line Items assigned to the above WBS -
    - SO No -  123 Line Item 10 - Actual Rev - $ 300 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    - SO No -  124 Line Item 20 - Actual Rev - $ 400 - User Status - COMPL(Meaning this work is Complete , all payment received thus actual revenue for RA at WBS is $400
    - SO No -  125 Line Item 10 - Actual Rev - $ 800 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    As per WBS reports Actual Revenue posted to WBS XXX-10 is $ 1500 ( $300$400$800) , however since two SO line items ( SO 123 /line item 10 and SO 125 / line Item 10 ) are NOT having User status 'COMPLETE', the actual revenue posted by those line items $ 1100/- ($300 + 800)  should not be included as Actual Revenue for RA at WBS level.
    Thus Actual Revenue for RA at WBS XXX-10 should be $ 400 /- ( the revenue posted by SO 124/line item 20 which has user status as 'COMPLETE')
    How do above can be achieved?? Is there any standard solution for this?? Is any SAP Note available for this (I too am looking for one but not found any ) ?? do we need any enhancement , Customer exit etc
    Thanks in advance
    with regards

    Hi,
    Thanks. You are right that the 'Completed Contract Method' would defer revenue recognition. However, the status checked would be of the RA object (WBS Element in this case, as RA key is on WBS and RA is being calculated on the WBS).
    However, our requirement is to check the user status of the Sales Order Line items assigned to the WBS element and filter the revenues posted based on the active user status of individual Sales Order Line item.
    Please give you inputs.
    Thanks in advance
    With regards

  • Is the Sales Order Item User Status available in user exit MV45AFZZ

    Hello,
    Does anyone know if a sales order line item user status is available within user exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT)?
    I need to send an email when the status changes from one specific value to another specific value but I don't seem to have access to what the latest value is in this user exit.
    I have found a table XTVSTAT which cntains some user status' but it's not clear which status maps to which line item.
    If anyone has any suggestion please let me know.
    Thanks,
    Ruby

    Hi,
    I do need to access the values as I need to check for a specific change to the user status from value A to value B.
    I have already tried debugging the user exit and searching through the available variables but the status information doesn't seem to be available.
    I guess I will have to try the output determination route. Can you explain this in a bit more detail please.
    Thanks,
    Ruby

  • User status for component item in service order (plant maintenance order)

    Dear experts,
    I cannot find the customizing for assigning a user status (profile) to a component item of a service order.
    IW31 - tab components - mark an entry - click on button "component status"
    Can you help me?
    Best Regards,
    Philipp

    OSS message created. Answer from SAP:
    11.02.2011 - 15:04:46 CET - Antwort von SAP     
    Hello Mr. Miller,
    user status for components are not possible and not intended. I'm
    sorry that I cannot provide better news.
    Best regards
    Reinhard Gruber
    Senior Support Consultant
    AGS Primary Support,
    Business Suite & Technology
    SAP AG
    Therefore this message is closed... but not yet answered
    Edited by: Philipp Miller on Feb 11, 2011 3:28 PM

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • Item User Status - Sales Order

    1- The cancellation item is created with reference to an existing line item on Sales Order. How is done?
    2- I would like to see the original item have its status for both delivery and billing changed to completed and have it’s overall status completed as long as a PO is created. I don't know how to do that...
    Can you help???
    Thankss

    Hi Miquel,
    For that T.code we have user exits and badi. I am providing all the userexits and badi plz gothrough that.
    Transaction Code - VA02                     Change Sales Order
    Enhancement/ Business Add-in            Description
    Enhancement
    V60F0001                                SD Billing plan (customer enhancement) dif
    V46H0001                                SD Customer functions for resource-related
    V45W0001                                SD Service Management: Forward Contract Da
    V45S0004                                Effectivity type in sales order
    V45S0003                                MRP-relevance for incomplete configuration
    V45S0001                                Update sales document from configuration
    V45P0001                                SD customer function for cross-company cod
    V45L0001                                SD component supplier processing (customer
    V45E0002                                Data transfer in procurement elements (PRr
    V45E0001                                Update the purchase order from the sales o
    V45A0004                                Copy packing proposal
    V45A0003                                Collector for customer function modulpool
    V45A0002                                Predefine sold-to party in sales document
    V45A0001                                Determine alternative materials for produc
    SDTRM001                                Reschedule schedule lines without a new AT
      Business Add-in
    BADI_SD_SCH_GETWAGFZ                    Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001                        SD Customer functions for resource-related
    No.of Exits:         15
    No.of BADis:          2
    Which one is suitable plz check it out and put breakpoint after providing the logic .
    Rewrds some points.
    Rgds,
    P.Nag

  • User Status update on Header and Item in Sales Order

    Hi,
    I need to update the user status in both the header and Item based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
    Could any one please provide me where I can write the code to upate user status in header and Item.
    Thanks
    Srihari.
    Edited by: SrihariKonduru on Dec 23, 2009 4:21 PM

    Hi,
    Thanks for quick reply.
    But I think this will be updated the satus using a report program. But in my case if the user creates a sales order or he is in change mode based on the selection of Distribution channels and Dunning key's I need to update the satus.
    For this I need a exit to write the code. And also I required sample code snippet to update the status in user exit. If that availble it will be great help to me.
    Thanks
    Srihari.

Maybe you are looking for

  • Can not schedule from InfoView

    Hi, I have a newly installed BusinessObjects Enterprise XI 3.1 with SP2 installation and I have loaded my first Crystal report into a folder for testing. This is not the first installation of this type I have done and I followed a set of install inst

  • Smart object & timeline

    In PS6 I'm having trouble synchonising an animated drummer [as a smart object] with the audio track from the original clip I've drawn inlayers - because, when I go to the smart object edit file, the audio isn't there. I tried to copy the track and pa

  • How to find remedy to fix STUBBORN Error message: U43M1D204

    I am not able to find a way to fix this error message. Apparently corrupted file: Ps CC (2014) Update Failed Ae CC (2014) Update Failed Flash Pro/Mobile Package (2014) Update Failed Bridge CC Update Failed Operating the latest version of Mac OS X  Yo

  • Passing where clause with spaces from forms to reports

    Hi, Has anybody passed where clause as lexical parameter with spaces from forms to preports.. I have seen people mention that, we can replace the spaces with special characters and then replace it again in the before trigger report..does anyone have

  • I just paid full price for PS. 6,  far to many questions. where can I get a full manual?

    I just paid full price for PS. 6.  I have far to many questions . where do I get a manual?