CRM contract - BOM refer to Sales Order

I have a contract created in crm for a material MATSub1 for a Customer CUST1
As per my configurrations, whenever i try to create a sales order for MATsub1 for CUST1, then its contract (Created earlier) is popped up and is linked with sales order.
Now, Lets assume that there's Sales Bom created in system with Main Material as MATHEAD1 and its subitems as MATSUB1  MATSUB2.
Thus, whenever a sales order for MATHEAD1 is created the bom is exploded as per expectation.
Now the scenario requirement is that if a contract exists for any subitem material e.g. MATSUB1, and a sales order is created for main material i.e. MATHEAD1 the bom should explode and bold contract for any subitem should be popped up (if exists earlier).bold
hope my query is clear. any info in this regard will be highly appreciated.
thanks.
Robert.

You wil not be able to access one Form's values from another form but within the same form it would be possible.
Most fields or columns on the form are accessable using the
$[$Item.Column.Type] syntax
For your requirement, since the field is at the form level and not in the grid rows, the column part of the syntax would be 0.
The Form (139) does not get used in a formatted search.
SELECT $[$-29.0.Number]
the above will give you the DocTotal that you see at the very end of the form
SELECT $[$-22.0.Number]
wil give you the Total Before discount value
The - (minus sign) has been used because you are trying to assign this to a User Field which is not actuallypart of the main form but the one on the side.  If you are assigning the formatted search to a field on the main form you will not need the minus sign
Regards
Suda

