Requisitions can't be grouped by Sales Order

Hi Experts,
Currently oracle doesn't support the group by of requisitions by sales orders (see Bug No.2350185).
I would like to get in contact with companies that also need this requirement and how they solved this issue.
Thanks for your reply,
Hans Herrings
Flowserve

hi Xavier,
run this query,
this query will apply on Sales Order - Delivery Scenario
SELECT     T2.DocNum, T2.CardCode, T2.CardName, T3.LineNum, T3.TrgetEntry, T1.DocNum AS [Delivery No.], T0.BaseRef
FROM         DLN1 T0 INNER JOIN
                      ODLN T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
                      ORDR T2 INNER JOIN
                      RDR1 T3 ON T2.DocEntry = T3.DocEntry ON T0.BaseEntry = T2.DocEntry AND T1.DocEntry = T3.TrgetEntry AND T0.BaseLine = T3.LineNum
WHERE     (T0.BaseRef = '[%0]')
the Delivery No. is the Target doc & the Base document is your sale Order....
this query will apply on Sales Order - A/R Reserved Invoice - Delivery Scenario
SELECT     T2.DocNum AS [Order_No.], T2.CardCode, T2.CardName, T3.ItemCode, T3.Dscription, T3.Quantity, T1.DocNum AS ReservedInvoice_No, T0.BaseRef
FROM         INV1 T0 INNER JOIN
                      OINV T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
                      ORDR T2 INNER JOIN
                      RDR1 T3 ON T2.DocEntry = T3.DocEntry ON T1.DocEntry = T3.TargetType AND T0.BaseEntry = T2.DocEntry AND T0.BaseLine = T3.LineNum
WHERE     (T0.BaseRef = '[%0]')
regards,
Fidel

