Problem after change item status procedure in sales orders.

Hello experts,
I have changed item status procedure for sales orders. But now all BDoc with queue name CSA_ORDER_xxxxx remain in state 'Written to qRFC Queue (intermediate state)' and needs to be reprocessed manually.
No problem reprocessing.
Have somebody any idea ?
Best regards
Juan Salom

Hi,
   Is your inbound queue un-registered(type U)? Look at trx.
SMQR
and see if it is in un-registered. If yes, select the CSA_ORDER_*** queue and click on
Registration
button.
If this does not help, re-generate your Bdoc services (for Bdoc BUS_TRANS_MSG) using
SMOGGEN
or
using the generation workbench.
Then try the delta once again and observe for queue and Bdoc status in the
SMW01
Hope it helps! Reward if helpful.
Regards,
Sudipta

Similar Messages

  • Changing the status of the sales order item based on reason for rejection

    Hi All,
    When a Sales order item is rejected then the status at the item level is changed as 'TECO'.When the reason for rejection is removed the status 'Teco' is reset.This status change can be achieved using the user exit 'MV45AFZZ'.But the exit does not allow re-atp calculation whenver a blocked item is release.I have use the exit 'MV45AFZB' ,through this the status change as well as re-atp calculation takes place.But the status changed(Based on reason of rejection) does not appear in the same screen.The change gets reflected only when the sakes order is saved and i open it again.
    I want the status change to appear in the same screen.I am doing my code in the form 'userexit_check_vbap' of the exit 'MV45AFZB'. Please let me know if there are any user exits or BADI's available for the same(Changing the status of the sales order item based on reason for rejection ).
    Regards,
    S.Subasree

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

  • Problem in changing characteristics of material while sales order creation

    Hello,
    My requirement is to change the characteristics of the material in a sales order before the sales order is saved.
    I tried using 'BAPI_OBJCL_CHANGE' but it aint working. In the debugging mode it is found that the program is searching for entries in KSSK table which are not found. The object key passed to the BAPI is a combination of sales order number and the item number and the object table is VBPS.
    Is there any other way by which I can change the characteristics before the sales order is saved?
    Thanks in advance,
    Anurag

    Try to use CRM_STATUS_CHANGE_INTERN if it's system status
    and CRM_STATUS_CHANGE_EXTERN if it is user status

  • Change User Status in the sales Order

    Hello Experts,
    I hope that somebody can help me.
    I search to change the field User Status in the sales Order in the transaction VA02 before that the order be displayed.
    I have searched in the UE MV45AFZZ, but i didn't found any form that i can use for my issue.
    I found one form 'USEREXIT_FIELD_MODIFICATION '  by what the program pass when i press enter in the transaction VA02.  but the problem that the status is changed in the data base only and not in the screen. In the screen i have always the same status as what was before, to have the new statut i must leave the transaction and execute it another time.
    I don't want use forms for saving.  What I want is the new status will be set when i press enter in the transaction VA02.
    If doesn't exit one form that can resolve my problem, Can i use the Profile Parameters? In this case How use them?
    Thank you very much.

    Hi,
    U can choose ur status in change status profile. Go to IMG-CRMTransactionsBasic SettingsStatus ManagementChange Status Profile for User Status.
    Here u hv to define ur new status for the transacxtion and assign it to ur transactio. If u r not clear tell.
    Reward points.
    Thanx
    Chinmaya

  • Pricing after change of delivery date in sales order

    Hi,
      When i change delivery date in a sales order prices are not recalculated automatically .
    I want the prices to be calculated automatically .
    thank you.
    Ashok

    hi,
    i have this problem, can anyone suggest me, is there any user exit or anything relevant for the solution.
    When we attempt to remove the Rejection flag (for any Reason) The system is changing Dates in sales order like Delivery date , Shipping date, GR date  to current date this needs to be stopped and client wants to retain old set of dates when rejection flag is removed
    waiting eagerly for this solution. if you find send me mail to my id [email protected]
    bharadwaj.

  • Not able to change item category of a sales order in VA02

    Hi,
    When I am going to transaction VA02 for changing an sales order it is not allowing me to change z item category of the line item. Can someone tell me if it is a configuration or some User exit/BADI might be there behind this behavior.
    Note: Recently the system was upgraded to ECC 6.0 and after that only this problem was coming.
    Thanks,
    Chinmay

    Hi Chinmay,
    Based on your question, I assume you need to go through this links:
    http://www.magnatraining.com/sap-item-category-determination-manual-vs-automatic/
    http://help.sap.com/saphelp_46c/helpdata/en/dd/55fb13545a11d1a7020000e829fd11/content.htm
    Also search this forum and if you dont find an answer then get back.
    Please help yourselves with this link and if you still have further questions..get back.
    Regards,
    Raghu.

  • Change invoice status on old sales order?

    Hi,
    We are trying to archive old sales order but we got problem with some old sales orders.
    The sales orders aren't invoiced (for different reasons) so we can't archive them (Overall status: Being processed).
    Since the sale orders are very old we don't want to create invoice on them, just somehow fake or force the status so we can archive them.
    What's the easiest way to do this?
    Thank you!
    Best Regards
    Lars

    Hi,
    The easiest way is to maintain the reason for rejection for these orders.
    If they are small in number then maintain the reason for rejection individually.
    If the number of order is high,then got for the T.Code "MASS".
    Select the "Object type" as "BUS2032".
    Execute.
    Select "Sales Order Item Data" on "Tables" tab.
    Click on "Fields".
    Search for the field "MASSVBAP-ABGRU" and Select that line.Click on "Execute".
    Enter the document numbers range and maintain.
    Regards,
    Krishna.

  • To change user status profile on sales order at run time.

    Hi Experts,
    We have defined status profile for Sales returns ( Doc type RE) which blocks the  return order on creation. There are two statuses here which are to remove the delivery block and to remove the billing block by authorised users.
    The requirement is now to have a three level block ( three statuses ) on the same document. We can create a new status profile and assign it to a new return sales order tpye  but we want to avoid creating new document types. Since this document type is used across various companies in the group we can not assign a new profile on the existing RE document as well.
    My question to all experts is
    Is it possible to dynamically change the status profile assigned to the document type based on characterstics like sales org or company code etc? If any body has done this please let me know the user exit , function module, BADI etc where the necessary coding has been done.
    Helpful answers will be rewarded with points.
    I look forward to your co operation.
    Regards,
    Kartik Shah

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • Dont allow to change item level data in sales order.

    Hi all,
    I have a requirement in which, users should not be allowed to change  item level data or not allowed to add any new items in sales order on a certain condition. But they should be allowed to change the header level data.
    How can i achieve this.
    Can anyone help me?

    Hi,
    Check below exit.
    MV45AFZZ and in form USEREXIT_MOVE_FIELD_TO_VBAP.
    Here check for ur validation, If passes then CHECK variable SVBAP-TABIX. If it is 0 then item is created. If it is GT 0 then item is changed. Other way could be...
    select data from VBAP for each sales document and item in xvbpa internal table.
    If for any item u don't have data in VBAP table that means u r adding that item. So issue error message.
    *       FORM USEREXIT_MOVE_FIELD_TO_VBAP                              *
    *       This userexit can be used to move some fields into the sales  *
    *       dokument item workaerea VBAP                                  *
    *       SVBAP-TABIX = 0:  Create item                                 *
    *       SVBAP-TABIX > 0:  Change item                                 *
    *       This form is called at the end of form VBAP_FUELLEN.          *
    Thanks,
    Vinod.

  • How to change header status of a sales order

    Hi people,
    can anybody suggest me a FM for changing sales order header status (say from partailly complete to completed).
    Regards,
    Sandy

    Use this FM SD_SALES_HEADER_MAINTAIN.
    <b><REMOVED BY MODERATOR></b>
    Regards.
    Message was edited by:
            Alvaro Tejada Galindo

  • User status transfer for sales orders from ECC to CRM

    Hi,
    We use business process with CRM sales orders that are transfer to ERP.
    Users can change user status in the sales orders in ERP.
    How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
    What is the steps to do this for CRM 7.0?
    Denis

    Hi,
    We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
    We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
    In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
    Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?

  • Tables containing item status procedure used in sales documents

    Hello experts,
    I need make a query in order to know the status procedure used into items of sales documents.
    Example: In some items of sales orders I have status procedure CRMORD_I and in some items I have Z_ORDR_I. I need make a query in order to clarify it.
    What table contains the item status procedure linked to each item into sales documents ?
    Regards
    Juan

    If you want to know the status profile(CRMPRD_I or Z_ORDR_I) attached to a particular line item, you can obtain it from knowing the item category type(ex TAN). The satus profiel are attached to the item category type. The item category value is available in the field ITM_TYPE of the item structure (ET_ORDERADM_I).
    once you know the item category type you can obtain the obtain the status profile from calling the FM CRM_ORDER_ITEM_TYPE_SELECT_CB, the ES_ITEM_TYPE-USER_STAT_PROC will have the status profile value.
    Regards,
    Kiran

  • Change the Profit Center in Sales Order line item's Account assignment tab

    Hi Gurus,
    I need to change the Profit Center at Sales order Line item in Account Assignment Tab. Currently  The Profit center is coming from Material Master for the Line Item's Material as default but I have to change / overwrite  that.
    Can any body provide me how can i achive that means
    Any User exits, substitution or any thing ?
    I tried MV45AFZZ but i am not able to find out the right place where I can change COBL-PRCTR.
    Sony

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • 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

  • Item Cat field on Sales Order is modifiable after billing

    Is there any way that the Item Cat field on sales order line items can be made non-modifiable after billing?

    Hello Lisa,
    The item category field should not be ready for input after billing.
    Perhaps you have some modification that is making it open for input. Please check USEREXIT_FIELD_MODIFICATION in MV45AFZZ to see if there are any modifications relating to the field VBAP-PSTYV.
    Also the information from OSS note 208245 will help you to analyse the issue further.
    I hope this helps.
    Best regards,
    Ian Kehoe

Maybe you are looking for