Sales order derivation on profitability segment from WBS element

I have an issue where we are creating a contract in CRM. The contract then ties to a project in PS and then has a WBS element assigned to it. In looking at the settlement rule and the profitability segment the sales order/contract is not being populated. We looked into having user exit COPA0001 populate it for us, but sales order can not be a target field.
My question is, shouldn't the sales order derive automatically already? If not, any ideas on how to get it populated in order to flow to COPA?
BTW, we are on CRM 7 and ECC 6.0.

Found the answer.
Implemented note 332909, then ran transaction CJB2 to automatically add settlement rules to WBS elements. This in turn derived the needed characteristics on profitability segment for posting to COPA.

Similar Messages

  • Derivation of Cost Center from WBS element MAster data at the time of invc.

    dear all,
    during invoice postings with wbs element account assignment system do not derive assigned cost center from wbs element master data.
    how can the system derive the cost center automatically??
    Is there any BADI available to this issue.
    regards
    saqib

    Dear,
    WBS is Real and cost center in the master data is for statistical postings i.e. responsible cost center in WBS.
    How to make substitution (OKC9) deriving the cost center in document line items / invoice posting etc.
    Kindly give detail process for its configuration steps and is there any BADI available which can be useful in this regards?
    Regards,
    Saqib Usman

  • Fetch Sales order number and PO number from ship to party and sold to party

    HI,
    I need to get Sales order number and PO number
    from ship to party and sold to party.
    I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
    Please let me know
    Sreekanth

    Hi,
    You can do this:-
    SELECT VBELN FROM LIKP
    INTO TABLE T_DELIVERIES
    WHERE KUNNR = SHIP TO PARTY
    AND     KUNAG = SOLD TO PARTY
    AND LFDAT      = DEL DATE.
    You will get a table containing the list of deliveries.
    Use VBFA to get the sales orders from deliveries.
    SELECT VBELV FROM VBFA
    INTO TABLE T_SALESORDERS
    WHERE VBTYP_N = 'J'
    AND     VBELN  = T_DELIVERIES-VBELN.
    T_SALESORDERS WILL give you list of sales orders.
    From Sales Orders you can get Purchase orders through EKKN Table.
    Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
    Regards,
    SUbhashini

  • How to check the sales order that has been PGI from a range of dates.

    Hi SAP Gurus,
    I have a query on how can I check the sales order that has been PGI from a range of dates in SAP?
    Thanks,
    Madelyn

    Dear Madelyn
    Go to VA05, give the date range and execute.  List of sale orders will be generated.  There you can see a tab "Status"  in which, the status would be like
    -  Not delivered
    -  Partially delivered
    So based on this, you can decide whether the order is still open or completed.
    thanks
    G. Lakshmipathi

  • GM Derivation strategies (GMDERIVE) using statistical WBS elements

    Hi experts!
    I have a question related to GM derivation rules.
    We need to derive Sponsor program throuhg WBS elements.
    These objects are statistical in our system.
    I note that SAP R/3 Derivation strategies need actual postings to derive Sponsor Program.
    Is it true? What can i do to derive sponsor program from statistical CO objects? Maybe enhancement, function module?
    Thanks in advance and best regards

    Hi
    I did not explain properly. Postings are using cost centres and WBS elements, both in every posting. This means WBS postings are statistical.
    As WBS elements correspond to sponsored programs I want to derive sponsored program from WBS. I tested in SAP and Sponsored program is derived from cost centre (actual) and not from WBS (statistical posting).
    This means creating dozens of cost centres. Is there any way to derive Sponsored Program using GMderive from WBS elements?? I would like one direct way, assignment or derivation rule. Is it possible. I am afraid that only enhacements or function modules can be used. Has anybody used them for this?
    Looking forward to hearing from you soon.

  • Fields copied to AUC from WBS Element (when WBS Element is released)

    Hi,
    I would like to know what are the fields that are copied to AUC from WBS element (when WBS Element is released).
    Regards,
    Vivian

    Hi Vivian,
    menu path: Asset Accounting / Valuation / Determine Depreciation Areas in the Asset Class
    Select there your asset under construction asset class.
    Here you can fill in default values. (when you click on the fields you get more fields)
    When you want to fill in other fields you can use a substitution ( Asset Accounting / Master Data / Define Substitution)
    In our case, i think standard
    The field description (WBS)
    Req cost center (WBS)
    Plant (WBS)
    BA  (WBS)

  • Commitment not debited from WBS Element

    Hi NitinP
    I have done as suggested by you (CJEN & RKANBU01) & gone through other links also. My OKKP settings are CommitMgt Active for project and Comp active)
    I am creating a PR (ME51N) with Acc.***.'Q'.
    My WBS status is REL BUDG AUC AVAC.
    My PR is getting created but no Commitment is debited from WBS Element. No entry is updated in table RPSCO.
    FM is not activated in our organization. WBS is budgeted through IM Program.
    Please suggest how to get the commitment checked.
    Thanks and Regards
    Pankaj Johri

    please check whether cost element is maintained for the G/L used in PR. If not create cost element and then try with new PR.

  • Copying of Profitability segment from Sales Order to Purchase Order

    Dear Edurado,
    My requirement is in the sales order account assignment tab there is Profitability segment which is done by CO PA , the same PA segment must be automatically flow to Purchase order while creating the Po with ref to a sales order. Profitabilty segment is flowing but the fields like customer , Material is not flowing ,user must have to enter manully which he does not want.... i want all the field is Profilabbility segemnet of SO must be flow to PO while doing Po with ref to SO.
    Regards
    Abhi

    Hi,
    Try transaction code KE4IM, to map the MM condition types to COPA value fields.
    Trust this helps much!
    Cheers!

  • Segment for WBS element in Inbound Sales Order Idoc

    Hi gurus,
    I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
    Regards,
    Satyajit

    Hello,
            As far as I know, there is no Segment / Field definition in ORDERS05 for WBS Element as it is not mandatory information to be filled in order for the Sales Order to be Complete. So, you need to create an Extension of the IDoc Type ORDERS05. For your requirement, here is the Approach I have.
    1. Create an extension for IDoc Type ORDERS05 to ZORDER05 with a Custom Segment Z1EDP01 in which you'll have the Custom Field Name VBAP-PS_PSP_PNR which is the WBS Element field in VBAP Table.
    2. Now, use the Customer Exit EXIT_SAPLVEDA_001 in the Enhancement VEDA0001 in which you can actually populate the Field WBS Element that would be already available in the Inbound IDoc to store it in a Work Area. As you are aware, you'll need to create a Project in CMOD for the same.
    3. Export the same to some MEMORY ID 'XXX'.
    4. Come back to the Selection Program for ORDER05 which is IDOC_INPUT_ORDERS in which you'll find the below CASE Statement.
        CASE xaprau.
              WHEN ' '.
                PERFORM call_va01_new_orders USING ok.
              WHEN 'Q'.
    Aufruf Transaktion Auftragerfassung VA01 mit Bezug auf Angebot
    call transaction Order Entry VA01 with refer to quote number.
                PERFORM call_va01_new_orders_angbt USING ok.
              WHEN 'C'.
    Aufruf Transaktion Auftragerfassung VA01 mit Bezug auf Kontrakt
    call transaction Order Entry VA01 with refer to contract number
                PERFORM call_va01_new_orders_contk USING ok.
              WHEN 'L'.
    5. Now, since our Standard Order Type (VBAK-VBTYP) is 'C',
        we'll have to choose the Subroutine for the 'C' Option.
    6. In this Subroutine, there is another Subroutine va01_dynpro_kopf_kaufmann_kde2 which is for populating Custom Dynpro Fields for the Sales Order. So, we need to choose the same Subroutine inside which we have to Create an Enhancement Implementation.
    7. In this Enhancement Implementation (Implicit), we have to IMPORT the value of the WBS Element which was exported in the Customer Exit.
    8. Check if it is initial. If it is not, then Call the Perform as below.
         IF NOT WA_Z1EDP01 IS INITIAL. "Checking if the Segment
                                                           " is Empty
       PERFORM DYNPRO_SETZEN USING 'COBL-PS_POSID' WA_Z1EDP01-ZZWBSELEMENT.
    ENDIF.
    9. Since the Sales Orders are posting using BDC here, by calling the above Subroutine DYNPRO_xxx, we are appending our Custom Segment / Field value to the BDC_DATA table.
    10. In Step 8, I've given the Notation for Work Area. It will also be applicable when there are multiple Line Items. All you have to do is to EXPORT an Internal Table instead of Work Area and use the same here for each Line Item.
    11. I've given you above procedure because I've worked on similar requirement in which I had to populate the Special Processing Indicator instead of WBS Element.
    Hope it would be helpful for you.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Error in Derivation and Profitability Segment

    Hello Gurus,
    I am two issues, which isnt allowing me to create a sales order in IDES.
    I am referencing a quotation when i want to create the sales order. But i got a warning message 'error in derivation rule' and the log text has
                                                                                    Error occurred in derivation rule. See long text                                                                               
    Message no. K/ 111                                                                               
    CO-PA Characteristic Derivation                                                                               
    Diagnosis                                                                               
    Step 0006 Country Ship-to   > Intern.Reg                                                                               
    No entry in a derivation rule was found for the specified source field
                                                                                    The derivation rule was set up so that an error message appears when 
         this happens.                                                                               
    The required derivation rule entry would need the following source   
         fields:                                                                               
    Country Ship-to                                                      
    I proceeded and the sales order couldnt save. An incompletion log pointing towards the profitability segment was generated. I have put the profit center, yet i have this issue.
    Kindly help resolve it.
    Thanks

    Hi Luqman,
    This issue is realted to the COPA Issue.
    Please Try by giving the Profit Center at sales order Header by giving the Derivation rule and most important thing here is we have to mention the country of ship to here.
    Please Reward IF Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Sales order - show total plan costs (from production order) on sales order

    Hi all,
    I have the following question/scenario:
    We create prodction order to collect cost (hours) for a service. There exists also a material master for this service.
    The confirmed hours are posted on the production order and then setteld to the respective sales order (settlement rule SDI).
    What to I have to maintain/customize to show the total plan cost (for the service) on gthe sales order?
    If I check the sales order via VA03 --> environment --> cost report , I can see the planned sales revenue but no planned costs?
    (the actual value flows work so far, postings via settlement or billing document).
    I hope the topic is understandable. Any ideas?
    Thanks in advance.
    Edited by: Butch66 on Sep 27, 2010 7:07 PM
    Edited by: Butch66 on Sep 27, 2010 7:08 PM

    Hi
    Planned costs from prod order can not show on sale order.. Both are 2 separate entities in their own respects
    Unless you calculate sales order cost estimate on your sales order, you cant see planned costs on sale order...
    To calculate sale order cost estimate, make settings in your requirement class...
    1. Go to procurement tab of sale order
    2. See whats the requirement type
    3. Go to IMG > Controlling > Prod cost Contr > Cost Obj Contr > Prod Cost by Sales Order > Control of Requirements
    4. Here you can see mapping of req type to req class....
    5. If you want to have sales order costing and have sales order as CO object inorder to have sales order wise profitability, you should have following settings in Req class...
    >Acct Assignment Category should be E
    >Costing: Either Blank or X
    >Costing Id and Costing Method: As per your requirement
    Regards
    Ajay M

  • Sales order PCA to be updated in WBS elemnet

    Hi Experts,
    Can you please help me on below:
    We have PS and SD, we will create project for additonal work. we will create sales order and assign the project at line item level till here no issues.
    We are using sales order substitution (Materi PCA with Territory) - this updates the PCA from substituion no issues.
    We need this Profit center for our downsteame reports.
    But when we assign WBS to sales order the PCA is getting updated from WBS, i know this is standard SAP.
    But we dont want to distrub the Profit center on sales order we need the same value in Project also.
    can we achieve this automatically.
    Updataing the Profit center of sales order in project - can any one provide some inputs.
    Thanks,
    Sudha

    Hi
    Your WBS is created independant of the Sales Order.. So you can use Validation and not substitution in my opinion
    Either add a User status profile so that the person who releases the WBS also ensures correct PC on the WBS... The WBS shall not allow any transactions till then
    Another option is to use MV45AFZB exit in SD to check the PC in WBS is the same as in Sales Order
    I would prefer a process control and not the exit
    br, Ajay M

  • Sales order information to be captured from a java based website

    Sales order information entered in java nabled website needs to be retrieved into SAP system and a sales order needs to be created in this system.
    And as soon as a sales order is created an bdoc needs to be triggered and sent to the CRM system...
    Middleware available for Java SAP interface.
    Do i need to call BAPI to retrieve the sales  info from middleware ??
    How does an idoc trigger as soon as a sales order created i SAP  system???
    Can any one help me out .Its urgent!!!
    Regards ,
    Lavanya

    Hi,
    You have to create a BAPI to read the data from java, the structure has to be the same as in the java system. once the data is read into the SAP system then you need the idoc to carry the data.
    regards
    Gokul
    <b>Reward Points if Useful</b>

  • Billing date(fkdat) in sales order item is not copied from Goods Issue Date

    Hi All
    we are facing problem at item level billing date field.This field should be filled with the GI Date in schedule lines shipping tab.
    but, it(billing date) is not being filled with goods issue date but, with the required deliver date at sales order header.
    Please give me a solution and the root cause. This is urgent as business is halted.
    Thanks
    Kumar

    Lakshmipati
    This is from SAP Screen
    "If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date."
    earlier it is happening as desired.i.e., billing date=GI Date.
    but, as of now it is taken from the required delivery date.
    Please give me solution
    Kumar

  • Creating Sales Order with reference to Quotation from different Sales Area

    Hi,
    I would like to inform you that our customer (GE ENERGY OC) from Europe have a requirement where they want to create sales orders with reference to quotation that is from different sales area. Standard SAP functionality doesn't allow this feature, hence requesting your help to give me an update in this regard.
    Please treat this as urgent as they have to do business cutover where they are in the process of completing open sales orders.
    Thanks
    Ashfaq
    Mobile: +91-98857-07558
    E-Mail: [email protected]

    Hi RadhaKrishna,
    In standard system it is not possible to create sales order from a quotation whose sales are is different.
    However I think this is possible by using some user exit in sales order. I have never tried this.
    Regards
    srini

Maybe you are looking for

  • How to migrate rtf Templates in XML Publisher ?

    Hi All, I want the script so that i can download and upload the RTF files directly from my development instance to my production instance. For this i have come across 3 links How to migrate rtf Templates in XML Publisher? http://download.oracle.com/d

  • Using enum's from one class in another?

    heya, I have two classes, Predator and Simulation, and Predator has an public enum 'target' inside it. Simulation needs to use a switch statement based on target (Simulation contains a list of Predators, and I'm returning type target to Simulation),

  • Material weight and quantity report

    Dear, Do you know if in standard SAP exists a report able to extract the material good movements and the material weight field to? For example; something like the MB51 but with the weight field. Thank you Regards Matteo

  • Heuristic run error in apo

    Hi expert    When I want to run heuristc for one material, the system show me the error :      Order not created for product XXXXXX location XXXX.  I  do not know why. Could you guide me ? Thank you .

  • Adobe After Effects CC - Trial Version - Mac OS Mavericks 10.9

    In the official webpage, it is stated that owner of the trial version of Adobe After Effect cannot use the update that solve the problems with the new OS system. Anyone of you knows how a trial version owner can start use again After Effect? Shall I