Similar Messages

  • About account assignment group in Sales Order.

    Hi gurus,
    I am working in SD for the first time and I am facing below problem
    1. Material code was created  with account assignment group (MVKE-KTGRM)  as blank (Sales Org 2 view)
    2. Later this material was entered in Sales Order.
    3. Subsequently Sales Order BOM and Production Order were made against this material.
    4. We maintained account assignment group in material master after creation of Sales order but account assignment group was not updated in Sales Order.
    5. Now the field is gray out or non-editable is there any way by which we can maintain account assignment group in the sales order.
    6. As the field is non editable we are unable to do Invoice by VF01.
    Is there any way by which we can maintain account assignment group in Sales Order??
    Edited by: Deepak Kulkarni on Mar 6, 2012 2:09 PM

    Hi
    As you have mentioned that you have maintained the acct assignment grp in the material master after the order was created, it will not appear in the sales order item already created and it will only reflect in new orders and changes to existing orders for that material.
    Proposed solution:
    If it is order related billing that you are doing, then goto VA02 and delete and re-enter the item with same material and qty.
    The account assignment group will appear.
    If the item is delivery related and if the delivery has already been created but PGi not done, then delete the delivery and then delete the item in the sales order and re-enter the item as told above. If PGI also done, then reverse the PGI, delete the delivery and re-enter as suggestd in above scenarios.
    The account assignment group will appear in the billing document document tab in item level.
    Regards
    Madhu

  • Credit group in sales order

    Hi
    How we link credit group to sales order ?
    Regards
    Prabudh

    hi,
    it is done through ova6 Transaction code.  more over i am sending you the screen shot of credit check managment stps. follow this u will not get any error while u r determining the order.
    pl. follow the steps of credit check.
    1. Define the credit control area under img=definition=financial accounting= define cr.control area.
    2.assign it your company code and ur sales area under assignment under img screen.and assign it your sales document types and delivery types and pgi.
    3. create the credit groups for your customers. it can be determined or happen in three stages either in Sales order , or else in delivery or in Post goods issue (PGI).
    the menu path for credit groups as IMG= SD=BASIC FUNCTIONS= CREDIT MANAGEMENT AND RISK SETTINGS= DEFINE CREDIT GROUPS.
    ex: Z1 - credit groups for sales order
    Z2 - credit groups for delivery
    Z3 - credit groups for PGI
    4. define the risk categories. it is required b'coz the customer is of high risk, or medium risk, or low risk customer.
    it is under IMG= FINANCIAL ACCOUNTING= FINANCIAL ACCOUTING AND GLOBAL SETTINGS= DEFINE RISK CATEGORIES.
    ex: Z1- LOW RISK CUSTOMER
    Z2 - MEDIUM RISK CUSTOMER
    Z3- HIGH RISK CUSTOMER.
    5.maintain automatic credit control check for ur credit control area and credit groups of the customer and risk categories. so that the credit check will determines automatically. menu path is IMG=SD=BASIC FUNCTIONS= CREDIT MANAGEMENT AND RISK CATEGORIES= DEFINE AUTOMATIC CREDIT CONTROL.
    6. while u r creating automatic credit control, pl. copy from the std. one and make changes. so that all the existing details will copy and fine tuning have to be done by the SD consultant. basically this is integration with FICO.
    So copy it from any one of the 1000 credit control area and make changes like
    dynamic credit as C and activate the open for order and deliveries and save
    i.e maintain credit control area + risk categories+ credit groups for the customer.
    7. finally maintain the credit limit thru FD32 for ur customer. activate everything on that screen.
    if you follow those rules, definetely cr. limit will determine for you.
    pl. reward point if it is helpful.
    regards
    KR

  • How can I create a new sales order template

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • How can I create a new sales order template in SAP CRM 7.0

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • Changing Availability Checking Group in Sales Order.

    Hello Gurus:
    We changed the checking group in the material master.  The existing sales orders still shows the earlier checking group.  So how to change the checking group in existing sales order also (after it is changed in material master).  Also, once the checking group in sales order is changed, how to de-commit and re-commit material as per the new checking group.  Thanks.
    - Chetan

    Chetan,
    As you have changed Checking Group in MMR later on all ur availability check etc will be calculated as per previous MMR settings..
    Still go to OVZ9...See if your sales order has correct Check rule/Group..
    Then Go to sales order Carry out availability check again...See if Avalability Overview has changes as per your new Check Rule..
    Also Do Some R & D...
    Like test with change in quantity of line items...save and carry out avalability check gain..See if schedule line dates in Sales order Is there any change?
    See if any change is there...
    If not better create new  sales order...it will minimise your efforts and will be quicker way..
    REWARD IF U FINDS THIS AS USEFUL...
    Regds
    MM

  • How to clear the delivery group in sales order?

    Dear All: 
          My sales order is auto created from CRM by BAPI, but in vbap table, the GRKOR field is 001, only one order ,  how to clear the delivery group in the sales order ?
    Regards
    Peter.

    Thread Locked - Reason Duplicate Post
    How to clear the delivery group in sales order?
    Please dont post the same query twice.  Continue all your queries in one thread
    G. Lakshmipathi

  • Same serial number + material combo can be used in different sales orders?

    Hi,
    We have a recurring issue in our system where a Serial Number/Material combination can be used in another sales order once it is already in ECUS status.
    Example: We sell and post material 123 with serial number 456, it goes into ECUS status, and we are then able to create a sales order with the exact same numbers.
    Is this something that I should escalate to OSS? Why is this happening? Is there an IMG setting where I can turn on this functionality?
    I woud be very grateful for any help! Thank you so much!

    Hi San,
    The org. determination rule is setup correctly, I've followed the link below to determine sales area on item level - to clarify, we are creating online sales orders (B2B scenario)
    https://help.sap.com/saphelp_sm40/helpdata/en/61/ac747795b511d3b53e006094b9ea37/content.htm?frameset=/en/63/02b638faa32d…
    Check the table in the section "Organizational data at item level" - i have already assigned an org.determination profile with no determination rule on item level and still facing the same problem.

  • Can a material of a sales order have more than one billing doc

    Hi,
    Can a material of a sales order have more than one billing doc(vbrp-vbeln)
    Regards,
    Seema

    Hi,
    Yes it is possible.we can have multiple invoice for a sales order of one line item.
    For this we should have order quantity not exceeds billing quantity at the item category level.
    Also we have to use teh field Quantity +/- indicator at the copy control level.
    Regards,
    Krishna.

  • What table where i can find the errors in Sales Order

    hi,
    what table where i can find the errors in Sales Order. here's my situations, I need to create a abap report of CRM sales order not replicated to R/3 and show what's the error. I can't find the actual error in CRMD_ORDDERADM_H and CRMD_ORDERADM_I. I also tried calling program "CRM_ORDER_READ" but the program doesn't display/returns error's on header and item level.
    please help.
    earl g. faren

    hi,
    what i need is a table where i can find the sales transaction errors. I'm doing a abap report to list down sales transactions with error(s). I checked the table CRMD_ORDERADM_H and CRMD_ORDERADM_I but there's no field for transaction errors.
    please help me find a table where I can link the tables above to get the specific errors for a sales transactions.
    thanks alot.

  • Where we can see requirement type in sales order.

    Hi
    Where we can see requirement type in sales order ?
    Can we change the requirement type in sales order.
    Thanks,
    KP

    Hi
    1.You can see requirement type in sales order in the Procurement tab.
    2.Yes you can change the requirement type in sales order in the same field.
    Regards
    Vamsi

  • Mass Changes in a group of sales orders

    Hi
    I need to change the data in a group of Sales Orders, and was going to use T-code MASS. However the field I require is not in there. I am looking at changing one of the Partner functions on the Partner tab. Any idea on how to do this?

    Hi wendy,
    CATT is there in 4.7.  from ECC5.0 eCATT has come but in 4.7 CATT is there. use T-code SCAT
    http://www.sap-img.com/sap-catt.htm
    thanks,
    Raja
    Edited by: Raja Singh Chhabeda on Jul 31, 2008 7:54 PM

  • How can I use the field "Sales Order" on derivation?

    Dear All.
    This is about PA characteristic derivation.
    I want to change the characteristic value "Sales Order (KAUFN)" by derivation.
    But I cannot select the characteristic field on target field.
    The field "Sales order(KAUFN)" doesn't exist there.
    Why? How can I use the field "Sales Order" on derivation?
    Y.C.Bae

    Hi Bae,
    in order to be able to choose fields KAUFN (for sales order) and KDPOS
    (for sales order item) as target fields of derivation step 'enhancement'
    you have to modify the coding of subroutine EXIT  GET_ALLOWED_TARGETS
    in program RKEDRCOPA like this:
        NAME-IDENTIFIER = 'CO-PA'.
        NAME-TABNAME = FIELDTAB_ENTRY-TABNAME.
        NAME-FIELDNAME = FIELDTAB_ENTRY-FIELDNAME.
        IF FIELDTAB_ENTRY-USGFL CA 'DUV'
    BEGIN OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KAUFN'
             OR FIELDTAB_ENTRY-FIELDNAME = 'KDPOS'
    END   OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KNDNR'
             OR FIELDTAB_ENTRY-FIELDNAME = 'ARTNR'
    Actually sales order number and sales order item shouldn't be changed
    by derivation (therefore they are no valid target fields in standard)
    but if you need to fill them within an enhancement this modification
    will help you to define them as valid target fields. But this is just
    the technical frame so far; the logic from which table you'd like to
    derive the sales order number correctly depends on your implementation
    of the enhancement! I just want to ask you to be rather careful with
    the implementation of the exit so that the sales order number isn't
    changed in cases that shouldn't be concerned.
    Regards,
    Abhisek

  • Two Purchase Requisitions created on MRP for one Sales Order

    Hi,
    A Sales Order has been created with one schedule line and one delivery date. When MRP is run it creates 2 Purchase Requisitions. The material in the Sales Order is a Prepack Material and has a component attached in the BOM. Please advice as to why the order is splitting when MRP is run and also why 2 PR's are created.
    Thank you for your help.

    Please check in OVZG................assembly type........if u maintained .3 or 4. It may be the reason
    Dynamic assembly order ---SAP HELP DOCUMENT
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly. Depending on the results of the availability check, either one or several procurement elements are created. The quantity for a one-time delivery and/or the next possible deadline for a full delivery and/or a delivery proposal with then ext possible deadline are displayed on the availabililty control screen.

  • After creating deliveries, the Bill-to and payer can be updated in the sales order.

    After creating deliveries, the Bill-to and payer can be updated in the sales order.
    Is there any standard customizing avaiable which will not allow the change of bill to party and payer in Sales order after delivery creation?

    Either via sdh0 you can set the field as non-editable or in configuration, if you set the field for BP as not modifiable in Partner Determination for Sales Order Header, then users wont be able to change the partner function in sale order.
    G. Lakshmipathi

Maybe you are looking for