Return of material with reference to mb0a

Hi,
i have following questions?
My client has following business process material pr is generated, then rfq is generated with ref to pr then po is generated with ref to rfq.
1 Once the PO is generated with ref to RFQ the system should not allow to create new Po with the same RFQ
2 PO quantity should not me more then PR quantity
It is urgent plz help me out
Regards

Hi,
As you are doing PR------> RFQ -
> PO
AND want to restrict PO creation with more than PR Quantity ,then set error message in following path :
SPRO>Materials Management>Purchasing>Environment Data->Define Attributes of System Messages--->system message
Set the message no : 06 076 as Error & save.
Now, when all the PR quantity already converts to PO, system will not allow to create a another PO from that same PR again .
Regards,
Biju K

Similar Messages

  • How to Restrict Return Sales Order with reference to a cancelled invoice

    SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
    Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
    Kindly share your possible solutions.

    Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
    Kindly go through at Copy Controls
    T.CODE:VTAF
    in that some body might have maintained between S1 invoice to RE Sales Document.
    Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
    Rewards if Usefull
    B.Shyam Sunder
    SAP SD Consultant

  • Creation of new material with reference to other material

    Hi All,
    I have requirement where i have to create new selling unit material with reference to the given material.
    Now, can any buddy suggest which FM or BADI i have to use to read BOM and ROUTING  info of reference material and same to create BOM and ROUTING for new material.
    Doing this with BDC after reading data directally from tables is one option, But i am looking for any BADI or Fm which will serve the purpose.
    Thanks in Advance,
    Rahul

    Hi,
    ... but if you prefer FM, then you can use BAPI_MATERIAL_MAINTAINDATA_RT or BAPI_MATERIAL_SAVEDATA, depending if you are using Retail or not. BDC is usually not possible for all views - which you would need for complete creation.
    Regards,
    Christian

  • Create a configurable material with reference to another config material

    Hi,
    I want to create a configurable material with reference to another configurable material from different system.
    Please tell me what data i need to check to see if that material has been created (copied manually) successfully.
    Thanks.

    Hi,
    In case of configurable material most important thing is configuration so please check weather the configuration is copied perfectly with all characteristics or not. Similarly check the valuation class and price control is proper or not.
    Regards,
    Umesh

  • Create Material with reference

    Hi all. I have the next requeriment:
    On a Z program, a user creates a relation between 2 material in 2 different plants, when the material on the 2nd plant doesn't exist must be created as a copy of the original material. For example:
    Original MATNR --> MATERIAL01
    Original WERKS --> IN55
    Copy MATNR     --> MATERIAL02
    Copy WERKS     --> IN25
    In this case, the material MATERIAL02 doesn't exist in the IN25 Plant, so it must be created as a copy of the MATERIAL01.
    This could be done manually on MM01 trx and adding the MATERIAL01 value as the reference material, but this needs to be done automatically, and the easiest way to do it is using BAPI.
    Does anybody know a BAPI to do this??
    Thanx.
    Jesus

    You can use the BAPI_MATERIAL_SAVEDATA.  You will have to get all of the data for the reference material, then swap the material number,  then call the BAPI.
    Regards,
    Rich Heilman

  • Create material with reference using BAPI

    Hi
    I need to create material using refrence to another material for all material Views. Can I use BAPI_MATERIAL_SAVEREPLICA.
    Which parameter I need to fill for reference materia
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 12, 2011 3:18 PM

    Hi Goutam,
    You can use the BAPI BAPI_MATERIAL_SAVEDATA, which will create/update the material. You can pass the reference material in the filed BAPI_MARA-PL_REF_MAT. And you can pass reference material for all view like this.

  • Want to procure material  with reference to WBS and sales order

    Dear all
    If i have assigned account assignment in PO means then while GR my material value is going to consumption. I dont want to book consumption at GR level i want to do consumption at delivery level. Also i want to procure material for particular WBS and Sales order.
    How to process the same. Kindly give some idea.

    Hi
    If you wanna toprocure the material wrt to WBS element or sales order the you have to make use of the Account assignment category P- projects ( That can be WBS elements /network ) And sales order C or any specific account assignment category created by you.
    Example :
    Sceneraio- When you are creating a slea order in SAP by T.code VA01 then at time of saving the SO the system is creation the WBS automatically ( that has to be mapped in SAP) .The Sales order number and the WBS element are  same .When you are cretating PO for  the Material wrt to  this WBS element then the system at time of the GR will be posting the consumption account which is booked to WBS element that in turn against the particular sales order.
    In SPRO - customizing i for the account assingment category P  in the Consumption Value is V
    Which is posted to consumption at time GR. Please  try create new account assignment category
    Consumption Value is E i.e accounting by sales order .
    Regards

  • How to trace Returnable packaging material pending with the Customer.

    Hello Everyone,
    In case of Returnable packaging,
    Is there any standard procedure, by which system can give you number of returnable packaging material with the custome.
    Client's requirement is to have number of pallets with the customer on the Invoice.
    Regards
    Trupti Deulkar

    hi,
    1.Returnable packging issue has a special stock indicator which will show in the Inventor stock with whom the returnable packging material lies in MMBE.
    Follow the link
    http://help.sap.com/saphelp_46c/helpdata/en/dd/560051545a11d1a7020000e829fd11/content.htm
    Thanks
    Shekar

  • Adding Credit Notes with reference to Invoice

    Hi Experts,
    B1 Version: 2007
    PL: 41
    Im having a difficulty posting a CreditNote with reference to an Invoice. For example I have an Invoice with 3 line items, and this customer returned 1 material. How do I post this Credit Note with only 1 material with reference to this Invoice thru DI API?
    Thanks

    Hi
    Try this
                    Dim oCreditNotes As SAPbobsCOM.Documents
                    Dim RetVal As Integer
                    Dim ErrCode As Long
                    Dim ErrMsg As String = String.Empty
                    Try
                        oInvoices = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                        oCreditNotes = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)
                        'Set the document header fields properties
                        oCreditNotes.HandWritten = BoYesNoEnum.tNO
                        oCreditNotes.CardCode = "cardcode"
                        oCreditNotes.CardName = "cardname"
                        oCreditNotes.DocDate = "date"
                        oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
                        oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
                        oCreditNotes.Lines.BaseLine = 0 'first line
                        oCreditNotes.Lines.Add()
                        oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
                        oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
                        oCreditNotes.Lines.BaseLine = 1 'Second line
                        RetVal = oCreditNotes.Add()
                        If RetVal = 0 Then
                            MsgBox("Credit memo created")
                        Else
                            B1Connections.diCompany.GetLastError(ErrCode, ErrMsg)
                            MsgBox(ErrCode.ToString + ErrMsg)
                        End If
    Hope this helps
    Regards
    Arun

  • Is it possible to set lead time with reference to Inco term

    Is it possible to set lead time with reference to Inco term.I want to capture transit time in combination of Vendor & Material with reference to Inco term. Any other provision except the field of Plnd delivery time of Info record & GR processing time of Material Master.

    Hi,
    Your planned dely time should consider this.I think not possible.
    Thanks
    suresh

  • Sales order creation with reference to check quantity according reference

    Hi,
    I create return sales order with reference. But the problem is that system can not check the quantity of creation sales order according reference quantity now. I want the system check the quantity according reference sales order quantity and do not allow to put sales order quantity more than reference sales order quantity.
    Thanks.

    hi,
    please check the below thread
    Return Quntity is more the sales Quantity?
    this may help you
    regards
    senya

  • Non Exicable Material with Double GRN

    Dear Experts
    how we can stop or convert it into Error
    when we r taking the  GRN of non Exicable Material  with reference to PO , then system allowed the GRN multiple Times, which is not Physible  at that  movement only Single GRN must be there and system will Genrate the Error When we r taking again GRN of that Purchase Order..
    Rgds
    Pankaj Agarwal

    Dear Experts
    Can any one Suggest how to resolve  the issue by any Method.
    Prinyanka
    Can u help me out with  this situation  ,Document is not  Exicable , then where we can Put Double check
    for Non Exicable invoice case.
    Help will be highly appreciable
    Rgds
    Pankaj Agarwal
    Edited by: Pankaj Agarwal on Mar 24, 2009 10:59 AM

  • Return Order with reference to Proforma invoice

    Dear All
    Is it possible to create a return order with reference to proforma invoice. How ?? if possible.
    Our scenario is when we do stock transfer order and truck meets with an accident or anything and material needs to written to the factory premises. we dont want to complete proforma invoice.
    Suggestions PLZZ
    Regards-
    Ram

    I don't see any the relevance or logic of creating of return order from proforma invoice.
    You can follow - Returns flow:
    PO type is same ( Intercompany STO PO type is NB )
    While you make this PO there is a return indicator check box at the line item where you will give qty etc (scroll on the rt side)
    Tick that
    Then save the PO with all other information
    There is a configuration Return delivery type has to be assigned
    IMG-MM-Purchasing-PO-Returns Order-Return Plant to Plant
    Here for your plant you need to assign delivery type as NCR This config is reqd to be done from your end
    So, the Flow would be
    - ME21N (with returns indicator)
    -VL10B
    -VL02N (delivery type will be NCR ) & do a PGR here
    -VF01 do billing with reference to delivery created
    I Category in del will be NCRN & M type will be 673
    If you are using standard document types system will pick billing type as IG which is nothing but a intercompany credit memo
    Copy controls between NCR and IG in VTFL is already there in standard
    For understanding also, refer following link:
    return process intercompany stock transfer
    Hope this can assist you.
    Thanks & Regards
    JP

  • Return order with reference to the billing document created via IDOC.

    Dear Colleagues,
    I’m struggling to understand and confirm whether standard functionality of ORDERS05 idoc allows creating a return order with reference to existing billing document?
    I have tried using standard segment E1EDK02 and E1EDP02 with qualifiers 009,010,011,087 but unfortunately idol is not creating a return order with reference and ignoring this segment.
    Have any one came across similar problem? If yes then will be grateful for sharing his experience.
    Best regards,
    AL

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • Return order with reference to the Billing Document

    Hi All,
    This is with reference to issue that when I create a Return order with reference to the Billing document
    I had one line item in the billing document say xxx of quantity  4  I had done the setting in the
    system messages V4 229 to convert the warning to error messages for billing quanity to order quanity
    If I enter in the first line item 8 insted of 4 system will throw a error but the issue is the same item xxx of qty 4 is entered in the second line item  and system allows to save the return order how to stop  this
    Please give the valuable feedback.

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

