Seperate PR in Sales order

Hi gurus,
Does anyone know if it's possible to generate separate PR in sales order based on some rules. Basically I have different BOMs, I want each BOM goes onto different PRs. Is it possible? Thanks!

Hi meggie.,
                     The purchase requesition is triggered because of the settings in schedule lines,That order type is NB there,So if you want to explpode it for BOM,Give the order type NB in schedule lines as per your requirement
REWARD if helpfull
Thanks & Regards
Narayana

Similar Messages

  • Seperate/Different COGS at the time of delivery from sales order

    Hi Friends,
    I have a reqirement where i need to hit different COGS accounts at the time of goods issue for a sales order, based on distribution channel. All sales would have same order type and all the parameters (material, item catagories, customers etc etc) are same, except for the distribution channel.
    For example  Sales Org/D.channel/Div   S001/01/01 should hit like
    CR: ABC Inventory
    DB: COGS 1
    and for Sales Org/D.channel/Div   S001/02/01 should hit like
    CR: ABC inventory
    DB COGS 2.
    Limitations:
    1. I do not have choice of creating a seprate order types for these sales
    2.  Creating a new movement type is an option, but i would like this to make it as last option.
    Directions for soutions.
    1. Has any body implemented BADI for such case. If yes, request to share the BADI name.
    2. can we use Substitutions, Is subsitutuions possibile for replacing the GL Accounts at the time of posting?
    Any directions would be of great help

    Dear,
    You can put the substitution at the Document Line level, please write below logic:
    Prerequisite:
    BKPF-BLART = "WA" & BSEG-HKONT = "you normal GL Account which will is picked normally"
    Substituin:
    BSEG-HKONT  User Exit
    Now in this user exit as ABAPer to write code as per below logic
    1. Pick BSEG-VBEL2, pass the same in VBAK-VBELN and check VBAK-SPART if this is 01 then move COGS 1 to BSEG-HKONT where transaction is GBB,
    similary write the sam elogic for Dist Channel 2
    Hope this helps
    Br, Vivek

  • Customer wants to see Discount Field and Quantity field in Sales order Form

    Hi Gurus,
    Highly appreciate if you provide the solution for below issue:
    My customer requirement is to see Discount field in sales order lines screen...They want to know how much percentage of discount they are giving to customer, if they want to modify for respective line they modify in that field.
    Standard functionality discount field is NOT there in SO lines for because they manual enter discount in SO form, system should calculate Discounted price.
    One more required if they enter Item code, able to see available quantity bottom of the form Sub inventory wise, Availability, resealable.
    Current standard functionality supports - Click Availability button to check the availability..Its very difficult for them to check for each and every line item, is there any functionality to support this issue.
    Thanks
    Satti

    Hi,
    Both of your requirements should be customised.
    There is no standard functionality which attains your requirements.
    For my present project, we have customised 2 seperate reports, one which shows the availability of the items in subinventory and locator.
    Also a report which shows discount for all the lines and for the entire order.
    Thanks
    -Arif.

  • Automatic creation of intercompany PO when creating a Sales Order

    Hi Experts
    Is there a standard way of triggering an intercompany PO when creating a sales order to the final customer (or the other way around, triggering a sales order to the end customer upon creation of an intercompany PO)? Scenario: business has setup a logistics company (company code X), which its purpose is to deliver goods to the final customer (home customers). However, sales orders are created from seperate chain of stores which belong to another company code (company code Y). This chain of stores have one sales organisation (since there is over 1000 stores under a chain). I need a way to represent that a sale originated from a store/plant belonging to company Y to end customer A. Also, I need a billing document (intercompany) from company code X to store/plant beloning to company Y.
    Issues: in the intercompany config (assign intern customer numbers to sales org) - is there a way to assign a customer number at site/plant level so that when creating an intercompany billing it can be picked instead of the one assigned to the sales org and where can this be specified in the sales order (remember: in my scenario there are multiple stores/plants that belong to one sales organisation and it is not possible to use one customer number linked to the sales organisation.)
    Desired results:
    Sales order from store/plant YY belonging to company code Y to end customer A
    Intercompany billing from plant XX belonging to company code X to store/plant YY
    End customer billing from store/plant YY to end customer A
    Thank you in advance for your help.

    Hello Tsmash  
    I think you can acheive this with Regular Sales order + Inter Company STO combination.
    Maintain customer numbers for each of the Plants from Company Y for the sales area belonging to Company X.
    Then do the config for STO in MM using this menu path:
    SPRO/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order
    Here, in the activity 'Define Shipping Data for Plants',  enter each of the plant-customers and the Sales area belonging to Comany code Y. Carry out other activities in this area appropriately.
    Similarly set up Custom ( say Z1) Special Procurement type for Plant YY for stock transfer from XX using this menu path:
    SPRO/Production/Material Requirements Planning/Master Data/Define Special Procurement Type:
    Here maintain procurement type as F, Special procurement as U and plant as XX. You may need to repeat this config for each of the receiving plants (over 1000 stores under a chain)  from co code Y.
    In the material master MRP 2 for Plant YY,  maintain procurement type as F and Special Procurement as Z1.
    Sales order will be received under Co Code Y and sales area belonging to Y form customer A,
    Because of the MRP config, a PO (STO) requirement will be raised on Co code X and plant XX. XX will send the goods to YY via a STO delivery using the Shipping data from 'Set up STO' config,
    Plant YY will send the goods to A and bill that customer. Co Code X will raise an inter-comany bill on Co code Y.
    That's how it should work. Try it and revert with any issues.

  • Sales order qty to divide in 5 planned orders

    Hi, in mto scenario, sales order recieved for 500 qty, we want system to create 5 different planed orders so that we can creatae 5 seperate production orders. where we should do settings required during mrp planning? pls advise.

    Try using a fixed lot size in the MRP 1 data of material

  • Need Single Billing Document for Materials and Services in Sales Order

    Hello Friends,
    I am selling FERT items and DIEN items in the Sales Order.
    Document flow as follows:
    Finished goods - Order-Delivery-Billing
    Services - Order-Billing
    In this process 2 seperate billing documents are created
    i.  Delivery Related Billing document for Finished goods.
    ii. Order related Billing document for services.
    I want to create a single billing document for both the items (FG & Services) in the sales order.
    Please suggest.
    Thnx.

    Sorry for the delay friends.
    Somebody suggested me to make services 'relevant for delivery' to ensure single billing document.
    What I did were the following steps:
    1. Copy Item Category TAD to ZTAD and make is 'relevant foir delivery'
    2. Assign Item Category ZTAD to Sales Order type and Item Cat Group 'LEIS'
    3. Go to Deliveries Item Categories and through new Entries add ZTAD. Make ZTAD relevant for Picking.
    4. Go to copy control 'Order to Delivery' and insert ZTAD in Item Categories relevant for this combination.
    Now when I create sales order with materials and services, they pass over to the delivery document and in the Services item, storage location/plant is greyed out. Only the picking quantity is required to be filled.
    PROBLEM :
    I am not getting the price of Services item in the billing document.
    Billing document copies all line items (tangible and intangible) from Delivery Document
    It takes the services item details/quantities etc. to VF01 but the price comes '00.00'
    Any suggestions.
    Is this legally viable? Someone told me its not legally correct.
    Thanks.
    Mohammed

  • Subcontracting scenario(Sale Order wise)

    Hi all
    We have requirement from our client to map subcontracting process Sale Order Line Item wise,
    I.e- instead of 541 we will use 311E and send components to vendor (which will create seperate storage location for each vendor).
    We will receive the Finished Material through 101E,we tested this process in Test client & found OK.
    Is This process Ok from accounting point of view.
    Thanks In advance
    Sandeep

    Hi
    I think it is not the right way...
    where you will book the Vendor service amount....
    also if you are sending the same material and getting back the same material....it may be OK....
    But for eg) you are sending product A and B  and assemble at SC-Place....getting back the FG as Product C....in this case it will not work out....
    Regards
    S.Baskaran

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Calling a Sales Order Change BAPI in a Sales Order Exit

    Functional Requirement:
    While creating a Sales Order with Reference to another Sales Order, on saving the new sales order, change something in the referenced sales order.
    I am trying to achieve the same by doing the following:
    In the standard SAP user exit called during saving the new sales order USEREXIT_SAVE_DOCUMENT I am calling the BAPI BAPI_SALESORDER_CHANGE on the referenced Sales Order.
    However the BAPI is unable to change the other sales order giving an error Enter the document number. I am specifying the Document Number while calling the BAPI, so I know that is not the error.
    I just wish to know whether it is technically possible to call a BAPI to update another Sales Order while we are currently saving one Sales Order.

    Hi Girish,
    If it works correctly when run seperately and you are sure the data passed into the BAPI is exactly the same then it may be something like table locks or similar causing your original problems...
    What about packaging up your working Z program into a custom function module and calling that from within USEREXIT_SAVE_DOCUMENT as a seperate task (IN NEW TASK) and building in a slight delay of say 5 seconds at the start of your code?
    I'll be honest, this isn't an ideal solution but might be sufficient to resolve your issues.  I'd be inclined to see if you could just run your Z program as a background process every 5 minutes or so to capture any changes and perform updates but if this is a no no from your functional people I'm not sure what else to suggest sorry.  I've never personally had to update a document from within the save routine of another document so can't give any advice based on my own experiences sorry.
    Gareth.

  • Add Item to a delivery without reference to a sales order

    Hello everybody,
    I'm trying to add an item to an existing delivery via VL02n without reference to a sales order but every time the following error message appears: "You cannot add this item to the delivery".
    What settings do i need in order to that? (material type, delivery type, item category group,..etc..)
    Could anyone help me?
    Thank for your attention.
    Regards,
    A.

    Hi!
    Its not feasible to add a new line item without reference, becuase in one of the user exits such a code would have been written to prevent adding line item without refernec.
    This is done to ensure that a standard availabilty check, pricing and infostructure updates are done. Otherwise, after billing the report of Profitabilty will not come correct and will lead to more problems.
    So my suggestion would be not to add the line item withour referencing to the sales order.
    SAP provides the way of unreferincing through a seperate delivery type called LO. So if you want to create a delivery without refernce, you can use delivery type LO or some Z version of it.
    Hope this helps,
    Abhishek

  • Creation of Purchase Requisition with Sale order

    Hi,
    I have a scenario where I need to create a Purchase requisiton for the requirement from the sale order (like the Third party sale order).
    I have done the required configurations to create the Purchase requisition.
    My Sale order has three line items and each line item has different Item category and schedule line category.
    I have configured different Purchase requisition document types for every schedule line.
    When sales order is saved, I need seperate Purchase requisition since the PR document type are different for every schedule line.
    But system creates only 1 PR with multiple lines. It picks the PR doucment type assigned to the schedule line category of 1st line item in the sale order.
    How can I get different PR for different doucment type in a single Sale order?
    Regards

    This can is happening b'coz at your sale order only one I cat is determining by default.
    So, determine diff I cat with diff desired the sch lines cat in the doc.
    Say,
    maintain, I Cat determination(VOV4)
    Sales Order(VOV8) - I Cat Group(material- MM02) - I Cat(VOV7)
    ZTPS - ZTA1 - ZTA1
    ZTPS - ZTA2 - ZTA2
    ZTPS - ZTA3 - ZTA3
    and also check.
    I Cat (VOV7) - Sch Line Cat (VOV6)
    ZTA1 - Z1
    ZTA2 - Z2
    ZTA3 - Z3
    Hope this can assist you in understanding.
    Thanks & Regards
    JP

  • Fields need to be maintained in Sales order

    Hi gurus,
           I wan to maintain two fields in sales order, one is agent(middlemen who facilitate sales) and companies sales representative fields for 3 respresentatives. Anyway these two were defined in Partner functions and assigned to account group. I want these  person names to display in sales order since these persons will get commission on their sales. And also pls let me know how to assign commission amount to theim , do i need to create any seperate G/L account.
    (I will create condition type to maintain condition records for each sales representative and agent seperately)
    waiting for reply, pls help
    Regards

    To have these partners show up on the sales order, you need to assign them to the sales order header partner determination routine.
    You can use an accrual condition to compute and account for a commission. If you have different rates for different sales reps, you will probably need to add the partners to the SD pricing communication structure - which requires a little bit of ABAP coding.
    In terms of needing a different G/L account for commissions payable: in all likelihood you will. However, this is normally an accounting policy decision.

  • Error message during duplicate Pur Requisition creation for same Sale Order

    Dear Experts,
    I need your help to sort out a issue related to Stock Transport Order.
    Our scenario is as below:
    1) Sales order is raised first.
    2) Stock transport requisition raised off in the background of a sales order automatically.
    3) This PR turned into an Stock Transport Order PO manually.
    4) Create delivery for STO from supplying plant and then GR is done in receiving plant. Create inter-company invoice.
    5)Create delivery for sales order to issue the stock to end-customer and raise invoice.
    This is standard scenario.
    Problem comes when some smart uses manually creates another stock transport requisition again for same SO, which is turned into an STO. Means there is a duplication of STO PO.
    My question to you experts, is there any standard way to prompt error or warning message, when users try to create purchase requisition manually for the same SO.
    Account assignment category in PR is M - Ind. cust. w/o KD-CO.
    Please suggest.
    Regards,
    Praveen

    Hi!
    Is it possible to create / configure a seperate PR document type for PRs created automatically from SO and don't give authorization to any user to create / amend the same manually?
    Regards,
    Riju

  • Contract Start and End Dates in Sales Order

    Hi
    I have a situation where a service item is bundled with a deliverable item. The order is as follows
    Line Item    Mat                                                                 Qty            Higher Level Item               
    10              Item No.1 (Physical Item)                                  1             
    20              Item No.2 (Service Item)                                    1               10
    For the deliverable item 10 , Revenue is recognized immediately. For the Service item no.20 , revenue needs to be recognized over a period of 1 Year (It is a 1 year service contract).
    The whole order is created via BAPI from an external 3rd party order capture system.
    In order to do revenue recognition properly for service items , SAP I believe has 2 options
    1. Based on Billing plan dates
    2. Based on contract start dates
    Since order with both the line items need to produce 1 invoice, I cannot use billing plan . The only other option is to use contract start and end dates. I have enabled contract data at the sales order level. So when I enter the contract start and end dates manually at the line item level and set the item category to recognize revenue based on contract start and end dates based on time-based revenue recognition it is working fine.
    But I need a way to automate the population of contract start and end dates at the line item level. My ABAP guy is not able to find a user exit that can change the XVEDA or any VEDA structure in any of the user exits.
    I guess the SAP SD gurus out there would have definitely dealt with a situation of product bundling (Service and non-service items in the same sales order with one billing document , but seperate revenue recognition for service and non-service items)
    Please help.
    Thnx
    Siva

    Hi Siva,
    Kindly let me know what criteria you want to give for automatic population of start date of contract...
    Standard SAP comes with a few baseline dates for contract start date and we can control this from customization itself. 
    01     Today's date
    02     Contract start date
    04     Acceptance date
    05     Installation date
    06     Date contract signed
    07     Billing date/Invoice date
    08     CntrctStDate+contract duration
    09     Contract end date
    If you have some criteria which is not covered here, then let me know and i will try to provide some help then.
    Thanks
    Kapil Sharma

  • Change of Sales order info without deletion of Outbound Delivery Order

    Hi Experts
    Background :  Although Invoice has been created and issued , Customer request SD user to divide the invoice into two invoices.
    or change the amount or quantity with same order No.
    AS IS  : 1 . Cancel invoice -> Reverse PGI -> Delete Outbound Delivery -> Change Sales Order -> Create New Outbound Delivery -> PGI ->
    Invoice
    Please let us know how to change sales order info ( cases : seperate 1 item with two items , change ship-to-Customer ,,,,,,,
    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    Pls help me on this
    Thanks In advance

    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Then, you have to first change the same in SO. to do so, you have to reverse all the process to reach SO & amend as required.
    Parila quantity billing is another way to have 2 seperate invoices.
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    This is doesnt seems logical or Business need. Once goods are alredy sent to respective partner. I dont think business asks you to change the Party name that too Invoice is already made. Is it your assumption or business requirement?
    if its really a business requirement, instead of thinking about the solution, suggest you to educate the Business. Is there any such practical scenario happens in the Market. I dont think so.

Maybe you are looking for

  • Rotating alert view

    I am writing an app which doesn't support viewing landscape mode. But same time, i wanted to implement a feature which will allow user to see an alert message if he turns his device into landscape mode. The alert message shows up, but since I dont su

  • Question about messaging 6.3 migration

    Hi! We have a distibuted messaging architecture ( 2 MTA IN, 2 MTA OUT, 2 MMP, 3 message store, 2 ldaps), we have messaging 5.2 and Directory 5.2 too, we would like to change to messaging 6.3 and ldap 6, what could be the best way to do the migration?

  • Processing type in ko88

    Hi Expert, is there any standard setting to configure processing type in t-code KO88. e.g. disable one of options Thanks Rgds,

  • How to get vertical rather than horizontal plan?

    Hi Witha complex site layout plan  it would be easier for me if child pages were shown in a vertical rather than a horizontal array. The horizontal array makes for much scrolling across the screen and seems to use too much visual real estate. How can

  • The Ubuntu Juggernaut

    who generously donated US$10 million to create the Ubuntu Foundation Taken from - THE UBUNTU JUGGERNAUT And what do we got?  I never knew this about Ubuntu.  People often compare us to gentoo, which is a massive distro, and the other often mentioned