Material block in sales order

Dear All,
When ever two user create sales order with different user ID with same material system shows error that no availability can be carried out. But my user want to to show such message. How to resolve it.

Dear Nitesh,
Include-MV45AFZZ
Userexit  - USEREXIT_SAVE_DOCUMENT_PREPAR
Ask Technical person to write logic as per your requirement in that Exit
Hope it should help you
Regards,
Seegal

Similar Messages

  • Material block for sales orders

    Hello, people.
    How can I block a given material only for inputting sales orders?
    Regards,
    Adriano Cardoso

    hi 
    with reference to question i wil tel u exact answer.
    step1:  goto MM02->
    enter material  -> goto SALES ORG1 tab  , in this u have the option called  DCHAIN SPECIFICATION STATUS filed --- select the option   " sales not allowed".
    save the material.
    step2:  goto  img screen
    logistic general->material master->setting for key field->data relevant for SD->define sales status
    goto order option  select B-error.
    any doubt please reply i wil tel u
    regards
    murali
    Note:  without solving ur answer donot select option like my question is solved option.

  • How to block material issuing after sales order invoiced?

    As the subject mentioned,  could be a possible to block material issuing since sales order invoiced, or
    in the another words, after the sales order completed?
    Or could be a possible to set sales order as closed, and then material issuing related with this sales order are
    forbidden?
    Thanks in advanced,
    Zhou Zhen

    Dear Friend
    A sales order is created say order no 10000 and for material X say 10 units this order is delivered and PGIed and invoiced and the payment too has come
    That means the order 10000 is closed
    Case 1
    Now an user goes to VA02 t code and put this order no 10000 and changes the material X qty from 10 to 12 and opens up the whole order once again
    This can be controlled by using t code OVAH choosing message class the V4 message no 083 and change from warning to error
    Case2
    But to avoid the user to add material Y to the existing order say 10000 then i think we have to go for user exit
    Because the system doesnot even throw a warning message too in case 2 (according to my knowledge) and allows another line item to be added in the same order
    But you can test it if it throws any warning message we can try to convert that error
    But in case 2 it is not happening(even warning is not there)
    Regards
    Raja

  • Blocking a Sales order with Payment Terms

    Hi all
    We have a payment terms : Advanced Payment required .
    I want to block all Sales Order created with this Payment to immediately be blocked and
    will require a CRedit Block release to proceed to creating delivery.
    Please can you advise which options in CRedit Management will be suitable to enable this.
    Thanks in Advance will reward points.
    Regards
    KC

    Hi kasavan
    As you need advance payments , if you do the given configuration  your sales order gets blocked at billing (VF01 )for different dates created in sales order.
    say for example you  have given 3 dates at item level and all 3dates gets blocked at the time of billing.you need to release then create billing for that particular dates.
    make the following  necessary configurations
    item category group - 0005
    item category  - TAO
    for this TAO item category a billing plan 01 (milestone billing plan -01) will be assigned and its billing relevance should be I which is order related billing .
    billing doc type - FAZ
    cancellation billing doc type - FAS
    maintain a condition type AZWR which is down payment settlement , it has requirement as 2 and Alt calc type as 48 acct key as ERL
    Now when you enter a material in line item 10 and go to item data , you can see the billing plan tab.
    now go to billing plan tab and enter the start date and enter the dates on which billing has to be done and then in billing request enter 0009 which is for down payment.once u press enter automatically it all the dates get blocked and billing request by default  you get as 1 , that you change it to 4 or 5 . 4 is for down payment at value basis and  5 is for down payment at percentage basis. and beside that there will be a billing type .assign billing doc type as FAZ. to all dates
    check the copying requirements are there at VTFA as 20 and for item category TAO copying requirements 23 is maintained or not 
    now do the cycle    OR - LF - FAZ (billing doc type)
    Reward if useful
    Regards
    Srinath

  • Removing of billing block in Sale Order through workflow

    Hi all,
    I want to remove  the billing block in sale order when the person approves suing user decision step  in workflow .
    ANy idea would be great ...
    Regards,
    Venki

    Hi Surjith,
    task is not for the billing process ....
    and here my big problem is that i was unable to call the custom method in worklofw ....
    So attachment is not working in workflow only it works while testing if i pas the key value .
    Here my requirment is to remove  the billing block if the person approve in decision step ...
    Deepa,
    Can u tell me how to call a custom method here i am using standard BUS2032 in my task.
    already i  have BO with custom method but i dont know how to call it when the transaction get executed ....
    Thank u for ur reples...
    Regards,
    venki

  • Credit Block released Sales order report

    Hi Experts,
    My client is given few sales orders (around 4)no and requesting us, to prepare the credit block released sales orders report (include released person user ID).
    *.No change logs is existing for all sales order and deliveries.
    For above requirement I am using CDHDR table data but I am not getting credit block released sales order report.
    Below fields I am using in CDHDR Table.
    Change doc.Object (objectclas) : VERKBELEG
    Document No (CHANGENR): Sales order no XXXXXXX
    Transaction no (TCODE) : VKM1,VKM2,VKM3
    Date(UDATE) : 25.09.2011 to 09.11.2011
    Experts, Can you please help me out for this.
    Thanking you!!!!
    Regards,
    Vijaykumar Kola
    *.I'm already aware of this is a new development.

    Try this, simple report... Here we check the new value of credit  status field VBUK-CMGST and if it is 'D' we know that someone used VKM* transaction to release the document. Also you need to format the sales order number with leading zeros so it occupies all 10 digits and pass it to CDHDR-OBJECTID field (and not CHANGENR field). In the below code I am using select option for sales order number, so I know it will be formatted with leading zeros and so select on CDHDR will be successful.
    *& Report  ZTV_TEST
    REPORT  ztv_test.
    TABLES: vbak, cdhdr.
    SELECT-OPTIONS: s_saldoc FOR vbak-vbeln OBLIGATORY,
                    s_udate FOR cdhdr-udate.
    RANGES: r_objid FOR cdhdr-objectclas.
    DATA: ls_cdhdr TYPE cdhdr,
          ls_cdpos TYPE cdpos.
    IF NOT s_saldoc IS INITIAL.
      LOOP AT s_saldoc.
        MOVE-CORRESPONDING s_saldoc TO r_objid.
        CONDENSE: r_objid-high, r_objid-low.
        APPEND r_objid.
      ENDLOOP.
    ENDIF.
    CHECK NOT r_objid[] IS INITIAL.
    SELECT *
      INTO ls_cdhdr
      FROM cdhdr
            WHERE objectclas = 'VERKBELEG' AND
                  objectid IN r_objid AND
                  udate IN s_udate AND
                  tcode LIKE 'VKM%'.
      SELECT SINGLE *
        INTO ls_cdpos
        FROM cdpos
          WHERE objectclas = ls_cdhdr-objectclas AND
                objectid = ls_cdhdr-objectid AND
                changenr = ls_cdhdr-changenr AND
                tabname = 'VBUK' AND
                fname = 'CMGST' AND
                value_new = 'D'.
      IF sy-subrc = 0.
        WRITE:/ ls_cdhdr-objectid(10), ls_cdhdr-username,
                ls_cdhdr-udate, ls_cdhdr-utime.
      ENDIF.
    ENDSELECT.

  • Credit block a sales order or delivery individually

    Hi
    If I just wanted to block a sales order or delivery because of a credit issue,  but did not want the customer to go on credit block/hold,  is the only way to do this use the delivery and billing block.  I can't remember being aware of any other blocks we can use
    Please advise.
    thanks

    Hi Kyliesjordan
    It depends on if you want the customer's credit exposure be impacted or not. If you are not bothered about the credit limit, then you can go for order blocks as mentioned by you.
    If you want the system to be updated for credit exposure then you can configure simple/automatic credit checks as per your requirement.
    Best Regards
    Sathees Gopalan

  • Schedule Background Job :  Remove delivery Block in Sales order

    Hi Gurus,
    I have a requirement to select all sales orders as per a condition and remove delivery block at
    VA02-> Go to -> Header -> Status
    For that I have to write a program which will be run only in background and i have to schedule background job for the same.
    I have a parameter at selection - No of records
    If no of records = 500 , I have to submit 500 jobs ie one job each for each sales order for removing delivery block.
    I need to know
    1) Which function module/bapi I can use to remove delivery block at sales order header level.
        For blocked delivery the status is 'BSTK" . to remove block i need to change status to "RSTK".
    2) How to schedule a background job for my program and how to submit one job each for each sales   order.
    Regards
    Avi.

    Hi Avi,
    Would like to seek for your advice. I am facing the same scenario too which is to delete the delivery block but is deletion of the delivery block is done in the user exit MV45AFZZ. The subroutine which needs to have the extra logic of deleting the delivery block is USEREXIT_SAVE_DOCUMENT_PREPARE.
    Need your advice on how do you solve this scenario? Thanks in advance.

  • How to check the analysis of material determination in sales order

    hi,
    We are trying to create a sale order with material determination. Material determination analysis is on. After  switching this on  while adding a new line item, in an existing sales order, we are able to do analysis as the system itself takes us to analysis screen. But once  the document is saved, we need analysis to be done  at material determination for the determined materials  , something similar to  pricing or account determination analysis.Please help
    Regards,
    Aparna.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • Automating delivery blocks in sales orders

    Hi,
    We have a delivery made with ref to a sales order. The goods are third party warehouse managed.When the goods are no longer needed, a third party warehouse sends an idoc in our system. This idoc deletes the delivery in our sap system and as soon as the delivery is deleted, the system also puts a delivery block(VBAK-LIFSK) in sales order at header level so that no further deliveries are made with ref to sales order.
    There is an issue at present that this delivery block is not set in sales order when the delivery is deleted.
    could anybody pls help where the code might have been written to automatically put the delivery block in sales order when the delivery is deleted.
    regards

    Hi,
    Just code the delivery block logic in DO user exit MV50AFZ1 routine "userexit_delete_document".
    Thus, when DO deleted then system will auto set delivery block to SO.
    Hope this help.
    Cheers,

  • How to change the status of material while creating sales order via BDC

    Hai.
    In BDC while creating sales order( va01 posting ) it is stucking up in middle saying material is new. I.e Sales order (va01) is not  getting created because  of material status is new . I want to create sales order  (va01) even  material status is new.
    pls give me out the solution. Points will be rewarded.
    thanks & regards,
    sami.

    Hi,
    If you drag the line item a little towards the right side, you will find a filed material entered. The one you see in the material filed on sales order over view screen is the one determined. You can as well double click and see the fields material entered and material determined.
    Is there anything else you are expecting to see as part of analysis ?
    Regards
    Sadhu Kishore

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to block a sales order when there is a free good item .

    Hello Gurus ,
    How to block a sales order when there is a  free good item  , only the authorised person should have authorisation to release those blocked Sales orders.
    Reason - They want to have a track of free goods given to customer & to avoid the misusing things
    Looking  for your inputs
    Thanks in advance
    Regards
    Venkat

    Hi
    I think you can try with Status Profile in BS02 define and assign for item category TANN.
    In status profile you can block the delivery and also billing unless some changes the object status as released.
    Just try and explore
    regards
    Prashanth

  • Function to find quantity of a material in Open sales Order in 4.5

    hi ,
    is there any function to find the total quantity of a material in open sales order for an input date in 4.5
    Regards

    I think you may find function <b>RV_BILLING_PRINT_VIEW</b> helpful. This is the function used by the standard SAP report <b>RVADIN01</b> to assemble all the information needed to print a Sales Order. The structure and table output by this function contain all the information in the header and line items of the Sales Order.
    To watch this function in action, set a break point on this function (line 1075 of RVADIN01 in my system) and print a Sales Order (SO).
    I use VF31 to print an arbitrary SO during testing.
    Your company may have altered the standard print configuration for sales orders in SAP. If so, you will need to note the output type of your test Sales Order in VF31 and use Transaction <b>V/83</b> to determine which program is being used to print that type of SO.

  • Customer Credit Block at Sales Order Level

    Dear Experts,
    We have requirement,
    Example:
    If we received the Bank guarantee from customer(Berry) $10000,till $10000 it should able create the sales order, more than bank guarantee system should block the sales order creation.For same customer(Berry) some times will receive the cash instead of Bank guarantee.in this case system should not block the sales order creation and this sales order value should not update in FD33. Please guide, what configuration needs to be done to full fill this requirement. Thanks in Advance.
    Regards
    Shankarappa H L

    Dear shankarappa HL
    Please post this question in FI Forum may be it will help , i hope

