Re: Purchase REquisition creation with ref to SAles Order

Hi All,
I need help on an issue.
I have sales order creation and when saving Purchase REq is created at the back end. But for the sales order for item category n schedule line category combination does not allow creation of Pur Req. n pur req no. is not dislayed in Sales order.
But I have Pur Rq created with ref to sales order.
How is it possible.
In Pur req  I checked the creation indiacotr, it is with ref to sales order.not manually.
Can you please help it out..
Regards,
Smitha

Hi,
Purchase Requisition creation from Sales Order is dependent on the configuration of Schedule line category not Item category. Check configuration of Schedule line category in VOV6.
Also to see the PR No in Sales Order, double click on the Sales line item and click on the "Purchase Requisition" button under "Schedule Lines" Tab.

Similar Messages

  • Delivery creation with ref to sales order

    Hi,
        I found couple of BAPI's / FMs to create delivery but i could not able to pick the right one because i am not sure what are the important parameters i need to pass, could any one suggest me the correct bapi / FM with the required parameters for the below requirement.
    1) Needs to create delivery with ref to sales order.
    2) Batch field should be updated in the delivery while creating itself.
    I am just thinking about the FM - GN_DELIVERY_CREATE
    Thanks

    Use this BAPI
    BAPI_OUTB_DELIVERY_CREATE_SLS

  • Material Variant Matching in Sales Order Creation with ref.to Sales Order

    Hi All,
    We are working in Variant configuration.Our product is defined at PQD(Product, Quality & Dimension).
    But, Sales Contracts are created at PQ (Product, Quality/Grade ) level only.
    We have defined Variant Characteristics GRADE(ALLOY CODE),DIMENSION AND TWO MATERIALS.
    MAT 1 , configurable material.
    MAT 2, A Material Variant of MAT 1, Having values of GRADE = A & DIMENSION = 150 in MRP 3 view of the same.
    When a Sales Order is created for MAT 1  and its characteristics values are GRADE = A, DIMENSION = 150, Material Variant type matching happens & it replaces the configurable material.
    Similarly,Sales  Contract is created for Configurable material MAT 1, with only GRADE = A ( As mentioned above, only quality is known at contract creation level).But, when we are trying to creart a Sales Order with reference to this Contract, we are trying to punch characteristic Value for DIMENSION = 150 also. At this stage, Materuial Variant MAT 2 is shown, but it is not replacing MAT 1.
    Is this the standard behaviour or there is some solution/enhancement available.
    regards,
    Stuti

    Dear Vijay,
    in incompletion procedure we can arrange to check whether any field is empty, here data comparison is not possible.
    As far as I know you can not achieve this through standard config.
    To achieve your requirement, you will need to take help of an ABAPer, it can be achieved using Userexit.
    ABAPer can use include MV45AFZZ
    and Userexit ""USEREXIT_SAVE_DOCUMENT".
    the code written in this userexit will check and compare the quantities before saving the dcument.
    Logic if quantity enter is greater than the quantity mentioned in Contract show warning Message.
    I hope this solves your Problem.
    Regards,
    Paresh

  • BAPI for creation of Production Order with Ref to sales order

    Hi all,
    we are using BAPI_PRODORD_CREATE  for creating Production Order with ref to sales order.
    As per the Business Scenario, we are not creating any masters like BOM and Routing, instead
    we are creating Routing directly into the Production Order under operation overview screen.
    during creation of routing system is generating a default operation.
    the following is the error results after running the Bapi.
    "No routing selected"
    Best Regards.
    GTNRNR.

    Hi GTNRNR,
    with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?
    Regards,
    Madhu.G

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • Problem creating process order with ref of sale order

    Dear all,
    Kindly give solution for this scenerio..............................
    I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
    My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
    if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
    my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
    for this what i have to do kindly help to this
    regards,
    s.sakthivel

    Dear KK,
    Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
    Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
    Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
    Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
    Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
    Now check whether your material master and customer master are consistent with the item category settings(Item category group).
    Now create the transaction. It shoudl work fine.
    Reward if this helps.

  • Creation of Delivery with ref to Sales order

    Hello,
       I am trying to create the Delivery with reference to Sales Order using BAPI  -  BAPI_OUTB_DELIVERY_CREATE_SLS.
    At the of execution , i am getting the error No instance of object type OutboundDelivery has been created. External reference:.
    I have entered the sales order details in table parameter SALES_ORDER_ITEMS of BAPI. (Number range for Deliveries are internal)
    Can you please suggest me what could be the reason ?
    Regards
    Narayana

    Hi,
    Yes, copy controls are maintained for sales order type and delivery type in SPRO settings. The code as below.
    loop at t_vbap into ts_vbap.
          t_order-REF_DOC         = ts_vbap-vbeln.
          t_order-REF_ITEM        = ts_vbap-posnr.
          t_order-DLV_QTY         = ts_vbap-KWMENG.
          t_order-SALES_UNIT      = ts_vbap-VRKME.
          t_order-SALES_UNIT_ISO  = ts_vbap-VRKME.
          t_order-DELIV_NUMB = '0084000156'.
          append   t_order.
    endloop.
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    *DESTINATION logsys
       EXPORTING
         SHIP_POINT              = '0010'
         DUE_DATE                = DUE_DATE
        DEBUG_FLG               = 'X'
      importing
         delivery                = lf_vbeln
         num_deliveries          = lf_num
      tables
         sales_order_items  = t_order
         deliveries                = lt_deli
         created_items         = lt_itm
         return                     = lt_return
    Can you suggest me.

  • Inbound idoc to create outbound delivary with ref to sales order

    Hi,
           I am getting and inbound idoc from the external party to create Inbound delivary with reference to sales order.
           But my inbound process code FM(IDOC_INPUT_DESADV1) checking PO no. and item which is NON SAP PO no. and item in idoc.  So, it is giving error PO doesnot exist in the system .
           I want to create Inbound delivary with ref to SO not with reference to PO.
            Pls check techincal details which i am using for inbound process :
            Process code : DELS
            Inbound FM    : IDOC_INPUT_DESADV1
            Message type : DESADV
             Idoc : DELVRY05
            Kindly help me.
    Regards,
    Manoj

    Hi,
    For creating inbound Purchase Orders, you can use Idocs PORDCR1.PORDCR101 or PORDCR1.PORDCR102. I have used this and they are working perfectly for us.
    Reg,
    NJ

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • Automise CS61 BOM creation with reference to Sales order

    Hi Experts.
    Need your help in fixing one scenario:
    We have scenarion data coming from third party containing BOM data with respect to Sales order.
    We are using XI/PI,
    1: Do we have any idoc for CS61 master creation. (Not likely to move in bdc ....etc)
    2: How to Create multilevel in that....
    Please guide .. Help is appreciable.
    Regards
    Deepak Sodhi

    Hi,
    You will need to make assignment from So item to Delivery item please check if copy control is maintained at item level. Also make sure that Copy controls are maintianed for the billing document from the SO & Delivery both as this would be the next step.

  • Return order with ref to Sales Order

    Dear Experts,
    my client requirement is RO must be done with Reference to Sales Order... it is possible by making settings in Documnet of RO... but critical requirement is while doing RO with ref to SO quantity must be in greyed out mode.. user must not be able to change the Quantity ..
    Kindly suggest....
    Abhi

    Dear Abhi
    Though it is not  recommended to have this control, you can try by maintaining "A" for the field "Completion Rule"  in VOV7 for return item category
    Also I dont know why you want this control bcoz always the quantity will not match with what has been originally ordered / supplied and you cannot change the quantity in sale order if you implement this control.
    thanks
    G. Lakshmipathi

  • How to trace the pr's with ref to sales order incase ici is 2 in mrp view

    Hi, maintained 2 in ici field of mrp4 view of the roh material master. system generated pr's without any ref to sales orders. pls advise how to trace which pr's are for which sales order? pls advise.

    HI,
    It is not possible to do in SAP if you give Individial/collective requirement as 2, It is possible if you give 1 but your point is that there will be more PRs in the system. Iit is not possible through customizing.
    I would like to suggest you some options, which of course requires manual intervention.
    1. Suppose system genrates purchase requistion of quantity 100,(if you maintain ici 2)  then you need to split the pr quantity in to more line items and then specify the Account assignment as Sales order and specify the sales order number.
    OR
    1. You have to maintain the vaious sales order details in a Item text in PR.
    Note: Make sure MRP is behaving correctly.
    Regards,
    Sreenivasa
    Edited by: Sreenivasa Rao on May 5, 2010 9:47 AM

  • Error During Delivery creation with reference to Sales order

    Hi all,
    I am confused while creating delivery order with reference to sales order as this error *" Number of copying routine for table VBKD is missing in Table TVCPL"* is coming again and again.
    I have perhaps made all possible things in VTLA ( Copy sales doc to delivery doc) but still i m finding it difficult to remove it
    Please guide me in it.

    Hi,
    You will need to make assignment from So item to Delivery item please check if copy control is maintained at item level. Also make sure that Copy controls are maintianed for the billing document from the SO & Delivery both as this would be the next step.

  • Purchase requisition got deleted in the sales order..

    Hi All,
    I got stuck up with an issue in AFS.
    The issue is that after creating a P.O with the help of a TAB order,the user has assigned a rejection reason at the item level in the sales order.
    Then again the rejection reason was removed and now the purchase requisition is not appearing in the sales order.
    Now how can i get back the purchase requisition??Is there any option to retreve the purchase requisition with the help of a correction report??
    Can any one please help me out..
    Thanks.

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

  • Purchase Requisition number not changing when sales order item is rejected

    Hi all,
    I have a requirement to change the sales order status to 'TECO' when ever some reason for rejection is selected in the status tab at the item level.The status should change from 'TECO' when i remove the reason for rejection.
    The status change is happening correctly.I have achieved it using user exit.
    CASE 1 : Initially, when a new item is added in the Sales order the purchase requisition number appears in the schedule lines tab of the item level. This is as expected.
    CASE 2 :When the same item is blocked (by entering a reason for rejection in status tab of VA02 ) then the purchase requisition number is not present in the schedule lines tab.This is as expected.
    But i face the following issue.
    CASE3 : Again if the blocked item is unblocked (By removing the reason for rejection in status tab of VA02 ) then the purchase requisition number does not appear again in the schedule lines tab.The purchase requisition number is expected to appear again.
    This happens in case of DROP SHIPMENT scenario. I understand that in case of dropshipment scenario the purchase requisition number is triggered by item category and schedule lines only.
    I tried to make the changes(to change the status ) in user exits 'MV45AFZZ' and also 'MV45AFZB'.But i face the issue in both the exits.Please let me know if there are any means to solve this issue(as mentioned in case 3).
    Regards,
    S.Suba

    Many thanks for your answer. It help me to solve the issue.
    So applying note 738171, with transaction OVB5 (or VOFM, requirements->subsequent functions->Purch.requisitions) we create one new requirement, ie RV07A900, and then we apply the rule that if we have delivery or billing block, that is, VBAK-LIFSK or VBAK-FAKSK not empty, then we set an error with a code similar to this:
                da_sy-msgid = 'Z1'.    (message class)
                da_sy-msgno = '001'.  (message number)
                error_exception = true.
    and then the PR is not created.
    Regards.

Maybe you are looking for

  • How to capture a parameter value in SQL QUERY of scale marker using GO URL

    Hi, Can any one please tell me how to capture the parameter value from go url inside Where clause of Scale Marker. I am trying to sift the position of scale marker based on SQL Query. Thanks-Bhaskar Gouda. Edited by: 961171 on Sep 25, 2012 12:33 AM

  • Lion wont install. My hard drive is thinks it's time machine.

    I can't install lion because it says that my hard drive is used for time machine backups.  What can I do?

  • Shipment cost - condition type item level

    hey all , i have in 1 pricing procedure 4 condition types . 3 of them at delivery level and 1 at shipment level . i created a requirement that activate the delivery level condition (3 conditions) OR the shipment condition ( 1 condition ) . the shipme

  • AAA Authentication for Traffic Passing through ASA

    I am setting up AAA authentication for traffic that will pass through my ASA. I am having difficulty enabling 'aaa authentication secure-http-client'. Without secure communications enabled access functions as expected. When I enable access, I get pro

  • Adjustments not carried over to external editor?

    I've noticed that all my adjustments are not carried over to my external editor (niksoftware). Is this intended? Is there an option I'm missing that would allow me to do so? Because basically this forces my workflow to first do any adjustment externa