Similar Messages

  • 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

  • BOM selection in sales order

    hello, friends.
    when selecting the BOM in the sales order, the selection screen displays alternative BOMs for 1 usage type only, and will show the other usages one at a time only if the first type does not exist.  the sequence depends on the priorities (access sequence) set in IMG, and settings in item category. 
    my questions are:
    1.  does the 'next page' button in the selection screen refer to additional BOMs of the only same usage type?
    2.  is it possible to show other usage types in the same selection screen? if yes, where do we configure this
    many thanks for your inputs.

    hello, Rags.
    actually, BOM selection is working fine for us.  my question was more of a theoretical one.  to clarify the issue, let me cite an example:
    1.  for material A001, i create 5 alternative BOMs. 
    2.  of these 5 BOMs, 3 have usage type SD, and 2 have usage type Production.
    3.  when you enter your BOM header material in the sales order, a selection screen will appear.  because of the priorities set in IMG, it will show you only the 3 alternate BOMs of the SD usage type.
    3.  the system will display the 2 other production BOMs only if there are no SD usage BOMs or if these have been deactivated, or if you change the order of priority in IMG. 
    4.  you cannot change the usage type in the BOM selection screen because this field is not available for input.  there are "next page" buttons, and i'm wondering if this is or is not just for long lists of alternate BOMs with a single usage type.
    my question:  is it possible to show all 5 BOMs regardless of usage in the same list, or in different pages?
    many thanks.
    Edited by: jonathan y on Apr 3, 2009 7:55 PM

  • BOM Production in Sale Order

    Hi all,
    I have a finished good is ABC, strategy is 20 (make to order).
    I have a variant for ABC, the quantity of components in ABC is 1 pc. When I create a Sale order, I have to choose some characterristics. It depend on requirement of customer. I can see cost estimate in cost report function of Sale Order and inform to customer. My question is "if I change the quantiy of component in ABC is 2 or 3 pc, the cost estimate will be change?"
    If not? how i see the cost of order after change component in BOM.
    Thanks all

    Dear,
    I have noy fully understood your question. What I understood is you have created Sales order and then you chnaged the BOM qty of sales order BOM. Will it chnage the  cost estimation?
    It depends. If you have chnaged the BOM after sales order is created, if you go for recost run, it may change. and you may get the correct cost.
    Are you looking for this?
    Raj

  • BOM explosion in sales order

    Hi Experts,
    I have met a problem in BOM explosion in sales order.
    I have maintained the BOM with usage 5 and the conversion between header material and component of the BOM. But in the sales order entry, no matter how many qty I entered for the header material, after the BOM explosion, the qty of component is 1.
    Can anyone help?
    Regards,
    Emily

    Hi,
    Go to CS02 and select ur bom and go to components give 1 that means 1;1
    hope u get it
    regards,
    sadanandam kasarla

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

  • Copying multiple contract's data to sales orders via BAPI.

    Hello Experts,
    We have a requirement to copy contract data into the sales order, reference multiple contracts and copy all data from referenced contract to the SO.The scenario is that a seperate contract is being refrenced at the header level and different contract is referenced to the line items.All the data needs to be copied to the header or item from the doucment being referenced.
    The standard BAPI available for creating the SO (CREATEDAT2) references the contract doucment, but doesnt copy all the data from the referencing doucment to the SO, as the copy control are not called.We also tried using the BAPI 'BAPI_SALESDOCUMENT_COPY', which copies all the data but only does this for a single contract reference at a time.The BAPi doesnt allow the specific items to be copied or doesnt allow the reference of multiple contracts at the line item level.
    Any BAPI which can be used or pointers to resolve this issue, will be very helpful.
    Thank you.
    Best Regards,
    Gaurav Bhardwaj.

    Better try to follow this
    [Read This Before Closing your Threads |Read This Before Closing your Threads;
    thanks
    G. Lakshmipathi

  • Pricing in outbound delivery without ref to sales order

    Hello,
    I am creating a delivery without ref to sales order. I need to do pricing in the delivery for the material sold.
    1 ) I have never done the above. can someone tell  what are the config steps for  the same and what is the t code to create condition records (is it same as VK11 ).
    2 ) secondly I need to carry the pricing in the delivery to the proform invoice created with ref to delivery. How to do the same.
    regards
    Pamela

    Hi
    1 ) I have never done the above. can someone tell what are the config steps for the same and what is the t code to create
    condition records (is it same as VK11 ).
    Yes You need to maintain Condition Records Through VK11 only
    2 ) secondly I need to carry the pricing in the delivery to the proform invoice created with ref to delivery. How to do the same.
    But i am not why you required pricing procedure in delivery , but most the cases Delivery level we required Freight Charges
    At the time of Pro-forma Invoice system will pick the pricing procedure and you can check
    if you still want pricing procedure in Delivery level , assign Pricing procedure to Delivery Type
    Menu Path: SPRO> Logistics Execution>Shipping>Basic Shipping Functions>Pricing--->Define Pricing Procedures for Delivery
    Regards,
    Prasanna

  • 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

  • Customer No not flowing in PO while doing PO wirh ref to Sales Order

    Dear Experts,
    kindly help me out for the below scenario...
    I am creating  PO with ref to Sales order  my requirement is, i want to capture account assigment in sales order to flow to purchase order as soon as i enter the Sales order in the PO. I had done the necessary setting in OME9 t code  i had taken accout assignment as Profit Segment for reporting purpose. Data of profit segemnt is flowing from sales order to PO everything is flowing except Customer.
    i want customer to be flown to PO in Profit segment....
    kindly ket me know any setting needs to be done
    regards
    abhi

    No Possible answers... thread is closed

  • 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

  • IQ08 ref to sales order

    Dear all,
    when iam trying to find the Equipments against to sales order in iq08,system is displaying entire data
    but i need to track only ref to sales order.
    Thanks in advance
    Regards
    raj.
    Edited by: venky raj on Dec 16, 2009 4:42 AM

    Hi ,
    As Ankur suggested , that seems to be a possible way . Else if you have ABAPer help , you can try following :
    -- Once you enter the special material in sales order item ,a user exit can be used to give a pop up in which you can display the STO number linked to that material. This pop up will be a kind of mini report which will tell the price used in that ref STO for that material .
    --- Once user double click on that pop up on appropriate line, user exit will replace the special material default base price with base price used in the STO .
    Else :
    -- While creating STO for that "special" material , populate a Ztable . This Ztable will be a one stop info for that material and the rate , delev number etc in the STO . This table can be updated real time using user exist in billing or using some batch program running in background .
    -- Now while creating sales order using this special material , a routine in your pricing procedure can query the ztable and replace the base price with data in z table.
    Hope this helps.
    B O L . !

  • Block in delivery without ref to sales order

    Hi,
    I want to make a delivery without ref to sales order. But I want to block it after saving it. How to do that ?
    Can I assign a block at schedule line category level. Will that block the delivery ? Will this be an item block if this is  possible !
    regards
    Sachin

    Hello Sachin,
    I want to make a delivery without ref to sales order. But I want to block it after saving it. How to do that ?
    Use TCode VL02NO
    Can I assign a block at schedule line category level. Will that block the delivery ? Will this be an item block if this is possible !
    Delivery block at  schedule line category level will not block deliver doc, whereas, it will not allow you to create delivery doc with reference to that sales order with delivery block.
    Now for your requirement, to block a delivery doc for further processing. Maintain or select appropriate Reason for Rejection in Delivery Doc Item.
    Regards
    JP

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

  • Copying multiple contract's data to sales order

    Hello Experts,
    We have a requirement to copy contract data into the sales order, reference multiple contracts and copy all data from referenced contract to the SO.The scenario is that a seperate contract is being refrenced at the header level and different contract is referenced to the line items.All the data needs to be copied to the header or item from the doucment being referenced.
    The standard BAPI available for creating the SO (CREATEDAT2) references the contract doucment, but doesnt copy all the data from the referencing doucment to the SO, as the copy control are not called.We also tried using the BAPI 'BAPI_SALESDOCUMENT_COPY', which copies all the data but only does this for a single contract reference at a time.The BAPi doesnt allow the specific items to be copied or doesnt allow the reference of multiple contracts at the line item level.
    Any BAPI which can be used or pointers to resolve this issue, will be very helpful.
    Thank you.
    Best Regards,
    Gaurav Bhardwaj.

    Hi PeteA,
    I dont get any message, the problem is I dont see the contract no field on the screen.
    I copied the SM01 order type to ZM01 and did the required configuration, now when I use the ZM01 order type I cannot see the contract field but when I use SM01 the same is appearing.
    I saw some screen config for order types in Basic Order view but SM01 does not have any entries there.
    Thanks,
    Sarath.c

Maybe you are looking for