Maybe you are looking for

  • Jack on the dock is bent and now will not sync to computer

    I've enjoyed my new Shuffle. However, the other day, the jack on my little iPod Shuffle dock was bent. Now, the dock refuses to recognize my iPod. Is there a way to fix this, or will my warranty cover it? I really REALLY don't want to spend $35 on a

  • Why does my iphone 4 go in and out of charging when plugged in?

    I have an iphone 4 with the recent ios8 update installed but for some reason recently it does not charge right away when plugged in, and when it finally does charge it can blink on the screen in and out of charging like the cable is not supported.  I

  • Scandinavian characters in Leopard terminal

    I have a problem with Leopard terminal. It seems that no matter what I do, the terminal is not able to show scandinavian characters. I have tried to change all the related setting in Terminal preferences. I can now write special chars like ä, ö, å bu

  • All projects seem to have duplicated themselves...how do i clean up?

    Came to the computer this morning and a junk project had been created. Is that project is every image in my aperture library. Before trying to deleted I tested it by deleting one recent image. I could see that remove the image from the junk project a

  • Sysinternals ProcDump Question

    I'm working on a Quickbooks issue and I require a little assistance. "Nearly" everytime the user attempts to print through Quickbooks it crashes. Everything else on this machine is running fine. I ran procdump 6 times while trying to print from diffe