Maybe you are looking for

  • How to block a delivery when an A/R Down Payment Invoice is not paid?

    1. Create and add a Sales Order 2. Create and add an A/R Down Payment Invoice based on the created Sales Order (set DPM % to 50) 3. Create and add a Delivery based on the created Sales Order The delivery is not blocked. Is there an easy workaround/al

  • Credit Memo and Invoice (MIRO)

    Hi Experts, 'We have posted many Invoice (MIRO) Vendor Credit, GR/IR Debit, also we have posted several Credit Memo (Vendor Debit, GR/IR Credit), document type of both the document is RE, how can I segregate them. Please explain. Regards GR

  • Time Machine Not Working After Yosemite Upgrade

    I upgraded my MacBook Pro to OS X Yosemite last week. Upgrade was flawless. However, when I plugged in my 4TB external hard drive for Time Machine Backups, which had always worked before, the computer spent over 90 minutes "Preparing Backup" and neve

  • 24" LCD has Super short mini-display cable that does not reach

    I was setting up a 24" display (on an LCD arm) and i noticed the mini display cable is very, very short. It does not reach to the Mac Pro under the desk. I guess the 24" displays were made for laptops and did not expect that the cables would need to

  • Convert Script output data to Text(.txt) file & send mail with attachment.

    Hi All, Requirement: I shulb be able to conver th Script output data to Text(.text) file & send a maill with attachment with this text file. Formant of text file should be like output of Print priview. Plese sugget with Function modules to cover as T