Status Profile - Consignment orders

Dear All,
My client requirement as below, please go thru and suggest how to proceed.
1. ZCON_VALUE- Ztable, has customer and consignment value, example XXXX customer has limit of 1000 EUR
2. When creating consignment fill up for customer XXXX system should check the value (intercompany price PI01) with ZCON_VALUE, if PI01 total value is less than ZCONS_VALUE, status of the consignment fill up order will be AUTO, if order value is greater than ZCONS_VALUE status should be LOCK.
3. not only one order, if same customer has other consignment fill up order, system should consider all consignment fill up and check PI01 of all orders and compare with ZCONS_VALUE, if less than AUTO, and Greater than LOCK,
4. Some consignment orders will dont have PI01 condition, as local plant deliver goods, at that time system shoudl consider value form material master accounting data.
Please suggest and if required any clarifications, let me know.
Thanks

Any inputs

Similar Messages

  • Status Profile - Sales Order Change

    Hi,
    I have a issue regarding Status Profile in Sales Order.
    I have a sales order with two status - 
    Awaiting Approval ( Initial at the time of creation of Sales Order )
    Approved ( Approval by HOD after creation )
    No changes has to be done in Sales Order once approved, if any changes to be done then, needs resetting of the status to initial.
    How to control the same.
    I have checked the transactional control in user status but change sales order control is not there.
    Can be controlled through user exit then how can it be be done.... User Exit name and brief logic of possible.
    Regards
    SD Consultant.

    Hi
    You can use MV45AFZZ include to find appropriate User exit for your requirement with the help of your ABAPer.
    USEREXIT_SAVE_DOCUMENT would be suitable to you.
    User status are maintained at JEST table, so you can write code to activate status 1 and deactivate status 2 if sales order changed.

  • Inactive user status profile for order

    Hi All
    In CRM quotation, the initial user status 'Quotaion created ' is active.Now using a BADI on customer expected price mismatch I am adding 'price mismatch' user status.Requiremnt is I need to have one user status active at any instance. I am trying to inactive the 'Quotaion created' status but not able to. I tried using CRM_STATUS_CHANGE_EXTERN,but not successful. Can anybody please help..
    Regards,
    Sai Prasad

    When you activate another user status the revious should be set to inactive by standard. You can have only one active user status, while on other hand you can have several active system statuses.
    If you use function CRM_STATUS_CHANGE_EXTERN to set new user status, the current user status wil be automaticaly set to inactive. If you test it from se37, don't forget to use also BAPI_TRANSACTION_COMMIT.
    Regards.

  • Status profile (T code BS02)

    Hi experts,
    Which status profile control MRP requirements? If no, how to configure a new business transaction related to MRP requirements?
    Pls advise. Thx.

    Hi Lakshmipathi,
    Thx for your valuable advice. I'm sorry that I have not clarified clearly.
    Here the status profile is to control whether sales orders can be processed further. After reviewing the process, I found there are two issues:
    1. How to prevent sales orders from transferring MRP requirements until the status profile is set as "ok".
    2. How to make the status profile validate for the specific plant (B).
    Background: MTO scenario. The status profile is assigned to the order type ZTA1. ZTA1 can be created against plant A, or B.
    Request: Customer just reviews the orders against plant B by using status profile. In other words, Those orders cannot transfer MRP requirements when order creation. Until clicking "ok" in the status profile, the orders can automatically transfer MRP requirements. 
    My comments:
    1. Any chances to add new business transaction in status profile? Except MRP requirements, the standard status profile can control delivery creation, etc.
    2. Any better solutions to control MRP requirements transfer? Orders against plant A require MRP requirements transfer once saving orders. But, plant A & B uses the same order type, i.e. the status profile is valid for those two plants. Moreover, many orders are already created in the system.

  • User status profile for Contract block in SAP SD

    Dear All
    We have a business requirement. Let me explain this first.
    Requirement is that every contract which is created by any user should be blocked. Some authorized users can release them. Sale order can not be created  until the sale order is released.
    Once the contract is released it should allow to create sale order. But after releasing contract if there is any change in quantity or net value or payment term etc. It should go in block status again and again those authorized user should release it for further processing.
    I have done following things so far.
    I have created status profile Z_SD_CON and assigned this in contract type in VOV8. I have also created "Authorization Key" Z0000001 and assigned in user master. But when i crated contract type CQ. It gave me following error.
    Status profile Z_SD_CON is not allowed for "Sales order header"
    Message no. BS020
    Diagnosis
    Status profile Z_SD_CON may not be used for object type 'Sales order header'.
    Procedure
    Use another status profile or allow the use of status profile Z_SD_CON by object type 'Sales order header'.
    Please suggest.

    Hi,
    You can control by defining various Statuses (Individual status of an object) . Once you selected the check box in object type come back and  select each status and click on details (f2) now click on New entries (f5) system will show you the Business transactions. Here you can give the Influence and next action for each business transaction.
    Like this way you can define en number of status profiles and assign to your document types as per your requirement.
    TIP:
    1.Authorization object for status profile is : B_USERSTAT
    2. you can define the authorization groups also (t code:BS52)  to assign against each status
    The above both you can assign in user profile (role) ask your basis people to help on this.
    Example: Suppose if you defined authorization group as Z123 & assigned against REAL status. Then the user who have the authorization for object  B_USERSTAT & group as Z123 can only release the sales order.
    Read  the below thread also
    [Status Profile|Sales Order Release Strategy;
    Hope this will clear your query

  • How to restrict status profile for sales order.

    Dear Friends,
    Pl suggest me for follwoing scenario
    ►     As per business process for tender/ institutional sales and exports, the order is complete once the complete delivery and invoicing for the same has been performed.
    ►     It was also observed that a sales order may be modified (material, quantity, price etc) even after complete invoicing of the same has been performed in SAP.
         The requirement is  Possibility to enable a control to restrict any amendments to the sales order after complete delivery and invoicing will be explored as per business requirements.
    Is there any solution above scenario without writing any code.
    Regards,
    Atul
    Edited by: atul thakur on Oct 28, 2009 5:09 AM

    Mr Atul,
    My understanding is, you don't want your user to be able to change the pricing and order quantity once the order is complete, i.e Delivered and Shipped.
    The status profile will not help you in the above scenario, Price/Quantity changes will not come up as Business transactions that can be controlled at Status profile.
    Standard SAP restricts the price changes to a completed item of the order, so no need to worry about this.
    But order quantity can be increased any time.
    So to restrict the user to increase the order quantity you need to use the User-Exits that SAP provided.
    Use the MV45AFZB user-exit program and form  FORM userexit_check_vbap to code this.
    Hope this helps you.
    Regards,
    Aj.

  • Workflow for Sales Order Release via Status Profile

    Dear all,
    i want to make a workflow for sales order which have 4 User Status in One status profile.
    Once Event triggered for sales order
    1.   Mail should go to main authority with sales order number.
    2.  Once authority will do some changes in the required field then he/she changes
         the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
    3.  Once again same changes in sales order but now user status-2 from user status-1
         as per line Item and mail should go to department no-2 (Head authority).
    4.  Once again same changes in sales order but now user status-3 from user status-2
         as per line Item and mail should go to department no-3 (Head authority).
    5.  Once again same changes in sales order but now user status-4 from user status-3
         as per line Item and mail should go to department no-4 (Head authority) .
    and parrally for each changes of Status mail should also go to User (Event Creator).
    6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
    Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
    please help me out.
    Thank You

    Hi Neeraj,
    First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
    Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
    As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
    The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
    Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
    Just go with these things and let me know if you get stuck up somewhere.
    Regards,
    Guddan

  • 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 *********

  • How to assign status profile to components in service order

    Hi,
    For my business requirement, I want to assign status to individual components planned in the service order. Even though there is a status button on the component tab, there is no config where I can assign the status profile. We can only assign status profile to the order header and the operations and not to components level.
    As SAP has provided the status button in the component tab, I am hoping that there is a way to assign the status to the parts planned.
    Your help is much appreciated.
    Regards,
    Ram.

    hi all,
    It will be helpful if you give any useful tips on maintaining status for the component level in the service order.
    regards,
    ram.

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • Status profiles for sales order

    Dear all:
      I use  status profiles to do sales order approve(BS02)
    who can tell me which business transaction can settle Sales Order can or not make to MD04?
    the standard business transcation:
    Acct. assignment order/project
    Activate final billing doc.
    Actual activity allocation
    Actual overhead (periodic)
    Actual settlement
    Automat. WIP/results analysis
    Change configuration data
    Complete
    Confirm order
    Create billing document
    Create changeable copy
    Create delivery
    Create inquiry
    Thanks a lot .

    hi,Imran  and rohit rathi
    thank you very much for you help,
    maybe I have't depict the problem,
    I use user status profiles to do sales order approve, i have defined a status profiles and assigned it to sales document type ,  i have defined two statuses  A00 and B00 in the  status profiles .
    I hope if the sales order in status A00,it'can make to MD04,when the sales order approved to status B00,It can make to MD04.
    but I don't know which business transaction  shoud I choose when defining the profiles' status A00 by t-code BS02.
    thanks and Best wishes.
    zeng
    Edited by: zeng zeng on May 31, 2008 11:37 AM

  • Status profile in sales order

    Dear All,
    I have a requirement  as below
    In status profile  maintained 5 statuses in the sales order when the user  releases 4th status system should not allow to change the sales order .

    Hi
    Your requirement can be fulfilled through a User exit.
    You write the logic as below, All the data related to statuses are stored in JCDS and JEST tables.
    So you can pass the OBJNR from VBAK to JCDS table there you have to get the status for the fourth profile and look for the fields
    INACT and CHIND,  if for the fouth status if the CHIND is U then there should not be nay modifications
    regards
    Prashanth

  • Status profile in sales order  Re Release

    Hi Experts,
    Scenario is like this
    Iam using status profile ZETO1 in T.Code [BS02] for releasing sales order once Sales team person creates a sales order VA01. After this Fiance person will release through sales order  status in header (i have created status profile and authorisation key
    which will be with Finance person)
    I have status profile  like this step 10 and 20 in T.Code [BS02]
    10. created (initail status)
    20. released by finance
    once finace person release this delivery can happen.(i have used user exit for this)
    the problem is if sales team member again make changes in sales order then status of sales order again should go to step 10 then it should be again released by finance person.
    whether it is possible to re realese in status profile concept in SD???
    please help
    Thanks and Regards,
    kedar

    Hi
    Your requirement can be fulfilled through a User exit.
    You write the logic as below, All the data related to statuses are stored in JCDS and JEST tables.
    So you can pass the OBJNR from VBAK to JCDS table there you have to get the status for the fourth profile and look for the fields
    INACT and CHIND,  if for the fouth status if the CHIND is U then there should not be nay modifications
    regards
    Prashanth

  • Issue regarding CRM service order status profile

    Hi Guys,
    Currently we are working on CRM 5.0 now the problem is when we create a service order then the sytem is throwing an error stating that
    Diagnosis
    Some system statuses cannot be set manually, but can only be set internally by the system. This is the case for status Contains Errors.
    Technical Note
    The maintainability of the system status is specified by SAP in the system table CRMC_STATUS_PROC. Every change to this table is a modification - SAP cannot take over maintenance for errors that result from changes made to this system table
    we have defined a new status profile for service order which consists of
    User Status                                                             System status
    1. In Process                                                            In Process
    2. Solved                                                                  Finished
    3. Defered                                                                 Finished
    kindly give your valuable inputs regarding this
    Regards
    Basavaraj patil.

    Hello Basavaraj,
    Please refer the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/830b378a50fc5be10000009b38f839/frameset.htm
    using status profiles for authorizations
    Status profile tables
    regards,
    Muralidhar Prasad.C

  • Option 'Maintenance Order' missing in 'Allowed Object Types' tab in IMG of User status Profiles

    Dear All
    I have created a User Profile using T-Code OIBS.
    Now I want to assign that User Profile to Maintenance Order. But in the 'Allowed Object Types' tab, the option "Maintenance Order" is missing due to which I am unable to assign it to Maintenance Order.
    Could anyone tell how to add the option "Maintenance Order" in 'Object Types'.
    Thanks in advance.
    BK

    Hi Peter
    Thanks for your help.
    I just found that in t-code BS13, the object categories ORI and ORH exist but 'No Status Profile' check is marked against them. That is the reason why the system is not showing the 'Maintenance Order' as an option in Allowed Object Types.
    Thanks a lot !
    Best Regards,
    BK

Maybe you are looking for

  • Bridge will not open after update.

    Adobe Updater did its update and now Bridge will not open. The message is: The Application Bridge CS3 quit unexpectedly. I have had to uninstall Photoshop, reinstall photoshop, and then all is well until the Adobe Updater gets going then bang! No mor

  • Iphoto on the Ipad

    Can you use Iphoto on the Ipad yet? When it first came out you were not able to load it on to an Ipad. There was talk of it being added in an update at some point. Did that ever happen? Its one of the vital programs I need on it. Thanks

  • FileServlet serving from FTP

    Hello! I'm trying to create a bean that opens a PDF file from another FTP server. I have it open from a local path, but can't get it to open from a FTP host. Your help is appreciated. Thanks in advance! -Tony package aiView; import java.io.BufferedIn

  • Password to a jar file.

    How can we keep a password for a jar file ,so that we can keep our class files in it and get access to them .Please give me good suggestion.

  • Update existing date field

    select date1, arrtime, deptime, CASE WHEN arrdep = 'A' then to_date(to_char(date1, 'dd/mm/yyyy')||to_char(to_date(arrtime, 'hh24:mi'), 'hh24:mi'), 'dd/mm/yyyy hh24:mi') ELSE to_date(to_char(date1, 'dd/mm/yyyy')||to_char(to_date(deptime, 'hh24:mi'), '