Project settlement to CO-PA and BAdI for automatic creation of rules

Hello SAP experts!
I have managed to implement settlement rule strategy to CO-PA for sales project WBS-elements, which automatically creates the settlement rules for WBS-elements with billing indicator. One or more sales order items are assigned to the WBS-elements. When the system derives settlement rules, it generates profitability segments that contain the characteristic values of the WBS elements and the sales orders assigned to them. The problem is, that only one single settlement receiver is determined for each WBS-element. And if more that one sales order item is assigned to the same WBS-element only those characteristics are copied to the settlement rule that are same in all sales order items.
For example; it products are different in all sales order items, the automatically created settlement rule does not contain the characteristic value product or neighter other caracteristics derived from product.
Do You have experience of using BAdI for influencing the generation of settlement rules? What it actually makes possible?
Br, Nina

Dear Waman,
thank you for your reply !
Yet - this still does not solve our problem. In that note (and also in the related note 201445) there is no valuable information included concerning transaction currency:
Our WBS elements (and also other cost objects, e.g. sales order items) are being debited in all of the three currencies.....but the credit (during settlement) only takes place in two of them:  object and CO area currency.
I really appreciate additional help on this. It would be hard to believe that we are the only SAP customer having this kind of problem.
Best regards,
Thomas

Similar Messages

  • FBL3N/FBL5N/FAGLL03 user exits and badis for authorization

    Hi Gurus,
    I have tried userexit and badis for FBL3N , FBL5N and FAGLL03 for the purpose of  user want to display documents created by him and other users documents should not display . Please suggest me any user exit or badi and logic for the same.
    Moderator message: last warning, if you continue to disregard moderator messages and post the same question nevertheless, I will initiate deletion of your user ID.
    Edited by: Thomas Zloch on May 10, 2011 9:57 AM

    Hi,
    1. Execute report FBL3n and in the output goto menu SETTINGS -> SPECIAL FIELDS and add the entry BKPF-USNAM and save. Now the user who have created the entry will be available in your FBL*N report.
    2. Goto BTE event 00001650 - SAMPLE_INTERFACE_00001650, and copy the FM SAMPLE_INTERFACE_00001650 to custom FM. Inside this custom FM, first pass the value of I_POSTAB to E_POSTAB. i.e
    E_POSTAB[] = I_POSTAB[].
    Now loop E_POSTAB and check whether E_POSTAB-USNAM NE SY-UNAME, then delete that entry from the internal table E_POSTAB.
    3. Now create a custom product in FIBF transaction and check the activate checkbox. Attach the event 00001650 and custom FM to the P/S module customer part.
    Hope this will meet your requirement.
    Regards,
    Harish
    Moderator message: please be more selective when replying to questions (especially the "do my work" kind), better check the posters history before investing effort.
    Edited by: Thomas Zloch on May 10, 2011 9:59 AM

  • User Exit and BADI for Sales Order

    Dear Experts,
                        please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .

    Hi,
    In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
    Regards
    Karthik D

  • Changing: Currency and Amount for Automatic Payment

    Hi Folks,
    I need to change the value for currency and amount for automatic payment (bseg-pycur and bseg-pyamt) from a user exit from the MIR7. I have found the following exit:
    EXIT_SAPLMRMC_002
    However didn't see the respective fields to change it.
    Another problem is that MIR7 create parked invoices, by this the document isn't in the bseg yet, by this moment the document is in the vbsegk. However I still don't find how to modify this 2 fields that I need from a User Exit.
    Hope can help me with this.
    Regards,
    Gilberto Li

    Hi Pava,
    MICR - It is nothing but Bank Key BNKA - BANKL
    IFSC - I think it is SWIFT code international payments - BNKA-          SWIFT
    Assign points if useful
    ~Rajesh

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Define Control for Automatic Creation of Pick HUs

    We are using full blown HU management and in the customizing for the Control for Automatic Creation of Pick HU's you define the packaging materials to use.  The help in from of this customizing says that if this is blank the system attempts to find a common packaging material for all materials in the transfer order. 
    My issue is that when I leave this blank the packaging material that the system proposes is not the packaging material that is contained on the source HU nor is it the packaging material that is contained in the Packing Instructions.
    How does the system determine the packaging material on the destination HU?  Am I required to maintain a value in this customizing?
    Thanks
    Nick

    I found my own answer so i will give myself many points.  See question to get answer.

  • Backgorund job for automatic creation of billing document

    Dear All
    Could you advise me on how to set up a bacground job for automatic creation of billing document?
    Thanks and regards,
    Sylwia

    In standard, you cannot generate automatic billing but you can set date and time so that you can generate invoices at the specified time in bulk.  The TCode to achieve this is VF06.
    thanks
    G. Lakshmipathi

  • Bacground job for automatic creation of billing document

    Dear All
    Could you advise me on how to set up a bacground job for automatic creation of billing document?
    Thanks and regards,
    Sylwia
    Edited by: S. KOWALSKA on Jan 12, 2009 10:12 AM

    Dear Sylwia
    Please dont post the same question in multiple threads.  You are receiving feedback in the other forum.  Check this link
    [Backgorund job for automatic creation of billing document   |Backgorund job for automatic creation of billing document;
    thanks
    G. Lakshmipathi

  • Line item Settlement and KOB5 for automatically created AUCs to PM orders

    Hello Experts,
    I am trying to set up line item settlement for automatically created AUCs. We would like to use line item settlement because we want to see the costs split up by either percentage or amount when settled to the AUC.  If I can't settle by percentage or amount to the AUC then i'd like to be able to temporarily block some of the costs from settling.  This is for billing not capitalization purposes since all costs will eventually settle to one final asset. The settlement is done using transaction KO88 or KO8G and automatic processing type.  I’ve configured a PM Order type as an investment order and set up the related investment profile and investment asset class.  Some of the things I've determined from my testing:
    Using transaction KOB5, costs can be split up by creating other distribution rules, but only to another object (i.e. another
    asset, order, cost center etc. by using the Preliminary) not to the automatically created AUC linked to the order
    The default settlement rule is account assignment category FXA, percentage rate 100%, settlement type AUC to the AUC
    and therefore cannot be updated/altered when using KOB5 or any other transaction.
    Once the costs are settled to another object other than the AUC, those costs cannot be settled to the final asset. Creating Preliminary
    settlement rules to a receiver IO and changing the period or fiscal year will not “block” costs from settling whether the processing type is automatic, by period, partial capitalization or full settlement.
    I’ve been testing this out in our development client and need verification that this is the way that transaction KOB5 works with line item settlement or did I do something incorrect . 
    Your feedback is greatly appreciated.  Thank you in advance.

    Hi Zaid,
    Thank you for your response.  Assets are not my area so I’m not sure if I missed a transaction or step in the process.   I tested this out by doing the following steps:
    Created AUC Asset class with line item checked
    Assigned PM Order type as non-investment with no investment profile and created order number
    Created a main asset number 
    Created an AUC sub asset number to step 3
    Created settlement rule to sub asset number on order
    Posted costs to order
    Settled from order to AUC with transaction KO88
    Created distribution rules for asset with transaction AIAB
    Settled from sub asset to main asset number with transaction AIBU
    When I settled from the sub to the main asset number in step 9, I found I lost the line item detail.  Is there another configuration setting I need to make to allow me to see the line item detail when I use AIBU?
    Thank you,

  • FM or BAPI for  date and time for the creation of a Purchase Requisition

    Hi people:
    Does anybody knows about a FM, BAPI or table in which i have de detail for the date and hour of the creation of a Purchase requisition?
    Points for helpfull answers.
    Thanks in advanced

    Hi,
    If you want to get the time along with the creation date then use the tables CDHDR and CDPOS, but be careful while passing the data need to pass the entire primary fields data else it will fail in the performance test.
    Reward points if useful.
    Regards,
    Suman

  • How to control Color Mode and Resolution for brochure creation?

    Hello guys,
    I am trying to find some settings within Pages, where I could set CMYK color mode and 300 dpi resolution for my pdf file.
    I am creating brochure from scratch, using blank document, because non of brochure templates work for what I need. But I can't find any controls for color mode and resolution set up.
    Is there any solution for this?

    There has been a lot of discussion in the Pages forum about resolution and some on CMYK.
    Much of the discussion has been incorrect.
    For the colour handling there is the colour palette
    The Apple Colour Palette is the user interface for colour managing vector objects created in Apple Pages such as rules and panels and for colour managing one class of vector objects not created in Apple Pages, namely typographic objects.
    Imported objects maintain their colourant model and colour space, if there is one. If there is none, a colour space is assigned and the assigned colour space is saved out into the PDF, opposite e.g. Adobe Photoshop which will colour manage the object in the open editing session, but will then save out the object to disk without the assigned ICC profile if 'Colour Management: Off' is configured.
    Therefore, if the imported object is data space CMYK and the colour space device CMYK, the system will assign the Generic CMYK Profile which is equivalent to ANSI CGATS TR001 colourimetry (US SWOP); if the imported object is data space RGB and the colour space is device RGB, the system will assign the Generic RGB Profile which is equivalent to sRGB colourimetry in OS X 10.5 and higher.
    In general, always capture and then convert for correction in one of two data spaces with three channels, either ICC colour managed RGB or ICC CIELa*b D50. Then convert to CMYK1, CMYK2, CMYK3, CMYKn from the ICC colour space chosen for correction and archiving. This colour space should be large enough to hold any colours that the output colour spaces can hold.
    The Apple ColorSync Utility has a gamut comparison dialogue which is 3D (point, press, and turn the 3D gamut comparison). Use this facility to pick an ICC colour space of reasonable size and shape for correction and conversion into final output. Don't pick sRGB as a quick look will show that it can't hold as input what ISO reference offset can hold as output for pure cyan, let alone hold what a big inkjet can hold in greens, blues, reds and yellows.
    The ICC architecture lets the ICC profile for the printed output match out of gamut colours to in gamut colours using the Perceptual rendering intent, as intended in the original architecture from 1995. Adobe internally introduced an inhouse conversion for compatibility with PostScript and as default for PDF, Relative Colorimetric with Adobe Black Point Compension. Relative Colorimetric is in fact a proofing transform, without gamut mapping. Black Point Compensation is a simple linear scaling of the lightness to compensate for the fact that the shadows will be clipped in a Relative Colorimetric conversion.
    The other problem is transparency, introduced in the QuickDraw Graphics Extension for Mac OS 7.5. Transparency is not supported in any version of Adobe PostScript (level 1, level 2 or level 3). Transparency is also not supported in any version of Adobe PDF prior to version 1.4 and higher. Therefore, unless the RIP Raster Image Processor is able to accept PDF 1.4 and higher, transparency has to be rendered / flattened which is done in the PDF/X-3 filter of the Apple ColorSync Utility.
    The idea in the PDF/X-3 filter (for Adobe PDF 1.3) is that the everyday enduser, after placing ICC colour managed RGB or CIE La*b D50 objects, and after choosing an ICC colour space for objects created in Pages, chooses the ICC colour space for the output condition. The filter accepts both ICC profiles of type MNTR Monitor with data space RGB, ICC profiles of type PRTR Printer with data space RGB, and ICC profiles of type PRTR Printer with data sapce CMYK.
    The colourant conversion (RGB to CMYK) and the gamut mapping (out of gamut colours in input colour spaces mapped to in gamut colours in output colour space) is then calculated as per the ICC profile for the output condition. An output condition is the combination of factors that affect how colour is formed: the colour lightness and colour tint of the paper, the colours of the colourants, and the tone value increase. Think of gamut mapping in a good ICC profile as Format 1 kerning in a TrueType font (where your font has state-based kerning for up to 8 glyphs simultaneously).
    Below a link to a discussion of how to change the default PDF/X-3 filter the Apple ColorSync Utility. "Wegen diverser Fehler im Mac OS X empfiehlt es sich, wo immer möglich, die PDFs ohne Transparenzreduktion (also auf normalem Weg) über den Befehl Als PDF sichern zu erstellen und das Flattening der Druckerei zu überlassen," that is, pick the plain save as PDF path and leave the transparency flattening to the prepress technician.
    Henrik
    Reference:
    http://www.icalamus.net/tutorials/howtocreatepdfx.php

  • ABAP Classes and BADIs for HR

    Hi all,
    Can anyone give me a list of classes SAP has released for HR use by customers and all utility ABAP classes. Also any utility abap classes that would be useful for future. I am only interested in those relevant for ECC 5 and up.
    Could you supply the BADIs or Enhancement Spots for HR too.
    Thanks
    Wayne

    The BADI's I have found most useful are the BADI exits that duplicate the existing PA30 PAI / PBO User exits.  If you trace back to where the exits are called you will find the BADI call within a few lines of code - but the difference is that the BADI is called outside one layer of IF logic, so it gets called in some circumstances where the user exits do not - I think this was to do with certain change or copy data situations.
    Can't remember the name of the BADI, and do not have a system available to check at present, but it was not hard to find when I looked in the system.
    Others I have used are as exits in the HR to FI posting interface, and also some in the travel to vendor interface.  There is also an exit for customising the PERNR search help - cannot remember if this was a class or a FM.
    For moving data inside the user exits in a unicode compliant way there are classes for moving data from the flat PRELP character structure to individual infotype structures - CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN and CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP.
    For general unicode compliant constants such as a Tab character there is class CL_ABAP_CHAR_UTILITIES with attributes like CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    Also if you go to SE38, select the Blue "Online Help" button, and then go to the ABAP Overview, you will find under the ABAP by Theme branch an entry "ABAP System Classes and Interfaces" which documents 20+ general ABAP classes
    Hope this helps
    Andrew

  • Enhancements and Badi for va02

    Hi Experts,
        My requirment is in VA02 , Delivery Block(LIFSK) and Billing Block(FAKSK) fields should be initialized.
    When user change these values and saving the sales order it should check the authorization of the user from table SETLEAF.
    If he is a valid user it will save else it will through a error message like "not authorized'.
    can any body please tell me which exit or badi is suitable for this requrement.
    Regards,
    Praveena

    Hi vinod..
    Thanks for giving replies....
    now i could activate the enhancement fine..
    this code not triggering while saving the sales order VA02...can you plzz check this code..
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Form USEREXIT_SAVE_DOCUMENT_PREPARE, Start                                                                                D
    $$-Start: (1 )----
    $$
    ENHANCEMENT 315  ZSO_APPROVALCHECK.    "active version
    DATA: WA_USR01 TYPE USR01,
          UNAME TYPE SY-UNAME.
    CASE SY-UCOMM.
    WHEN 'SICH'.
        if sy-tcode = 'VA02'.
       UNAME = SY-UNAME.
       SELECT SINGLE VALFROM FROM SETLEAF INTO WA_USR01 WHERE VALFROM = UNAME.
         IF SY-SUBRC NE 0.
           MESSAGE E000(ZMSG) WITH 'You are not authorized for approval'.
           endif.
           endif.
       ENDCASE.
    ENDENHANCEMENT.
    $$-End:   (1 )----
    $$
    ENDFORM.

  • TS4006 Get worse and bad for find my iPhone.

    I tried to find my iPad 2 few times, it says lost connect, that means it won't online on my iPad 2, It is getting a WORSE!!!! My iPhone on device says iPad offline. My iPad connect still work.

    Hello Elliiee,
    The steps detailed below can help stabilize your iPhone.
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

  • BADI for restrict creation of business transaction independently

    Hello Experts,
    I have a requirement where I need to check if the Business activity (say any 'Z' transaction) has a opportunity follow-up document then only that business transaction need to be executed else should give the error that "Z transaction need to be created through opportunity only and can not be created individually".
    I found one BADI CRM_ORDERADM_H_BADI where I can check for the condition but the issue is that as soon as I entered to CRMD_ORDER this BADI gets triggered where I need to trigger this BADI only when the user is trying to create the 'Z' business transaction individually.
    Any Suggestion will be highly appreciated.
    Thanks in Advance & Best Regards,
    Deepak Gupta

    Deepak, there is a parameter called CRM_MODE and this has the following values depending upon the transaction context:
    A - Create
    B - Change
    C - Display and
    D - Delete
    Now, in the same BAdI, since you are restricting the creation of the activity, check the CRM_MODE for the Activity, if it is A, then, call the function module CRM_ORDER_READ with the GUID of the activity and extract only the document flow ET_DOC_FLOW. Check this export table and see if the parent is an opportunity (BUS2000111). If your condition is not met, add an Error message in the transaction.

Maybe you are looking for

  • Windows 7 PRO GP update error

    Windows 7 PRO GP update error         We have a very peculiar problem We have a Primary  DC & Secondary DC installed in all our office ( Windows 2008R2). The Domain name is abc.com for all the Offices and the replication between the DC's happen in be

  • When printing a PDF file I would like to ensure that all 'chapters' print on the odd numbered pages.

    I need a way to set up a PDF file so that when I print it all new chapters (and single sided forms) print on the odd pages. These PDFs are available for viewing on the network but occasionally there is a demand to print one of them. Is there a 'chapt

  • Need information regarding local , foreign and document currency

    Hi All,   I need to know the difference between local, foreign and document currencies. Thanks in advance, vinay

  • Fill out pdf online, then email

    We want new hires to click a link on our website where a pdf comes up. They fill out the fields in the pdf and then the pdf gets emailed to HR. It would also work if I could somehow save that filled-out pdf to the server. I could have the form submit

  • Help with a setting up a node daemon

    Hi i've created a program which calls for a node daemon to be created on a client machine. However when i try to call the node daemon in command prompt i use the command java -Djava.security.policy=client.policy -Djava.rmi.server.codebase=file:// Nod